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

2009-10-21 Thread Derk Drukker
Derk Drukker added the comment: Salut, Note that in py3k, CGIHTTPRequestHandler (Lib/http/server.py) already switched to using subprocess. AFAICT, you didn't actually change cmdline, and so the problem remains. -- nosy: +drukker versions: +Python 3.1, Python 3.2 _

[issue6324] "in" expression falls back to __iter__ before __getitem__

2009-10-21 Thread Anthony Foglia
Anthony Foglia added the comment: I've added Python 2.7 to the list of versions. The development docs have the same issue. Let me try another stab at what the docs should say. Following the suggestion to add it to 3.3.5, perhaps it should be: " object.__contains__(self, item) Called to i

[issue7184] build failures on Snow Leopard

2009-10-21 Thread Ned Deily
Ned Deily added the comment: Building a batteries-included framework on OS X is not a simple task, especially on 10.6 Snow Leopard where the system default is to build 64- bit archs. There are several known build issues with building a complete framework on 10.6. It's not clear what your int

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

2009-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Apparently this affects more than just Boost. lifeless (Robert Collins) tells me that "__doc__ becoming readonly buggered some code of ours in bzr too, IIRC". He thinks it was in pure Python (i.e. not extension code). Does anybody have a pure Python reproduc

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-10-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: The patch should have a test. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-

[issue7184] build failures on Snow Leopard

2009-10-21 Thread Richard Jones
New submission from Richard Jones : I'm using python 2.6 maint SVN r75588 and get the attached build log when I run: configure --enable-framework make Failed to build these modules: _curses_curses_panel _tkinter readline -- components: Build files: python-r

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

2009-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I think this is caused by the fix for bug 5890 and isn't a regression. -- nosy: +barry ___ Python tracker ___ _

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

2009-10-21 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx : According to https://bugs.edge.launchpad.net/ubuntu/+source/boost1.38/+bug/457688 , Python 2.6.3 stopped working for something that Python 2.6.2 worked for, involving Boost. Andrew Mitchell looked at the Python 2.6.3 release notes, saw http://bugs.py

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-21 Thread Kevin Walzer
Kevin Walzer added the comment: Apparently the extra menu entries are related to an Appkit bug on Leopard that Tk-Cocoa picks up; the bug is not present on Snow Leopard and won't be fixed on Leopard. As a result, I've closed the SF bug. -- ___ Pyth

[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2009-10-21 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Sorry, I should have said the mingw32 compiler, which is contained in cygwincompiler.py The mingw32 compiler is a free compiler compatible with MSVC. Since it's used with the Windows version of python, there is no configure script. I noticed this when tryin

[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2009-10-21 Thread Roumen Petrov
Roumen Petrov added the comment: Posix build system read flags from makefile. Configure script add -DNDEBUG to OPT flag. So why cygwinccompiler.py has to set this ? Next cygwinccompiler currently is not used in python build system. -- nosy: +rpetrov

[issue6672] Add Mingw recognition to pyport.h to allow building extensions

2009-10-21 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, there is nothing to backport since the trunk version doesn't handle bytearrays in the first place! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2009-10-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6324] "in" expression falls back to __iter__ before __getitem__

2009-10-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue7077] SysLogHandler can't handle Unicode

2009-10-21 Thread Vinay Sajip
Vinay Sajip added the comment: Fix checked into trunk and py3k (r75586). Please verify in your environment and post your results here. There are no plans to backport this to 2.6 or earlier. -- resolution: -> fixed status: open -> pending ___ Python

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2009-10-21 Thread Matthew Barnett
Matthew Barnett added the comment: I'm still tinkering with my regex engine (issue #2636). Some timings: re.compile(r'(\s+.*)*x').search('a ' * 25) 20.23secs regex.compile(r'(\s+.*)*x').search('a ' * 25) 0.10secs -- ___ Python tracker

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-21 Thread David Bonner
David Bonner added the comment: Understandable. New patch attached. -- Added file: http://bugs.python.org/file15177/py3k_bz2.patch ___ Python tracker ___ ___

[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-10-21 Thread Chuck Rhode
Chuck Rhode added the comment: PythonTidy encounters this problem. o http://lacusveris.com/PythonTidy/PythonTidy.python It is unable correctly to render line 694 of test_grammar.py in the Python Test Suite: d[1,] = 2 becomes: d[1] = 2 because the *compiler* module does not return a

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2009-10-21 Thread Dan
Dan added the comment: Here's an easy way to trigger the poor performance. Tested with 2.5, 2.6, and 2.7: re.compile( '(\s+.*)*x' ).search( 'a ' * 30 ) -- nosy: +witten ___ Python tracker __

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-21 Thread R. David Murray
R. David Murray added the comment: A new patch will make it more likely that it will actually get applied :) Thanks for your work on this. -- ___ Python tracker ___

[issue7165] xmlrpc.server assumes sys.stdout will have a buffer attribute

2009-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well this is in the CGI implementation, and it's reasonable to assume that CGI will only be used with a real stream. Besides, the encoding used with stdout must be the xmlrpc encoding (probably utf-8), not the default encoding of standard streams on the system,

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-21 Thread David Bonner
David Bonner added the comment: Hrm...yeah, I should probably be setting it to closed as soon as BZ2_bzReadClose() returns, and then back to open once BZ2_bzReadOpen succeeds. Wasn't intentional...thanks for the catch. You guys need a new patch with that change in it? I'll try and get a 2.7 p

[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2009-10-21 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : Currently, msvccompiler.py defines NDEBUG for non-debug builds. Unix builds do as well, via python-config. However, cygwinccompiler.py does not. -- assignee: tarek components: Distutils messages: 94315 nosy: stutzbach, tarek severity: normal statu

[issue7177] Unclear warning for subprocess.call

2009-10-21 Thread Georg Brandl
Georg Brandl added the comment: Assigning to Philip who added the warning. -- assignee: georg.brandl -> pjenvey nosy: +pjenvey ___ Python tracker ___

[issue7181] No logging when two loggers with same qualname

2009-10-21 Thread Vinay Sajip
Vinay Sajip added the comment: You have made a mistake in your configuration. You only have one logger, named "butterfly", but this wrongly appears twice in your configuration. Remove the errorLogger key and section entirely, then add errorHandler to the handlers of normalLogger. Because the er

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

2009-10-21 Thread Stac
Stac added the comment: Hello, I am new to Python issues tracker. I had the error described above. I worked on it. I was not able to solve the issue only using subprocess. The command has to be correctly formated (with the double quotes). I corrected the cmdline definition as described first

[issue7181] No logging when two loggers with same qualname

2009-10-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue1293741] doctest runner cannot handle non-ascii characters

2009-10-21 Thread Wolodja Wentland
Changes by Wolodja Wentland : Added file: http://bugs.python.org/file15174/unicode_bug_literals.py ___ Python tracker ___ ___ Python-bugs-li

[issue1293741] doctest runner cannot handle non-ascii characters

2009-10-21 Thread Wolodja Wentland
Wolodja Wentland added the comment: Here is some more information. --- snip --- Normal behaviour $ locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=POSIX LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_

[issue7181] No logging when two loggers with same qualname

2009-10-21 Thread Cristian Romanescu
New submission from Cristian Romanescu : Hello, everyone. I think I have found a bug in the python logging module when configured via fileConfig Scenario 1: When using the configuration file attached to this ticket and test case below, there should be logging in three places: * console (info an

[issue2889] curses for windows (alternative patch)

2009-10-21 Thread jmb
jmb added the comment: I've built a package for python 2.6 using a slightly modified version of this patch. I've uploaded it here: http://jeberger.free.fr/python/ I'm attaching my version of the patch here. I had to make two modifications for it to work: - Change all references to _ISPAD into _

[issue7170] subclasses of (some) built-in types are not weakref-able

2009-10-21 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r75580, r75581. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py