[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18

2015-10-23 Thread Jose M. Alcaide
Jose M. Alcaide added the comment: This issue continues unfixed. After uninstalling ActiveTcl 8.5.18 and then installing ActiveTcl 8.5.17, IDLE completion and call tips work again. Tested with Python 3.5 and 3.4.1. -- nosy: +jmas ___ Python

[issue25465] Pickle uses O(n) memory overhead

2015-10-23 Thread Herbert
Changes by Herbert : -- type: -> performance versions: +Python 3.4 ___ Python tracker ___

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-23 Thread Bernt Røskar Brenna
Changes by Bernt Røskar Brenna : -- keywords: +patch Added file: http://bugs.python.org/file40846/os_walk_docs_change_unclear_language.patch ___ Python tracker

[issue25465] Pickle uses O(n) memory overhead

2015-10-23 Thread Herbert
New submission from Herbert: I very often want to use pickle to store huge objects, such that I do not need to recalculate them again. However, I noticed that pickle uses O(n) (for n the object size in memory) amount of memory. That is, using python 3: data = {'%06d' % i: i for i in

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2015-10-23 Thread Bernt Røskar Brenna
Bernt Røskar Brenna added the comment: I agree your suggestion is better, I did not see it before submitting my first patch. I've added another patch. -- Added file: http://bugs.python.org/file40847/os_walk_docs_change_unclear_language_2.patch ___

[issue25447] TypeError invoking deepcopy on lru_cache

2015-10-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added test cases for nested functions (__qualname__ != __name__). -- Added file: http://bugs.python.org/file40848/lru_cache_simple_pickling_2.patch ___ Python tracker

[issue25457] json dump fails for mixed-type keys when sort_keys is specified

2015-10-23 Thread Christian Tanzer
Christian Tanzer added the comment: Josh Rosenberg wrote at Fri, 23 Oct 2015 02:45:51 +: > The Python 2 sort order is a result of the "arbitrary but consistent > fallback comparison" (omitting details, it's comparing the names of > the types), thus the "strange" sort order. Thanks. I knew

[issue25457] json dump fails for mixed-type keys when sort_keys is specified

2015-10-23 Thread Christian Tanzer
Christian Tanzer added the comment: Josh Rosenberg wrote at Fri, 23 Oct 2015 02:56:30 +: > As a workaround (should you absolutely need to sort keys by some > arbitrary criteria), you can initialize a collections.OrderedDict from > the sorted items of your original dict (using whatever key

[issue25447] TypeError invoking deepcopy on lru_cache

2015-10-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Using lru_cache() is an implementation detail. I think that lru_cache wrapper should be perfect wrapper, it should support all protocols that are supported by wrapped function (at the same extent as original Python implementation). Proposed simple patch