[issue11264] Format Specification Mini-Language missing type 'i'?

2011-02-21 Thread Matt Joiner
Matt Joiner added the comment: Is there any reason 'd' was chosen over 'i'? Is there a more appropriate place I can find this out? -- ___ Python tracker ___ ___

[issue11268] 3.2 Mac OS X installer may fail if documentation was previously installed

2011-02-21 Thread Ned Deily
Ned Deily added the comment: If a version of Python 3.2 has been previously installed, a subsequent re-install of Python 3.2 may fail attempting to install the Documentation package. On Mac OS X 10.6, the message reported by the installer is: "The following installation step failed: run post

[issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

2011-02-21 Thread Sergey Schetinin
New submission from Sergey Schetinin : Tested on Python 2.7, but probably affects all versions. Test case is attached. The reason this went unnoticed until now is that browsers are very conservative when quoting field names, so most field names are the same after their quoting. Related bug in

[issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

2011-02-21 Thread Sergey Schetinin
Sergey Schetinin added the comment: And here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file20820/cgi-patch.patch ___ Python tracker ___ _

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Barry Scott added the comment: The attached patch builds on Mike's work. The core of the problem is that the Request object did not know what was going on. This means that it was not possible for get_authorization() to work for proxy-auth and www-auth. I change Request to know which of the fou

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-02-21 Thread Ned Deily
Changes by Ned Deily : -- priority: critical -> high versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mai

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Barry Scott added the comment: Attached is the code I used to test these changes. See the README.txt file for details include the results of a test run. -- Added file: http://bugs.python.org/file20822/urllib2_tests.tar.gz ___ Python tracker

[issue11268] 3.2 Mac OS X installer may fail if documentation was previously installed

2011-02-21 Thread Ned Deily
Ned Deily added the comment: The attached patch corrects the problem in the installer. I'll apply it after py3k is re-opened. -- keywords: +patch stage: needs patch -> commit review versions: +Python 2.7 Added file: http://bugs.python.org/file20823/issue11268_installer_doc_abort.patc

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Barry Scott added the comment: I left out some white space changes to match the style of the std lib code. Re posting with white space cleanup. -- Added file: http://bugs.python.org/file20824/http_proxy_https.patch ___ Python tracker

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Changes by Barry Scott : Removed file: http://bugs.python.org/file20821/http_proxy_https.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue11264] Format Specification Mini-Language missing type 'i'?

2011-02-21 Thread Eric Smith
Eric Smith added the comment: It would be redundant, so we don't need both. I don't recall any discussion when PEP 3101 was developed as to choosing 'd' over 'i'. In all of the C code I've seen use printf, I don't think I've ever seen 'i' used. -- resolution: -> rejected stage: -> c

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2011-02-21 Thread Christos Georgiou
Χρήστος Γεωργίου (Christos Georgiou) added the comment: This is not the proper place for it, but in the 3.2 and 2.7 news it is reported that “The multi-argument form of operator.attrgetter() function now runs slightly faster” while it should be “The multi-argument form of operator.attrgetter

[issue11184] Broken large file support on AIX

2011-02-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> georg.brandl versions: +Python 2.7 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-lis

[issue11133] inspect.getattr_static code execution

2011-02-21 Thread Michael Foord
Michael Foord added the comment: __dict__ as a property is documented as an exception to the "no code execution" claim. The patch is not sufficient - instances may have a class member "__dict__" whilst still having an instance __dict__. Alternatively the "__dict__" property may be provided b

[issue10276] zlib crc32/adler32 buffer length truncation (64-bit)

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch looks good to me. -- nosy: +pitrou stage: -> patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ _

[issue11270] logging: RotatingFileHandler crash when opening the Logfile in an Texteditor

2011-02-21 Thread Andreas Sauer
New submission from Andreas Sauer : Module: logging OS: Windows XP When using the RotatingFileHandler, the logging cras when i open the Logfile in an Texteditor. I think there is a Problem in renaming the Files, while it's open in the Texteditor. Traceback (most recent call last): File "C:

[issue10829] PyUnicode_FromFormatV() bugs with "%" and "%%" format strings

2011-02-21 Thread Ray.Allen
Ray.Allen added the comment: Hi, haypo, Your patch seems cannot be applied cleanly on current py3k trunk. And after modified your patch, test_unicode.py runs into Segmentation fault. Is there something wrong or some changes which could influence this bug had been already made since the patch

[issue10829] PyUnicode_FromFormatV() bugs with "%" and "%%" format strings

2011-02-21 Thread Ray.Allen
Changes by Ray.Allen : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10833] Replace %.100s by %s in PyErr_Format(): the arbitrary limit of 500 bytes is outdated

2011-02-21 Thread Ray.Allen
Ray.Allen added the comment: see also #7330, I'm implementing "%.100s" in that issue. -- nosy: +ysj.ray ___ Python tracker ___ ___ Py

[issue11271] concurrent.futures.ProcessPoolExecutor.map() slower than multiprocessing.Pool.map() for fast function argument

2011-02-21 Thread Tobias Brink
New submission from Tobias Brink : I tested the new concurrent.futures.ProcessPoolExecutor.map() in 3.2 with the is_prime() function from the documentation example. This was significantly slower than using multiprocessing.Pool.map(). Quick look at the source showed that multiprocessing sends t

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Duncan Booth
New submission from Duncan Booth : In Python 3.2, the builtin function `input()` returns a string with a trailing '\r' on windows: C:\Python32>python Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license"

[issue11273] asyncore creates selec (or poll) on every iteration

2011-02-21 Thread Марк Коренберг
New submission from Марк Коренберг : select.poll() object or r,w,e arrays for select() should not be built from the start in each iteration. For performance issue, such objects should be created in loop() function and modified in add_channel/del_channel. As we do not know, what type of event l

[issue11274] asyncore does not support epoll

2011-02-21 Thread Марк Коренберг
New submission from Марк Коренберг : epoll support should be added. Big performance boost on large number of sockets. -- components: Library (Lib) messages: 128966 nosy: mmarkk priority: normal severity: normal status: open title: asyncore does not support epoll type: performance version

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Ezio Melotti
Ezio Melotti added the comment: Confirmed on Python 3.2 (winxp). The problem doesn't seem to exist on 3.1.3. -- priority: normal -> critical stage: -> test needed ___ Python tracker __

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11274] asyncore does not support epoll

2011-02-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: This is not easy to do. See: http://bugs.python.org/issue6692 Closing out as duplicate. -- nosy: +giampaolo.rodola resolution: -> duplicate status: open -> closed ___ Python tracker

[issue11273] asyncore creates selec (or poll) on every iteration

2011-02-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11257] asyncore stores unnecessary object references

2011-02-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'd be fine with this. My only concern are performances. I've tried this: http://code.google.com/p/pyftpdlib/issues/attachmentText?id=152&aid=-7106494857544071944&name=bench.py&token=bd350bbd6909c7c2a70da55db15d24ed Results: plain dict: 722.26 Mb/sec WeakVa

[issue11271] concurrent.futures.ProcessPoolExecutor.map() slower than multiprocessing.Pool.map() for fast function argument

2011-02-21 Thread Tobias Brink
Tobias Brink added the comment: Playing around a bit I wrote the attached implementation which works with all iterables. -- Added file: http://bugs.python.org/file20826/new_processpoolexecutor.py ___ Python tracker

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
SilentGhost added the comment: On WinXp with Python 3.2a4+ or 3.1.3 I cannot reproduce this issue. -- nosy: +SilentGhost ___ Python tracker ___ _

[issue6692] asyncore kqueue support

2011-02-21 Thread Марк Коренберг
Changes by Марк Коренберг : -- nosy: +mmarkk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
SilentGhost added the comment: With py3.2 final, I can reproduce this bug with command line (as demonstrated by the OP) but not with the IDLE (for 3.2a4+ I have only command line, which I compiled myself). -- ___ Python tracker

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Brian Curtin
Brian Curtin added the comment: #10841 may be related. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +pitrou, v+python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
Changes by SilentGhost : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue11275] Linking to gcc's gomp causes crash later.

2011-02-21 Thread Hoyt Koepke
New submission from Hoyt Koepke : Hello, I've encountered a strange bug that appears to be either in gcc's gomp implementation or in how python loads extension modules linked against gomp. Here's the error: Using gcc (multiple versions) on linux, I compile an empty c extension module and pass

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Georg Brandl
Changes by Georg Brandl : -- keywords: +3.2regression ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8650] zlibmodule.c isn't 64-bit clean

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Fixed by r87729. This only addresses the compress() and decompress() functions, but e.g. crc32() and adler32() are also touched by this issue. -- versions: -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker

[issue8651] "s#" and friends can silently truncate buffer length

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Fixed by r87728. This only addresses the compress() and decompress() functions, but e.g. crc32() and adler32() are also touched by this issue. -- ___ Python tracker ___

[issue10276] zlib crc32/adler32 buffer length truncation (64-bit)

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for the patch! Committed in r88460 (3.3) and r88461 (3.2). 2.7 would need more surgery in order for this to be fixed, see #8651 and #8650. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> pending versions: -P

[issue11199] urllib hangs when closing connection

2011-02-21 Thread rg3
rg3 added the comment: That makes sense and explains why the problem could not be reproduced over the loopback (the transfer would be too fast). I have not tested the patch, but I can reproduce the problem with a local connection if I compile pure-ftpd with the --with-throttling switch and li

[issue8407] expose signalfd(2) and sigprocmask(2) in the signal module

2011-02-21 Thread Michael Schurter
Michael Schurter added the comment: Any hopes of getting this into Python 3.3? -- nosy: +schmichael versions: +Python 3.3 -Python 2.7 ___ Python tracker ___ _

[issue11199] urllib hangs when closing connection

2011-02-21 Thread rg3
rg3 added the comment: I just tested the patch under Python 2.6. It doesn't seem to solve the problem. -- ___ Python tracker ___ ___

[issue8650] zlibmodule.c isn't 64-bit clean

2011-02-21 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg128975 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8651] "s#" and friends can silently truncate buffer length

2011-02-21 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg128976 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
SilentGhost added the comment: > Can you try Python 3.1 with -u command line flag? Yes, I can reproduce it with 3.1.3 with -u flag -- ___ Python tracker ___

[issue8651] "s#" and friends can silently truncate buffer length

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: I removed Antoine's message because it was related to issue #8650. -- ___ Python tracker ___ ___ Pyt

[issue8650] zlibmodule.c isn't 64-bit clean

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: Woops, I removed a duplicate message of Antoine. in this issue instead of #8651. Removed message: - > Fixed by r87729. This only addresses the compress() and decompress() functions, but e.g. crc32() and adler32() are also touched by this issue. - ---

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-02-21 Thread Brett Cannon
Brett Cannon added the comment: r88467 has it for 3.3. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11089] ConfigParser 50x slower in 2.7

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: See r88469 and r88470. -- resolution: later -> fixed status: open -> closed ___ Python tracker ___ _

[issue8651] "s#" and friends can silently truncate buffer length

2011-02-21 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nvawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: > Confirmed on Python 3.2 (winxp). > The problem doesn't seem to exist on 3.1.3. Can you try Python 3.1 with -u command line flag? I changed Python 3.2 to always open all files in binary module, not only if -u flag is used. I had also to fix the parser to sup

[issue8650] zlibmodule.c isn't 64-bit clean

2011-02-21 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nvawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue11263] Wrong link to source code of ftplib

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the report. Fixed in r88473 and r88474. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread Duncan Booth
Duncan Booth added the comment: Yes, it does indeed look like stdin has been opened in binary mode. Just iterating over it also gives the spurious carriage returns: C:\Python32>python Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32 Type "help",

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-21 Thread Łukasz Langa
Łukasz Langa added the comment: Unfortunately the bug is not in ConfigParser but rather in your gen-build.py. There is nothing special about backslashes and ConfigParser reads them in as part of the value for ldap/paths. But then look what happens in gen-build.py:215. The `split()` returns [

[issue11246] PyUnicode_FromFormat("%V") decodes the byte string from ISO-8859-1

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: +text = PyUnicode_FromFormat(b'repr=%V', 'abcdef', b'abcdef') +self.assertEqual(text, 'repr=abcdef') How do you know which argument is used? For example, you should use instead 'abc' and b'xyz'. +text = PyUnicode_FromFormat(b'repr=%V',

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-02-21 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : $ cat test.py import cPickle cPickle cPickle.load $ 2to3 -f imports test.py RefactoringTool: Refactored test.py --- test.py (original) +++ test.py (refactored) @@ -1,3 +1,3 @@ -import cPickle +import pickle cPickle -cPickle.load

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2011-02-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11251] cmd.Cmd tab completion treats dashes as spaces

2011-02-21 Thread Jon McKenzie
Jon McKenzie added the comment: Marked as closed, since I found this was not a bug, but just a readline default. Can set tab completion delimiters with readline.set_completer_delims(string) -- resolution: -> wont fix status: open -> closed ___ Pyth

[issue11187] PyUnicode_AsEncodedString: the bootstrap hack is no more needed

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: Fixed by r88476. I prefer to only change it in Python 3.3, so no backport. -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue11169] compileall doesn't support PEP 383 (undecodable paths/filenames)

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: Fixed by r88478. > Not sure this can make it into stable branches. I agree, I prefer to not touch stable releases. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue11268] 3.2 Mac OS X installer may fail if documentation was previously installed

2011-02-21 Thread Ned Deily
Ned Deily added the comment: Applied in py3k (r88475), 32 (r88477) for 3.2.1, and 27 (r88479) unreleased. -- keywords: +3.2regression -patch resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <

[issue11168] UnicodeEncodeError on recusion limit if the script filename is undecodable

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: r88480 removes the filename variable: use gdb7+python-gdb.py or the faulthandler module to get a Python backtrace. -- ___ Python tracker ___ _

[issue11168] UnicodeEncodeError on recusion limit if the script filename is undecodable

2011-02-21 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed versions: -Python 3.2 ___ Python tracker ___ ___ Python-b

[issue10830] PyUnicode_FromFormatV("%c") doesn't support non-BMP characters on narrow build

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: Fixed in 3.3 (r88481). Keep it open to backport it maybe to 3.2 later. -- status: open -> pending ___ Python tracker ___ _

[issue11260] smtpd-as-a-script feature should be documented and should use argparse

2011-02-21 Thread R. David Murray
R. David Murray added the comment: Thanks for taking an interest in this and working up a patch. Unfortunately I do have some concerns. As far as I know the only module that currently uses argparse is compileall, which was only changed recently. Do tests currently exist for smtpd run as a s

[issue11199] urllib hangs when closing connection

2011-02-21 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > I just tested the patch under Python 2.6. It doesn't seem to solve the > problem. Are you sure the patch applied cleanly ? I tested both on 3.2 and 2.7, and it fixed the problem for me. If not, could you submit a tcpdump capture ? --

[issue11229] Make the Mac installer more like the Windows installer

2011-02-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue11268] 3.2 Mac OS X installer may fail if documentation was previously installed

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Ned :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11270] logging: RotatingFileHandler crash when opening the Logfile in an Texteditor

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10826] pass_fds sometimes fails

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r88484 (3.x), r88485 (3.2). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2011-02-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Antoine Pitrou
New submission from Antoine Pitrou : Following r88460 (issue10276), test_zlib crashes on the Snow Leopard buildbot (apparently in the new "test_big_buffer" test case). -- messages: 129002 nosy: ixokai, ned.deily, pitrou priority: critical severity: normal status: open title: test_zlib c

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-21 Thread R. David Murray
R. David Murray added the comment: While your idea has merit, we can only add a parameter in a new version (not in a bug-fix release), so the doc fix is all we can do before 3.3. -- versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Pytho

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've tried INT_MAX and it didn't change anything. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue11243] email/message.py str conversion

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue11270] logging: RotatingFileHandler crash when opening the Logfile in an Texteditor

2011-02-21 Thread Vinay Sajip
Vinay Sajip added the comment: I don't think this error can be avoided, though if you set logging.raiseExceptions to False then the exception won't be raised, though the handler won't produce any more output, either. I don't believe this is a logging bug - you're not supposed to keep files op

[issue11251] cmd.Cmd tab completion treats dashes as spaces

2011-02-21 Thread R. David Murray
Changes by R. David Murray : -- resolution: wont fix -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-l

[issue11158] Python VM deadlock

2011-02-21 Thread Vinay Sajip
Vinay Sajip added the comment: As I've not had any response to my latest comment for over a week, I'm closing this issue, as I said I would. -- status: pending -> closed ___ Python tracker ___

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: Do adler32() and crc32() support length up to UINT32_MAX? Or should we maybe limit the length to INT32_MAX? -- nosy: +haypo ___ Python tracker ___

[issue11199] urllib hangs when closing connection

2011-02-21 Thread rg3
rg3 added the comment: I have to correct myself. I applied the patch manually to my Python 2.6 installation. In Python 2.6, the line you moved is number 961, and I did the same change. With your change, the connection can be closed, but you have to wait for the file to be completely transfer

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Ned Deily
Ned Deily added the comment: Current OS X zlib is 1.2.3. Test crashes with most recently released zlib, 1.2.5, as well. -- ___ Python tracker ___ _

[issue6137] Make pickle generated by Python 3.x compatible with 2.x and vice-versa.

2011-02-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-21 Thread Shay Rojansky
Shay Rojansky added the comment: Thanks and no problem for me, the workaround (deleting the header) works just fine. I'm not sure if/when the more general discussion on the package will take place (low-level vs. high-level), I would be interested in following. -- ___

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Ned Deily
Ned Deily added the comment: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 10 at address: 0x00010170e000 0x0001016eeaa0 in crc32 () (gdb) backtrace #0 0x0001016eeaa0 in crc32 () #1 0x0001016e806d in PyZlib_crc32 (self=0x1016aa588, args=0x1016bf220) a

[issue4681] mmap offset should be off_t instead of ssize_t, and size calculation needs corrected

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I was a bit optimistic concerning 32-bit Windows. I had to do some changes, in part because off_t is 32-bit there. The final patch is committed in r88486 (tested under 32-bit and 64-bit Linux and Windows). -- ___ P

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10829] PyUnicode_FromFormatV() bugs with "%" and "%%" format strings

2011-02-21 Thread STINNER Victor
STINNER Victor added the comment: Well, the main problem is that there are 3 different codes to parse the format string, and each code is different... Attached patch factorizes the code: create one subfunction parse_format_flags(). It fixes also this issue and prepares the work to fix #10831.

[issue4681] mmap offset should be off_t instead of ssize_t, and size calculation needs corrected

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Backported in r88487 to 3.2, and in r88488 to 2.7. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7 ___ Python tracker

[issue11216] email.message.Message set_charset does not encode properly?

2011-02-21 Thread R. David Murray
R. David Murray added the comment: Discussion of the new API, and what changes will be made for 3.3, will take place on the email-sig mailing list (see http://mail.python.org). Please join! Right now it is a dormant list, but I plan to post some stuff soon :) The more I stare at the set_cha

[issue11085] expose _abcoll as collections.abc

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Followed Brett's example with importlib and made collection into a package with an abc module. See r88490. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue11278] raw_input() and input() not stripping EOL on win32

2011-02-21 Thread Dave Flogeras
New submission from Dave Flogeras : >From the python prompt, raw_input() (2.7.1) and input (3.2.0) behave as >documented (they strip the trailing EOL chars) However the two line test program: x = raw_input() # or input() in 3.2.x print( repr( x )) And then run from the command line prompt, .\t

[issue11278] raw_input() and input() not stripping EOL on win32

2011-02-21 Thread Brian Curtin
Brian Curtin added the comment: Duplicate of #11272. -- nosy: +brian.curtin resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11269] cgi.FieldStorage forgets to unquote field names when parsing multipart/form-data

2011-02-21 Thread Sergey Schetinin
Sergey Schetinin added the comment: I've dug into the RFCs and tested various browsers. RFC 2388 (the one defining multipart/form-data) says: Field names originally in non-ASCII character sets may be encoded within the value of the "name" parameter using the standard method described in RFC 2

[issue11278] raw_input() and input() not stripping EOL on win32

2011-02-21 Thread Dave Flogeras
Dave Flogeras added the comment: Ok, I'm actually not sure of what I just said. I might not be running the version I think I am, since windows behaves differently when using a program started with extensions vs. started with python. It might actually be that Python 2.7 is correct, but 3.2 i

[issue11279] test_posix and lack of "id -G" support - less noise required?

2011-02-21 Thread Peter Bray
New submission from Peter Bray : Solaris 10's id(1M) does not support the "-G" option, so we get the following: % ./python -m test test_posix [1/1] test_posix id: illegal option -- G Usage: id [-ap] [user] 1 test OK. The code already tests that id -G (std) output, and assumes that id -G is not

[issue11279] test_posix and lack of "id -G" support - less noise required?

2011-02-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +jcea, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

  1   2   >