[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Buildbots use currently a global timeout of 1 hour. I tried timeouts > of 5, 15 and 30 minutes for a file, and I always got false positive. > Using a timeout of 15 minutes per function, I don't expect any false > positive anymore. Still I don't see the point.

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2011-04-07 Thread Bryce Verdier
Bryce Verdier added the comment: I double checked this today. On my linux box with 2.6.6 the commands given did cause a segfault. On my windows VM with 2.7.1 it also created a segfault. And to back up Mark's claim, it did not segfault on my 3.1.2 linux install. -- nosy: +louiscipher

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-07 Thread STINNER Victor
STINNER Victor added the comment: > Still I don't see the point. Is a 60 minutes timeout too long? If regrtest timeout is too close to the buildbot timeout, we may not get the traceback if the blocking test is the last test. I don't know yet if we will get false positive with a timeout of 60

[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file

2011-04-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le jeudi 07 avril 2011 à 23:08 +, STINNER Victor a écrit : > STINNER Victor added the comment: > > > Still I don't see the point. Is a 60 minutes timeout too long? > > If regrtest timeout is too close to the buildbot timeout, we may not > get the tracebac

[issue11778] __subclasscheck__ : class P(M): __metaclass__=M causes maximum recursion depth exceeded.

2011-04-07 Thread Andreas Stührk
Andreas Stührk added the comment: That issue is already fixed in 2.7 and 3.x (by ae006386ec39). Also, it's a duplicate of issue #2325, hence I think this one can be closed. -- nosy: +Trundle ___ Python tracker __

[issue11793] raw strings

2011-04-07 Thread R. David Murray
R. David Murray added the comment: To a pythonista, the perl behavior is counter-intuitive :) That said, the behavior of r'\' *is* somewhat counter-intuitive. See issue 1271 for a fairly thorough exploration of why it is the way it is. -- nosy: +r.david.murray __

[issue11770] inspect.dir_static

2011-04-07 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11801] difference in comparison behavior between 32 bit and 64 bit releases

2011-04-07 Thread Lane Stevens
New submission from Lane Stevens : I have two systems running python-2.6.4-27.fc13.x86_64 and python-2.6.4-27.fc13.i686 respectively. Given the following statement the 64-bit version returns False and the 32-bit version returns True. Decimal('1.0') > 0.0 Decimal('1.0') > 0 returns True on b

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-04-07 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6715] xz compressor support

2011-04-07 Thread Nadeem Vawda
Nadeem Vawda added the comment: > As a reference, I think you are refering to #5863 and #10791. Pretty fine > job, I must say. Thank you :) > Nadeem, what do you think?. Is xz in your list?. Yes, it's the next substantial thing I was planning on working on. I don't have a lot of free time at

[issue11801] difference in comparison behavior between 32 bit and 64 bit releases

2011-04-07 Thread Ezio Melotti
Ezio Melotti added the comment: I think that's "normal", the 2.7 doc[0] says: """ Changed in version 2.7: A comparison between a float instance x and a Decimal instance y now returns a result based on the values of x and y. In earlier versions x < y returned the same (arbitrary) result for any

[issue11778] __subclasscheck__ : class P(M): __metaclass__=M causes maximum recursion depth exceeded.

2011-04-07 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue6715] xz compressor support

2011-04-07 Thread Dan Stromberg
Dan Stromberg added the comment: I don't know that much about compression, but I wonder if a threadsafe compression module would enable parallel forms of compression? If yes, then multithreaded might be a big benefit, in light of multicore taking off. EG: http://www.compression.ca/pbzip2/ I

[issue11492] email.header.Header doesn't fold headers correctly

2011-04-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10725fc76e11 by R David Murray in branch '3.1': #11492: fix header truncation on folding when there are runs of split chars. http://hg.python.org/cpython/rev/10725fc76e11 New changeset 74ec64dc3538 by R David Murray in branch '3.2': Merge #11492: f

[issue10427] 24:00 Hour in DateTime

2011-04-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Is there still interest in pursuing this? Normalizing out of bounds arguments to datetime constructor is easy, but rather pointless. It is trivial to implement this functionality using existing timedelta constructor: def normdatetime(Y, M, D, h, m, s

[issue6715] xz compressor support

2011-04-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: -Christophe Simonis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue6715] xz compressor support

2011-04-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +Christophe Simonis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue6715] xz compressor support

2011-04-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: -jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6715] xz compressor support

2011-04-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue6715] xz compressor support

2011-04-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I think doesn't makes sense for two threads using at the same time the same compress/decompress object. But I could guess ony reason for the locking code is to avoid crashing the interpreter just having two threads racing each other on an inherently mutable

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-04-07 Thread Andreas Stührk
Andreas Stührk added the comment: Can you perhaps elaborate on the first part? I really can't see right now how a class __dict__ can be something different from a dictionary. It's true that the class dict can be any mapping while the class is being created, but that's uninteresting for getatt

[issue11767] Maildir iterator leaks file descriptors by default

2011-04-07 Thread R. David Murray
R. David Murray added the comment: I shouldn't have assumed that you knew about contextlib, and should have mentioned it by name the first time. The patch looks good to me. Not sure it is necessary to loop through ten fake mailboxes, but it doesn't hurt, either. (Other potential reviewers n

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: The patch seems ok. I think this should be applied to 3.2 and 3.3. Not sure about 3.1. -- keywords: +needs review -patch nosy: +jcea versions: +Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: With the patch there is a new exception with specific msg being raised in certain cases, so this may only pertain to 3.3 -- assignee: -> orsenthil nosy: +orsenthil versions: -Python 3.2 ___ Python tracker

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-04-07 Thread jeff deifik
New submission from jeff deifik : I have a program which calls filecmp.cmp a lot. It runs out of memory. I read the source to filecmp, and then I periodically set filecmp._cache = {} Without doing this, filecmp's cache uses up all the memory in the computer. There needs to be a documented inter

[issue11757] test_subprocess.test_communicate_timeout_large_ouput failure on select(): negative timeout?

2011-04-07 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > You may also patch poll_poll(). > Poll accepts negative timeout values, since it's the only way to specify an infinite wait (contrarily to select which can be passed NULL). -- ___ Python tracker

<    1   2