[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It works on Ubuntu if uninstall the color Emoji font (package fonts-noto-color-emoji). -- ___ Python tracker ___ _

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +lukasz.langa priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 547d2bcc55e348043b2f338027c1acd9549ada76 by Serhiy Storchaka in branch '3.8': [3.8] bpo-42103: Improve validation of Plist files. (GH-22882) (GH-23116) https://github.com/python/cpython/commit/547d2bcc55e348043b2f338027c1acd9549ada76 ---

[issue35455] Solaris: thread_time doesn't work with current implementation

2020-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps we should also use gethrtime() and gethrvtime() on HP-UX, but this is a different issue. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue42249] Plistlib cannot create binary Plist file larger than 4GiB

2020-11-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22037 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23121 ___ Python tracker ___

[issue42249] Plistlib cannot create binary Plist file larger than 4GiB

2020-11-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Due to a typo plistlib uses at most 32 bits for references and offsets. It will fail if try to create a file larger than 4GiB or containing more than 2**32 unique objects (the latter of course implies the former). -- components: Library (Lib), ma

[issue42196] Python Windows Installation Error 0x800705aa

2020-11-02 Thread shakir_juolay
Change by shakir_juolay : -- stage: -> resolved status: open -> closed Added file: https://bugs.python.org/file49566/Installation Screen Shots.docx ___ Python tracker ___

[issue42196] Python Windows Installation Error 0x800705aa

2020-11-02 Thread shakir_juolay
Change by shakir_juolay : Added file: https://bugs.python.org/file49565/Installation Screen Shots - 2.log ___ Python tracker ___ ___ Python-

[issue42196] Python Windows Installation Error 0x800705aa

2020-11-02 Thread shakir_juolay
shakir_juolay added the comment: I updated my Windows using Windows Update. Attempted one more time and failed with different errors(images attached). Tried with Python3.8.1 and failed with initial error 0x800705aa. Rebooted my machine and tried again with Python3.9 and it worked. Thanks al

[issue42236] os.device_encoding() doesn't respect the UTF-8 Mode

2020-11-02 Thread Inada Naoki
Inada Naoki added the comment: I don't think UTF-8 mode should override os.device_encoding() on Windows. UTF-8 mode can be used to ignore legacy locale encoding, and os.device_encoding() uses the locale encoding on Unix. So overriding it make sense. But locale encoding and console cp are di

[issue40077] Convert static types to heap types: use PyType_FromSpec()

2020-11-02 Thread hai shi
Change by hai shi : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, does my test run to completion (without exception) on your Fedora? If it does, I definitely would not disable astral char display on Fedora. This version catches exceptions and reports them separately and runs directly with tkinter, in about a seco

[issue42153] doc: library imaplib a url not available

2020-11-02 Thread Chris Xiao
Chris Xiao added the comment: maybe,you can try to contact the webmaster of the University of Washington to get the correct url -- ___ Python tracker ___ _

[issue42180] Missing a plural in library/functions

2020-11-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6b7a90db362253d67201c2a438a3f38f1ec6180c by Miss Skeleton (bot) in branch '3.9': bpo-42180: fix plural in arguments and control (GH-23015) (GH-23114) https://github.com/python/cpython/commit/6b7a90db362253d67201c2a438a3f38f1ec6180c

[issue42173] Drop Solaris support

2020-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Victor, are you going to close the PR? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42173] Drop Solaris support

2020-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: People interested in helping Solaris issues should see my post above, msg380006. Issue #35455, about thread time on Solaris, with a simple but non-trivial patch, was just closed as fixed after reviews from 2 coredevs and a 3rd person. I presume Victor will c

[issue35455] Solaris: thread_time doesn't work with current implementation

2020-11-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue35455] Solaris: thread_time doesn't work with current implementation

2020-11-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 9568622c9983b682b2a2a7bacfd3c341028ea099 by Jakub Kulík in branch 'master': bpo-35455: Fix thread_time for Solaris OS (GH-8) https://github.com/python/cpython/commit/9568622c9983b682b2a2a7bacfd3c341028ea099 -- nosy: +pablogsa

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue in the master and I will not backport the change to stable branches on purpose. Thanks for the review Vinay! -- I pushed a change in Python 3.10 which reduces the risk of "NameError: name 'open' is not defined" when logging really late dur

[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 45df61fd2d58e8db33179f3b5d00e53fe6a7e592 by Victor Stinner in branch 'master': bpo-26789: Fix logging.FileHandler._open() at exit (GH-23053) https://github.com/python/cpython/commit/45df61fd2d58e8db33179f3b5d00e53fe6a7e592 --

[issue41796] _ast module state should be made per interpreter

2020-11-02 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue42236] os.device_encoding() doesn't respect the UTF-8 Mode

2020-11-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22036 pull_request: https://github.com/python/cpython/pull/23119 ___ Python tracker ___ __

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22035 pull_request: https://github.com/python/cpython/pull/23118 ___ Python tracker ___

[issue42224] test_format:test_locale fails when locale does not set grouping in thousands

2020-11-02 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread miss-islington
miss-islington added the comment: New changeset e277cb76989958fdbc092bf0b2cb55c43e86610a by Miss Skeleton (bot) in branch '3.9': bpo-42103: Improve validation of Plist files. (GH-22882) https://github.com/python/cpython/commit/e277cb76989958fdbc092bf0b2cb55c43e86610a -- ___

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22034 pull_request: https://github.com/python/cpython/pull/23117 ___ Python tracker ___

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22033 pull_request: https://github.com/python/cpython/pull/23116 ___ Python tracker ___

[issue41796] _ast module state should be made per interpreter

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5cf4782a2630629d0978bf4cf6b6340365f449b2 by Victor Stinner in branch 'master': bpo-41796: Make _ast module state per interpreter (GH-23024) https://github.com/python/cpython/commit/5cf4782a2630629d0978bf4cf6b6340365f449b2 -- _

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +22032 pull_request: https://github.com/python/cpython/pull/23115 ___ Python tracker _

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 34637a0ce21e7261b952fbd9d006474cc29b681f by Serhiy Storchaka in branch 'master': bpo-42103: Improve validation of Plist files. (GH-22882) https://github.com/python/cpython/commit/34637a0ce21e7261b952fbd9d006474cc29b681f -- _

[issue41435] Allow to retrieve ongoing exception handled by every threads

2020-11-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42248] Raised exception in Enum keeping user objects alive unnecessarily

2020-11-02 Thread Eric Froemling
New submission from Eric Froemling : I've run into an issue where exceptions thrown by Enum constructors are keeping my objects alive. The underlying issue seems to be the same as https://bugs.python.org/issue36820 The same method used to fix the issue above seems to work here: simply adding

[issue42228] Activate.ps1 clears PYTHONHOME

2020-11-02 Thread Steve Dower
Steve Dower added the comment: > I've worked around it so far by just ignoring `Activate.ps1` completely and > setting up PATH, PYTHONHOME, and PYTHONPATH instead This sounds like the right approach. Though if you're genuinely embedding Python in your application you should consider just inc

[issue42243] Don't access the module dictionary directly

2020-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would leave it as-is. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list maili

[issue41943] unittest.assertLogs passes unexpectedly

2020-11-02 Thread miss-islington
miss-islington added the comment: New changeset 6fdfcec5b11f44f27aae3d53ddeb004150ae1f61 by Irit Katriel in branch 'master': bpo-41943: Fix bug where assertLogs doesn't correctly filter messages… (GH-22565) https://github.com/python/cpython/commit/6fdfcec5b11f44f27aae3d53ddeb004150ae1f61 --

[issue42246] Implement PEP 626

2020-11-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm happy that we are removing BEGIN_DO_NOT_EMIT_BYTECODE and END_DO_NOT_EMIT_BYTECODE but could you elaborate how this is related? These macros protect the compiler from emitting bytecode that corresponds to deaf code and by definition, unreachable.

[issue42247] unittest hides traceback frames in chained exceptions

2020-11-02 Thread David Mandelberg
New submission from David Mandelberg : The traceback in the output of the attached test (see below) doesn't include line 5, which is where the original exception is raised. I think this is because https://github.com/python/cpython/blob/b9ee4af4c643a323779fd7076e80b29d611f2709/Lib/unittest/res

[issue42228] Activate.ps1 clears PYTHONHOME

2020-11-02 Thread Ben Boeckel
Ben Boeckel added the comment: We build our own applications which run Python interpreters internally, so the auto-discovery won't work. It also doesn't seem to work for venvs either since the venv's `python.exe` is under `Scripts` which makes it not able to find things either on its own. I

[issue42228] Activate.ps1 clears PYTHONHOME

2020-11-02 Thread Steve Dower
Steve Dower added the comment: If `\Lib\os.py` exists, then you shouldn't need either a registry entry or environment variable. This sounds the same as the approach used on GitHub Actions and Azure Pipelines, and also through the packages at https://www.nuget.org/packages/python. These work

[issue42173] Drop Solaris support

2020-11-02 Thread Gordon Ross
Gordon Ross added the comment: I can understand the frustrations around dealing with minority platforms, but please remember that the illumos project (www.illumos.org) is basically the inheritor of problems around "Build on Solaris" for 3rd party software like Python. There are several OS d

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread DanilZ
DanilZ added the comment: Thank you so much for the input! I will study all the links you have sent: Here is a screen recording of some additional experiments: https://vimeo.com/user50681456/review/474733642/b712c12c2c --

[issue42210] float.hex discards sign from -nan

2020-11-02 Thread Sree
Sree added the comment: Thanks, all. I just wanted to know if this was a deliberate decision or an oversight. It also took me a while to realize it washex, and not fromhex. That allows the current behaviour to be easily worked around in Python code, and a backwards compatible optional parame

[issue41832] PyType_FromSpec() should accept tp_doc=NULL

2020-11-02 Thread hai shi
hai shi added the comment: I will take a look in this weekend :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue42180] Missing a plural in library/functions

2020-11-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +22031 pull_request: https://github.com/python/cpython/pull/23114 ___ Python tracker _

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2020-11-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset aca67da4fe68d5420401ac1782203d302875eb27 by Jason R. Coombs in branch 'master': Revert "bpo-37193: remove thread objects which finished process its request (GH-13893)" (GH-23107) https://github.com/python/cpython/commit/aca67da4fe68d5420

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread Ken Jin
Ken Jin added the comment: Hmm apologies I'm stumped then. The only things I managed to surmise from xgboost's and scikit-learn's GitHub issues is that this is a recurring issue specifically when using GridSearchCV : Threads with discussions on workarounds: https://github.com/scikit-learn/sc

[issue42224] test_format:test_locale fails when locale does not set grouping in thousands

2020-11-02 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset 723e21a8e79815ae77474d1f21b9847b9c9bdbeb by Lysandros Nikolaou in branch '3.9': bpo-42224: Fix test_format when locale does not expect number grouping (GH-23067) https://github.com/python/cpython/commit/723e21a8e79815ae77474d1f21b9847b9c9bd

[issue42236] os.device_encoding() doesn't respect the UTF-8 Mode

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4b9aad49992a825d8c76e428ed1aca81dd3878b2 by Victor Stinner in branch 'master': bpo-42236: Enhance init and encoding documentation (GH-23109) https://github.com/python/cpython/commit/4b9aad49992a825d8c76e428ed1aca81dd3878b2 --

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread DanilZ
DanilZ added the comment: FYI: I’ve tried all the three of the possible backends: ‘loky’ (default) / ’threading’ / ‘multiprocessing’. None of them solved the problem. > On 2 Nov 2020, at 17:34, Ken Jin wrote: > > A temporary workaround might be to reduce n_jobs OR even better: use > scikit-

[issue42224] test_format:test_locale fails when locale does not set grouping in thousands

2020-11-02 Thread miss-islington
miss-islington added the comment: New changeset 1e96de9ed4b1ca96d345b7e309a8fe3802638f4a by Miss Skeleton (bot) in branch '3.8': bpo-42224: Fix test_format when locale does not expect number grouping (GH-23067) https://github.com/python/cpython/commit/1e96de9ed4b1ca96d345b7e309a8fe3802638f4a

[issue42246] Implement PEP 626

2020-11-02 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +22030 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23113 ___ Python tracker ___ ___

[issue42037] Documentation confusion in CookieJar functions

2020-11-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +22029 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23112 ___ Python tracker _

[issue42246] Implement PEP 626

2020-11-02 Thread Mark Shannon
New submission from Mark Shannon : Implementation of PEP 626 requires: 1. Implementation of the new line number table and associated APIs. 2. Removal of BEGIN_DO_NOT_EMIT_BYTECODE and END_DO_NOT_EMIT_BYTECODE from the compiler as they do not understand line numbers and may remove lines from th

[issue42224] test_format:test_locale fails when locale does not set grouping in thousands

2020-11-02 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +22028 pull_request: https://github.com/python/cpython/pull/23111 ___ Python tracker ___ __

[issue42224] test_format:test_locale fails when locale does not set grouping in thousands

2020-11-02 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset 301822859b3fc34801a06f1090d62f9f2ee5b092 by Lysandros Nikolaou in branch 'master': bpo-42224: Fix test_format when locale does not expect number grouping (GH-23067) https://github.com/python/cpython/commit/301822859b3fc34801a06f1090d62f9f2e

[issue42224] test_format:test_locale fails when locale does not set grouping in thousands

2020-11-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +22027 pull_request: https://github.com/python/cpython/pull/23110 ___ Python tracker _

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread DanilZ
DanilZ added the comment: Here is a gif of what’s going on in my ActivityMonitor on a Mac while this code is executed: https://gfycat.com/unselfishthatgraysquirrel -- ___ Python tracker

[issue42236] os.device_encoding() doesn't respect the UTF-8 Mode

2020-11-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22026 pull_request: https://github.com/python/cpython/pull/23109 ___ Python tracker ___ __

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread DanilZ
DanilZ added the comment: Hi Ken, thanks for a quick reply. Here are the requested specs. System: Python 3.7.6 OS X 10.15.7 Packages: XGBoost 1.2.0 sklearn 0.22.2 pandas 1.0.5 numpy 1.18.1 I can see that you have reduced the code, which now excludes the RandomizedSearchCV part. This (reduce

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-02 Thread E. Paine
E. Paine added the comment: For me, this is not limited to special characters. Trying to load anything in Tk using the 'JoyPixels' font crashes (sometimes it does load but all characters are very random - most are whitespace - and it crashes again after a call to `fc-cache`). IDLE crashes wh

[issue42240] Add Maxheap version of a heappush into heapq module

2020-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Only the minheap is in the public API. The maxheap functions are only supposed to be used internally. Thank you for the suggestion, but I think we should decline. -- resolution: -> rejected stage: -> resolved status: open -> closed ___

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread Ken Jin
Ken Jin added the comment: Hello, it would be great if you can you provide more details. Like your Operating System and version, how many logical CPU cores there are on your machine, and lastly the exact Python version with major and minor versions included (eg. Python 3.8.2). Multiprocessin

[issue42174] shutil.get_terminal_size() returns 0 when run in a pty

2020-11-02 Thread Florian Bruhin
Florian Bruhin added the comment: Just found another workaround for this in the wild, as part of the "rich" library: https://github.com/willmcgugan/rich/blob/v9.1.0/rich/console.py#L669-L672 -- ___ Python tracker

[issue41435] Allow to retrieve ongoing exception handled by every threads

2020-11-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 64366fa9b3ba71b8a503a8719eff433f4ea49eb9 by Julien Danjou in branch 'master': bpo-41435: Add sys._current_exceptions() function (GH-21689) https://github.com/python/cpython/commit/64366fa9b3ba71b8a503a8719eff433f4ea49eb9 --

[issue34067] Problem with contextlib.nullcontext

2020-11-02 Thread Irit Katriel
Change by Irit Katriel : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34067] Problem with contextlib.nullcontext

2020-11-02 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: -21767 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue41835] Speed up dict vectorcall creation using keywords

2020-11-02 Thread Inada Naoki
Inada Naoki added the comment: While this is an interesting optimization, the gain is not enough. I close this issue for now. @Marco Sulla Optimizing dict is a bit hard job. If you want to continue, I have an idea: `dict(zip(keys, row))` is common use case. It is used by asdict() in datacalss,

[issue40077] Convert static types to heap types: use PyType_FromSpec()

2020-11-02 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22025 pull_request: https://github.com/python/cpython/pull/23108 ___ Python tracker ___ __

[issue39679] functools: singledispatchmethod doesn't work with classmethod

2020-11-02 Thread Eugene-Yuan Kou
Eugene-Yuan Kou added the comment: Hi, I also encounter to the problem, and I have give my attempt to make the singledispatchmethod support the classmethod, and staticmethod with type annotation. I also adding two tests. Please refer to my fork. I will trying to make a pull request https:/

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2020-11-02 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +22024 pull_request: https://github.com/python/cpython/pull/23107 ___ Python tracker ___ _

[issue42245] concurrent.futures.ProcessPoolExecutor freezes depending on complexity

2020-11-02 Thread DanilZ
New submission from DanilZ : Note: problem occurs only after performing the RandomizedSearchCV... When applying a function in a multiprocess using concurrent.futures if the function includes anything else other than print(), it is not executed and the process freezes. Here is the code to rep

[issue41835] Speed up dict vectorcall creation using keywords

2020-11-02 Thread Inada Naoki
Inada Naoki added the comment: And bench_kwcall.py is a microbenchmark for _PyEval_EvalCode. $ cpython/release/python -m pyperf compare_to master.json kwcall-nodup.json kwcall-3: Mean +- std dev: [master] 192 us +- 2 us -> [kwcall-nodup] 175 us +- 1 us: 1.09x faster (-9%) kwcall-6: Mean +- s

[issue41835] Speed up dict vectorcall creation using keywords

2020-11-02 Thread Inada Naoki
Inada Naoki added the comment: Short result (minspeed=2): Slower (4): - unpack_sequence: 65.2 ns +- 1.3 ns -> 69.2 ns +- 0.4 ns: 1.06x slower (+6%) - unpickle_list: 5.21 us +- 0.04 us -> 5.44 us +- 0.02 us: 1.04x slower (+4%) - chameleon: 9.80 ms +- 0.08 ms -> 10.0 ms +- 0.1 ms: 1.02x slower (

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2020-11-02 Thread Jason R. Coombs
Jason R. Coombs added the comment: I recommend a rollback. I’ll try to get to it later today. -- ___ Python tracker ___ ___ Python-b

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: I converted the unicodedata extension to the multi-phase initialization API in bpo-42157 with Mohamed Koubaa. -- ___ Python tracker ___ __

[issue35455] Solaris: thread_time doesn't work with current implementation

2020-11-02 Thread Jakub Kulik
Change by Jakub Kulik : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-11-02 Thread Inada Naoki
Inada Naoki added the comment: OK. Microbenchmark don't justify adding complexity to the eval loop and the compiler. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41835] Speed up dict vectorcall creation using keywords

2020-11-02 Thread Inada Naoki
Inada Naoki added the comment: > I did PGO+LTO... --enable-optimizations --with-lto I'm sorry about that. PGO+LTO *reduce* noises, but there are still noises. And unpack_sequence is very fragile. I tried your branch again, and unpack_sequence is 10% *slower* than master branch. I am running

[issue35455] Solaris: thread_time doesn't work with current implementation

2020-11-02 Thread Jakub Kulik
Change by Jakub Kulik : -- title: Solaris thread_time doesn't work with current implementation -> Solaris: thread_time doesn't work with current implementation ___ Python tracker

[issue35455] Solaris thread_time doesn't work with current implementation

2020-11-02 Thread Jakub Kulik
Jakub Kulik added the comment: Comment from https://bugs.python.org/issue42173#msg380205 confirmed that this issue is still relevant to Illumos based systems. Because of that, I am happy to resolve it. -- ___ Python tracker

[issue41835] Speed up dict vectorcall creation using keywords

2020-11-02 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +22023 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23106 ___ Python tracker ___ _

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: I rejected the backport to 3.8 and 3.9 since the change causes a regression on master. -- ___ Python tracker ___ ___

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: > Fixing OS graphics or tk is out of scope for us. Preventing hangs or crashes > when using tkinter is. On Mac, refusing to insert any astral char into a tk > widget might be the best solution. Serhiy, could that be done in > tkinter/_tkinter? I dislike

[issue42173] Drop Solaris support

2020-11-02 Thread Jakub Kulik
Jakub Kulik added the comment: Thanks Andy, good to know we are seeing the same issue! We tried to fix sendfile differences in Python code before as well, but as you said, it was never 100% solved. Recently we finally fixed it in C and it was accepted (https://bugs.python.org/issue41687) and

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: The change fixing a leak in socketserver introduces a leak in socketserver :-) $ ./python -m test test_socketserver -u all -m test.test_socketserver.SocketServerTest.test_ThreadingTCPServer -R 3:3 0:00:00 load avg: 0.95 Run tests sequentially 0:00:00 load avg

[issue42230] Document that asyncio's wait() and as_completed() accept arbitrary iterables

2020-11-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset ad37c66adcd474e3d42a51c63ecb6a54ca2d23f2 by Jakub Stasiak in branch '3.8': [3.8] bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) (GH-23105) https://github.com/python/cpython/commit/ad37c66adcd474e3d42a5

[issue42230] Document that asyncio's wait() and as_completed() accept arbitrary iterables

2020-11-02 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue42230] Document that asyncio's wait() and as_completed() accept arbitrary iterables

2020-11-02 Thread miss-islington
miss-islington added the comment: New changeset ff852aabf22908e7ef0325af65bab5d02c421fd8 by Miss Skeleton (bot) in branch '3.9': bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) https://github.com/python/cpython/commit/ff852aabf22908e7ef0325af65bab5d0

[issue42230] Document that asyncio's wait() and as_completed() accept arbitrary iterables

2020-11-02 Thread Jakub Stasiak
Change by Jakub Stasiak : -- pull_requests: +22022 pull_request: https://github.com/python/cpython/pull/23105 ___ Python tracker ___ ___

[issue42230] Document that asyncio's wait() and as_completed() accept arbitrary iterables

2020-11-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3d86d090dcbbdfdd3e5a5951cab30612d6131222 by Jakub Stasiak in branch 'master': bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) https://github.com/python/cpython/commit/3d86d090dcbbdfdd3e5a5951cab30612d61

[issue42230] Document that asyncio's wait() and as_completed() accept arbitrary iterables

2020-11-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22021 pull_request: https://github.com/python/cpython/pull/23104 ___ Python tracker _

[issue42173] Drop Solaris support

2020-11-02 Thread Andy Fiddaman
Andy Fiddaman added the comment: Jakub's results looks very familiar to me, having been working on python 3.9 on illumos. For OmniOS, we currently skip these tests via --ignorefile: # wchar_t related failures *.test_re.ReTests.test_locale_compiled *.test_re.ReTests.test_locale_caching # illu

[issue42037] Documentation confusion in CookieJar functions

2020-11-02 Thread Markus Israelsson
Markus Israelsson added the comment: I am currently updating the documentation source code. On the cookiejar page it describes 'unverifiable' as a method. I can however not find that method on the request page because it seems to be just a normal attribute. I will make updates for that as wel

[issue42173] Drop Solaris support

2020-11-02 Thread John Gardner
John Gardner added the comment: Don't remove, it is still actively used by so many people. If the maintance overhead of 700 lines is a large burdern, then I'm happy to take on whatever work is required for it. -- nosy: +jgardner100 ___ Python trac

[issue42242] Backport SQLite trace API v2

2020-11-02 Thread Samuel Marks
Samuel Marks added the comment: Done, thanks for the how-to: - https://github.com/python/cpython/pull/23103 [3.8] - https://github.com/python/cpython/pull/23102 [3.9] -- ___ Python tracker __

[issue40318] Migrate to SQLite3 trace v2 API

2020-11-02 Thread Samuel Marks
Change by Samuel Marks : -- pull_requests: +22020 pull_request: https://github.com/python/cpython/pull/23103 ___ Python tracker ___

[issue40318] Migrate to SQLite3 trace v2 API

2020-11-02 Thread Samuel Marks
Change by Samuel Marks : -- nosy: +samuelmarks nosy_count: 4.0 -> 5.0 pull_requests: +22019 pull_request: https://github.com/python/cpython/pull/23102 ___ Python tracker ___ __

[issue42244] TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation

2020-11-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue42240] Add Maxheap version of a heappush into heapq module

2020-11-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue42244] TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation

2020-11-02 Thread Cristian Martinez de Morentin
New submission from Cristian Martinez de Morentin : TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation. When DST switch occurs, the previous day logging file is overwritten. The issue is present regardless of the value of the UTC flag (True/False)

  1   2   >