[issue1453973] addheaders for urlopen / open / xxxx_open

2019-05-01 Thread Josiah Carlson
Change by Josiah Carlson : -- nosy: -josiahcarlson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue1572968] release GIL while doing I/O operations in the mmap module

2019-05-01 Thread Josiah Carlson
Change by Josiah Carlson : -- nosy: -josiahcarlson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue1509060] Interrupt/kill threads w/exception

2019-05-01 Thread Josiah Carlson
Change by Josiah Carlson : -- nosy: -josiahcarlson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36772] Let lru_cache be used as a decorator with no arguments

2019-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not like mixing decorators and decorator fabrics. But this can of worms has already been open by dataclasses. The question is whether we want to extend this design to the rest of the stdlib. lru_cache() resisted this change for a long time. -

[issue36762] Teach "import *" to warn when overwriting globals or builtins

2019-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This will force legal third-party code to add special code to suppress warnings. This is breaking change. Other problem is with shadowing builtins. This increases chance of breakage when introduce new builtins. Currently adding a new builtin does not affec

[issue36764] Types module doesn't have a type for _abc_data

2019-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Inada. This is a deep implementation detail. Instances of this type are not even exposed to users. And the types module should not contain all types used in CPython. -- nosy: +serhiy.storchaka resolution: -> rejected stage: patch rev

[issue36766] Typos in docs and code comments

2019-05-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36765] Invalid grammar for f_expression

2019-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concur with Eric. The formal definition of the Python grammar is wider than valid Python, because we do not want to make it too complex. Invalid constructions are filtered out later. -- nosy: +serhiy.storchaka _

[issue36699] building for riscv multilib (patch attached)

2019-05-01 Thread Michał Górny
Michał Górny added the comment: This is not really an upstream issue, it is due to Gentoo-specific patching. -- nosy: +mgorny ___ Python tracker ___ ___

[issue36694] Excessive memory use or memory fragmentation when unpickling many small objects

2019-05-01 Thread Inada Naoki
Inada Naoki added the comment: I'm using 1/10 version of dump.py I removed total_size() because it creates some garbages. sys._debugmallocstats() after load.py: master: # arenas allocated total =1,223 # arenas reclaimed =5 # arena

[issue36694] Excessive memory use or memory fragmentation when unpickling many small objects

2019-05-01 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue36756] tkinter tk.createcommand memory leak

2019-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are two problems: one in your code and one in tkinter or Tcl. The problem with your code is that it creates new Tcl interpreters in loop. Create a single Tcl interpreters and create commands in a loop. This will reduce the leak to constant amount. T

<    1   2