[issue7184] build failures on Snow Leopard

2009-10-22 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue6324] in expression falls back to __iter__ before __getitem__

2009-10-22 Thread Anthony Foglia
Anthony Foglia afog...@gmail.com 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,

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

2009-10-22 Thread Derk Drukker
Derk Drukker derk.druk...@gmail.com 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

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

2009-10-22 Thread Stac
Stac stac_agen...@yahoo.fr added the comment: Oups, I really feel sorry. Well here is a version with the modified cmdline. I will check how the migration was done in py3k. Just a quick question : why the changes done in py3k was not reported to py2.x ? Regards, Stac -- Added file:

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

2009-10-22 Thread Stac
Stac stac_agen...@yahoo.fr added the comment: Ok, I corrected the two versions. Now the one for py2.x is closer to the fix for py3k. You'll find below the fixed code for both version. Regards, Stac -- Added file: http://bugs.python.org/file15180/fix.tar

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

2009-10-22 Thread Derk Drukker
Derk Drukker derk.druk...@gmail.com added the comment: The original problem reported concerned spaces in the path of the python executable. So interp needs to be in quotes, as well (as Andy already suggested). I've created a patch against the latest py3k, which I've confirmed works and fixes

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

2009-10-22 Thread Stac
Changes by Stac stac_agen...@yahoo.fr: Removed file: http://bugs.python.org/file15175/MyCGIHTTPServer.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1235 ___

[issue3605] Py_FatalError causes infinite loop

2009-10-22 Thread lekma
Changes by lekma lekma...@gmail.com: -- nosy: +lekma ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3605 ___ ___ Python-bugs-list mailing list

[issue7185] csv reader utf-8 BOM error

2009-10-22 Thread Istvan Szirtes
New submission from Istvan Szirtes istvan.szir...@gmail.com: The CSV module try to read a .csv file which is coded in utf-8 with utf- 8 BOM. The first row in the csv file is [value,vocal,vocal,vocal,vocal] in hex: value,vocal,vocal,vocal,vocal the reader can not read corectly the first

[issue7185] csv reader utf-8 BOM error

2009-10-22 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: http://docs.python.org/library/csv.html#module-csv states: This version of the csv module doesn’t support Unicode input. Also, there are currently some issues regarding ASCII NUL characters. Accordingly, all input should be UTF-8 or

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

2009-10-22 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Robert indicated later that this probably did /not/ affect Bazaar. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7183 ___

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

2009-10-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I added some tests in test_property in my checkout and the __doc__ property is not, as far as I can tell, set read-only by the issue 5890 fix. The error message referenced in the report is: AttributeError: 'Boost.Python.StaticProperty'

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

2009-10-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: That should have been 'instance's dict', not the subclass dict. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7183 ___

[issue7185] csv reader utf-8 BOM error

2009-10-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The restrictions were theoretically removed in 3.1, and the 3.1 documentation has been updated to reflect that. If 3.1 CSV doesn't handle unicode, then that is a bug. -- nosy: +r.david.murray priority: - normal stage: - test

[issue7185] csv reader utf-8 BOM error

2009-10-22 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: Then the solution should simply be to use utf-8-sig as the encoding, instead of utf-8. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7185

[issue6324] in expression falls back to __iter__ before __getitem__

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r75606. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6324 ___

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

2009-10-22 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Thanks David, that's what I suspect too (that's its a problem with extension types). Unless we get more information, I'm not inclined to hold up the 2.6.4 release for this. -- ___ Python tracker

[issue7088] New (in 2.6) functions in signal module are not documented as unix-only

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r75607. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7088 ___

[issue7067] Suggest better documentation of 2 versus 3 on 3.1.1 site.

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I added the 3.0 whatsnew and 2to3 links in (pydotorg) r12618. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7067

[issue7137] Socket documentation not updated

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r75609. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7137 ___

[issue7067] Suggest better documentation of 2 versus 3 on 3.1.1 site.

2009-10-22 Thread Steven R. Loomis
Steven R. Loomis s...@monkey.sbay.org added the comment: Thnks for fixing this. there still seems to be something up with http://python.org/download/releases/3.1.1/ - it says 'Inline interpreted text or phrase reference start-string without end-string.' and the changelog link is broken. But

[issue7062] No docs for module 'IN'

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That's the case for all undocumented modules (there are some like IN, that only contain constants; they're also going away in Py3k). However, pydoc can't know which modules are documented, so I'm going to close this as won't fix. --

[issue7036] Doc/reference/datamodel: Slots description needs update

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: As far as I can tell, the text is still correct: class a(object): __slots__ = 'a' class b(a): __slots__ = 'a' works without raising TypeError. I've nevertheless enhanced the docs a bit in r75610. -- resolution: - fixed status: open

[issue7035] codecs error handlers lack documentation

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r75611. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7035 ___

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

2009-10-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not sure I understand, how do you create a read-only instance dict? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7183

[issue7067] Suggest better documentation of 2 versus 3 on 3.1.1 site.

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, this is now fixed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7067 ___ ___

[issue7156] curses can't find _curses

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added Platform: Unix to curses docs in r75612. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7156

[issue6977] Getopt documentation ambiguity

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r75613. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6977 ___

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

2009-10-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm not sure you do. I have no idea how Boost works, but the fact that removing a Boost 'read-only' declaration circumvents the problem in at least some cases argues that Boost is setting _something_ read-only. --

[issue7067] Suggest better documentation of 2 versus 3 on 3.1.1 site.

2009-10-22 Thread Steven R. Loomis
Steven R. Loomis s...@monkey.sbay.org added the comment: welcome, looks great! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7067 ___ ___

[issue6927] Metaclass doc (Ref 3.3.3) errors

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed based/passed in r75616, the rest will be done for #1294232. -- resolution: - fixed status: open - closed superseder: - Error in metaclass search order ___ Python tracker rep...@bugs.python.org

[issue6670] Printing the 'The Python Tutorial'

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: OK, fixed in Sphinx, and in the Python stylesheet in r75617. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6670

[issue7006] The replacement suggested for callable(x) in py3k is not equivalent

2009-10-22 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: 2to3 still uses hasattr(x, 'callable'). -- assignee: georg.brandl - benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7006 ___

[issue7185] csv reader utf-8 BOM error

2009-10-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: In that case we should update the docs. Istvan, can you confirm that this solves your problem? -- assignee: - georg.brandl components: +Documentation nosy: +georg.brandl stage: test needed - needs patch versions: +Python 3.2

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

2009-10-22 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- nosy: -gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1235 ___ ___ Python-bugs-list

[issue5713] smtplib gets out of sync if server returns a 421 status

2009-10-22 Thread Mark Sapiro
Mark Sapiro m...@msapiro.net added the comment: I'm not completely sure about this, but here's my thoughts. In the scenarios I've seen, the 421 reply/disconnect only occurs in response to a RCPT which has an invalid address and follows several prior refused RCPTs. In this case, I think the

[issue7185] csv reader utf-8 BOM error

2009-10-22 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: +skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7185 ___ ___ Python-bugs-list

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

2009-10-22 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: After discussion on python-dev, this will not block 2.6.4 -- priority: release blocker - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7183

[issue6952] deprecated conversion from string constant to char *

2009-10-22 Thread Barry Alan Scott
Barry Alan Scott barry-sc...@users.sourceforge.net added the comment: Updated patch with comment explaining cast. -- Added file: http://bugs.python.org/file15184/const_api_r75619.patch ___ Python tracker rep...@bugs.python.org

[issue7186] Document specialness of __doc__, and possibly other special attributes

2009-10-22 Thread steve steiner
New submission from steve steiner sstei...@users.sourceforge.net: Around the time of the 2.6.4 release, it was suggested that Python 2.6.3 changed the __doc__ attribute to read-only. See: http://bugs.python.org/issue7183 When asked whether this read-only behaviour was intentional, Guido

[issue6882] uuid creates zombies

2009-10-22 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Back ported the try/finally parts to trunk in r75620. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6882 ___

[issue7187] importlib/_bootstrap.py write_bytecode fails if it can't open the .pyc file for writing

2009-10-22 Thread Dave Malcolm
New submission from Dave Malcolm dmalc...@redhat.com: I'm working on an RPM package of Python 3.1.1 for Fedora [1]. Within my RPMs are precompiled .pyc and .pyo files that are not writable by users, and are hardlinked together if they have equal content. For example: $ ls -al

[issue7187] importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing

2009-10-22 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- title: importlib/_bootstrap.py write_bytecode fails if it can't open the .pyc file for writing - importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing ___

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

2009-10-22 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Ok Daniel. In this case for debug build _DEBUG has to be defined too - please check pyconfig.h from MSVC builds. May be you could use CFLAGS environment variable. -- ___ Python tracker

[issue7006] The replacement suggested for callable(x) in py3k is not equivalent

2009-10-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2009/10/22 Georg Brandl rep...@bugs.python.org: Georg Brandl ge...@python.org added the comment: 2to3 still uses hasattr(x, 'callable') Do you have strong opinions about this? IMO, hasattr(x, '__call__') is compatible enough.

[issue7187] importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing

2009-10-22 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7187 ___

[issue7187] importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing

2009-10-22 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Thanks for the report and potential fix, Dave. I'm swamped at the moment but I will get to this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7187

[issue7187] importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing

2009-10-22 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7187 ___ ___