[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

2011-07-05 Thread Davide Rizzo
Davide Rizzo added the comment: Invalidating the cache in subtype_clear prevents the "close" method to be called in the collected object. I'm not sure that's the right place where to put the PyType_Modified, but apparently it works. -- Added file: http://bugs.python.org/file22587/subt

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset b5accd8adc3e by Ned Deily in branch '2.7': Issue #8716: Back out temporary changeset 18ce15f841cf http://hg.python.org/cpython/rev/b5accd8adc3e New changeset b5ac5e25d506 by Ned Deily in branch '2.7': Issue #8716: Instead of relying on Aqua Tk exce

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Ned Deily
Ned Deily added the comment: Despite evidence to the contrary, the temporary MacOS.WMAvailable code showed that there was *not* a window manager connection. I'm still not sure what the difference in environments is (perhaps it is just due to a different version of Tcl/Tk on the buildbot) nor

[issue12167] test_packaging reference leak

2011-07-05 Thread Andreas Stührk
Andreas Stührk added the comment: At least some of the remaining refleaks are caused by lib2to3. lib2to3 uses a logger with the filename as logger name (see `lib2to3.fixer_base.BaseFix.set_filename()`), but as the tests use a temporary file with an arbitrary name, a new logger is created on e

[issue12503] "with" statement error message is more confusing in Py2.7

2011-07-05 Thread Ismael Garrido
New submission from Ismael Garrido : Using the "with" statement wrongly results in a confusing error message. Code (originally written by Alex Gaynor): class Timer(object): def __enter__(self): self.start = time.time() def __exit__(self, exc_type, exc_val, tb): print "Se

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-07-05 Thread Nick Coghlan
Nick Coghlan added the comment: If someone is calling release() on all of their views (including slices) than they won't have any problems. The only way they can get into trouble is if they have a slice or copy that they *aren't* explicitly releasing, and in that case they *already* have a pr

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-07-05 Thread Nick Coghlan
Nick Coghlan added the comment: Oops, Antoine's right, the release() semantics in the patch are broken, albeit for the precisely opposite reasons: that example will actually blow up with BufferError inside some_library_function(). I withdraw my objection - Antoine's right that release() on a

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-07-05 Thread Nick Coghlan
Nick Coghlan added the comment: Sorry, I mischaracterised Antoine's suggestion in my last comment. It's more in the nature of ManagedBuffer exposing two APIs: 1. request_release(): tells ManagedBuffer "if I have the last reference, release the buffer now". 2. release(): immediately releases

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : -- assignee: tarek components: Distutils2 nosy: alexis, eric.araujo, tarek, thomas.holmes priority: normal severity: normal status: open title: Uninstall has disabled windows tests versions: Python 3.3 ___ Python tracker

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
New submission from Thomas Holmes : Functions test_uninstall.test_uninstall and test_uninstall.test_remove_issue were disabled for win32. Upon enabling them they generated failures. I have worked up a patch that refactors a packaging.Distribution function _get_records from using a generator to

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : -- keywords: +patch Added file: http://bugs.python.org/file22588/f333cd40cd56.diff ___ Python tracker ___ _

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22588/f333cd40cd56.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22589/dd470b122f32.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22589/dd470b122f32.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22590/dcd66ae649b1.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22590/dcd66ae649b1.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2011-07-05 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22591/dcd66ae649b1-2.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11230] "Full unicode import system" not in 3.2

2011-07-05 Thread John
John added the comment: Sorry for the long delay. haypo wrote: Can you propose a sentence which is more clear about bytes/Unicode? On this page: http://www.python.org/download/releases/3.2/ is this line: "- countless fixes regarding bytes/string issues; among them full support for a bytes e

[issue11436] Clarify struct doc for format 's', when it is mentioned without numeric prefix

2011-07-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Is this not implicit? Do we really need this stmt? I am -0 on this. If you agree, you can close this issue. -- nosy: +orsenthil title: Clarify struct doc for format 's'. -> Clarify struct doc for format 's', when it is mentioned without numeric prefi

[issue12493] subprocess: Popen.communicate() doesn't handle EINTR in some cases

2011-07-05 Thread Charles-François Natali
Charles-François Natali added the comment: Out of curiosity, how could SIGALRM be missing on a Unix system? Maybe you mean something like @unittest.skipUnless(hasattr(errno, EINTR), "Requires errno.EINTR") -- nosy: +neologix ___

<    1   2