[issue3907] "for line in file" doesn't work for pipes

2008-09-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Python 2.6 and 3.0 come with a completely new I/O implementation, which correctly handle pipes in this regard (I just tested). http://docs.python.org/dev/library/io.html With the 3.0 version, the built-in open() is an alias for io.open

[issue3819] urllib2 sends Basic auth across redirects

2008-09-19 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: This is working as designed and Requestor has not supplied any further information on why he thinks it a bug. ___ Python tracker <[EMAIL PROTECTED]> _

[issue3609] does parse_header really belong in CGI module?

2008-09-19 Thread Senthil
Changes by Senthil <[EMAIL PROTECTED]>: -- nosy: +orsenthil ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list

[issue3908] Strange heapq behavior on Python 3.0 when overriding __le__

2008-09-19 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: import heapq class foo: def __init__(self): self.timeout = 0 def __le__(self, other): return self.timeout <= other.timeout heap = [] heapq.heappush(heap, foo()) heapq.heappush(heap, foo()) This code on Python 2

[issue3908] Strange heapq behavior on Python 3.0 when overriding __le__

2008-09-19 Thread Sascha Müller
Sascha Müller <[EMAIL PROTECTED]> added the comment: heapq expects a _lt_ method, and the error doesn't occur when the _le_ method is changed to _lt. According to the SVN log, this was changed due to consistency with lists.sort(). -- nosy: +einmaliger -giampaolo.rodola _

[issue3908] Strange heapq behavior on Python 3.0 when overriding __le__

2008-09-19 Thread Sascha Müller
Changes by Sascha Müller <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3905] subprocess failing in GUI applications on Windows

2008-09-19 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: I do not really know if this is related to this, but I suspect yes. On my w2k+sp4 box, swiss french, Python 3.0rc1, IDLE does not start or more precisely it starts by opening the following message box: Subprocess Startup Error

[issue3905] subprocess failing in GUI applications on Windows

2008-09-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: jmfauth: please try to run idle from a command prompt: > cd > python Lib/idlelib/idle.py Do you see interesting output there? -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTEC

[issue3887] Python 2.6 doesn't run after installation on amd64

2008-09-19 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: You were right; the x86 version of the CRT was included. This is now fixed in r66514 and r66515. If you want to try it out, try http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.6rc2.amd64.msi http://www.dcl.hpi.uni-potsdam.de/home/loe

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-19 Thread jan matejek
Changes by jan matejek <[EMAIL PROTECTED]>: -- nosy: +matejcik ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailin

[issue3909] Building PDF documentation from tex files

2008-09-19 Thread Winfried Plappert
New submission from Winfried Plappert <[EMAIL PROTECTED]>: I try to build PDF documentation from current Python-2.6rc2 and Python- 3.0rc1 versions. I tried the process under Windows XP and also Linux (Ubuntu). The results are the same. The documentation is not built correctly, mostly the table

[issue3909] Building PDF documentation from tex files

2008-09-19 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: modified version info: 2.6, 3.0 -- versions: +Python 2.6 -Python 2.5 ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3908] Strange heapq behavior on Python 3.0 when overriding __le__

2008-09-19 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: It's supposed to be that way. In 2.6 we support both to help with transition. In 3.0, we've cleaned up and made the APIs consistent. Try to get in the habit of defining all six rich comparisons to bulletproof code and not rely on undocu

[issue3905] subprocess failing in GUI applications on Windows

2008-09-19 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\>cd python30 C:\Python30>python Lib/idlelib/idle.py Traceback (most recent call last): File "", line 1, in File "C:\Python30\lib\idlelib\run.py", l

[issue3910] 2.6 regression in socket.ssl method

2008-09-19 Thread jan matejek
New submission from jan matejek <[EMAIL PROTECTED]>: python 2.6's compatibility socket.ssl() method does not handle 'sock' parameter in the same way. in 2.5, ssl() looked like this: def ssl(sock, keyfile=None, certfile=None): if hasattr(sock, "_sock"): sock = sock._sock return _

[issue3911] ftplib.FTP.makeport() bug

2008-09-19 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import ftplib >>> f = ftplib.FTP() >>> f.connect('mirrors.kernel.org') '22

[issue3908] Strange heapq behavior on Python 3.0 when overriding __le__

2008-09-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Ok, thanks for the hints. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue3910] 2.6 regression in socket.ssl method

2008-09-19 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: This makes sense and is a trivial compatibility fix. anyone disagree? -- nosy: +gregory.p.smith, janssen priority: -> release blocker ___ Python tracker <[EMAIL PROTECTED]>

[issue3887] Python 2.6 doesn't run after installation on amd64

2008-09-19 Thread John Ehresman
John Ehresman <[EMAIL PROTECTED]> added the comment: The new installer works for both for everyone and for me installs. Thanks, John ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3910] 2.6 regression in socket.ssl method

2008-09-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Looks OK to me. I think this is a back-port problem from 3.0. I'll put it in if no one objects. -- assignee: -> janssen ___ Python tracker <[EMAIL PROTECTED]> __

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2008-09-19 Thread Damien Miller
Damien Miller <[EMAIL PROTECTED]> added the comment: So the bug is actually in the multiprocessing module rather than the unittest. If HAVE_SEM_OPEN is not defined then SemLock is never built into _multiprocessing.so, but multiprocessing/syncronize.py unconditionally depends on its presence. I g

[issue3899] test_ssl.py doesn't properly test ssl integration with asyncore

2008-09-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Sure, no argument. I was just making clear what was going on. Bill On Thu, Sep 18, 2008 at 7:33 PM, Josiah Carlson <[EMAIL PROTECTED]>wrote: > > Josiah Carlson <[EMAIL PROTECTED]> added the comment: > > Being able to test the async features

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2008-09-19 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: Bumping up _ I'll need help with a patch -- priority: -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3628] IDLE does not run with Py30b3

2008-09-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66518. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3911] ftplib.FTP.makeport() bug

2008-09-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Why not just use floor divide (//)? -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3911] ftplib.FTP.makeport() bug

2008-09-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: At your discretion. I was thinking that it's not encouraging that such an outstanding bug has passed silently until RC1. IMHO, a minimal test suite for the ftplib module would be really necessary. A dummy FTP server returning fixed respons

[issue3911] ftplib.FTP.makeport() bug

2008-09-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Fri, Sep 19, 2008 at 6:23 PM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > > At your discretion. I was thinking that it's not encouraging that such > an outstanding bug has p

[issue3912] unittest. assertAlmostEqual() documentation incomplete

2008-09-19 Thread Roy Smith
New submission from Roy Smith <[EMAIL PROTECTED]>: The third argument, places, is optional, but no indication is given what value is used if it is omitted. -- assignee: georg.brandl components: Documentation messages: 73447 nosy: georg.brandl, roysmith severity: normal status: open titl

[issue3913] compound_stmt syntax includes 'decorated'

2008-09-19 Thread Bruce Frederiksen
New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: The python 3.0 Language Reference page describing compound_stmt (http://docs.python.org/dev/3.0/reference/compound_stmts.html) includes 'decorated'. But the funcdef and classdef definitions both include optional decorators. It looks lik

[issue3914] augop definition does not include "//="

2008-09-19 Thread Bruce Frederiksen
New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: The definition for 'augop' on the Simple Statements page of the Language Definition does not include "//=". http://docs.python.org/dev/3.0/reference/simple_stmts.html#grammar-token-augop -- assignee: georg.brandl components: Doc

[issue3913] compound_stmt syntax includes 'decorated'

2008-09-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: If you look at the real Grammar (in Grammar/Grammar), you will see that this decorated is used in the grammar. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Pyth

[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2008-09-19 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: This is supposed to have been fixed by http://bugs.python.org/issue1196903 but I don't believe there has not been a 2.5 release since then. I do not know if that patch was or was backported for 2.5. -- nosy: +tjreedy

[issue3892] bsddb: test01_basic_replication fails on Windows sometimes

2008-09-19 Thread Mark Hammond
Mark Hammond <[EMAIL PROTECTED]> added the comment: Actually, I've decided to leave it alone. The buildbots most recent failure was: test test_bsddb3 failed -- Traceback (most recent call last): File "S:\buildbots\python\trunk.nelson-windows\build\lib\bsddb\test\test_replication.py", line 315

[issue3913] compound_stmt syntax includes 'decorated'

2008-09-19 Thread Bruce Frederiksen
Bruce Frederiksen <[EMAIL PROTECTED]> added the comment: But the real Grammar doesn't include decorators on funcdef and classdef, while the Language Reference document does. So the 'decorated' option is not needed in the Language Reference (and, indeed, doesn't even seem to be defined there).

[issue3913] compound_stmt syntax includes 'decorated'

2008-09-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The language reference is merely a explanation of the the Grammar, so I don't understand why you think it shouldn't be there. A 'decorated' node contains a 'classdef' or 'fundef'. ___ Python tracker <[EM

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

2008-09-19 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: I changed this to a doc issue for 2.6/3.0 whenever. I have two objections to adding "An empty deque evaluates as false". First, it implies (falsely) that it could be otherwise; since deque has no __bool__ method, its __len__ method is used,

[issue3913] compound_stmt syntax includes 'decorated'

2008-09-19 Thread Bruce Frederiksen
Bruce Frederiksen <[EMAIL PROTECTED]> added the comment: The grammar definitions in the Language Reference are _not_ just a straight copy of the Grammar. They have been reworked. (I don't know why, perhaps to make it easier to understand)? So the Grammar defines funcdef and classdef _without

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

2008-09-19 Thread Roy Smith
Roy Smith <[EMAIL PROTECTED]> added the comment: I think you're missing the point. Imagine you are somebody who doesn't know Python internals. You're looking at the doc page for deque and ask yourself the question, "How do I tell if one of these is empty?". There's no information ON THAT PA