[issue1559549] ImportError needs attributes for module and file name

2011-03-15 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1559549 ___ ___ Python-bugs-list

[issue11559] Increase test coverage in dis module

2011-03-15 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11559 ___ ___ Python-bugs-list

[issue1559549] ImportError needs attributes for module and file name

2011-03-15 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: I didn't know about this mq extension. I will do a proper patch with a test after friday. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1559549

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2011-03-15 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: assertCountEqual has been released in 3.2 as the new name. close this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10242 ___

[issue11559] Increase test coverage in dis module

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f41c3d9e05bd by Benjamin Peterson in branch 'default': improve dis test coverage (closes #11559) http://hg.python.org/cpython/rev/f41c3d9e05bd -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status:

[issue11477] Bug in code dispatching based on internal slots

2011-03-15 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: b9b7d4c10bc4.diff is a huge compilation of all commits from the last few days, with the abstract.c diff buried about 3/4ths of the way through. -- ___ Python tracker rep...@bugs.python.org

[issue11432] webbrowser.open on unix fails.

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 08daf3ef6509 by Gregory P. Smith in branch 'default': Add unittests demonstrating issue #11432. http://hg.python.org/cpython/rev/08daf3ef6509 New changeset adcf03b074b7 by Gregory P. Smith in branch 'default': Fix issue #11432. if

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-03-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: This bug also affects poster. http://bitbucket.org/jaraco/poster (httplib reference in httpstreaming.py) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11276

[issue11432] webbrowser.open on unix fails.

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 82e010943c68 by Gregory P. Smith in branch '3.2': issue 11432 news entry. http://hg.python.org/cpython/rev/82e010943c68 New changeset 8d3bcf57977b by Gregory P. Smith in branch 'default': Misc/NEWS entry for issue 11432

[issue11432] webbrowser.open on unix fails.

2011-03-15 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - fixed status: open - closed versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11432 ___

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 6b33aa811821 by Antoine Pitrou in branch '3.1': On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no http://hg.python.org/cpython/rev/6b33aa811821 New changeset 1bf4383f190a by Antoine Pitrou in branch '3.2':

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-15 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11550 ___ ___ Python-bugs-list

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11501

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This isn't strictly a key-bindings problem, other events also cause problems. I've patched ScriptBinding.py and repacled run_module_event that causes the original, now renamed, method to be called a little why later. This change

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2011-03-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'd suggest calling Py_FatalError rather than calling abort() directly in _PyObject_AssertFailed, but otherwise this looks like a nice improvement over standard C asserts for state invariants that may be broken by buggy C extensions. For the

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Got it to work by introducing both a delayed call and a generated event, just one of those isn't good enough. The attached patch seems to fix the issue for me (patch was created using diff(1), not through mercurial). I haven't tested

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset aa000dd4287f by Brett Cannon in branch 'default': Close a stream properly in test.test_pulldom. http://hg.python.org/cpython/rev/aa000dd4287f -- nosy: +python-dev ___ Python tracker

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-15 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Fixed in [aa000dd4287f]. I went with a simpler solution than Ben's, but it did help figure out what to do. -- nosy: +brett.cannon resolution: - fixed stage: - committed/rejected status: open - closed

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file21226/issue-11088.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11088 ___

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Added an updated version of the patch: * Only perform the workaround in IDLE.app on OSX * A slightly longer timeout is needed to work reliably on my machine The latter bullet indicates that this is probably not a reliable fix, there is

[issue11548] Passing format= to unpack_archive fails

2011-03-15 Thread Evan Dandrea
Changes by Evan Dandrea e...@ubuntu.com: Added file: http://bugs.python.org/file21228/fix_unpack_with_format.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11548 ___

[issue11548] Passing format= to unpack_archive fails

2011-03-15 Thread Evan Dandrea
Changes by Evan Dandrea e...@ubuntu.com: Removed file: http://bugs.python.org/file21196/fix_unpack_with_format.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11548 ___

[issue11560] Expand test coverage in shutil

2011-03-15 Thread Evan Dandrea
New submission from Evan Dandrea e...@ubuntu.com: The attached patch increases the coverage in shutil. It makes the following changes: - Tests the code paths for file and directory copies across filesystems by mocking out rename. - Adds a test for shutil.copy. - Adds a test for

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-03-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: it looks like lib maintainers can work around the limitation by using the syntax: import _winreg as winreg And then reference the name winreg (or any other preferred name). -- ___ Python

[issue11469] Fix resource warning in test_trailers

2011-03-15 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So is this a bogus bug, or a valid bug created with a bogus account? -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11469

[issue11216] email.message.Message set_charset does not encode properly?

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset cf1859f9aed9 by R David Murray in branch '3.1': #11216: document all possible set_charset execution paths. http://hg.python.org/cpython/rev/cf1859f9aed9 New changeset 4d25b9d2aa05 by R David Murray in branch '3.2': Merge #11216:

[issue11510] Peephole breaks set unpacking

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 912eb87946e0 by Raymond Hettinger in branch '3.2': Issue 11510: Fix BUILD_SET optimizer bug. http://hg.python.org/cpython/rev/912eb87946e0 -- nosy: +python-dev ___ Python tracker

[issue11216] email.message.Message set_charset does not encode properly?

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 43ccd051ec6c by R David Murray in branch '2.7': Merge #11216: document all possible set_charset execution paths. http://hg.python.org/cpython/rev/43ccd051ec6c -- ___ Python tracker

[issue11469] Fix resource warning in test_trailers

2011-03-15 Thread brian.curtin.test
brian.curtin.test brian.cur...@gmail.com added the comment: On Mar 15, 2011 5:39 PM, Brett Cannon rep...@bugs.python.org wrote: Brett Cannon br...@python.org added the comment: So is this a bogus bug, or a valid bug created with a bogus account? -- nosy: +brett.cannon

[issue11216] email.message.Message set_charset does not encode properly?

2011-03-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I've committed the patch as is. We'll address improving the semantics one way or another as part of email6 development. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file21218/issue11055.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11055 ___

[issue11510] Peephole breaks set unpacking

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset db6997fb4c99 by Raymond Hettinger in branch 'default': Issue 11510: Fix BUILD_SET optimizer bug. http://hg.python.org/cpython/rev/db6997fb4c99 -- ___ Python tracker rep...@bugs.python.org

[issue11510] Peephole breaks set unpacking

2011-03-15 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Eugene, thanks for noticing and reporting this. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11510

[issue11561] coverage of Python regrtest cannot see initial import of libs

2011-03-15 Thread Brandon Craig Rhodes
New submission from Brandon Craig Rhodes bran...@rhodesmill.org: When running the Python regression tests in coverage, the initial outer level of interpreted code in several standard library modules shows as not having been covered by the tests, because they were imported during the Python

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This is not caused by unwanted interaction with Tk's default bindings, changing the save-as bindings to Shift+Cmd+M doesn't fix the issue. It seems that the save event is generated twice, for reasons I don't yet understand (I'm

[issue11561] coverage of Python regrtest cannot see initial import of libs

2011-03-15 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Here is a module that solves this problem if the tests are run with the fullcoverage directory at the front of the PYTHONPATH, like this: PYTHONPATH=Tools/fullcoverage ./python -m coverage run --pylib Lib/test/regrtest.py

[issue11510] Peephole breaks set unpacking

2011-03-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Raymond, it looks like you committed this fix separately to the 3.2 branch and the default branch, instead of committing to 3.2 and then merging to default. With svn, this wasn't a big deal, but with mercurial it will leave the 3.2

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list

[issue11562] += on list inside a tuple raises TypeError but succeds anyway

2011-03-15 Thread Mike Smith
New submission from Mike Smith scgtrp+python-b...@gmail.com: Using += to append to a list inside a tuple raises a TypeError but succeeds in appending the value anyway: t = (1, [2, 3, 4]) t[1].append(5) t[1] += [6] Traceback (most recent call last): File stdin, line 1, in module TypeError:

[issue11561] coverage of Python regrtest cannot see initial import of libs

2011-03-15 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +brett.cannon, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561 ___ ___

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Could someone with access to a windows box test the patch there? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10684 ___

[issue11477] Bug in code dispatching based on internal slots

2011-03-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: We know, I left it there to help MvL debug the issues in the diff generator. The version I created with the rdiff extension is correct though, and Martin fixed the Reitveld integration to handle the extra lines at the start of the diff. I

[issue11562] += on list inside a tuple raises TypeError but succeds anyway

2011-03-15 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach stage: - test needed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11562 ___

[issue11401] email.header error during .flatten()

2011-03-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It turns out this is a bug in 3.1, not something introduced by email5.1 in 3.2. The minimum reproducer is stringifying any message containing a header with no body. -- stage: - needs patch versions: +Python 3.1

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-15 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: test.test_urllibnet.urlopenNetworkTests.test_getcode() is leaving a socket open. My guess is that the error condition being triggered is somehow leaving the socket open but I can't find where. -- components: Library (Lib) messages:

[issue11564] pickle limits most datatypes

2011-03-15 Thread Nik Galitsky
New submission from Nik Galitsky nicolay.ye...@exxonmobil.com: Python 3.2 on linux (RHEL 5.3) x86_64 build from source code. Configure options: ./configure --prefix=/scratch/Python-3.2 --enable-big-digits=30 --with-universal-archs=all --with-fpectl --enable-shared Built with GCC 4.3.3 with

[issue11477] Bug in code dispatching based on internal slots

2011-03-15 Thread Armin Rigo
Changes by Armin Rigo ar...@users.sourceforge.net: -- nosy: -arigo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue11565] Another (the last) group of misspellings

2011-03-15 Thread Piotr Kasprzyk
New submission from Piotr Kasprzyk c...@ciri.pl: This it the second (and last) part of misspellings. Please also close/reject issue 11507 - it is outdated. -- components: None files: another_misspellings.patch keywords: patch messages: 131061 nosy: ezio.melotti, kwadrat priority:

[issue11564] pickle not 64-bit ready

2011-03-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed: s = b'a' * (2**31) d = pickle.dumps(s) Traceback (most recent call last): File stdin, line 1, in module SystemError: error return without exception set There are two aspects to this: - (bugfix) raise a proper exception when an object

[issue11298] unittest discovery needs better explanation

2011-03-15 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file21043/issue11298_py2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11298 ___

[issue11562] += on list inside a tuple raises TypeError but succeds anyway

2011-03-15 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11562 ___

[issue11298] unittest discovery needs better explanation

2011-03-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Drat, I accidentally deleted the patch file. Reattaching. -- nosy: +r.david.murray Added file: http://bugs.python.org/file21234/issue11298_py2.7.patch ___ Python tracker rep...@bugs.python.org

[issue11564] pickle not 64-bit ready

2011-03-15 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: We could resort to the text-based protocol which doesn't have these limitations with respect to object lengths (IIRC). Performance won't be amazing, but we won't have to modify the current pickle protocol. --

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch fixes the test failures with Tk 8.5.9, I haven't tested with other versions or other platforms. The change to 'test_traversal' should be sane. The change to 'test_tab_identifiers' is more phishy. I've done two

[issue11133] inspect.getattr_static code execution

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 8c7eac34f7bf by Michael Foord in branch '3.2': Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution http://hg.python.org/cpython/rev/8c7eac34f7bf -- nosy: +python-dev resolution: -

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-03-15 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10684 ___ ___

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2011-03-15 Thread Ralf Schmitt
New submission from Ralf Schmitt sch...@gmail.com: The following program #include Python.h #include cmath results in the following error when compiled with g++ and -std=gnu++0x: $ g++ -std=gnu++0x -c t.cc -I /c/Python27/Include In file included from

[issue11244] Negative tuple elements produce inefficient code.

2011-03-15 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: Is anyone reviewing my patch? It's just 1 line long. Should it be moved to another issue? Though, technically, it's needed to address the regression in question: Python 3.1 folds -0, the current code still does not. --

[issue11244] Negative tuple elements produce inefficient code.

2011-03-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Eugene, according to Mark your patch is fine. It just needs someone to commit it. I would personally prefer to let Mark handle it, since he's our specialist in negative zeroes (and other numerical subtleties) ;) -- stage: patch review -

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: I'm confused. Why aren't there review links? -- nosy: +skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: Because I don't know how to make them. Any pointers? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Because I don't know how to make them. Any pointers? Martin is hacking on the tool these days... So it's no surprise it doesn't work perfectly yet ;) If you have a Google account you can upload these patches to http://codereview.appspot.com/,

[issue8600] test_gdb failures

2011-03-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: This issue is still bugging OpenIndiana buildbots. The patch is trivial and painless. I will patch 2.7, 3.1, 3.2 and 3.x in a few minutes. -- assignee: dmalcolm - jcea status: closed - open versions: +Python 3.1, Python 3.3

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: Thanks. Review link: http://codereview.appspot.com/4281051 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue8600] test_gdb failures

2011-03-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Uhmm, the test seems to have vanished in 3.x. Uhmmm... Why?. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___

[issue8600] test_gdb failures

2011-03-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Uhmm, the test seems to have vanished in 3.x. Uhmmm... Why?. Which test are you talking about? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600

[issue8600] test_gdb failures

2011-03-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___ ___ Python-bugs-list

[issue8600] test_gdb failures

2011-03-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: gdb tests. The python gdb scripting ability. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___

[issue8600] test_gdb failures

2011-03-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: gdb tests. The python gdb scripting ability. ? $ ls Lib/test/test_gdb.py Lib/test/test_gdb.py -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600

[issue8600] test_gdb failures

2011-03-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: I don't see it in python 3.1 branch. Will fix 3.2 and 3.x. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8600 ___

[issue8600] test_gdb failures

2011-03-15 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset bca545c0941a by Jesus Cea in branch '3.2': Close issue #8600: test_gdb failures because innocuous warnings http://hg.python.org/cpython/rev/bca545c0941a New changeset bbfc6a6ca017 by Jesus Cea in branch 'default': Merge: Close issue

[issue11453] asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.

2011-03-15 Thread Ben Hayden
Ben Hayden hayden...@gmail.com added the comment: Adding a patch that adds an __exit__ function much like the one that socket.socket implements. Passes the test_asyncore also doesn't raise a resource warning when I explicitly comment out some close() calls on file wrapper objects in the

[issue11507] Misspelled exercises

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- superseder: - Misspelled actually ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11507 ___ ___

[issue11507] Misspelled exercises

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11507 ___

[issue11565] Another (the last) group of misspellings

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11565 ___ ___

[issue5846] Deprecate obsolete functions in unittest

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5846 ___

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The review links didn't come up automatically because 336137a359ae isn't a hg.python.org/cpython revision ID. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: I see. Should I attach diffs vs. some revision from hg.python.org? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue11549] Rewrite peephole to work on AST

2011-03-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: No need, since you manually created a review on appspot. The local Reitveld links are just a convenience that can avoid the need to manually create a review instance. -- ___ Python tracker

[issue11567] http.server error message format

2011-03-15 Thread Ivan Radigales Creus
New submission from Ivan Radigales Creus ivan...@gmail.com: The global variable DEFAULT_ERROR_MESSAGE on the module http.server is set to a non W3C standard value. It would be better to use something like: DEFAULT_ERROR_MESSAGE = \ !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

[issue2578] additional unittest type equality methods

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578 ___ ___ Python-bugs-list

[issue2249] To document assertTrue in unittest

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2249 ___ ___ Python-bugs-list

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Another data point: the key binding for Undo (Shift-Command-Z) exhibits similar behavior, i.e. it is executed twice. And trying with Python 2.7.1 linked with A/S Tk 8.5 and with the old key bindings where Shift-Command-S is Save Copy rather than Save

[issue10812] Add some posix functions

2011-03-15 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I added some comments on the review for 10812_v5.patch. not sure why v6 doesn't have a review link. Overall, very nice after addressing the few comments I had. btw, can you sync this up with the hg tip (3.3) now while addressing the above?

<    1   2