[issue38999] Python launcher on Windows does not detect active venv

2019-12-09 Thread Paul Moore
Paul Moore added the comment: See PEP 486 (https://www.youtube.com/watch?v=Lmq13nrEFaM&list=PLuE3ABw6vYeR0gcPT6uj25ZZhmSP9vRB2&index=28&t=0s). This is intended behaviour, as it is assumed that explicitly specifying a Python version means that the user had a specific Python interpreter in min

[issue38999] Python launcher on Windows does not detect active venv

2019-12-09 Thread Paul Moore
Change by Paul Moore : -- Removed message: https://bugs.python.org/msg358060 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue38999] Python launcher on Windows does not detect active venv

2019-12-09 Thread Paul Moore
Paul Moore added the comment: See PEP 486 (https://www.python.org/dev/peps/pep-0486/). This is intended behaviour, as it is assumed that explicitly specifying a Python version means that the user had a specific Python interpreter in mind. There are also technical issues - if the shebang says

[issue31625] stop using ranlib

2019-12-09 Thread Jakub Piotr Cłapa
Change by Jakub Piotr Cłapa : -- pull_requests: +16994 pull_request: https://github.com/python/cpython/pull/15387 ___ Python tracker ___

[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-12-09 Thread Ned Deily
Ned Deily added the comment: Thank you for the PR. I did a quick look at it and added some comments to the PR including wondering whether the root cause of the problematic behavior is elsewhere in Distutils. -- nosy: +ned.deily ___ Python tracker

[issue39002] Small typo in Lib/test/test_statistics.py: tranlation -> translation

2019-12-09 Thread Tim Gates
New submission from Tim Gates : There is a small typo in Lib/test/test_statistics.py. Should read translation rather than tranlation. -- assignee: docs@python components: Documentation messages: 358063 nosy: docs@python, timgates42 priority: normal pull_requests: 16995 severity: normal

[issue24554] GC should happen when a subinterpreter is destroyed

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: This issue is partially fixed in the master branch. Extract of the finalize_interp_clear() function, called by Py_EndInterpreter(): /* Clear interpreter state and all thread states */ PyInterpreterState_Clear(tstate->interp); /* Trigger a GC coll

[issue38091] Import deadlock detection causes deadlock

2019-12-09 Thread Armin Rigo
Change by Armin Rigo : -- keywords: +patch pull_requests: +16996 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17518 ___ Python tracker ___ _

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: > I think fixing the underlying pty issue should certainly be the goal (...) I wrote PR 17519 which fix the bug. We just have to ignore SIGHUP signal. -- ___ Python tracker ___

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16997 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17519 ___ Python tracker ___ _

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +16999 pull_request: https://github.com/python/cpython/pull/17521 ___ Python tracker ___ __

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset a1838ec2592e5082c75c77888f2a7a3eb21133e5 by Victor Stinner in branch 'master': bpo-38547: Fix test_pty if the process is the session leader (GH-17519) https://github.com/python/cpython/commit/a1838ec2592e5082c75c77888f2a7a3eb21133e5 --

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +16998 pull_request: https://github.com/python/cpython/pull/17520 ___ Python tracker ___ __

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: Ok, I merged my fix to master. The backport to 3.7 and 3.8 will follow quickly. I close the issue. Sorry for the inconvenience ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed __

[issue38673] REPL shows continuation prompt (...) when comment or space entered

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17000 pull_request: https://github.com/python/cpython/pull/17522 ___ Python tracker ___ __

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset b9f4b49c6e525afd6fce02cfc14be52e98a18f67 by Miss Islington (bot) in branch '3.7': bpo-38547: Fix test_pty if the process is the session leader (GH-17519) https://github.com/python/cpython/commit/b9f4b49c6e525afd6fce02cfc14be52e98a18f67 ---

[issue38547] test_pty fails when using setsid()

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset d08fd298dc8d5631f6c504d01ee4f9cfb47db79d by Miss Islington (bot) in branch '3.8': bpo-38547: Fix test_pty if the process is the session leader (GH-17519) https://github.com/python/cpython/commit/d08fd298dc8d5631f6c504d01ee4f9cfb47db79d ---

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes PR GH-17513 does fix the problem. Thanks Mark. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38673] REPL shows continuation prompt (...) when comment or space entered

2019-12-09 Thread Ned Deily
Ned Deily added the comment: New changeset 188d5ae6f047342f3d6860646ccf1a523ef8b0ed by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-38673: dont switch to ps2 if the line starts with comment or whitespace (GH-17421) (GH-17522) https://github.com/python/cpython/commit/188d5ae6f047342f

[issue38916] Remove array.fromstring

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0131aba5ae20d704b972ecd2ef0fc6c9e370a1b3 by Victor Stinner in branch 'master': bpo-38916: array.array: remove fromstring() and tostring() (GH-17487) https://github.com/python/cpython/commit/0131aba5ae20d704b972ecd2ef0fc6c9e370a1b3 --

[issue38916] Remove array.fromstring

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17001 pull_request: https://github.com/python/cpython/pull/17523 ___ Python tracker ___ __

[issue38916] Remove array.fromstring

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: Brett Cannon: "If it was documented as deprecated and raising a deprecation warning then 3.2 is definitely far enough back to warrant removing it." I understood that Brett is in favor of removing it. Raymond Hettinger: "The tostring() method should be handle

[issue39003] test_unparse leaked [35, 5, 6] references: when pass when run again

2019-12-09 Thread STINNER Victor
New submission from STINNER Victor : Sometimes, test_unparse leak references, sometimes it pass. $ ./python -m test -R 3:3 test_unparse (...) test_unparse leaked [35, 5, 6] references, sum=46 (...) Tests result: FAILURE $ ./python -m test -R 3:3 test_unparse (...) Tests result: SUCCESS --

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- title: test_unparse leaked [35, 5, 6] references: when pass when run again -> test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again ___ Python tracker __

[issue39004] test_largefile: test_it() failed on

2019-12-09 Thread STINNER Victor
New submission from STINNER Victor : 0:22:15 load avg: 15.82 [288/420/3] test_largefile failed (11 min 19 sec) -- running: test_capi (2 min 40 sec), test_compileall (3 min 42 sec), test_shelve (14 min 46 sec), test_sax (10 min 4 sec), test_dbm (3 min 36 sec), test_multiprocessing_spawn (13 mi

[issue39004] test_largefile: TestSocketSendfile.test_it() failed on AMD64 Fedora Stable Refleaks 3.x

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Fedora Stable Refleaks 3.x: https://buildbot.python.org/all/#/builders/126/builds/14 -- components: +Tests nosy: +giampaolo.rodola, pablogsal title: test_largefile: test_it() failed on -> test_largefile: TestSocketSendfile.test_it() failed on AM

[issue39005] test_faulthandler: test_dump_traceback_later_file() fails randomly on AMD64 RHEL8 Refleaks 3.x

2019-12-09 Thread STINNER Victor
New submission from STINNER Victor : AMD64 RHEL8 Refleaks 3.x: https://buildbot.python.org/all/#/builders/206/builds/13 The system load was quite high: 12.64. 0:23:25 load avg: 12.64 [283/420/1] test_faulthandler failed (1 min 7 sec) -- running: test_bz2 (8 min 20 sec), test_dbm (12 min 51 se

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is not this test select random files in non-verbose mode? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue10915] Make the PyGILState API compatible with multiple interpreters

2019-12-09 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- nosy: +phsilva ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue15751] Support subinterpreters in the GIL state API

2019-12-09 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- nosy: +phsilva ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue39006] test_ssl: sendfile tests fail on AMD64 Debian root 3.7

2019-12-09 Thread STINNER Victor
New submission from STINNER Victor : Pablo wrote on the buildbot-status mailing list: "It seems that this worker has some bad upgrade to SSL as all branches fail at the same time:" AMD64 Debian root 3.7: https://buildbot.python.org/all/#builders/3/builds/8

[issue39006] test_ssl: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: """ Python build finished successfully! The necessary bits to build these optional modules were not found: _ssl _tkinter _uuid """ The _ssl module was not built on this worker, so why test_ssl was not skipped? -

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: -SSL nosy: -christian.heimes title: test_ssl: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing -> test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing ___ Pytho

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: I don't see test_ssl.py in the logs. test_unix_events.py is failing because it is missing a check for _ssl. -- nosy: +christian.heimes ___ Python tracker

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17002 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17524 ___ Python tracker ___ _

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: Same issue on AMD64 Debian root 3.8: https://buildbot.python.org/all/#builders/162/builds/14 And AMD64 Debian root 3.x: https://buildbot.python.org/all/#builders/225/builds/28 -- versions: +Python 3.8, Python 3.9 _

[issue38987] 3.8.0 on GNU/Linux fails to find shared library

2019-12-09 Thread Kevin Buchs
Kevin Buchs added the comment: No, I didn’t. But I had made no changes, so it should not have needed changing. On Sun, Dec 8, 2019 at 4:59 PM Christian Heimes wrote: > > Christian Heimes added the comment: > > Did you update the ld.so cache with ldconfig? > > -- > nosy: +christian.he

[issue38916] Remove array.fromstring

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0381ea79ac2da03179c8512c581cac588b69cff9 by Victor Stinner in branch '3.8': bpo-38916: Document array.array deprecation (GH-17523) https://github.com/python/cpython/commit/0381ea79ac2da03179c8512c581cac588b69cff9 -- __

[issue38916] Remove array.fromstring

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17003 pull_request: https://github.com/python/cpython/pull/17525 ___ Python tracker ___ __

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sorry, my fault. -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +17004 pull_request: https://github.com/python/cpython/pull/17526 ___ Python tracker ___

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: The patch broke Python builds without ssl support and caused a minor performance regression in hot paths. I changed the code to only perform the check in debug mode. -- resolution: fixed -> stage: resolved -> patch review status: closed -> open _

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: The problem was introduced by https://bugs.python.org/issue37404. I created https://github.com/python/cpython/pull/17526 to fix the problem and address a minor performance regression. -- ___ Python tracker

[issue38916] Remove array.fromstring

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset 21e11383cc59146184da0d69a3f19f004215f9a7 by Miss Islington (bot) in branch '3.7': bpo-38916: Document array.array deprecation (GH-17523) https://github.com/python/cpython/commit/21e11383cc59146184da0d69a3f19f004215f9a7 -- nosy: +miss-i

[issue38916] Remove array.fromstring() and array.tostring() aliases, deprecated since Python 3.2

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: The aliases were deprecated since Python 3.2. It's now time to use the newer names. array.array.fromstring() implictly converted Unicode to UTF-8: $ python3 Python 3.7.5 (default, Oct 17 2019, 12:16:48) >>> import array >>> a=array.array('B') >>> a.fromstrin

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17005 pull_request: https://github.com/python/cpython/pull/17527 ___ Python tracker ___ __

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17006 pull_request: https://github.com/python/cpython/pull/17528 ___ Python tracker ___ __

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 82b4950b5e92bec343a436b3f9c116400b66e1b9 by Victor Stinner in branch 'master': bpo-39006: Fix asyncio when the ssl module is missing (GH-17524) https://github.com/python/cpython/commit/82b4950b5e92bec343a436b3f9c116400b66e1b9 -- _

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: I wrote a fix which was approved by Andrew Svetlov. Andrew prefers my PR than Christian's PR 17526, so I merged my PR instead. See PR 17526 discussion for the rationale. I merged your PR to master, 3.7 and 3.8 backport will automatically follow. I close the

[issue38699] socket: change listen() default backlog from 128 to 4096?

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: > https://github.com/python-trio/trio/blob/master/trio/_highlevel_open_tcp_listeners.py Extract: # A large backlog can also use a bit more kernel memory, but this seems fairly # negligible these days. That's the main question here. Python is used on various

[issue38699] socket: change listen() default backlog from 128 to 4096?

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: gunicorn, tornado, uwsgi, trio are specialized use cases which expect high concurrency. Maybe a tradeoff may be to document the default and suggest different values depending on the use cases, and/or to point to documentation. -- __

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: Anything new here? 3.9.0a2 is due next week. -- nosy: +lukasz.langa ___ Python tracker ___ ___ Pytho

[issue38949] incorrect prefix, exec_prefix in distutils.command.install

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: get_config_vars() defined in distutils.sysconfig sets 'prefix' and 'exec_prefix' using sys.prefix (resp. sys.exec_prefix) on non nt platforms so there is no problem. Closing the issue as not a bug. -- resolution: -> not a bug stage: needs patch -> r

[issue38913] Py_BuildValue("(s#O)", ...) segfaults if entered with exception raised

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: Note: this is going to miss Python 3.8.1 as I'm releasing 3.8.1rc1 right now. Please address this before 3.8.2 (due in February). -- ___ Python tracker __

[issue38856] wait_closed() can raise ConnectionResetError

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: Note: this is going to miss Python 3.8.1 as I'm releasing 3.8.1rc1 right now. Please address this before 3.8.2 (due in February). -- ___ Python tracker __

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset b22183f2738e0e6c23f8c5fb5b232768c184ec96 by Miss Islington (bot) in branch '3.8': bpo-39006: Fix asyncio when the ssl module is missing (GH-17524) https://github.com/python/cpython/commit/b22183f2738e0e6c23f8c5fb5b232768c184ec96 -- nos

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

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: Note: this is going to miss Python 3.8.1 as I'm releasing 3.8.1rc1 right now. Please address this before 3.8.2 (due in February). -- nosy: +lukasz.langa ___ Python tracker __

[issue39006] test_asyncio: sendfile tests fail on AMD64 Debian root 3.7 when _ssl is missing

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset a0078d9a3335a5e99afe97590fdcb8e2f526ed7b by Miss Islington (bot) in branch '3.7': bpo-39006: Fix asyncio when the ssl module is missing (GH-17524) https://github.com/python/cpython/commit/a0078d9a3335a5e99afe97590fdcb8e2f526ed7b -- __

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ab513a38c98695f271e448fe2cb7c5e39eef by Łukasz Langa (Kyle Stanley) in branch 'master': bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (#17311) https://github.com/python/cpython/commit/ab513a38c98695f271e448fe2cb7c5e39ee

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17007 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17529 ___ Python tracker ___ __

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: Note: this is going to miss Python 3.8.1 as I'm releasing 3.8.1rc1 right now. Please address this before 3.8.2 (due in February). -- ___ Python tracker __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17008 pull_request: https://github.com/python/cpython/pull/17530 ___ Python tracker ___ __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset bba873e633f0f1e88ea12fb935cbd58faa77f976 by Mark Dickinson in branch 'master': bpo-38992: avoid fsum test failure from constant-folding (GH-17513) https://github.com/python/cpython/commit/bba873e633f0f1e88ea12fb935cbd58faa77f976 -- __

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 79c29742a8ba96fc933efe34e55e90537b3eb780 by Łukasz Langa (Miss Islington (bot)) in branch '3.8': bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (GH-17311) (#17529) https://github.com/python/cpython/commit/79c29742a8ba96fc93

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: Kyle, I'm releasing 3.8.1rc1 now. Please add the What's New entry before next Monday (3.8.1). -- stage: patch review -> ___ Python tracker ___

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d219cc4180e7589807ebbef7421879f095e72a98 by Łukasz Langa (Yury Selivanov) in branch 'master': bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518) https://github.com/python/cpython/commit/d219cc4180e7589807ebbef7421879f095e72

[issue38673] REPL shows continuation prompt (...) when comment or space entered

2019-12-09 Thread Guido van Rossum
Guido van Rossum added the comment: Ned agreed, it's merged into 3.7, so let's close. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17010 pull_request: https://github.com/python/cpython/pull/17532 ___ Python tracker ___ __

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17009 pull_request: https://github.com/python/cpython/pull/17531 ___ Python tracker ___ __

[issue38673] REPL shows continuation prompt (...) when comment or space entered

2019-12-09 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2019-12-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: As I wrote, I don't think that we should fix the code but the failed uvloop test is slightly weird instead. Maybe I'm wrong, I need to communicate with Yuri anyway. -- ___ Python tracker

[issue38856] wait_closed() can raise ConnectionResetError

2019-12-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sorry, I've missed this issue. I'll address it in a while. -- ___ Python tracker ___ ___ Python-b

[issue38856] wait_closed() can raise ConnectionResetError

2019-12-09 Thread Andrew Svetlov
Change by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue38673] REPL shows continuation prompt (...) when comment or space entered

2019-12-09 Thread Guido van Rossum
Guido van Rossum added the comment: (And I'm giving up on 3.6 and 2.7 as these are close to their end of life.) -- ___ Python tracker ___ _

[issue34793] Remove support for "with (await asyncio.lock):"

2019-12-09 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +17011 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17533 ___ Python tracker ___ _

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Wator Sead
Wator Sead added the comment: All new releases which include an OpenSSL version above 1.1.1 has the same issue. Can anybody fix it? Thanks a lot! -- nosy: +seahoh versions: +Python 3.5, Python 3.8, Python 3.9 ___ Python tracker

[issue38956] argparse.BooleanOptionalAction should not add the default value to the help string by default

2019-12-09 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0d57db27f2c563b6433a220b646b50bdeff8a1f2 by Łukasz Langa (Miss Islington (bot)) in branch '3.8': bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518) (#17531) https://github.com/python/cpython/commit/0d57db27f2c563b6433a22

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 66d7a5d58a88bce312bc4668f2cc54c9488c5bd8 by Łukasz Langa (Miss Islington (bot)) in branch '3.7': bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518) (#17532) https://github.com/python/cpython/commit/66d7a5d58a88bce312bc46

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17012 pull_request: https://github.com/python/cpython/pull/17534 ___ Python tracker ___ __

[issue32312] Create Py_AtExitRegister C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue38829] Make the function flush_io accessible in the C-API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API -IO ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue18697] Unify arguments names in Unicode object C API documentation

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue36346] Prepare for removing the legacy Unicode C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34272] Reorganize C API tests

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35827] C API dictionary views type checkers are not documented

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33592] Document contextvars C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2019-12-09 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- dependencies: +Add timezone support to datetime C API ___ Python tracker ___ ___ Python-bugs-lis

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: > Anything new here? 3.9.0a2 is due next week. I had it in my TODO list but I lost the bpo number. Thanks for the reminder :-) I wrote PR 17534 that I plan to merge as soon as the CI tests pass. -- ___ Python trac

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: The problem is caused by the way how TLS 1.3 works. Select considers a TLS 1.3 socket as readable after the handshake, because there is still data on the line. The server is sending session tickets (usually two) after the handshake has been performed. If y

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset a1a99b4bb7cbe2dbc55a1d92c3c509b4466d3c3b by Victor Stinner in branch 'master': bpo-20443: No longer make sys.argv[0] absolute for script (GH-17534) https://github.com/python/cpython/commit/a1a99b4bb7cbe2dbc55a1d92c3c509b4466d3c3b -- _

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue38987] 3.8.0 on GNU/Linux fails to find shared library

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: On Ubuntu and other Linux distros you must run ldconfig any time you install or change a shared library. Otherwise the dynamic linker won't be able to locate the shared library. I'm able to confirm that python3.8 does not work prior to calling, but works

[issue38987] 3.8.0 on GNU/Linux fails to find shared library

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: ld.so and ldd don't use /etc/ld.so.conf to locate libraries. They use /etc/ld.so.cache, which is created by ldconfig from /etc/ld.so.conf. The cache is typically the first file opened by a dynamically linked binary. # ls -la /usr/local/lib/libpython3.* lrw

[issue36982] Add support for extended color functions in ncurses 6.1

2019-12-09 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +17013 pull_request: https://github.com/python/cpython/pull/17536 ___ Python tracker ___ ___

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
New submission from Steve Dower : The winreg module should have hooks added. -- assignee: steve.dower components: Windows messages: 358119 nosy: christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal stage: needs patch status: open title: Add

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +17014 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17537 ___ Python tracker __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 3c5feaffde1944052830c896ae39c54e76a2e063 by Mark Dickinson (Miss Islington (bot)) in branch '3.8': bpo-38992: avoid fsum test failure from constant-folding (GH-17513) (GH-17530) https://github.com/python/cpython/commit/3c5feaffde1944052830c896ae

  1   2   >