R
Russ
Fredrik said:obviously not.
And you didn't like the "tone" of some of my earlier posts?
Fredrik said:obviously not.
Russ said:And you didn't like the "tone" of some of my earlier posts?
BJörn Lindqvist said:And you're not helping.
I think the same could be said of virtually all exceptions. What I
think would be ideal is that whenever an exception is raised, the
traceback tells you:
1) What the exception is
2) The names of the variables involved in the offending expression
(or their character position in the line)
3) The values of those variables
This would be especially useful in cases where you have some long
expression and you get a "cannot concatenate str and list" or whatever.
The irritating thing about this as it is is that you cannot tell which
variables in the expression are causing the problem.
I realize that in some cases the offending expression may not be a single variable,
but I am curious whether it would be possible for
something like this:
"1" + "2" + "3" + "4" + 5 + "6"
Russ said:And you didn't like the "tone" of some of my earlier posts?
Seems to me he called the suggestion (made without any
knowlage of the OP's abilities regarding C and Python's
internals) that he summit a patch, silly.
I aggree.
His response was well within the bounds of normal
usenet discourse.
Terry said:While Fredrik's reply is a bit short, as is sometimes his habit,
here are some things that appear to me to not have been thought through
enough:
1. some negative indexes are legal.
2. replacing short inline code with a function call on *every* index lookup
will slow down the interpreter a bit.
3. will the same check code work for even all built-in sequences?
4. how does index checking fit in with slice checking?
By the way, it is already understood that error messages could be better,
and I have thought about this one myself. You are not the first to notice,
and improvements occasionally get submitted (and later accepted) by people
with both the knowledge and motivation to do so. But insulting such people
is not helpful.
Martin said:It would be unrealistic (but not silly) to suggest that
if the source code weren't available at all. It is *not*
silly to suggest that people should make efforts to
contribute to open source software.
I saw no posts where there OP insulted anybody without being
insulted first. It is ironic the Mr. Kern was the most consistent
insulter while at the same time accusing the OP of rudeness.
I've already explained why something like PyObject_IsIndexOutOfBounds
cannot work earlier in this thread.
While Fredrik's reply is a bit short, as is sometimes his habit,
here are some things that appear to me to not have been thought through
enough:
1. some negative indexes are legal.
2. replacing short inline code with a function call on *every* index lookup
will slow down the interpreter a bit.
3. will the same check code work for even all built-in sequences?
4. how does index checking fit in with slice checking?
with both the knowledge and motivation to do so. But insulting such people
is not helpful.
Fredrik said:you're forgetting that you're dealing with "squeaky wheel contributors"
here, not the kind of nice and helpful persons that actually make open
source work.
Martin said:Maybe I'm unusually picky, but I also feel insulted if
my suggestions are called silly - this is just like calling
myself silly. I rarely make silly suggestions deliberately
(and try to mark them as ironic in usenet if I do); so if
somebody puts them down as "silly", I'll feel insulted.
I personally don't think it is silly to suggest that an
IT professional becomes familiar with the implementation
of the Python interpreter. That code is well-written,
well-documented, so it should be feasible (rather than
being silly) for anybody with a programming background
and sufficient determination to familiarize with that code.
I take the same position for about any open-source software:
you *can* get into Apache, Mozilla, the Linux kernel,
and now the Java virtual machine if you want to. If you
don't, it's not because you can't, but because you don't
want to.
It would be unrealistic (but not silly) to suggest that
if the source code weren't available at all. It is *not*
silly to suggest that people should make efforts to
contribute to open source software.
Robert said:As I said, insult is in the ear of the listener, so I apologize if anyone
construed my comments as insults. However, facts are facts, and I stated them as
I believe them. If you can pick out the precise comments that you felt were
insulting, I will be happy to attempt clarifying them in a way that you do not
find insulting.
I didn't see the OP "begging" for anything."begging for a fix on comp.lang.python is ..."
again (as the OP pointed out) no such claim was"His suggestion that his time is worth more than that of anyone else..."
By responding in kind? I thought he was quite restrained"and yes, you are being incredibly rude and insulting"
Funny, I thought he was posting to c.l.p. Sounds like"The way that you have been acting..."
"You're also missing that *I'm trying to help you*"
Facts?
As I explained in another post, "encouraging" someone to submit
a patch without a clue about the poster's abilities or resources
is offensive.
I didn't see the OP "begging" for anything.
again (as the OP pointed out) no such claim was
made.
By responding in kind? I thought he was quite restrained
given the provocation.
Funny, I thought he was posting to c.l.p. Sounds like
he is a petulant 6 year old child.
In virtually every one of your posts you said things that
I certainly would have been offended by.
I hope you understand that I'm trying to help *you*?
Russ said:Fredrik Lundh wrote:
And you didn't like the "tone" of some of my earlier posts?
Russ said:Fredrik Lundh wrote:
And you didn't like the "tone" of some of my earlier posts?
John said:3. The OP asked only for values; you are asking for names and
values. If you have a magic flak jacket, please let me know; I'd
like to borrow it occasionally
My suggestion is trivial to implement and would benefit every Python
programmer (even if only slightly), so I don't think it is too much to
ask for.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.