[issue28293] Don't completely dump the regex cache when full

2016-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is applied cleanly on the default branch. I don't think there is a need to open a new issue. The last patch implements the original Raymond's intention, but taking into account all comments: drops the oldest item, doesn't depend on implementation details

[issue27845] Optimize update_keyword_args() function

2016-09-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue20754] distutils should use SafeConfigParser

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, Alex. SafeConfigParser has been renamed to ConfigParser in Python 3.2 and distutils already uses ConfigParser in Python 3: >From Distribution.parse_config_files(): ... parser = ConfigParser() For 2.7, can you try it with setuptoo

[issue20754] distutils should use SafeConfigParser

2016-09-28 Thread Jason R. Coombs
Jason R. Coombs added the comment: Do the changes in issue20120 address this concern? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue22392] Clarify documentation of __getinitargs__

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: https://docs.python.org/2/library/pickle.html#object.__getinitargs__ states: "If it is desirable that the __init__() method be called on unpickling, an old-style class can define a method __getinitargs__(), which should return a tuple containing the arguments t

[issue22969] Compile fails with --without-signal-module

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, but --with(out)-signal-module option has been removed in d5bb5ad5a108. -- nosy: +berker.peksag resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue23701] Drop extraneous comment from winreg.QueryValue's docstring

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report and for the patch, Claudiu. The part you mentioned has already been removed in 6e613ecd70f0. Here's the current version: "Values in the registry have name, type, and data components. This method retrieves the data for a key's first value th

[issue24274] erroneous comments in dictobject.c

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Comments have been updated by the new dict implementation in 3.6+, but the 3.5 branch still needs to be updated. -- nosy: +berker.peksag, inada.naoki stage: -> needs patch type: enhancement -> behavior versions: +Python 3.5

[issue26224] Add "version added" for documentation of asyncio.timeout for documentation of python 3.4, 3.5, 3.6

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch. asyncio.timeout() has been removed in 73a28ad66bd9. -- nosy: +berker.peksag resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue26224] Add "version added" for documentation of asyncio.timeout for documentation of python 3.4, 3.5, 3.6

2016-09-28 Thread Berker Peksag
Changes by Berker Peksag : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue26550] documentation minor issue : "Step back: WSGI" section from "HOWTO Use Python in the web"

2016-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 522506fcff88 by Berker Peksag in branch '2.7': Issue #26550: Fix typo in webservers HOWTO https://hg.python.org/cpython/rev/522506fcff88 -- nosy: +python-dev ___ Python tracker

[issue26550] documentation minor issue : "Step back: WSGI" section from "HOWTO Use Python in the web"

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Alejandro. Doc/howto/webservers.rst has been removed in Python 3 so I just fixed 2.7. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: -Python 3.2, Python 3.3, Pyth

[issue28248] Upgrade installers to OpenSSL 1.0.2j

2016-09-28 Thread Shaun Walbridge
Changes by Shaun Walbridge : -- nosy: +scw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue28293] Don't completely dump the regex cache when full

2016-09-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would rather not introduce an OrderedDict dependency to the re module while other implementations are using the pure python version or where the OD implementation is in flux. This is a barely worth it proposal, so we should either make a modest, minimali

[issue20766] reference leaks in pdb

2016-09-28 Thread Jack Liu
Jack Liu added the comment: Will the issue be fixed in Python formal build? I still meet the same issue with Python 3.5.1. It cost me a bit time to track down this issue. I'm using pdb to debug a Python script, there are global variables in the script. Duo the leak of sigint_handler, calling g

[issue20766] reference leaks in pdb

2016-09-28 Thread Jack Liu
Jack Liu added the comment: Now, I have to set nosigint to True to fix the reference leaks issue for my app. -- ___ Python tracker ___ ___

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2016-09-28 Thread Davin Potts
Davin Potts added the comment: @naught101: Thanks for the wording change -- I think your suggested doc change will be a good one. I've added a comment which you can access via the "review" link to the right of the link for your mp.map.starmap.patch attachment. --

[issue28275] LZMADecompressor.decompress Use After Free

2016-09-28 Thread Martin Panter
Martin Panter added the comment: Here is a patch to fix the corresponding bug in the bzip decompressor. I will try to commit it soon if there are no objections. For the record, these bugs were introduced with the max_length support in Issue 15955. The bzip code was modelled after the LZMA code

[issue28183] Clean up and speed up dict iteration

2016-09-28 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file44874/dict_iter5.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue28293] Don't completely dump the regex cache when full

2016-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The re module now depends on the enum module, and the latter already depends on OrderedDict. Thus the patch doesn't introduce new dependency. Python implementation of OrderedDict doesn't override __getitem__ and therefore don't slow down the common case. I c

[issue28275] LZMADecompressor.decompress Use After Free

2016-09-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. And may be worth to rewrite lzma test in your style. -- resolution: fixed -> stage: resolved -> commit review ___ Python tracker ___ __

[issue1703178] link_objects in setup.cfg crashes build

2016-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 520ca3652422 by Benjamin Peterson in branch '2.7': build_ext: correctly parse the link_objects user option (closes #1703178) https://hg.python.org/cpython/rev/520ca3652422 New changeset b2f0a31fa441 by Benjamin Peterson in branch '3.5': build_ext: c

<    1   2