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

2011-02-21 Thread Matt Joiner
Matt Joiner anacro...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue11264

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

2011-02-21 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2011-02-21 Thread Sergey Schetinin
New submission from Sergey Schetinin ser...@maluke.com: 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

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

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

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Barry Scott barry.sc...@onelan.co.uk 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

[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 n...@acm.org: -- priority: critical - high versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10736 ___

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Barry Scott barry.sc...@onelan.co.uk 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 ___

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

2011-02-21 Thread Ned Deily
Ned Deily n...@acm.org 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:

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Barry Scott barry.sc...@onelan.co.uk 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

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-21 Thread Barry Scott
Changes by Barry Scott barry.sc...@onelan.co.uk: Removed file: http://bugs.python.org/file20821/http_proxy_https.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7291 ___

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

2011-02-21 Thread Eric Smith
Eric Smith e...@trueblade.com 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: -

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

2011-02-21 Thread Christos Georgiou
Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net 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

[issue11184] Broken large file support on AIX

2011-02-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - georg.brandl versions: +Python 2.7 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11184 ___

[issue11133] inspect.getattr_static code execution

2011-02-21 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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

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

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch looks good to me. -- nosy: +pitrou stage: - patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10276

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

2011-02-21 Thread Andreas Sauer
New submission from Andreas Sauer sauerandr...@gmx.de: 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

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

2011-02-21 Thread Ray.Allen
Ray.Allen ysj@gmail.com 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

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

2011-02-21 Thread Ray.Allen
Changes by Ray.Allen ysj@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10829 ___ ___ Python-bugs-list mailing

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

2011-02-21 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: see also #7330, I'm implementing %.100s in that issue. -- nosy: +ysj.ray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10833 ___

[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 tobias.br...@gmail.com: 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

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

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

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

2011-02-21 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: 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,

[issue11274] asyncore does not support epoll

2011-02-21 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: 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

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

2011-02-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___

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

2011-02-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 rep...@bugs.python.org

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

2011-02-21 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___ Python-bugs-list

[issue11274] asyncore does not support epoll

2011-02-21 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com 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' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11273 ___ ___

[issue11257] asyncore stores unnecessary object references

2011-02-21 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com 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=152aid=-7106494857544071944name=bench.pytoken=bd350bbd6909c7c2a70da55db15d24ed Results: plain dict:

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

2011-02-21 Thread Tobias Brink
Tobias Brink tobias.br...@gmail.com 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 ghost@gmail.com added the comment: On WinXp with Python 3.2a4+ or 3.1.3 I cannot reproduce this issue. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272

[issue6692] asyncore kqueue support

2011-02-21 Thread Марк Коренберг
Changes by Марк Коренберг socketp...@gmail.com: -- nosy: +mmarkk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6692 ___ ___ Python-bugs-list

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

2011-02-21 Thread SilentGhost
SilentGhost ghost@gmail.com 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 cur...@acm.org added the comment: #10841 may be related. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___

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

2011-02-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +pitrou, v+python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___

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

2011-02-21 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___ Python-bugs-list mailing

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

2011-02-21 Thread Hoyt Koepke
New submission from Hoyt Koepke hoy...@gmail.com: 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

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

2011-02-21 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- keywords: +3.2regression ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___ Python-bugs-list

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

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 ___

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

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue11199] urllib hangs when closing connection

2011-02-21 Thread rg3
rg3 sarbalap+freshm...@gmail.com 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

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

2011-02-21 Thread Michael Schurter
Michael Schurter m...@schmichael.com added the comment: Any hopes of getting this into Python 3.3? -- nosy: +schmichael versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8407

[issue11199] urllib hangs when closing connection

2011-02-21 Thread rg3
rg3 sarbalap+freshm...@gmail.com added the comment: I just tested the patch under Python 2.6. It doesn't seem to solve the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11199 ___

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

2011-02-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- Removed message: http://bugs.python.org/msg128975 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8650 ___

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

2011-02-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- Removed message: http://bugs.python.org/msg128976 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8651 ___

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

2011-02-21 Thread SilentGhost
SilentGhost ghost@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue11272

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I removed Antoine's message because it was related to issue #8650. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8651 ___

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-02-21 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: r88467 has it for 3.3. -- resolution: accepted - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990

[issue11089] ConfigParser 50x slower in 2.7

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: See r88469 and r88470. -- resolution: later - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11089

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

2011-02-21 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8651 ___ ___ Python-bugs-list

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-02-21 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8650 ___ ___ Python-bugs-list

[issue11263] Wrong link to source code of ftplib

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Thanks for the report. Fixed in r88473 and r88474. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11263

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

2011-02-21 Thread Duncan Booth
Duncan Booth kupu...@gmail.com 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:\Python32python Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32

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

2011-02-21 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl 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

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 =

[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 arfrever@gmail.com: $ 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

[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 arfrever@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11276 ___

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

2011-02-21 Thread Jon McKenzie
Jon McKenzie jcmc...@gmail.com 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

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 n...@acm.org 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

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: r88480 removes the filename variable: use gdb7+python-gdb.py or the faulthandler module to get a Python backtrace. -- ___ Python tracker rep...@bugs.python.org

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

2011-02-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11168 ___

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed in 3.3 (r88481). Keep it open to backport it maybe to 3.2 later. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10830

[issue11199] urllib hangs when closing connection

2011-02-21 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr 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 rhettin...@users.sourceforge.net: -- assignee: - ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11229 ___

[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 rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11269 ___ ___

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6784 ___ ___ Python-bugs-list mailing list

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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

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

2011-02-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've tried INT_MAX and it didn't change anything. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11277 ___

[issue11243] email/message.py str conversion

2011-02-21 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11243 ___ ___

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

2011-02-21 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

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

2011-02-21 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: wont fix - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11251 ___

[issue11158] Python VM deadlock

2011-02-21 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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 rep...@bugs.python.org

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org

[issue11199] urllib hangs when closing connection

2011-02-21 Thread rg3
rg3 sarbalap+freshm...@gmail.com 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

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Ned Deily
Ned Deily n...@acm.org 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 rep...@bugs.python.org http://bugs.python.org/issue11277

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6137 ___ ___ Python-bugs-list mailing list

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

2011-02-21 Thread Shay Rojansky
Shay Rojansky r...@roji.org 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 n...@acm.org 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,

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

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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). --

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11277 ___ ___ Python-bugs-list

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

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-02-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2011-02-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue11085] expose _abcoll as collections.abc

2011-02-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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 dfloger...@gmail.com: 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

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

2011-02-21 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Duplicate of #11272. -- nosy: +brian.curtin resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11278

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

2011-02-21 Thread Sergey Schetinin
Sergey Schetinin ser...@maluke.com 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

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

2011-02-21 Thread Dave Flogeras
Dave Flogeras dfloger...@gmail.com 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

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

2011-02-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +jcea, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11279 ___ ___

[issue11133] inspect.getattr_static code execution

2011-02-21 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: The patch is not sufficient - instances may have a class member __dict__ whilst still having an instance __dict__. Sure, but I don't think there is a way how you can access the instance __dict__ in that case inside Python code. At

[issue11280] urllib2 http_error_302 calls undefined getheaders method

2011-02-21 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Andres, the HTTP Response is sent the xxx_error_xxx method when it is handled by RedirectHandler. Does the below code not work for you in case? I am unable to see the problem here (and also this piece of code is present from 2004!) I am

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Ned Deily
Ned Deily n...@acm.org added the comment: from test.support import _4G _4G 4294967296 mapping.size() 4294967300 pbuf.len = 4294967300, len = 4294967300 UINT_MAX = 4294967295 -- ___ Python tracker rep...@bugs.python.org

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

2011-02-21 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: Thanks haypo! Here the updated patch, following your comments. -- type: - behavior Added file: http://bugs.python.org/file20831/issue11246.diff ___ Python tracker rep...@bugs.python.org

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-21 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Does it matter that _4G UINT_MAX? -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11277 ___

  1   2   >