[issue39465] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2020-05-11 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file49147/bench.py ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue39465] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2020-05-11 Thread STINNER Victor
STINNER Victor added the comment: Attached bench.py: Micro-benchmark on _PyUnicode_FromId(). It requires attached bench.patch being applied. -- Added file: https://bugs.python.org/file49148/bench.patch ___ Python tracker

[issue40480] "fnmatch" exponential execution time

2020-05-11 Thread Tim Peters
Change by Tim Peters : -- pull_requests: +19358 pull_request: https://github.com/python/cpython/pull/20049 ___ Python tracker ___ __

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-05-11 Thread Chris Meyer
Chris Meyer added the comment: Here is another way to reproduce this (or an extremely similar) error without a loop. Since may be a race condition, I'm not sure this works 100% of the time on all machines - but it did on several machines I tried. ``` import asyncio loop = asyncio.get_event_

[issue40603] slice does not slice

2020-05-11 Thread Will Bradshaw
New submission from Will Bradshaw : slice cannot be hashed which make some operations significantly more annoying. see https://groups.google.com/forum/#!topic/comp.lang.python/SvhkWwSDeIw -- components: ctypes files: patches.zip messages: 368693 nosy: Will Bradshaw priority: normal sev

[issue40334] PEP 617: new PEG-based parser

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

[issue40603] slice not hashable

2020-05-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please re-upload the patch file as an uncompressed text file, as it is quite difficult for many people to view zip files in their browser. -- nosy: +steven.daprano title: slice does not slice -> slice not hashable ___

[issue40603] slice not hashable

2020-05-11 Thread Steven D'Aprano
Change by Steven D'Aprano : -- components: +Interpreter Core -ctypes type: behavior -> enhancement ___ Python tracker ___ ___ Python

[issue40480] "fnmatch" exponential execution time

2020-05-11 Thread Tim Peters
Tim Peters added the comment: New changeset b1b4c790e7d3b5f4244450aefe3d8f01710c13f7 by Tim Peters in branch 'master': bpo-40480: restore ability to join fnmatch.translate() results (GH-20049) https://github.com/python/cpython/commit/b1b4c790e7d3b5f4244450aefe3d8f01710c13f7 --

[issue40603] slice not hashable

2020-05-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable use case. +1 for making slice() hashable. Will, you're welcome to submit a PR. If not, I'm sure someone else would be happy to scoop this up :-) -- keywords: +easy (C) nosy: +rhettinger _

[issue39481] Implement PEP 585 (Type Hinting Generics In Standard Collections)

2020-05-11 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset f3a5b7ada0c951f317dbd307de4b410e58d3e1b3 by Batuhan Taskaya in branch 'master': bpo-39481: remove generic classes from ipaddress/mmap (GH-20045) https://github.com/python/cpython/commit/f3a5b7ada0c951f317dbd307de4b410e58d3e1b3 -- __

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: By 'preview', I meant the listing of existing file in the directory, such as Documents. IDLE displays this but, as I inferred and you and Bev confirmed, this is not standard on macOS, as there is a button (which I did not noticed before) to show or hide the

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-05-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: I was able to simplify the script a lot more and continue to reproduce the hang. It's attached as test-kill3.py (80 lines). It doesn't use subprocess_exec() or a watcher anymore -- just subprocess.Popen() followed by popen.kill(), and then awaiting on a futu

[issue40603] slice not hashable

2020-05-11 Thread Danni
Danni added the comment: Would be happy to help with this. Sent a PR soon ;) -- nosy: +isdanni ___ Python tracker ___ ___ Python-bu

[issue40602] Move Modules/hashtable.h to Include/internal/pycore_hashtable.h

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

[issue30064] BaseSelectorEventLoop.sock_{recv, sendall}() don't remove their callbacks when canceled

2020-05-11 Thread Joongi Kim
Joongi Kim added the comment: I just encountered this issue when doing "sys.exit(1)" on a Click-based CLI program that internally uses asyncio event loop via wrapped via a context manager, on Python 3.8.2. Using uvloop or adding "time.sleep(0.1)" before "sys.exit(1)" removes the error.

[issue30064] BaseSelectorEventLoop.sock_{recv, sendall}() don't remove their callbacks when canceled

2020-05-11 Thread Joongi Kim
Joongi Kim added the comment: And I suspect that this issue is something simliar to what I did in a recent janus PR: https://github.com/aio-libs/janus/blob/ec8592b91254971473b508313fb91b01623f13d7/janus/__init__.py#L84 to give a chance for specific callbacks to execute via an extra context swi

[issue30064] BaseSelectorEventLoop.sock_{recv, sendall}() don't remove their callbacks when canceled

2020-05-11 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue40604] Regression in 3.8.3rc1 - error in tests run via doctest

2020-05-11 Thread Case Van Horsen
New submission from Case Van Horsen : An error in the gmpy2 test suite was reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960201 The test suite is run using doctest and has been running without issues for many years. The first failure occurs when running the following fragment

<    1   2