[issue4736] io.BufferedRWPair.closed broken; tries to call bool writer.closed property

2008-12-24 Thread Miles
New submission from Miles semantic...@gmail.com: The closed property of BufferedRWPair attempts to call the closed property of its writer as a method, which fails because writer.closed is a bool. The following code demonstrates the error: import socket socket.socket().makefile('rwb').closed

[issue4734] broken link for 2.5.3 doc download

2008-12-24 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the report; this is now fixed. -- nosy: +loewis resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4734

[issue1068268] subprocess is not EINTR-safe

2008-12-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: Removed file: http://bugs.python.org/file11818/subprocess-retry-on-EINTR-std-in-out-err.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1068268

[issue1068268] subprocess is not EINTR-safe

2008-12-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: Removed file: http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-r65475.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1068268

[issue1068268] subprocess is not EINTR-safe

2008-12-24 Thread Matteo Bertini
Matteo Bertini matt...@naufraghi.net added the comment: no EINTR patch upgraded to 25-maint r65475 that protects: *) all direct calls *) all returned fd I hope :P Added file: http://bugs.python.org/file12438/no-EINTR-subprocess.py-25-maint-r65475.patch

[issue4737] documentation and noddy*.c

2008-12-24 Thread Kandalintsev Alexandre
New submission from Kandalintsev Alexandre bug_hun...@messir.net: Hello! 1) In http://docs.python.org/3.0/extending/extending.html we see: = Note that PyMODINIT_FUNC declares the function as void return type = But thats not true, it's defined as PyObject*. I think this is

[issue4718] wsgiref package totally broken

2008-12-24 Thread Dmitry Vasiliev
Changes by Dmitry Vasiliev d...@hlabs.spb.ru: Removed file: http://bugs.python.org/file12423/wsgiref.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4718 ___

[issue4718] wsgiref package totally broken

2008-12-24 Thread Dmitry Vasiliev
Changes by Dmitry Vasiliev d...@hlabs.spb.ru: Removed file: http://bugs.python.org/file12429/wsgiref2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4718 ___

[issue4718] wsgiref package totally broken

2008-12-24 Thread Dmitry Vasiliev
Changes by Dmitry Vasiliev d...@hlabs.spb.ru: Removed file: http://bugs.python.org/file12431/wsgiref_pep333.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4718 ___

[issue4718] wsgiref package totally broken

2008-12-24 Thread Dmitry Vasiliev
Dmitry Vasiliev d...@hlabs.spb.ru added the comment: Attached new WSGI 1.0+ version of the patch. Added file: http://bugs.python.org/file12439/wsgiref.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4718

[issue4736] io.BufferedRWPair.closed broken; tries to call bool writer.closed property

2008-12-24 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thanks for the report. Fixed in r67923. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4736

[issue4729] Documentation under 'pass' statement talks about exception very early.

2008-12-24 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I agree. Changed in r67924. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4729

[issue1194378] sendmsg() and recvmsg() for C socket module

2008-12-24 Thread David M. Beazley
David M. Beazley beaz...@users.sourceforge.net added the comment: Bump. This functionality seems to be needed if anyone is going to be messing around with advanced features of IPv6. As it stands, the socket module in Python 2.6/3.0 is incomplete without this. -- nosy: +beazley

[issue4737] documentation and noddy*.c

2008-12-24 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thanks for the report! Fixed in r67925. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4737

[issue4738] Patch to make zlib-objects better support threads

2008-12-24 Thread ebfe
New submission from ebfe knabberknusperh...@yahoo.de: My application needs to pack and unpack workunits all day long and does this using multiple threading.Threads. I've noticed that the zlib module seems to use only one thread at a time when using [de]compressobj(). As the comment in the

[issue4739] [patch] Let users do help('@') and so on for confusing syntax constructs.

2008-12-24 Thread David Laban
New submission from David Laban alsu...@gmail.com: When I first came across decorators (about a year ago?), they confused the hell out of me, and the syntax is completely google-proof, so I ended up having to ask on irc. One of the things that I tried was help('@') but that didn't work either.

[issue4739] [patch] Let users do help('@') and so on for confusing syntax constructs.

2008-12-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4739 ___

[issue1194378] sendmsg() and recvmsg() for C socket module

2008-12-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1194378 ___

[issue4740] pickle test for protocol 3 (HIGHEST_PROTOCOL in py3k)

2008-12-24 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: This patch enables tests for pickle.HIGHEST_PROTOCOL. (3) I confirmed test passed. -- components: Tests files: py3k_use_HIGHEST_PROTOCOL.patch keywords: easy, patch messages: 78268 nosy: ocean-city severity: normal stage:

[issue4400] pypirc default is not at the right format

2008-12-24 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: - tarek resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4400 ___

[issue4718] wsgiref package totally broken

2008-12-24 Thread Phillip J. Eby
Phillip J. Eby p...@telecommunity.com added the comment: Graham: thanks for pointing that out; I completely forgot we already *had* the migration discussion on the Web-SIG! It just slipped my mind because I didn't have any 3.0 work on the horizon. Dmitry: A question about the new patch. Are

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Ultrasick
New submission from Ultrasick pyt...@ontheserver.de: I added a .py file to demonstrate the problem. I tryed 2 ways to stop the sound from beeing played. The first way winsound.PlaySound(path[0] + '/sound.wav', winsound.SND_PURGE) should already stop it but instead it starts the playback again.

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Ultrasick
Ultrasick pyt...@ontheserver.de added the comment: added a test sound Added file: http://bugs.python.org/file12444/sound.wav ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4741 ___

[issue1519638] Unmatched Group issue - workaround

2008-12-24 Thread Bobby Xiao
Bobby Xiao nneon...@gmail.com added the comment: How would I apply that workaround to my example? re.sub(foo(?:b(ar)|baz),\\1,foobaz) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1519638 ___

[issue4742] 3.0 distutils byte-compiling - Syntax error: unknown encoding: cp1252

2008-12-24 Thread John Machin
New submission from John Machin sjmac...@users.sourceforge.net: File foo3.py is [cut down (orig 87Kb)] output of 2to3 conversion tool and (coincidentally) is still valid 2.x syntax. There are no syntax errors reported by any of the following: \python26\python -c import foo3

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: You should specify winsound.SND_ASYNC in first PlaySound. By default, PlaySound won't return until completing to play wav file. winsound.SND_PURGE doesn't work for me. I'm also using Win2000SP4, and I found

[issue4742] 3.0 distutils byte-compiling - Syntax error: unknown encoding: cp1252

2008-12-24 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: A clue: print(ascii(b'\xa0\x93\x94\xb7'.decode('cp1252'))) '\xa0\u201c\u201d\xb7' Could be that it only happens where there's a cp1252 character that's not in latin1; see files x93.py and x94.py (have problem) and xa0b7.py (doesn't

[issue4742] 3.0 distutils byte-compiling - Syntax error: unknown encoding: cp1252

2008-12-24 Thread John Machin
Changes by John Machin sjmac...@users.sourceforge.net: Removed file: http://bugs.python.org/file12445/py3encbug.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4742 ___

[issue4743] intra-pkg multiple import (import local1, local2) not fixed

2008-12-24 Thread John Machin
New submission from John Machin sjmac...@users.sourceforge.net: In a package, import local1, local2 is not fixed. Here's some real live 2to3 output showing the problem and the workaround: import ExcelFormulaParser, ExcelFormulaLexer -import ExcelFormulaParser -import ExcelFormulaLexer +from

[issue4744] asynchat documentation needs to be more precise

2008-12-24 Thread David M. Beazley
New submission from David M. Beazley beaz...@users.sourceforge.net: The documentation for asynchat needs to be more precise in its use of strings vs. bytes. Unless the undocumented use_encoding attribute is set, it seems that all data should be bytes throughout (e.g., the terminator, inputs

[issue4745] socket.send obscure error message

2008-12-24 Thread John Robinson
New submission from John Robinson greyw...@gmail.com: When using the socket module and performing a socket.send('hello world'), the error returned is: Traceback (most recent call last): File C:\Python30\testclient.py, line 12, in module s.send('Hello world') # send the data