[issue13294] http.server: minor code style changes.

2011-12-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: The concern here is if the request line had something like this. Method SP Request-URI SP HTTP-Version \r\n The previous behavior would have resulted in Method SP Request-URI SP HTTP-Version That is removing only the final \r\n, whereas the curren

[issue13642] urllib incorrectly quotes username and password in https basic auth

2011-12-24 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Joonas, this issue seems easy to solve. Do you want to try to post a patch?. Extra credits for patching testsuite too :). If you work in 2.7, I promise to up-port the patch to 3.x. -- nosy: +jcea ___ Python tracke

[issue6028] Interpreter aborts when chaining an infinite number of exceptions

2011-12-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13294] http.server: minor code style changes.

2011-12-24 Thread Ezio Melotti
Ezio Melotti added the comment: The first chunk of the patch (the use of strip) changes the behavior as discussed in the previous comments, so it should probably be reverted. The rest of the changes are OK. -- status: closed -> open ___ Python tra

[issue6028] Interpreter aborts when chaining an infinite number of exceptions

2011-12-24 Thread Yury
Yury added the comment: Rather than aborting with a stack overflow, I feel it is more natural to raise an exception. If it is not too difficult to implement, perhaps another type of exception should be raised. Since chained exceptions are new to 3.x, there should be a new exception to describ

[issue2134] Add new attribute to TokenInfo to report specific token IDs

2011-12-24 Thread Meador Inge
Changes by Meador Inge : Added file: http://bugs.python.org/file24089/tokenize-docs-2.7-3.2.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue2134] Add new attribute to TokenInfo to report specific token IDs

2011-12-24 Thread Meador Inge
Meador Inge added the comment: > The cmdoption directive should be used with a program directive. Ah, nice. Thanks for the tip Éric. Updated patch attached along with a patch for the 2.7/3.2 doc update attached. -- Added file: http://bugs.python.org/file24088/tokenize-exact-type-v1.p

[issue6028] Interpreter aborts when chaining an infinite number of exceptions

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe #3555, #7338, and *13644 are basically duplicates of this issue. I have left this one open because it has a try at a patch. I think any patch should be tested with the other examples. I agree with Antoine that an intentional exit is not a crash. I a

[issue3555] Regression: nested exceptions crash (Cannot recover from stack overflow)

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is one of four essentially duplicate issues #6028, #7338, #13644. #6028 has a proposed patch. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed versions: +Python 3.3 -Python 3.0 ___ Python t

[issue7338] recursive __attribute__ -> Fatal Python error: Cannot recover from stack overflow.

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seems to be a duplicate of 3555 and 6028. I am redirecting to the latter because is has a proposed patch. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> Interpreter crashes when chaining an infinite number o

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: @maniram I know what IDLE does. For the tracker, a 'bug' is a discrepancy between doc and behavior. According to the doc, a recursion loop should continue forever, just like an iteration loop ;=). Anyway, Roger is right, this is a duplicate of #6028, which ha

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: With that explanation, that it is one case out of six that fails, for whatever reason, I agree. That leaves the issue of whether the fix is the right one. I currently agree with Victor that we should do what the rest of Python does and what is most universal

[issue7338] recursive __attribute__ -> Fatal Python error: Cannot recover from stack overflow.

2011-12-24 Thread Roger Serwy
Roger Serwy added the comment: This is related to #13644. -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue7098] g formatting for decimal types should always strip trailing zeros.

2011-12-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to think about this one for a bit before it moves forward. -- nosy: +rhettinger ___ Python tracker ___ _

[issue7098] g formatting for decimal types should always strip trailing zeros.

2011-12-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11977] Document int.conjugate, .denominator, ...

2011-12-24 Thread Ezio Melotti
Ezio Melotti added the comment: Isn't there a way to specify multiple targets for the same entry? The doc could say that int, float and complex all share some methods/attributes and then either list e.g. int.conjugate, float.conjugate, complex.conjugate with a single description or use just in

[issue13413] time.daylight incorrect behavior in linux glibc

2011-12-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1953] Compact int and float freelists

2011-12-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7338] recursive __attribute__ -> Fatal Python error: Cannot recover from stack overflow.

2011-12-24 Thread Ezio Melotti
Ezio Melotti added the comment: > This is normal. Can this be closed then? -- nosy: +ezio.melotti versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ __

[issue11105] Compiling evil ast crashes interpreter

2011-12-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +None stage: -> test needed versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-li

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/12/24 Georg Brandl : > > Georg Brandl added the comment: > > Would it? (,) -- ___ Python tracker ___

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Georg Brandl
Georg Brandl added the comment: Would it? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Basically forget my last 3 messages. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/12/24 Georg Brandl : > > Georg Brandl added the comment: > >> Nothing, but that would be pointless; the recursion would just start again. Because it would be caught in the function call above in the stack? -- _

[issue13639] UnicodeDecodeError when creating tar.gz with unicode name

2011-12-24 Thread Lars Gustäbel
Lars Gustäbel added the comment: I thought about that myself, too. It is clearly no new feature, it is really more some kind of a fix. Unicode pathnames given to tarfile.open() are just passed through to the open() function, which is why this always has been working, except for this particula

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Georg Brandl
Georg Brandl added the comment: > Nothing, but that would be pointless; the recursion would just start again. Why? -- ___ Python tracker ___ ___

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg150226 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13644] Python 3 aborts with this code.

2011-12-24 Thread Georg Brandl
Georg Brandl added the comment: Why? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: I can't edit this bug. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Please close this bug as invalid. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Please close this bug. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Sorry, accident. Please delete. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
Changes by maniram maniram : -- nosy: +maniram.maniram ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Sorry, accident. Please delete. -- nosy: +maniram.maniram ___ Python tracker ___ ___ Python-bugs-l