[issue6584] gzip module has no custom exception

2009-07-27 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: Much like zipfile.BadZipfile, we need a base custom exception for the gzip module. At least, catch gzip-related exceptions and throw a tarfile.TarError when used *via* tarfile.*. See the following example (the exception escaped

[issue6584] gzip module has no custom exception

2009-07-27 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6584 ___

[issue6584] gzip module has no custom exception

2009-07-27 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6584 ___ ___

[issue6106] read_until

2009-07-27 Thread Irek Wlizlo
Irek Wlizlo irc...@gmail.com added the comment: Hi, I updated my profile with name - Irek Wlizlo -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6106 ___

[issue5833] readline update

2009-07-27 Thread Dror Levin
Dror Levin sp...@psybear.com added the comment: This bug was reported in Arch (http://bugs.archlinux.org/task/15548) and Gentoo (https://bugs.gentoo.org/show_bug.cgi?id=279234) -- nosy: +spatz ___ Python tracker rep...@bugs.python.org

[issue6106] read_until

2009-07-27 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: Thanks for the update Irek (and the help!). You are now listed in Misc/ACKS. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6106 ___

[issue6585] configure.in forces specific autoconf version

2009-07-27 Thread Antonio Cavallo
New submission from Antonio Cavallo a.cava...@cavallinux.eu: Hi, I've seen the code change in /python/trunk/configure.in (rev. 74072): it enforces a specific autoconfig version (2.61) in order to build python. Unfortunately OpenSuSE 11.1 (mainstream at time of writing) has an updated

[issue5992] spurious space after opening parenthesis when auto-completing

2009-07-27 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate status: open - closed superseder: - readline update ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5992 ___

[issue5833] readline update

2009-07-27 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch should be broken into several, one for each bug fix or enhancement. Remarks and questions: - is the readline v6.x fix (which I'm interested in) compatible with previous readline versions? - what does removes '~$-/' from the completer

[issue6585] configure.in forces specific autoconf version

2009-07-27 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Does the check trigger when building Python, or only when rebuilding the configure script itself? I think we ship a prebuilt configure script precisely so that people don't have to care about autoconf versions and the like. -- nosy:

[issue6586] Documentation of os.write and os.read are inaccurate.

2009-07-27 Thread Chris Liechti
New submission from Chris Liechti cliec...@users.sourceforge.net: Documentation of os.write and os.read are inaccurate, it states that the methods work with 'str' (or strings), which is wrong. - os.write expects an instance of bytes or buffer - os.read returns an instance of bytes The

[issue6585] configure.in forces specific autoconf version

2009-07-27 Thread Antonio Cavallo
Antonio Cavallo a.cava...@cavallinux.eu added the comment: Yes the rebuild does an autoreconf step. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6585 ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-07-27 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: issue2636-20090727.zip contains regex.py, _regex.h, _regex.c and also _regex.pyd (for Python 2.6 on Windows). For Windows machines just put regex.py and _regex.pyd into Python's Lib\site-packages folder. I've changed the name so

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-07-27 Thread Neil Tallim
Changes by Neil Tallim red.hamst...@gmail.com: Removed file: http://bugs.python.org/file14572/1721862.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1721862 ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-07-27 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Agreed, a standalone release combined with a public announcement about its availability is a must if we want to get any sort of wide spread testing. It'd be great if we had a fully characterized set of tests for the behavior of the existing

[issue6573] set union method ignores arguments appearing after the original set

2009-07-27 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Good catch. Thanks. -- priority: - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6573 ___

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-07-27 Thread Neil Tallim
Neil Tallim red.hamst...@gmail.com added the comment: Confirmed in trunk and all current branches (r74225: 2.6, 2.7, 3.1, 3.2). Patches for all four active versions will be added momentarily. Note: my submission yesterday was mistagged, claiming to be for trunk while it was really for 2.6,

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-07-27 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: We have lengthy sets of tests in Lib/test/regex_tests.py and Lib/test/test_re.py. While widespread testing of a standalone module would certainly be good, I doubt that will exercise many corner cases and the more esoteric features. Most actual code

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-07-27 Thread Neil Tallim
Neil Tallim red.hamst...@gmail.com added the comment: Attached a patch containing a unit test based on Sye van der Veen's example and a solution for issue 1721862. Written against Python 2.6, r74225. -- Added file: http://bugs.python.org/file14577/1721862[2.6].diff

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-07-27 Thread Neil Tallim
Neil Tallim red.hamst...@gmail.com added the comment: Attached a patch containing a unit test based on Sye van der Veen's example and a solution for issue 1721862. Written against Python 2.7, r74225. -- Added file: http://bugs.python.org/file14578/1721862[2.7].diff

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-07-27 Thread Neil Tallim
Neil Tallim red.hamst...@gmail.com added the comment: Attached a patch containing a unit test based on Sye van der Veen's example and a solution for issue 1721862. Written against Python 3.1, r74225. -- Added file: http://bugs.python.org/file14579/1721862[3.1].diff

[issue1721862] email.FeedParser.BufferedSubFile improperly handles \r\n

2009-07-27 Thread Neil Tallim
Neil Tallim red.hamst...@gmail.com added the comment: Attached a patch containing a unit test based on Sye van der Veen's example and a solution for issue 1721862. Written against Python 3.2, r74225. -- Added file: http://bugs.python.org/file14580/1721862[3.2].diff

[issue6550] asyncore incorrect failure when connection is refused and using async_chat channel

2009-07-27 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: The attached patch cleans up the remnants of the handle_expt is for exceptions, which isn't the case, as well as makes the connection refused fix actually work on Windows. Nirs, could you verify this on *nix? --

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-27 Thread Hagen Fürstenau
Hagen Fürstenau hfuerste...@gmx.net added the comment: Seems to have been fixed around r73896. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2698 ___

[issue5833] readline update

2009-07-27 Thread J. Evans
J. Evans jreva...@earthlink.net added the comment: Some clarification about the rest of the patch: -- We tested the readline fix with version 5.2 and it seemed to work, we did not do a thorough test with it, or with any other version. -- When I supplied the patch I supplied the patch that we

[issue6573] set union method ignores arguments appearing after the original set

2009-07-27 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Fixed. See r74226, r74227, r74228 and r74229. -- resolution: - fixed status: open - closed versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue6585] configure.in forces specific autoconf version

2009-07-27 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: My understanding is that the reason that this particular version of autoconf is required is that newer versions introduce mixed line endings into the generated file, which causes problems with storing it in svn. The introduction of the

[issue6587] interrupts during long writes cause connection corruption with SSL module

2009-07-27 Thread Bill Janssen
New submission from Bill Janssen bill.jans...@gmail.com: The behavior when a write or send is interrupted is suboptimal. If the write buffer moves before a retry is attempted in response to SSL_ERROR_WANT_OUTPUT, OpenSSL rejects the retry attempt. See

[issue5673] Add timeout option to subprocess.Popen

2009-07-27 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- nosy: +srid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___ ___ Python-bugs-list

[issue6588] insert cookies into cookie jar - cookielib.py

2009-07-27 Thread Jon Debonis
New submission from Jon Debonis j...@tooln.com: Added ability to insert cookies into cookie jar. Fixed problem where some domain names are prepended with '.' and others were not. Fixed problem with _LWPCookieJar.py to handle case where version = None import urllib2, urllib, time import

[issue5673] Add timeout option to subprocess.Popen

2009-07-27 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: See http://code.google.com/p/python-process/ for some ideas. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2009-07-27 Thread Casey McGinty
New submission from Casey McGinty casey.mcgi...@gmail.com: When subclass of smtpd.SMTPServer, it is possible the get asyncore.loop to enter an infinite loop where the following output is shown: . warning: unhandled write event warning: unhandled read event warning: unhandled write event