[issue21300] Docs (incorrectly) suggest email.policy.default is the default policy

2014-05-08 Thread R. David Murray
R. David Murray added the comment: That was actually copy and paste of an existing typo, which I've also now fixed. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21300 ___

[issue13598] string.Formatter doesn't support empty curly braces {}

2014-05-08 Thread Armin Ronacher
Armin Ronacher added the comment: Is there any chance this will be fixed for 2.7 as well? -- nosy: +aronacher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13598 ___

[issue21435] Segfault with cyclic reference and asyncio.Future

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: finalize4.patch repairs the comment typos, adds a new comment, and removes the unused `old` argument. I think the code is ready to ship with this. Thanks! So do I. -- ___ Python tracker rep...@bugs.python.org

[issue21435] Segfault with cyclic reference and asyncio.Future

2014-05-08 Thread Larry Hastings
Larry Hastings added the comment: I'm totally on board with you guys checking this in for 3.4.1. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21435 ___

[issue21350] bug in file.writelines accepting buffers

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the report and the patch! For a bit of trivia, this code has been there since 2000 (63ea2a2df06f). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21350

[issue21350] bug in file.writelines accepting buffers

2014-05-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset db842f730432 by Antoine Pitrou in branch '2.7': Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as advertised. http://hg.python.org/cpython/rev/db842f730432 -- nosy: +python-dev

[issue21350] bug in file.writelines accepting buffers

2014-05-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21350 ___

[issue21453] Support of RPM subpackages in distutils

2014-05-08 Thread Vitaly Isaev
New submission from Vitaly Isaev: RPM Subpackages are very useful when you maintain the big project on the RHEL-kind Linux distro and you need to sparse the project into several differing packages (for instance - main_package, -libs, -devel, -debuginfo). It would be convenient to do the same

[issue21454] asyncio's loop.connect_read_pipe makes pipes non-blocking contrary to the documentation

2014-05-08 Thread John Isidore
New submission from John Isidore: the documentation for BaseEventLoop.connect_read_pipe says: pipe is file-like object **already switched** to nonblocking. http://hg.python.org/cpython/file/232938736a31/Doc/library/asyncio-eventloop.rst#l453 But it looks like connect_read_pipe() accepts

[issue21455] add default backlog to socket.listen()

2014-05-08 Thread Charles-François Natali
New submission from Charles-François Natali: Having to pass an explicit backlog value to listen() is a pain: most people don't know which value to pass, and often end up using a value too small which can lead to connections being rejected. For example, if you search throughout the standard

[issue21454] asyncio's loop.connect_read_pipe makes pipes non-blocking contrary to the documentation

2014-05-08 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for the report, that should be easy to fix. Regarding PTYs, we're aware: https://code.google.com/p/tulip/issues/detail?id=147 -- nosy: +haypo ___ Python tracker rep...@bugs.python.org

[issue21435] Segfault with cyclic reference and asyncio.Future

2014-05-08 Thread Tim Peters
Changes by Tim Peters t...@python.org: -- assignee: - tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21435 ___ ___ Python-bugs-list

[issue21448] Email Parser use 100% CPU

2014-05-08 Thread jader fabiano
jader fabiano added the comment: Hi. I undestood this problem that It was happening, I was writting the mime wrong in the attachments. I read a file with size 4M and I've converted to Base64, so I've written in the mime the content. But i wasn't put the lines with 76 ccharacters plus /r/n. I was

[issue21444] __len__ can't return big numbers

2014-05-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend this be closed: too much impact on existing code for too little benefit. CPython has historically imposed some artificial implementation specific details in order make the implementation cleaner and faster internally (i.e. a limit on the

[issue21435] Segfault in gc with cyclic trash

2014-05-08 Thread Tim Peters
Changes by Tim Peters t...@python.org: -- title: Segfault with cyclic reference and asyncio.Future - Segfault in gc with cyclic trash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21435 ___

[issue21444] __len__ can't return big numbers

2014-05-08 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21444 ___

[issue21435] Segfault in gc with cyclic trash

2014-05-08 Thread Tim Peters
Tim Peters added the comment: finalize42.patch includes a test case. If nobody objects within a few hours, I'll commit it. -- Added file: http://bugs.python.org/file35187/finalize42.patch ___ Python tracker rep...@bugs.python.org

[issue21037] add an AddressSanitizer build option

2014-05-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 17689e43839a by Charles-François Natali in branch 'default': Issue #21037: Add a build option to enable AddressSanitizer support. http://hg.python.org/cpython/rev/17689e43839a -- nosy: +python-dev ___

[issue21455] add default backlog to socket.listen()

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is there a risk of SOMAXCONN being huge and therefore allocating a large amount of resources? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21455 ___

[issue18564] Integer overflow in socketmodule

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: I am thinking about patching it there and then open another ticket here in order to adopt str2ba(). This way we can close this ticket for now. Well, if some str2ba() versions are notoriously buggy, we should probably not use it, IMHO. --

[issue21396] Python io implementation doesn't flush with write_through=True unlike C implementation

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks basically fine. I will make a few tweaks to the comments in the test case. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21396 ___

[issue21396] Python io implementation doesn't flush with write_through=True unlike C implementation

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, with the patch, the universal_newlines tests in test_subprocess hang (quite logically, since they lack a flush()). I will fix them as well. -- ___ Python tracker rep...@bugs.python.org

[issue21037] add an AddressSanitizer build option

2014-05-08 Thread Charles-François Natali
Charles-François Natali added the comment: I just pushed the patch. Stefan, did you have time to setup a buildbot? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21037 ___

[issue21396] Python io implementation doesn't flush with write_through=True unlike C implementation

2014-05-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39f2a78f4357 by Antoine Pitrou in branch '3.4': Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream. http://hg.python.org/cpython/rev/39f2a78f4357 New changeset 37d0c41ed8ad by Antoine

[issue21396] Python io implementation doesn't flush with write_through=True unlike C implementation

2014-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for the patch! -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21396 ___

[issue21435] Segfault in gc with cyclic trash

2014-05-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 64ba3f2de99c by Tim Peters in branch '3.4': Issue #21435: Segfault in gc with cyclic trash http://hg.python.org/cpython/rev/64ba3f2de99c New changeset cb9a3985df00 by Tim Peters in branch 'default': Merge from 3.4.

[issue21435] Segfault in gc with cyclic trash

2014-05-08 Thread Tim Peters
Changes by Tim Peters t...@python.org: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21435 ___

[issue21455] add default backlog to socket.listen()

2014-05-08 Thread Charles-François Natali
Charles-François Natali added the comment: Is there a risk of SOMAXCONN being huge and therefore allocating a large amount of resources? On a sensible operating system, no, but better safe than sorry: the patch attached caps the value to 128 (a common SOMAXCONN value). It should be high

[issue21332] subprocess bufsize=1 docs are misleading

2014-05-08 Thread akira
akira added the comment: I've updated the patch to remove changes to test_universal_newlines test that was fixed in revision 37d0c41ed8ad that closes #21396 issue -- Added file: http://bugs.python.org/file35189/subprocess-line-buffering-issue21332-ps4.patch

[issue14910] argparse: disable abbreviation

2014-05-08 Thread paul j3
paul j3 added the comment: Update the patch - test_argparse.py - cleanup spaces argparse.rst - merging conflicts -- Added file: http://bugs.python.org/file35190/issue14910_2.patch ___ Python tracker rep...@bugs.python.org

[issue14910] argparse: disable abbreviation

2014-05-08 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: Removed file: http://bugs.python.org/file35190/issue14910_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___

[issue14910] argparse: disable abbreviation

2014-05-08 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: Added file: http://bugs.python.org/file35191/issue14910_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14910 ___

<    1   2