[issue23488] Random objects twice as big as necessary on 64-bit builds

2015-02-22 Thread Mark Dickinson
Mark Dickinson added the comment: > Here is a patch. Where?! BYW, we might want to use PY_UINT32_T rather than uint32_t directly. -- ___ Python tracker ___

[issue23051] multiprocessing.pool methods imap()[_unordered()] deadlock

2015-02-22 Thread Davin Potts
Davin Potts added the comment: For my part, I'm now good with all aspects of the patch supplied by Alon. I have a working set of tests that will be attached in the next day or two after seeing them behave on more than one platform. -- stage: -> test needed ___

[issue15178] Doctest should handle situations when test files are not readable

2015-02-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20699] Document that binary IO classes work with bytes-likes objects

2015-02-22 Thread Martin Panter
Martin Panter added the comment: Posting bytes-like-param.v4.patch, with David’s suggested wording -- Added file: http://bugs.python.org/file38207/bytes-like-param.v4.patch ___ Python tracker __

[issue626452] Support RFC 2392 in email package

2015-02-22 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue17322] urllib.request add_header() currently allows trailing spaces (and other weird stuff)

2015-02-22 Thread Martin Panter
Martin Panter added the comment: See Issue 22928 for a patch making the “http.client” module even more stricter with header field names and values. -- nosy: +vadmium ___ Python tracker

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-22 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : -- nosy: +Ryan.Gonzalez ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18382] multiprocessing's overlapped PipeConnection issues on Windows 8

2015-02-22 Thread Davin Potts
Davin Potts added the comment: Tested Steve's code snippet on Windows 7 64-bit without the patch on default (3.5) and got result: True Not knowing the full history here, I blindly tried on the same Win7 system with 2.7.8 and got a False. Looks like Richard's patches made in #12328 were only

[issue23493] optimize sort_keys in json module by using operator.itemgetter()

2015-02-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm -0 on this proposal. There is a small speed-up to be had here: $ python3.4 -m timeit -s 'f=lambda kv: kv[0]' -s 's=[10, 20]' 'f(s)' 1000 loops, best of 3: 0.105 usec per loop $ python3.4 -m timeit -s 'import operator' -s 'f=operator.itemgetter

[issue23499] Minor grammar issue in mimetypes.rst

2015-02-22 Thread Ned Deily
Ned Deily added the comment: Thanks! -- nosy: +ned.deily resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7, Python 3.4 ___ Python tracker ___

[issue23499] Minor grammar issue in mimetypes.rst

2015-02-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b8c5ed7b38b by Ned Deily in branch '2.7': Issue #23499: Fix grammar error noticed by SilentGhost https://hg.python.org/cpython/rev/2b8c5ed7b38b New changeset 5dfdaec85345 by Ned Deily in branch '3.4': Issue #23499: Fix grammar error noticed by Sile

[issue22143] rlcompleter.Completer has duplicate matches

2015-02-22 Thread Lorenz Quack
Lorenz Quack added the comment: sorry it took so long but my contributor agreement is now signed. Do you want me to write a patch with the results sorted? If so, should I also change the docs to reflect that the results are sorted? This would then also affect other implementations because they

[issue22141] rlcompleter.Completer matches too much

2015-02-22 Thread Lorenz Quack
Lorenz Quack added the comment: sorry it took so long but the contributor agreement is now signed. -- ___ Python tracker ___ ___ Pytho

[issue5700] io.FileIO calls flush() after file closed

2015-02-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf52f69d6948 by Serhiy Storchaka in branch '2.7': Broke reference loops in tests added in issue #5700. https://hg.python.org/cpython/rev/bf52f69d6948 New changeset 00bde0743690 by Serhiy Storchaka in branch '3.4': Broke reference loops in tests adde

[issue15955] gzip, bz2, lzma: add option to limit output size

2015-02-22 Thread Nikolaus Rath
Nikolaus Rath added the comment: Updated patch attached. -- Added file: http://bugs.python.org/file38206/issue15955_bz2_rev2.diff ___ Python tracker ___ _

[issue22872] multiprocessing.Queue raises AssertionError

2015-02-22 Thread Davin Potts
Changes by Davin Potts : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue18382] multiprocessing's overlapped PipeConnection issues on Windows 8

2015-02-22 Thread Davin Potts
Changes by Davin Potts : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue23152] fstat64 required on Windows

2015-02-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72cf174cc0eb by Serhiy Storchaka in branch 'default': Issue #23152: Move declarations back to posixmodule.c. https://hg.python.org/cpython/rev/72cf174cc0eb -- ___ Python tracker

[issue20482] smtplib.SMTP.sendmail: improve exception message

2015-02-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23498] Expose http.cookiejar.split_header_words()

2015-02-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag, orsenthil, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22623] Missing guards for some POSIX functions

2015-02-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: HAVE_SYS_RESOURCE_H still is used for #include in several files. If guards are added to pwd functions, shouldn't it be added to grp and spwd functions? Is there a platform that have pwd.h, but not getpwuid, getpwnam or getpwent. May be instead testing the ex

[issue23152] fstat64 required on Windows

2015-02-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset b4f9e787b857 by Serhiy Storchaka in branch 'default': Issue #23152: Move declaration into a header and exclude from stable API. https://hg.python.org/cpython/rev/b4f9e787b857 -- ___ Python tracker

[issue20482] smtplib.SMTP.sendmail: improve exception message

2015-02-22 Thread yegle
yegle added the comment: I have no plan to work further, Mark can take the code and improve anyway you want. -- ___ Python tracker ___ __

[issue20482] smtplib.SMTP.sendmail: improve exception message

2015-02-22 Thread Mark Lawrence
Mark Lawrence added the comment: Assuming that the inline patch in msg209943 is acceptable I'll volunteer to change the test code unless the originator wants the job. -- nosy: +BreamoreBoy ___ Python tracker _

[issue22885] Arbitrary code execution vulnerability due to unchecked eval() call in dumbdbm module

2015-02-22 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2015-02-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2015-02-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15dd9d6cc632 by Serhiy Storchaka in branch '2.7': Issue #6639: Module-level turtle functions no longer raise TclError after https://hg.python.org/cpython/rev/15dd9d6cc632 New changeset 1628484c9408 by Serhiy Storchaka in branch '3.4': Issue #6639: M

[issue23152] fstat64 required on Windows

2015-02-22 Thread Steve Dower
Steve Dower added the comment: Two posts ago: "The caller to getfilesize is only using it to check whether it's small enough to load the file into memory all at once, so "too big" is an okay response (that function is in marshal.c and not used anywhere else)." -- _

[issue23492] Argument Clinic: improve generated parser for 1-argument functions

2015-02-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Let's make Argument Clinic a fierce optimizer! (+1 on this) -- nosy: +pitrou ___ Python tracker ___

[issue23500] Argument Clinic: multiple macro definition

2015-02-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, sorry. Here is a sample. Other sample see in issue23501. -- Added file: http://bugs.python.org/file38205/sample.c ___ Python tracker ___ _

[issue23492] Argument Clinic: improve generated parser for 1-argument functions

2015-02-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka dependencies: +Argument Clinic: generate code into separate files by default ___ Python tracker ___ __

[issue23501] Argument Clinic: generate code into separate files by default

2015-02-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Argument Clinic: multiple macro definition ___ Python tracker ___ ___ Python-bugs-list

[issue23501] Argument Clinic: generate code into separate files by default

2015-02-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch makes Argument Clinic to generate code into separate files by default. This will help maintaining in the case of enhancements of Argument Clinic generation (such as issue23492). See thread on http://comments.gmane.org/gmane.comp.python.devel

[issue23500] Argument Clinic: multiple macro definition

2015-02-22 Thread Larry Hastings
Larry Hastings added the comment: Can you give me a test case? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2015-02-22 Thread Martin Panter
Martin Panter added the comment: Posting RemoteDisconnected.v5.patch: * Rebased and fixed minor merge conflict * Change RemoteDisconnected base class from ConnectionError to ConnectionResetError * Minor tweaks to tests It seems that having a separate RemoteDisconnected exception (as in this pa

[issue23500] Argument Clinic: multiple macro definition

2015-02-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23500] Argument Clinic: multiple macro definition

2015-02-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Argument Clinic generates multiple definitions in non-block mode for functions with alternating signature. See example file. If FOO is not defines, SPAM_METHODDEF is defined twice. First time in: #ifndef SPAM_METHODDEF #define SPAM_METHODDEF #endif /*

[issue23499] Minor grammar issue in mimetypes.rst

2015-02-22 Thread SilentGhost
New submission from SilentGhost: Just a minor grammar issue: missing "be" in mimetypes.rst -- assignee: docs@python components: Documentation files: mimetypes.diff keywords: patch messages: 236402 nosy: SilentGhost, docs@python, eric.araujo, ezio.melotti, georg.brandl priority: normal se