[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

[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

[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

[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

[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.

[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

[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

[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

[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
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: +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:

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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 __

[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 __

[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

[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

[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 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.

[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: I would like a timeout per function call because some files contain many slow tests: the duration of a file depends on the number of tests. Imagine that all functions takes 1 second: a file with 200 functions takes 200 seconds, whereas a file with 1 test take

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

2011-04-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I prefer the whole file approach. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-b

[issue11777] Executor.map does not submit futures until iter.next() is called

2011-04-07 Thread Brian Quinlan
Changes by Brian Quinlan : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue11777] Executor.map does not submit futures until iter.next() is called

2011-04-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 126353bc7e94 by Brian Quinlan in branch 'default': Issue #11777: Executor.map does not submit futures until iter.next() is called http://hg.python.org/cpython/rev/126353bc7e94 -- nosy: +python-dev ___ Py

[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: The question is: what's the point? Having an individual test timeout is not more "correct" than having a timeout for a test file. Both are arbitrary. Therefore, I'd prefer we choose the simplest solution and this patch brings complication. I'm -0.5 on it. --

[issue11768] test_signals() of test_threadsignals failure on Mac OS X

2011-04-07 Thread STINNER Victor
STINNER Victor added the comment: Oh, the traceback only contains one thread, so send_signals() thread was not created or failed very quickly (before its first print instruction). -- ___ Python tracker __

[issue11768] test_signals() of test_threadsignals failure on Mac OS X

2011-04-07 Thread STINNER Victor
STINNER Victor added the comment: jseutter reproduced it after 112 and 49 runs on Snow Leopard using "regrtest.py -F -v --timeout=60 test_threadsignals" command: --- [ 49] test_threadsignals test_interrupted_timed_acquire (test.test_threadsignals.ThreadSignals) ... ok test_lock_acquire_

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

2011-04-07 Thread R. David Murray
R. David Murray added the comment: Here is an updated test patch that brings the test coverage of the relevant code much closer to 100%. There are still three lines and one branch uncovered, but it appears as though one of the bugs is preventing the test case that would produce full coverage

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

2011-04-07 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file21564/header_folding_tests.patch ___ Python tracker ___ ___ Python-bugs-

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

2011-04-07 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file21573/regrtest_timeout.patch ___ Python tracker ___ ___ Python-bugs-list

[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: I forgot to patch some calls to runtest(): new patch. -- Added file: http://bugs.python.org/file21575/regrtest_timeout-2.patch ___ Python tracker _

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

2011-04-07 Thread STINNER Victor
STINNER Victor added the comment: You may also patch poll_poll(). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Yuval Greenfield
Yuval Greenfield added the comment: I noticed it's not only that python doesn't support NTLM, it's that I used Basic Auth which isn't NTLM. So I modified the patch to pertain to basic auth and digest as well. -- Added file: http://bugs.python.org/file21574/urllib.auth2.patch

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

2011-04-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2011-04-07 Thread STINNER Victor
New submission from STINNER Victor : I added recently a --timeout option to regrtest.py: dump the traceback of all threads and exit if a test takes more than TIMEOUT seconds (issue #11727). But my implementation was not correct: the timeout is applied on the whole file, not on a single functio

[issue6715] xz compressor support

2011-04-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue6715] xz compressor support

2011-04-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: -georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6715] xz compressor support

2011-04-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +Christophe Simonis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2011-04-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Adding that check with an exception to selectmodule.c is a good idea. i like your patch. -- ___ Python tracker ___ __

[issue11767] Maildir iterator leaks file descriptors by default

2011-04-07 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: I am sorry. This is the first time I see contextlib and haven't understood, that I should use a function from it. Here is a version with mock object having close method and __getitem__ using contextlib.closing. -- Added file: http://bugs.python.or

[issue11791] python -m doctest has a -v flag that it ignores

2011-04-07 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: *Sigh*, I'm just confused. Sorry, must have screwed up what I passed as verbose somewhere, so that it didn't check sys.argv. -- resolution: -> invalid status: open -> closed versions: +Python 3.3 -Python 3.2 ___

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Miki: That's a really great use case. Thanks. -- priority: normal -> high ___ Python tracker ___ _

[issue11768] test_signals() of test_threadsignals failure on Mac OS X

2011-04-07 Thread STINNER Victor
STINNER Victor added the comment: The failure occurs also on Leopard: -- [159/354] test_threadsignals Thread 0x7fff7080f700: File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/test/test_threadsignals.py", line 53 in test_signals File "/Users/pytho

[issue11767] Maildir iterator leaks file descriptors by default

2011-04-07 Thread R. David Murray
R. David Murray added the comment: Ah, that's exactly why I suggested using the 'closing' context manager from contextlib. That context manager returns the object passed to it, and then when its __exit__ method is called, calls the close method of that object that was passed to it.

[issue11700] mailbox.py proxy updates

2011-04-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Thu, Apr 07, 2011 at 04:41:52PM +, R. David Murray wrote: > > R. David Murray added the comment: > > I don't understand what you are saying about raising a ValueError on close. > f = open('x'); f.close(); f.close() does not raise any error, as

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Miki Tebeka
Miki Tebeka added the comment: Raymond: Sometimes I store configuration in Python files and would like to reload the configuration. -- ___ Python tracker ___ __

[issue3871] cross and native build of python for mingw32 with distutils

2011-04-07 Thread Roumen Petrov
Roumen Petrov added the comment: Follow up updated patch to #3754 -- Added file: http://bugs.python.org/file21571/python-py3k-20110407-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3

[issue3754] cross-compilation support for python build

2011-04-07 Thread Roumen Petrov
Roumen Petrov added the comment: Uhh after some pseudo multiarch improvements previous patch fail. So new one is uploaded. Also with this version cross-build won't build pgen$(EXEEXT). -- Added file: http://bugs.python.org/file21570/python-py3k-20110407-CROSS.

[issue11791] python -m doctest has a -v flag that it ignores

2011-04-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Why do you say "doctest doesn't use a -v option"? Compare $ python -m doctest Lib/doctest.py and $ python -m doctest -v Lib/doctest.py Trying: runner = DebugRunner(verbose=False) Expecting nothing ok ... 66 tests in 112 items. 66 passed and 0 fai

[issue11767] Maildir iterator leaks file descriptors by default

2011-04-07 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Here is a new patch, that uses with in __getitem__. I wonder, if we shouldn't check for an AttributeError in case object returned by get_file doesn't have __exit__ method, but does have close and use close instead of with. But it's for you to decide, as I

[issue1475397] time.asctime_tz, time.strftime %z %C

2011-04-07 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: -Add aware local time support to datetime module status: pending -> closed ___ Python tracker ___ __

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Laurie Clark-Michalek
Laurie Clark-Michalek added the comment: Find a fixer for this attached. I really just did sed 's/intern/reload' fix_intern.py >fix_reload.py, but it seems to work. I didn't write any tests (I couldn't seem to find any for any other fixers). -- keywords: +patch nosy: +BluePeppers Adde

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Yuval Greenfield
New submission from Yuval Greenfield : When trying to use urllib to open a page from a server with NTLM authentication python raises urllib.error.HTTPError: HTTP Error 401: Unauthorized A python 3 code example: http://codepad.org/axPomYHw This was a bit confusing for me as I had to debug urlli

[issue7311] Bug on regexp of HTMLParser

2011-04-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue7311] Bug on regexp of HTMLParser

2011-04-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 225400cb6e84 by Ezio Melotti in branch '3.2': #7311: fix html.parser to accept non-ASCII attribute values. http://hg.python.org/cpython/rev/225400cb6e84 New changeset a1dea7cde58f by Ezio Melotti in branch 'default': #7311: merge with 3.2. http://h

[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: It seems to have fixed the failure, no ? I don't know what's the policy regarding syscall parameters check, but I think it'd be better to check that the timeout passed to select is not negative, and raise an exception otherwise, instead of silently stor

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2736] datetime needs an "epoch" method

2011-04-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Apr 7, 2011 at 6:20 AM, Velko Ivanov wrote: .. >> Converting datetime values to float is easy.   If your dt is a naive >> instance representing UTC time: >> >>     timestamp = (dt - datetime(1970, 1, 1)) / timedelta(seconds=1) >> >> If your dt

[issue6040] bdist_msi does not deal with pre-release version

2011-04-07 Thread Éric Araujo
Éric Araujo added the comment: To keep this focused, we should first try to make a test and patch for the stdlib, then discuss a recipe to work around the bug in unfixed versions. -- ___ Python tracker ___

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

2011-04-07 Thread R. David Murray
R. David Murray added the comment: Note that 2.7 fails two of these tests as well, but for different reasons. I'm not currently planning to fix 2.7, as its behavior at least (a) doesn't lose non-whitespace information and (b) doesn't exceed the maxheaderlen. -- Added file: http://bug

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

2011-04-07 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file21563/header_folding_tests.patch ___ Python tracker ___ ___ Python-bugs-

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

2011-04-07 Thread R. David Murray
R. David Murray added the comment: Here is a patch containing three test cases that demonstrate three different failings of the header folding algorithm. I'm working on the fix, but it is non-trivial. -- components: +Library (Lib) -None keywords: +patch title: email.header.Header doe

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Not keeping tests alive for the whole run seems like a > good thing +1 > and either implementation seems fine to me. I slightly prefer Fabio;s assignment to None approach (for subtle reasons that I can't articulate at the moment). -- nosy: +rh

[issue11795] Better core dev guidelines for committing submitted patches

2011-04-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had some of the same questions, so I agree this would be a good addition. -- nosy: +terry.reedy stage: -> needs patch ___ Python tracker ___

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Michael Foord
Michael Foord added the comment: Not keeping tests alive for the whole run seems like a good thing and either implementation seems fine to me. I'd be interested to hear if anyone else had any backwards compatibility concerns though. -- ___ Python t

[issue11751] Increase distutils.filelist test coverage

2011-04-07 Thread Justin Love
Justin Love added the comment: Removed NO COVER Combined test_translate_pattern Added on to some test names to make them more descriptive -- Added file: http://bugs.python.org/file21562/increase_distutils_filelist_test_coverage_v2.patch ___ Python

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's Trial's implementation: http://twistedmatrix.com/trac/browser/trunk/twisted/trial/runner.py#L138 -- ___ Python tracker ___ ___

[issue11571] Turtle window pops under the terminal on OSX

2011-04-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Fabio Zadrozny
Fabio Zadrozny added the comment: The current code I use in PyDev is below -- another option could be not adding the None to the list of tests, but removing it, but I find that a bit worse because in the current way if someone tries to access it after it's ran, it'll become clear it was remov

[issue11571] Turtle window pops under the terminal on OSX

2011-04-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: .. and "python -m turtledemo"? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue11571] Turtle window pops under the terminal on OSX

2011-04-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: While you are at it, can you also fix the same issue with "python -m tkinter"? -- ___ Python tracker ___

[issue11492] email.header.Header doesn't fold headers at spaces if value contains '; 's

2011-04-07 Thread R. David Murray
R. David Murray added the comment: OK, it looks like the wrapping problem arises when the line contains runs of blank delimited tokens longer than maxlinelen *and* the line also contains ';'s. The line is then split at the ';' and the remaining overlong pieces are not split. I'll work on a

[issue11734] Add half-float (16-bit) support to struct module

2011-04-07 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11795] Better core dev guidelines for committing submitted patches

2011-04-07 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Michael Foord
Michael Foord added the comment: A TestSuite (which is how tests are collected to run) holds all the tests and therefore keeps them all alive for the duration of the test run. (I presume this is the issue anyway.) How would you solve this - by having calling a TestSuite (which is how a test

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > I thought unittest was just handed a bunch of TestCase instances and couldn't > do much about insuring they were garbage collected. True. But unittest could ensure that it doesn't keep a reference to each TestCase instance after it finishes running it

[issue11700] mailbox.py proxy updates

2011-04-07 Thread R. David Murray
R. David Murray added the comment: I don't understand what you are saying about raising a ValueError on close. f = open('x'); f.close(); f.close() does not raise any error, as Amaury pointed out. So I still don't understand the motivation for a more complex fix. --

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/4/7 Jean-Paul Calderone : > > Jean-Paul Calderone added the comment: > > Trial lets test cases get garbaged collected.  When we noticed this wasn't > happening, we treated it as a bug and fixed it.  No one ever complained about > the change.  I don't

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Fabio Zadrozny
Fabio Zadrozny added the comment: I do get the idea of the backward incompatibility, although I think it's really minor in this case. Just for some data, the pydev test runner has had a fix to clear those test cases for quite a while already and no one has complained about it (it actually ma

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Trial lets test cases get garbaged collected. When we noticed this wasn't happening, we treated it as a bug and fixed it. No one ever complained about the change. I don't see any obvious way in which an application would even be able to tell the diffe

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: You don't have to clear them; you just have to finalize them. Anyway, this is essentially impossible to do in a backward compatible way given that TestCases are expected to stay around. -- nosy: +benjamin.peterson _

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Fabio Zadrozny
New submission from Fabio Zadrozny : Right now, when doing a test case, one must clear all the variables created in the test class, and I believe this shouldn't be needed... E.g.: class Test(TestCase): def setUp(self): self.obj1 = MyObject() ... def tearDown(self): del self.obj

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: This should get fixed, but I'm *really* curious about what kind of code actually needs to do this ;-) -- keywords: +easy nosy: +rhettinger type: -> behavior ___ Python tracker

[issue11797] 2to3 does not correct "reload"

2011-04-07 Thread Miki Tebeka
New submission from Miki Tebeka : The following code is not changed by 2to3:: import os reload(os) reload has moved to the imp module. -- components: 2to3 (2.x to 3.0 conversion tool) messages: 133223 nosy: tebeka priority: normal severity: normal status: open title: 2to3 d

[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset bd0f73a9538e by Barry Warsaw in branch '2.7': Backport for Python 2.7 of issue 11715 support for building Python on http://hg.python.org/cpython/rev/bd0f73a9538e -- ___ Python tracker

[issue11700] mailbox.py proxy updates

2011-04-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Thu, Apr 07, 2011 at 01:12:46AM +, R. David Murray wrote: > [...] should be sufficient. It is sufficient to fix the resource warning. Having a completely dynamic language is a nice thing. I would not do it like that. Instead i would even conside

[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8738114b962 by Barry Warsaw in branch '3.1': Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the http://hg.python.org/cpython/rev/c8738114b962 New changeset 3d7c9b38fbfd by Barry Warsaw in branch '3.2': Refinement by Stefan

[issue11795] Better core dev guidelines for committing submitted patches

2011-04-07 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Stefan, thanks for the patch. The problem is that on FreeBSD and Solaris, if the command fails, I/O redirection does not create the file, whereas on Linux and OS X it does. So I was going to wrap the os.remove() of the temp file in a try/except. But I lik

[issue6715] xz compressor support

2011-04-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Reported to metatracker. Thanks for the kick :-). As a reference, I think you are refering to #5863 and #10791. Pretty fine job, I must say. Nadeem, what do you think?. Is xz in your list?. -- ___ Python tracker

[issue10791] Wrapping TextIOWrapper around gzip files

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.

  1   2   >