[issue3919] PySys_SetObject crashes after Py_NewInterpreter().

2008-09-20 Thread Graham Dumpleton
Graham Dumpleton <[EMAIL PROTECTED]> added the comment: Sorry, should also mention that this was on MacOS X 10.4 (Tiger). ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3919] PySys_SetObject crashes after Py_NewInterpreter().

2008-09-20 Thread Graham Dumpleton
New submission from Graham Dumpleton <[EMAIL PROTECTED]>: Somewhere between Python 3.0a3 and Python 3.0b3, a call to PySys_SetObject() after having used Py_NewInterpreter() to create a sub interpreter causes a crash. This appears to be due to interp->sysdict being NULL after Py_NewInterpreter(

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-20 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Is this really meant to be for 3.1, or should this be a 3.0 blocker? -- nosy: +brett.cannon ___ Python tracker <[EMAIL PROTECTED]> _

[issue3826] Self-reference in BaseHTTPRequestHandler descendants causes stuck connections

2008-09-20 Thread Gabriel Genellina
Gabriel Genellina <[EMAIL PROTECTED]> added the comment: 3.0rc1 still fails. The diagnostic is correct, the connection should be closed after sending the response, but isn't. The attached unittest reproduces the error without requiring a browser. -- nosy: +gagenellina _

[issue3918] random.uniform suprisingly (good kind) does not work as documented

2008-09-20 Thread Frank Martinez
New submission from Frank Martinez <[EMAIL PROTECTED]>: The documentation for random.uniform states: uniform(a, b) Return a random real number N such that a <= N < b. However when I test it out, We see: >>> import random as r >>> r.uniform(0,-1) -0.9815056608839331 >>>

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-20 Thread Yaakov (Cygwin Ports)
Yaakov (Cygwin Ports) <[EMAIL PROTECTED]> added the comment: 3.0rc1 together with the printf patch builds and installs. Some quick testing seems ok, but idle isn't working: $ idle3.0 Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.0/idlelib/run.py", line 76, i

[issue3917] set_display definition allows empty '{' '}' in Language Definition

2008-09-20 Thread Bruce Frederiksen
New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: The definition for set_display in the Language Definition allows for empty curly braces by enclosing expression_list | comprehension in brackets ('[', ']'). These brackets should be removed, as empty curly braces are a dict_display. htt

[issue3905] subprocess failing in GUI applications on Windows

2008-09-20 Thread Kevin Watters
Changes by Kevin Watters <[EMAIL PROTECTED]>: -- nosy: +kevinwatters ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-20 Thread Gabriel Genellina
Gabriel Genellina <[EMAIL PROTECTED]> added the comment: Attached a documentation patch, including the kqueue.control function docstring. But I wonder if the code was incorrect instead - both the documentation and the function docstring specified a default value for max_events=0, and the corr

[issue3912] unittest. assertAlmostEqual() documentation incomplete

2008-09-20 Thread Gabriel Genellina
Gabriel Genellina <[EMAIL PROTECTED]> added the comment: This patch documents the missing default value. -- keywords: +patch nosy: +gagenellina Added file: http://bugs.python.org/file11535/unittest.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Since the bsddb module has been removed from py3k, the previous patch addresses the last issue for this ticket. ___ Python tracker <[EMAIL PROTECTED]> __

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This patches corrects the bad printf, when the given filename is only 1-char long. -- keywords: +needs review Added file: http://bugs.python.org/file11534/cygwin_badprintf.patch ___ Python tr

[issue3916] layout of build directories for Windows not current

2008-09-20 Thread Gabriel Genellina
New submission from Gabriel Genellina <[EMAIL PROTECTED]>: In the "Using Python on Windows" document, the various directories listed for building Python on Windows are not current. The attached patch fixes the documentation. Also included a small fix in the PBbuild/ readme.txt file.

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-20 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Bugfix. Added file: http://bugs.python.org/file11532/regex_2.6rc2.diff ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-20 Thread Matthew Barnett
Changes by Matthew Barnett <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11530/regex_2.6rc2.diff ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Here is a new version of the patch: the PyString* functions were renamed to PyBytes*, and it now uses stdout_encoding. About the "release blocker" status: I agree it is not so important, I just wanted to express my "it's been here for l

[issue3911] ftplib.FTP.makeport() bug

2008-09-20 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > Would you like to contribute a patch? Ok. I started working on a patch which implements a dummy asyncore-based FTP server including tests for all basic FTP() class methods. I'll contribute a patch as soon as I'll wrote IPv6 tests. _

[issue3915] Broken link in 14.7 curses, Python Library Reference

2008-09-20 Thread Jason Etheridge
New submission from Jason Etheridge <[EMAIL PROTECTED]>: In http://docs.python.org/lib/module-curses.html, the link "Curses Programming with Python" is broken. It links to http://www.python.org/doc/howto/curses/curses.html, which no longer exists. I found the page externally at http://www.amk.

[issue3905] subprocess failing in GUI applications on Windows

2008-09-20 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Just for information and from an end user perspective. I have tried to replace the socketserver.py from the original 3.0rc1 distribution by the socketserver.py as proposed by Benjamin Peterson (r66520). Script difference (line 568):

[issue3884] turtle in the tkinter package?

2008-09-20 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Agreed. It's toplevel in 2.6. Let's keep it toplevel in 3.x. -- assignee: gvanrossum -> loewis ___ Python tracker <[EMAIL PROTECTED]> __

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-20 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: This patch is now based on Python 2.6rc2. I've reduced the number of macros and used functions instead, provided that it didn't cost much in terms of speed. In many cases it should be faster than the current release, and at worst no slower.

[issue3884] turtle in the tkinter package?

2008-09-20 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I'd like to appeal that decision. That the turtle module is implemented in Tkinter is, well, an implementation detail. What matters to the end user is the turtle API, which has little to do with Tkinter (at least, the most high-level API does

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-20 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Given MvL's review, assuming it fixes the Czech problem, I'm all for applying it. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3905] subprocess failing in GUI applications on Windows

2008-09-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The idle problem has already been fixed, and I got the socket server one in r66520. -- assignee: benjamin.peterson -> ___ Python tracker <[EMAIL PROTECTED]> _

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-20 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Amaury, what further review of the patch do you desire? I had already commented that I consider the patch correct, except that it might use stdout_encoding instead. Also, I wouldn't consider this a release blocker. It is somewhat annoying th

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-20 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- keywords: +needs review priority: normal -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3905] subprocess failing in GUI applications on Windows

2008-09-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Benjamin, I think you're responsible. -- assignee: -> benjamin.peterson nosy: +benjamin.peterson, georg.brandl ___ Python tracker <[EMAIL PROTECTED]> _

[issue3905] subprocess failing in GUI applications on Windows

2008-09-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: There are also instances of set_daemon left in socketserver and multiprocessing/dummy. How is that possible? ___ Python tracker <[EMAIL PROTECTED]> _

[issue3891] collections.deque should have empty() method

2008-09-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Sorry Roy, I think you're way off base on this one. There are standard ways to test for an empty container "if c:" or "if len(c)" or "if len(c) > 0". This is Python 101. Closing this one as it has nothing to do specifically with collect

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-20 Thread Vlastimil Brom
Vlastimil Brom <[EMAIL PROTECTED]> added the comment: While I am not sure about the status of this somewhat older issue, I just wanted to mention, that the behaviour remains the same in Python 3.0rc1 (XPh SP3, Czech) Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit (Inte