[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

[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 ===

[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]> __ ___

[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

[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]>

[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]>

[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]>

[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

[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 ___

[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]> __

[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

[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]>

[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]> __

[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]> __

[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

[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]> __ __

[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

[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

[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.

[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]> __ __

[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

[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

[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]> __ __

[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]> __ _

[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]> __

[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]> __ __

[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

[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

[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

[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]> __ ___

[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 _

[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]> __ __

[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]> ___

[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

[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]>

[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]> _

[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]> __

[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

[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]> __

[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-

[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_

[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]> ___

[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

[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

[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

[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

[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

[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]> __

[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]> __ ___

[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

[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]> __ __

[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]> _

[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:

[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]> __ __

[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

[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

[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]>

[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

[issue2159] dbmmodule inquiry function is performance prohibitive

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

[issue2155] optparse.OptionGroup with_statement context handling

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

[issue2148] nis module not supporting group aliases

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

[issue2141] Pydoc interactive browser misses some docs

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> ping nosy: +ping priority: -> normal __ 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: I am unable to reproduce this problem at all on Mac OS X 10.4 or 10.5 with 32-bit or 64-bit python trunk builds. I have however checked in a fix that'll prevent negative code values passed in from being sign extended to 64-bits when convert

[issue2413] os.strerror does not check for out of range argument

2008-03-19 Thread Terry J. Reedy
Changes by Terry J. Reedy <[EMAIL PROTECTED]>: -- nosy: -tjreedy __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscri

[issue2136] urllib2 basic auth handler doesn't handle realm names in single-quoted strings

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: This patch looks good to me, but I don't know the implications of this. It seems reasonable to me, but I'd defer to an HTTP lawyer. -- assignee: -> georg.brandl keywords: +patch nosy: +georg.brandl, jafo priority: -> normal __

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

2008-03-19 Thread Adam Olsen
Adam Olsen <[EMAIL PROTECTED]> added the comment: Unless someone has a legitimate use case for disabling small_int that doesn't involve debugging (which I really doubt), I'd just assume it's always in use. __ Tracker <[EMAIL PROTECTED]>

[issue2429] Patch for test_urllib2_net moving tests to use a local server

2008-03-19 Thread Michael Foord
New submission from Michael Foord <[EMAIL PROTECTED]>: This patch moves some tests from test_urllib2_net to test_urllib2_localnet. The moved tests now use a local server rather than going out to external servers. Mainly the work of Jerry Seutter - so blame him. ;-) -- components: Tests

[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it

2008-03-19 Thread Jeff Balogh
Jeff Balogh <[EMAIL PROTECTED]> added the comment: The patch works for me, and doesn't change anything except the test strings. Not having spaces in your path also helps. ;) -- nosy: +jeff.balogh __ 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 patch fixes the cases discovered so far. It is possible that in some of these cases creation of the long object that is later discarded can be avoided by detecting small int return early, but such optimizations should probab

[issue2407] warnings.filterwarnings() not isolated between tests

2008-03-19 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Fixed in revision 61651. -- nosy: +brett.cannon resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue2366] Fixer for new metaclass syntax is needed

2008-03-19 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: A quick test indicates that the old way doesn't work anymore. __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2132] Blocking sockets take entirely too long to timeout

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: smtplib is for sending messages via SMTP, not for testing to see if a user is behind an ISP that is incorrectly blocking outgoing SMTP connections. I would argue the "incorrectly" because they are dropping rather than rejecting the connec

[issue1641] asyncore delayed calls feature

2008-03-19 Thread Daniel Arbuckle
Daniel Arbuckle <[EMAIL PROTECTED]> added the comment: Unfortunately, it appears that asyncore and asynchat are caught in a deadlock, in which it is demanded that certain patches be applied before any further work is done, but nobody (even among those making the demands) is both willing and able

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

2008-03-19 Thread David Wolever
Changes by David Wolever <[EMAIL PROTECTED]>: -- assignee: collinwinter -> David Wolever nosy: +David Wolever __ Tracker <[EMAIL PROTECTED]> __

[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: itertools.imap is being translated directly to map... But I bet this is another one of those ordering problems -- itertools.imap is converted to the map, then the map is converted to list(map(...)) because fix_map doesn't know that map was a

[issue2413] os.strerror does not check for out of range argument

2008-03-19 Thread Alexander Belopolsky
Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: And on some system "Unknown error: nnn" is returned with no error indication. Your concern that the patch is invalid on some unidentified system. This concern can easily be addressed by checking for NULL return *in addition* to the errn

[issue1943] improved allocation of PyUnicode objects

2008-03-19 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Thanks for your interest Sean :) By the way, on python-3000 both GvR and Martin von Löwis were ok on the proposed design change, although they did not review the patch itself. http://mail.python.org/pipermail/python-3000/2008-February/012076.h

[issue751758] ftplib.retrbinary fails when called from retrlines callback

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

[issue1576598] ftplib doesn't follow standard

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: I think the problem you described is up to the FTP server implementation which does not have unicode support. The telnet protocol is used in FTP only when dealing with ABOR and STAT commands. It has nothing to do with pathnames. --

[issue2354] cmp argument to list.sort()/sorted() should raise a Py3K warning

2008-03-19 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: There's currently no central repository that I know of. We should have an informational PEP on the subject; would you like to start one with sort/sorted keys as the seed? I've got some notes I can contribute, and I'd like to milk Guido for his

[issue1813] Codec lookup failing under turkish locale

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Marc-Andre: How should we proceed with this bug? Discuss on python-dev or c.l.python? -- assignee: -> lemburg keywords: +patch nosy: +jafo priority: -> normal __ Tracker <[EMAIL PROTECTED]>

[issue1943] improved allocation of PyUnicode objects

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Marc-Andre: Wit the udpated patches, is this a set of patches we can accept? -- assignee: -> lemburg keywords: +patch nosy: +jafo priority: -> normal __ Tracker <[EMAIL PROTECTED]>

[issue2126] BaseHTTPServer.py fails long POST from IE

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Raymond: Can you see the other related issues and see if the proposed fix (inline in the comment) is acceptable? -- assignee: -> rhettinger nosy: +jafo priority: -> normal __ Tracker <[EMAIL PROT

[issue1390] toxml generates output that is not well formed

2008-03-19 Thread Thomas Conway
Thomas Conway <[EMAIL PROTECTED]> added the comment: On Thu, Mar 20, 2008 at 8:26 AM, Sean Reifschneider <[EMAIL PROTECTED]> wrote: > > Sean Reifschneider <[EMAIL PROTECTED]> added the comment: > > Martin: What do you think of this patch? Looks fine. __ Tracker

[issue2413] os.strerror does not check for out of range argument

2008-03-19 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: my manpage (debian testing) states: POSIX.1-2001 permits strerror() to set errno if the call encounters an error, but does not specify what value should be returned as the func‐ tion result in the event of an error. On some systems, str

[issue1390] toxml generates output that is not well formed

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Martin: What do you think of this patch? -- assignee: -> loewis nosy: +jafo priority: -> normal __ Tracker <[EMAIL PROTECTED]> _

[issue1641] asyncore delayed calls feature

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Sean, I already tried to raise two discussion attempts on both lists here: http://groups.google.com/group/python-dev2/browse_thread/thread/ecbf4d38a868d4f/ec5c7dbd40664b7f?lnk=gst&q=asyncore+giampaolo ...and here: http://groups.google.com/g

[issue1248] ftplib needs a rewrite to use bytes/buffers

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

[issue2125] Read support for Records in msilib

2008-03-19 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- assignee: -> loewis keywords: +patch nosy: +loewis priority: -> normal title: [patch] Read support for Records in msilib -> Read support for Records in msilib __ Tracker <[EMAIL PROTECTED]>

[issue1053369] ftplib: add support for MDTM command

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: IMHO aside from the plus of providing a workaround for a broken FTP server response I don't think this is really necessary since the same thing can be done by just using sendcmd('mdtm filename'). -- nosy: +giampaolo.rodola ___

[issue2116] weakref copy module interaction

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Rick: In the future, please provide a context or unified diff ("diff -c") so that we get the file name that the diff is for and some additional context. -- assignee: -> tim_one keywords: +patch nosy: +jafo, tim_one priority: ->

[issue2113] Bad interaction between signal and subprocess

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Daniele: Please provide an updated version of this patch based on the feedback below. -- assignee: -> gregory.p.smith keywords: +patch nosy: +gregory.p.smith, jafo priority: -> normal type: crash -> behavior ___

[issue2349] Py3K warn against assigning to True/False

2008-03-19 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- assignee: brett.cannon -> rhettinger __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue1641] asyncore delayed calls feature

2008-03-19 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Giampaolo: Can you pleaes bring this up on python-dev or the normal python mailing list for further discussion on the issue? -- assignee: -> akuchling keywords: +patch nosy: +akuchling, jafo priority: -> normal type: -> feature

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

2008-03-19 Thread Bruce Frederiksen
New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: 2to3, svn rev 61623. To reproduce this error: $ cat < foobar.py # line 1 # line 2 from __future__ import with_statement import sys ! $ 2to3 -w foobar.py RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implici

[issue2102] New style vs. old style classes __ror__() operator overloading

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

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

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > As you point out, the other classes should be fixed. The old > client-side protocol was never very well thought out, IMHO. > Continuing to propagate it would be a mistake. Ok, how do you think it would have be modified? Could you pro

[issue2354] cmp argument to list.sort()/sorted() should raise a Py3K warning

2008-03-19 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Collin, is there some place where I should write-up how to transition sort cmp functions? Often, it is straight-forward to write a simpler key function, but sometimes it isn't obvious how to proceed (i.e. cases that have an ascending prima

[issue2375] PYTHON3PATH environment variable to supersede PYTHONPATH for multi-Python environments

2008-03-19 Thread Glyph Lefkowitz
Glyph Lefkowitz <[EMAIL PROTECTED]> added the comment: The idea is that PYTHON3PATH will be honored in preference to PYTHONPATH, but PYTHONPATH will still be honored. It's exposed only to people who specifically need it. However, I think it's misleading to call the Python 3 transition a "transi

[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: Why isn't itertools.imap() being translated directly to builtins.map()? -- nosy: +rhettinger __ Tracker <[EMAIL PROTECTED]> __

  1   2   >