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

2009-11-11 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file15316/unicode_exceptions.py ___ Python tracker ___ ___ Python-bugs-list mailin

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

2009-11-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: -patch Added file: http://bugs.python.org/file15315/output_on_py26.txt ___ Python tracker ___ _

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

2009-11-11 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file14071/unicode_exceptions.py ___ Python tracker ___ ___ Python-bugs-list mail

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

2009-11-11 Thread Ezio Melotti
Ezio Melotti 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 #2517. -- key

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

2009-11-11 Thread Brian Curtin
Brian Curtin 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. I also change

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

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi added the comment: See my comment on issue #5890. I attached a patch to solve the Boost.Python issue. -- nosy: +moriyoshi ___ Python tracker ___ ___

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

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

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

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi 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 ___

[issue7308] Named group regex error

2009-11-11 Thread Mark Dickinson
Mark Dickinson 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 = re.compile(r'(?P("[^"]*"))') >>

[issue7308] Named group regex error

2009-11-11 Thread Stefan Sonnenberg-Carstens
New submission from Stefan Sonnenberg-Carstens : >>> import re >>> p = re.compile(r'(P?("[^"]*"))') >>> 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 '2.6.3

[issue7295] test_tarfile uses a hardcoded file name

2009-11-11 Thread Antoine Pitrou
Antoine Pitrou 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 ___

[issue7307] test_distutils failure under Windows 7

2009-11-11 Thread Antoine Pitrou
New submission from Antoine Pitrou : In http://www.python.org/dev/buildbot/3.x/builders/x86%20Windows7%203.x/builds/10/steps/test/logs/stdio : == ERROR: test_reg_class (distutils.tests.test_msvc9compiler.msvc9compilerTestCase) -

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

2009-11-11 Thread Eric Smith
Eric Smith 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 this should be com

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

2009-11-11 Thread Mark Dickinson
Mark Dickinson added the comment: I've uploaded this patch to Rietveld to make it easier to review: http://codereview.appspot.com/154060/show -- ___ Python tracker ___ _

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

2009-11-11 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

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

[issue1294] Management of KeyboardInterrupt in cmd.py

2009-11-11 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: On Sun, Nov 8, 2009 at 8:22 PM, Ilya Sandler 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 currently, CTRL-C terminates the sess

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

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi 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 End-of-Line Handling [2

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

2009-11-11 Thread Senthil Kumaran
Senthil Kumaran 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 __

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

2009-11-11 Thread Brian Curtin
Brian Curtin 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

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

2009-11-11 Thread Moriyoshi Koizumi
Moriyoshi Koizumi 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: - http://mail.python.org/pipermail/cplusplus-sig/2009-August/014747.html - htt

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

2009-11-11 Thread Antoine Pitrou
Antoine Pitrou 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 :) -- resolution: ->

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

2009-11-11 Thread Brian Curtin
New submission from Brian Curtin : 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 example, view the di

[issue6132] Implement the GIL with critical sections in Windows

2009-11-11 Thread David Fraser
Changes by David Fraser : -- nosy: +davidfraser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2009-11-11 Thread River Tarnell
New submission from River Tarnell : 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 more information. >>> im

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

2009-11-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: summarizes the thread safety aspects for Apple GUI programs. Basicly all eventhandling

[issue7159] Urllib2 authentication memory.

2009-11-11 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.