[issue7159] Urllib2 authentication memory.

2009-11-11 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7159 ___ ___ Python-bugs-list

[issue7190] Problems running threaded Tkinter program under OS X IDLE

2009-11-11 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/Mul tithreading/ThreadSafetySummary/ThreadSafetySummary.html#//apple_ref/doc/u id/1057i-CH12-SW1 summarizes the thread safety aspects for Apple GUI programs.

[issue7305] urllib2.urlopen() segfault using SSL on Solaris

2009-11-11 Thread River Tarnell
New submission from River Tarnell ri...@flyingparchment.org.uk: Using Python 2.6.2 or 2.6.4 on Solaris 10, opening an SSL (https) URL using urllib2.urlopen() crashes Python: % python Python 2.6.4 (r264:75706, Nov 11 2009, 13:23:45) [C] on sunos5 Type help, copyright, credits or license for

[issue6132] Implement the GIL with critical sections in Windows

2009-11-11 Thread David Fraser
Changes by David Fraser dav...@sjsoft.com: -- nosy: +davidfraser ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6132 ___ ___ Python-bugs-list

[issue7306] Patch - skip winsound tests if no default sound is configured

2009-11-11 Thread Brian Curtin
New submission from Brian Curtin cur...@acm.org: I noticed test failures on trunk for test_winsound on only one of my boxes. Everything works fine on XP, but PlaySoundTest test methods fail on Windows Server 2003. It appears that on WS2k3 there are no default system sounds configured. For

[issue7197] test_multiprocessing crashes under Windows when run in verbose mode

2009-11-11 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This has been committed to trunk (r76196) and py3k (r76198). I'm reluctant to backport it to 2.6/3.1 because unittest has changed a lot in-between, and the old version doesn't have a lot of tests. Please do if you think it's useful :) --

[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi mozo+pyt...@mozo.jp added the comment: A subclass of property doesn't always have writable __doc__, especially what is implemented in C. This actually causes a problem with Boost.Python's StaticProperty. References: -

[issue1235] CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks

2009-11-11 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This change causes failures in test_httpservers on trunk r76211 on Windows. I attached a simple patch which fixes the problem (NameError on 'p'). -- nosy: +brian.curtin Added file: http://bugs.python.org/file15309/issue1235_fix.patch

[issue1235] CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks

2009-11-11 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Thanks for the notification. Seems I over looked it. Fixed it with the changes in 76212 (trunk) and 76213 (release26-maint). py3k did not have this issue. -- ___ Python tracker

[issue7139] ElementTree: Incorrect serialization of end-of-line characters in attribute values

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi mozo+pyt...@mozo.jp added the comment: @ezio.melotti Yes, it works flawlessly as for parsing. Fixing this would actually break the current behavior, but I believe this is how it should work. It seems #5752 pretty much says the same thing. @effbot As specified in 2.11

[issue1294] Management of KeyboardInterrupt in cmd.py

2009-11-11 Thread Raghuram Devarakonda
Raghuram Devarakonda draghu...@gmail.com added the comment: On Sun, Nov 8, 2009 at 8:22 PM, Ilya Sandler rep...@bugs.python.org wrote: Is not this patch backward incompatible? E.g any cmd-based application which expects Ctrl-C to propagate to the top level will be broken by this patch. But

[issue7298] reversed(range(x, -1, -1)) is empty when x 1

2009-11-11 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: and here's a patch (includes the earlier tests). -- Added file: http://bugs.python.org/file15310/issue7298.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7298

[issue7298] reversed(range(x, -1, -1)) is empty when x 1

2009-11-11 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7298 ___ ___

[issue7298] reversed(range(x, -1, -1)) is empty when x 1

2009-11-11 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I've uploaded this patch to Rietveld to make it easier to review: http://codereview.appspot.com/154060/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7298

[issue7298] reversed(range(x, -1, -1)) is empty when x 1

2009-11-11 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I reviewed the issue on Rietveld, and it looks fine to me with the exception of my comment about the tests. The comment is mostly a nit, so if you don't agree don't worry about it. I tested it with and without pydebug and the tests pass. I think

[issue7307] test_distutils failure under Windows 7

2009-11-11 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: In http://www.python.org/dev/buildbot/3.x/builders/x86%20Windows7%203.x/builds/10/steps/test/logs/stdio : == ERROR: test_reg_class

[issue7295] test_tarfile uses a hardcoded file name

2009-11-11 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch is fine and I've committed it, thanks! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7308] Named group regex error

2009-11-11 Thread Stefan Sonnenberg-Carstens
New submission from Stefan Sonnenberg-Carstens stefan.sonnenb...@pythonmeister.com: import re p = re.compile(r'(P?quotedstring([^]*))') p.match('Hallo') p = re.compile(r'([^]*)') p.match('Hallo') _sre.SRE_Match object at 0x0197F758 p.match('Hallo').group() 'Hallo' import sys sys.version

[issue7308] Named group regex error

2009-11-11 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I think you want '(?P...', not '(P?...'. Python 2.6.3 (r263:75183, Oct 16 2009, 15:14:21) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type help, copyright, credits or license for more information. import re p =

[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi mozo+pyt...@mozo.jp added the comment: I created a patch against trunk and 2.6-maint that lets it simply ignore the error that might happen during PyObject_SetAttrString(); -- Added file: http://bugs.python.org/file15311/issue5890-refix-py2.6.patch

[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi mozo+pyt...@mozo.jp added the comment: and the other one -- Added file: http://bugs.python.org/file15312/issue5890-refix-trunk.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5890

[issue7183] did 2.6.3 regress for some uses of the __doc__ property?

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi mozo+pyt...@mozo.jp added the comment: See my comment on issue #5890. I attached a patch to solve the Boost.Python issue. -- nosy: +moriyoshi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7183

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2009-11-11 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I re-enabled the tests a few days ago and haven't seen any issues on Windows or Linux. I attached a patch against r76222 which enables the kill, term, and send_signal tests again, and also did some clean-up and updating to the way tests are skipped.

[issue6108] unicode(exception) and str(exception) should return the same message on Py2.6

2009-11-11 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I added the output of unicode_exceptions.py on Py2.6 and a testcase (against the trunk) that fails for 5 different exceptions, including the IOError mentioned in #6890 (also added to unicode_exceptions.py). The problem has been introduced by

[issue6108] unicode(exception) and str(exception) should return the same message on Py2.6

2009-11-11 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file14071/unicode_exceptions.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108 ___

[issue6108] unicode(exception) and str(exception) should return the same message on Py2.6

2009-11-11 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: -patch Added file: http://bugs.python.org/file15315/output_on_py26.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108 ___

[issue6108] unicode(exception) and str(exception) should return the same message on Py2.6

2009-11-11 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file15316/unicode_exceptions.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108 ___