[issue4221] inconsistent exception from int is confusing

2008-11-01 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: You tested on 2.5.2 but marked this for 2.6. 3.0 gives >>> int('\0') Traceback (most recent call last): File "", line 1, in int('\0') UnicodeEncodeError: 'decimal' codec can't encode character '\x00' in position 0: invalid decimal Unic

[issue4230] "__getattr__" can't be a descriptor

2008-11-01 Thread zaur
zaur <[EMAIL PROTECTED]> added the comment: It's the issue for python 3.0 too -- nosy: +zaur ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4246] execution model - clear and complete example in documentation

2008-11-01 Thread robwolfe
New submission from robwolfe <[EMAIL PROTECTED]>: I'd like to propose adding some complete example regarding scopes and bindings resolving to execution model description. There is no week on pl.comp.lang.python without a question about UnboundLocalError problem. I'm getting tired answering that.

[issue4221] inconsistent exception from int is confusing

2008-11-01 Thread Jean-Paul Calderone
Jean-Paul Calderone <[EMAIL PROTECTED]> added the comment: 2.6 exhibits the same behavior as 2.5 in this case. 3.0 exhibits similar behavior, but with a slightly different exception in the NUL case. The examples included showing the Python 3 behavior don't cover the same cases as the examples I

[issue4243] has_key doc could be clearer

2008-11-01 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Benjamin: I thank you too for verifying that I was not crazy. Martin: I noticed native/non-native split too, and chalked it up to a subtle difference between German and English. For future reference, the problem with the original, as I see i

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- assignee: -> effbot nosy: +effbot ___ Python tracker <[EMAIL PROTECTED]> ___ ___ P

[issue4243] has_key doc could be clearer

2008-11-01 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > The following pair of sentences illustrate what I am trying to say. > Guido was once a Nederlander, but he moved to America. > Guido was once a student of Professor X, but he moved to America. > In English, the second 'he' is ambiguous

[issue4243] has_key doc could be clearer

2008-11-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Forgive me for playing stupid here, but I want to understand English better. I would fully understand the confusion had the sentence been "dict.has_key(key) is equivalent to key in d, but it is deprecated." Terry's and Martin' example sentence

[issue4243] has_key doc could be clearer

2008-11-01 Thread D'Arcy J.M. Cain
D'Arcy J.M. Cain <[EMAIL PROTECTED]> added the comment: I think a clarification is in order. The sentence being changed was perfectly and mathematically correct. If you laid it out on a blackboard and parsed it (remember those days?) you could prove that it said the correct thing. No one is di

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Fredrik Lundh
Fredrik Lundh <[EMAIL PROTECTED]> added the comment: Roland's right - "iterparse" only guarantees that it has seen the ">" character of a starting tag when it emits a "start" event, so the attributes are defined, but the contents of the text and tail attributes are undefined at that point. Th

[issue1309567] linecache module returns wrong results

2008-11-01 Thread Jean-Paul Calderone
Jean-Paul Calderone <[EMAIL PROTECTED]> added the comment: This is still relevant. It makes linecache (and therefore some other things, like inspect.getsource) almost useless in many cases. For example, because of this, sometimes inspect.getsource will raise an IOError and sometimes it will ret

[issue4243] has_key doc could be clearer

2008-11-01 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: >> Terry's and Martin' example sentences are transferable to that. >> However, the actual sentence was >> "dict.has_key(key) is equivalent to key in d, but deprecated." > The sentence being changed was perfectly and mathematically correct.

[issue1109963] bdist_wininst ignores build_lib from build command

2008-11-01 Thread Nick Martin
Nick Martin <[EMAIL PROTECTED]> added the comment: This is exactly the same problem I was having with bdist_msi. -- nosy: +nick.martin ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I propose to note this behavior on document. I'll attach the patch. (I just inserted your comment into document) -- components: +Documentation -Library (Lib), XML resolution: invalid -> status: closed -> open Added file: http://bu

[issue4247] Docs: Provide some examples of "pass" use in the tutorial.

2008-11-01 Thread Sean Reifschneider
New submission from Sean Reifschneider <[EMAIL PROTECTED]>: I'm giving a Python tutorial to a bunch of local people and have decided to use the Python.org tutorial to go by. One of the things I found I wanted in the section on the "pass" statement was more information about it's use. But I also

[issue4248] "class in None" in html help keyword

2008-11-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I noticed built-in class `set` uses "set (class in None)" as index keyword. Please see attached file "snapshot.png". I think "set (builtin class)" or something is better. -- assignee: georg.brandl components: Documentation, Wind

[issue4194] Miserable subprocess.Popen performance

2008-11-01 Thread Brad Hall
Changes by Brad Hall <[EMAIL PROTECTED]>: -- nosy: +bgh ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Uns