[issue2366] Fixer for new metaclass syntax is needed

2008-03-19 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Here is a partial implementation. It doesn't warn about __metaclass__ at the module level and doesn't handle multiple __metaclass__ assignements in one class. tests pending. -- keywords: +patch Added file: http://bugs.python.org/fil

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-19 Thread Jeff Balogh
Jeff Balogh <[EMAIL PROTECTED]> added the comment: Attaching a revised patch that has a ``warnsunchanged`` test case. Added file: http://bugs.python.org/file9779/issue2370.diff __ Tracker <[EMAIL PROTECTED]>

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-03-19 Thread Jeff Balogh
Changes by Jeff Balogh <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9736/issue2370.diff __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bu

[issue2059] OptionMenu class is defined both in Tkinter and Tix

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: I don't see the problem with the example listed in the last message. It sounds like the Tix documentation is confirming that this is the desired behavior. -- nosy: +jafo priority: -> normal resolution: -> works for me status: o

[issue2427] 2to3 should translate itertools.imap into generator expression, not list comprehension

2008-03-19 Thread David Wolever
David Wolever <[EMAIL PROTECTED]> added the comment: Ok, I've added explicit ordering to fixers in r61654, fixing this issue. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue2427] 2to3 should translate itertools.imap into generator expression, not list comprehension

2008-03-19 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Thanks David. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1741] .pypirc not found on windows

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: I'm closing this as a duplicate of #1858. -- nosy: +jafo resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue2166] pydistutils.cfg won't be found on Windows

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- priority: -> normal superseder: -> Make .pypirc handle multiple servers __ Tracker <[EMAIL PROTECTED]> __ __

[issue2329] ImportError: No module named _bsddb

2008-03-19 Thread Trent Nelson
Trent Nelson <[EMAIL PROTECTED]> added the comment: Please provide more information about your platform. Also note that ./configure needs to be able to find pre-existing bsddb libs in order for Python to build the _bsddb module. -- nosy: +Trent.Nelson

[issue1741] .pypirc not found on windows

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- superseder: -> Make .pypirc handle multiple servers __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2166] pydistutils.cfg won't be found on Windows

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Closing as a duplicate of 1858. -- nosy: +jafo resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue2143] smtplib.SSLFakeFile hangs forever if "\n" is not encountered

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: ssl.SSLSocket.read() says: Return zero-length string on EOF. So, I'm going to apply this patch. Applied in rev 61656. -- keywords: +patch nosy: +jafo priority: -> normal __ Tracker <[EMAIL PROTE

[issue2143] smtplib.SSLFakeFile hangs forever if "\n" is not encountered

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue777588] asyncore is broken for windows if connection is refused

2008-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailin

[issue1025525] asyncore.file_dispatcher should not take fd as argument

2008-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mai

[issue2320] Race condition in subprocess using stdin

2008-03-19 Thread Ludwig Hähne
Ludwig Hähne <[EMAIL PROTECTED]> added the comment: Hi, I narrowed the problem down to the creation of the error pipe in _execute_child: >> errpipe_read, errpipe_write = os.pipe() >> self._set_cloexec_flag(errpipe_write) If I protect these two lines with a lock, I cannot reproduce the hang anym

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-03-19 Thread Trent Nelson
Trent Nelson <[EMAIL PROTECTED]> added the comment: Patch applies cleanly on FreeBSD 6.2-STABLE and all tests pass. Can't comment on technical accuracy. -- nosy: +Trent.Nelson __ Tracker <[EMAIL PROTECTED]> ___

[issue1738] filecmp.dircmp does exact match only

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Please also include at least documentation changes, since this changes the behavior of the module. This would be in the file: Doc/library/filecmp.rst Also. If possible a test would be great. The file for this would be: ./Lib/test/test_

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> akuchling priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-

[issue2175] Expat sax parser silently ignores the InputSource protocol

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis priority: -> normal __ Tracker <[EMAIL PROTECTED]> __

[issue2178] Problems with Belarusian Latin locale

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- components: +Unicode -None priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue2174] xml.sax.xmlreader does not support the InputSource protocol

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> fdrake nosy: +fdrake priority: -> normal __ Tracker <[EMAIL PROTECTED]> __

[issue2182] tokenize: does not allow CR for a newline

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> gvanrossum components: +Library (Lib) -Extension Modules nosy: +gvanrossum priority: -> normal __ Tracker <[EMAIL PROTECTED]> _

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-19 Thread James Henstridge
James Henstridge <[EMAIL PROTECTED]> added the comment: A slightly cleaned up version of the previous patch. I only needed to include . Added file: http://bugs.python.org/file9780/disable-pymalloc-on-valgrind-v2.patch __ Tracker <[EMAIL PROTECTED]>

[issue2180] tokenize: mishandles line joining

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> jhylton nosy: +jhylton __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-lis

[issue2188] [patch] urllib2 hint - disabled ProxyHandler()

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Committed in rev 61663, thanks. -- nosy: +jafo priority: -> normal resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> ___

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis priority: -> normal type: -> feature request __ Tracker <[EMAIL PROTECTED]> __ __

[issue2189] urllib.quote() throws KeyError when passed an iterator

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Yeah, I'm going to agree that urllib's documentation is clear about it taking a string instead of a list. -- assignee: -> jafo nosy: +jafo priority: -> normal resolution: -> wont fix status: open -> closed type: -> behavior _

[issue2001] Pydoc interactive browsing enhancement

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> ping nosy: +ping priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2428] 2to3 deletes # comments before "from __future__ import with_statement"

2008-03-19 Thread David Wolever
David Wolever <[EMAIL PROTECTED]> added the comment: Ok, fixed in r61664. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue2173] Python fails silently on bad locale

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue2197] Further simplify dict literal bytecode

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: As addition thought is required by Alexander, I'm going to close this as postponed and you can re-open it if after further consideration you think it needs to be applied. Probably would be good to discuss on python-dev if you think it sti

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-19 Thread James Henstridge
Changes by James Henstridge <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file9781/disable-pymalloc-on-valgrind-v3.patch __ Tracker <[EMAIL PROTECTED]> __ __

[issue2422] Automatically disable pymalloc when running under valgrind

2008-03-19 Thread James Henstridge
Changes by James Henstridge <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9780/disable-pymalloc-on-valgrind-v2.patch __ Tracker <[EMAIL PROTECTED]> __

[issue2183] optimize list comprehensions

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Neal: Can you make that doc change? -- assignee: -> nnorwitz nosy: +jafo priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ _

[issue2183] optimize list comprehensions

2008-03-19 Thread Neal Norwitz
Neal Norwitz <[EMAIL PROTECTED]> added the comment: Ya, I'll get around to it...hopefully soon. But if someone wants to do it for me, I won't complain. :-) __ Tracker <[EMAIL PROTECTED]> __ __

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-03-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Probably what I should do is fix httplib, that would provide an example we could extend to the rest of the modules. Bill On Wed, Mar 19, 2008 at 1:46 PM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > Giampaolo Rodola' <[EMAIL PROTECTED]> ad

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-03-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Once I've got JCC working, and finished the SSL work for 2.6. On Wed, Mar 19, 2008 at 1:46 PM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > > > As you point out, the other classes

[issue2193] Cookie Colon Name Bug

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> akuchling nosy: +akuchling priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ __

[issue2181] optimize out local variables at end of function

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue2181] optimize out local variables at end of function

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> nnorwitz priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue2203] ssl module getpeercert returns empty dict when cert_reqs=ssl.CERT_NONE

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- priority: -> normal status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> georg.brandl nosy: +georg.brandl priority: -> normal versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ __

[issue2430] Stop test_format.py from executing as side effect of import

2008-03-19 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: Changes to test file only, no other changes. -- components: Tests files: test_format_to_unittest.patch keywords: patch, patch messages: 64148 nosy: jseutter priority: low severity: normal status: open title: Stop test_format.py from

[issue2209] mailbox module doesn't support compressed mbox

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> akuchling nosy: +akuchling priority: -> normal type: -> feature request __ Tracker <[EMAIL PROTECTED]> __

[issue2210] Nested module import clutters package namespace

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> brett.cannon nosy: +brett.cannon priority: -> normal __ Tracker <[EMAIL PROTECTED]> __

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Fix is inline. -- assignee: -> akuchling keywords: +patch nosy: +akuchling, jafo priority: -> normal __ Tracker <[EMAIL PROTECTED]>

[issue2417] [py3k] Integer floor division (//): small int check omitted

2008-03-19 Thread Alexander Belopolsky
Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: Attached (issue2417a.diff) patch adds unit tests and fixes a few corner cases when a non-preallocated 0 was returned to python. Added file: http://bugs.python.org/file9785/issue2417a.diff __ Tracker <[E

[issue2195] urlparse() does not handle URLs with port numbers properly

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> georg.brandl nosy: +georg.brandl priority: -> normal __ Tracker <[EMAIL PROTECTED]> __

[issue2228] Imaplib speedup patch

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: This patch buffers data inside imaplib, so if anything else wants to use the socket it may generate surprises. Piers? -- assignee: -> pierslauder keywords: +patch nosy: +jafo priority: -> normal ___

[issue2431] 2to3 is rather slow

2008-03-19 Thread David Wolever
New submission from David Wolever <[EMAIL PROTECTED]>: It takes me 10 seconds to run 2to3 on the example file. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) messages: 64152 nosy: David Wolever, collinwinter severity: normal status: open title: 2to3 is rather slo

[issue1720] VC6 build patch for release-maint25

2008-03-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: issue2065 contains the patch for this branch too, so I'll close this issue. -- resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1700463] VC6 build patch for trunk

2008-03-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: issue2065 contains the patch for this branch too, so I'll close this issue. -- resolution: -> duplicate status: open -> closed _ Tracker <[EMAIL PROTECTED]>

[issue1471] ioctl request argument broken on 64-bit OpenBSD or OS X

2008-03-19 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: r61665 moves the test to test_ioctl instead of test_fcntl. it also forces it to only run when a pty is present rather than assuming fd 0 __ Tracker <[EMAIL PROTECTED]>

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-03-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: > (I assumed get_length_in_bytes(f, " ", 1) == 1 but I'm not sure > this is always true in other platforms. Probably nicer and more > general solution may exist) This assumption still lives, but I cannot find better solution. I'm thinkin

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-03-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9723/experimental.patch __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-03-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Following dirty hack workarounds this bug. Comment of this function says not ascii compatible encoding is not supported yet, (ie: UTF-16) so probably this works. Index: Parser/tokenizer.c ===

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-03-19 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: +1 trunk_select_epoll_kqueue9.patch looks good to me. style nit: I'd just use self.fail("error message") instead of raise AssertionError("error message") within unittests. regardless, both work so I don't care. :) -- nosy: +greg

<    1   2