[issue7180] pydoc -k can generate AttributeError on Mac OS X

2009-10-21 Thread Kevin Grant
New submission from Kevin Grant k...@mac.com: Running pydoc -k ... with a query string will end with a Python AttributeError while looking for Carbon.File.FSSpecType. I was using /usr/bin/pydoc on Mac OS X Snow Leopard, which is from Python 2.6.1. It appears that any query will produce a

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

2009-10-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r75580, r75581. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7170 ___

[issue2889] curses for windows (alternative patch)

2009-10-21 Thread jmb
jmb jeber...@free.fr 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

[issue7181] No logging when two loggers with same qualname

2009-10-21 Thread Cristian Romanescu
New submission from Cristian Romanescu cristir...@yahoo.com: 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

[issue1293741] doctest runner cannot handle non-ascii characters

2009-10-21 Thread Wolodja Wentland
Wolodja Wentland wentl...@cl.uni-heidelberg.de 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

[issue1293741] doctest runner cannot handle non-ascii characters

2009-10-21 Thread Wolodja Wentland
Changes by Wolodja Wentland wentl...@cl.uni-heidelberg.de: Added file: http://bugs.python.org/file15174/unicode_bug_literals.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1293741 ___

[issue7181] No logging when two loggers with same qualname

2009-10-21 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7181 ___

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

2009-10-21 Thread Stac
Stac stac_agen...@yahoo.fr 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

[issue7181] No logging when two loggers with same qualname

2009-10-21 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

[issue7177] Unclear warning for subprocess.call

2009-10-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Assigning to Philip who added the warning. -- assignee: georg.brandl - pjenvey nosy: +pjenvey ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7177

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

2009-10-21 Thread Daniel Stutzbach
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com: 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:

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

2009-10-21 Thread David Bonner
David Bonner dbon...@vmware.com 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

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

2009-10-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2009-10-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http://bugs.python.org/issue1625

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

2009-10-21 Thread Dan
Dan wit...@torsion.org 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 rep...@bugs.python.org

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

2009-10-21 Thread Chuck Rhode
Chuck Rhode crh...@lacusveris.com 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*

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

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

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

2009-10-21 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com 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 -- ___

[issue7077] SysLogHandler can't handle Unicode

2009-10-21 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

[issue6324] in expression falls back to __iter__ before __getitem__

2009-10-21 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: rhettinger - georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6324 ___

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

2009-10-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: +1 -- assignee: rhettinger - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6690 ___

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

2009-10-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2009-10-21 Thread Roumen Petrov
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6672 ___ ___ Python-bugs-list

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

2009-10-21 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info 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

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

2009-10-21 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com 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

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

2009-10-21 Thread Kevin Walzer
Kevin Walzer wordt...@users.sourceforge.net 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. --

[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 zo...@zooko.com: 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

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

2009-10-21 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I think this is caused by the fix for bug 5890 and isn't a regression. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7183

[issue7184] build failures on Snow Leopard

2009-10-21 Thread Richard Jones
New submission from Richard Jones richardjo...@optushome.com.au: 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 --

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

2009-10-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: The patch should have a test. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6978 ___

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

2009-10-21 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org 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