[issue43683] Handle generator (and coroutine) state in the bytecode.

2021-10-27 Thread Mark Shannon
Mark Shannon added the comment: Just to be clear, it is the behavior change that should be reverted, not necessarily the new bytecode. In fact we should probably push on with (2) and add an exception handler wrapping the whole generator except the GEN_START. That way a GEN_START exception

[issue45623] static build is broken

2021-10-27 Thread egorpugin
New submission from egorpugin : Static build is not working any more since 3.10. 'winver' member is only defined with dll build. See master - 'winver' call which is not available for windows+static build. https://github.com/python/cpython/blob/main/Lib/site.py#L292 See 3.9 file - no 'winver'

[issue43683] Handle generator (and coroutine) state in the bytecode.

2021-10-27 Thread Mark Shannon
Change by Mark Shannon : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43683] Handle generator (and coroutine) state in the bytecode.

2021-10-27 Thread Mark Shannon
Mark Shannon added the comment: Damien, thanks for catching this. The change was not intended. There are two kind of exceptions raised by send. 1. Where a pre-condition is not met, e.g. a generator is already ruuning (caller errors) 2. When the generator/coroutine raises an exception

[issue45622] BlockingIOError: [Errno 11] Resource temporarily unavailable when performing SSL handshake on Solaris

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the detailed bug report. Since the code works on Linux and other platforms as well as OpenSSL 1.0.2, it is likely a platform bug or a platform-specific issue with OpenSSL. Unfortunately I don't know how to investigate this issue. --

[issue45388] Use JUMP_FORWARD for all forward jumps.

2021-10-27 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44511] Improve the bytecode for mapping patterns

2021-10-27 Thread Mark Shannon
Mark Shannon added the comment: New changeset 82a662e5216a9b3969054c540a759a9493468510 by Brandt Bucher in branch 'main': bpo-44511: Improve the bytecode for class and mapping patterns (GH-26922) https://github.com/python/cpython/commit/82a662e5216a9b3969054c540a759a9493468510 --

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Sonia
Sonia added the comment: It shows the drug ad slogan even with the google search result. I searched 'The Perils of Floating Point lahey' -- Added file: https://bugs.python.org/file50395/截圖 2021-10-27 下午5.02.02.png ___ Python tracker

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Sonia
Sonia added the comment: I was redirect to https://www.hmbags.tw so is this my internet problem? -- ___ Python tracker ___ ___

[issue45622] BlockingIOError: [Errno 11] Resource temporarily unavailable when performing SSL handshake on Solaris

2021-10-27 Thread Florin Spătar
New submission from Florin Spătar : Trying to connect to an uWSGI (or any other) server, from Solaris, will fail with the following error: -bash-3.00# /opt/opsware/agent/bin/python3 client.py /tmp/client.py:9: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context =

[issue42738] subprocess: don't close all file descriptors by default (close_fds=False)

2021-10-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Gregory P. Smith wrote: > A higher level "best practices for launching child processes module" with > APIs reflecting explicit intents (performance vs security vs simplicity) > rather than requiring users to understand subprocess platform specific >

[issue42545] Check that all symbols in the limited ABI are exported

2021-10-27 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Pablo, can this be closed? -- nosy: +erlendaasland ___ Python tracker ___ ___

[issue45621] Small fixes to mmap

2021-10-27 Thread Tim Golden
New submission from Tim Golden : Following issue40915 a few small items still need to be addressed, mostly cosmetic / naming: * A comment should have been removed but wasn't * A comment should have been added but wasn't * The use of the string "TEST" should be avoided in tests particularly

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Dennis Sweeney
Dennis Sweeney added the comment: I was unable to replicate this. I see the correct article "The Perils of Floating Point" at lahey.com/float.htm. Is the site still incorrect for you, or did the Lahey site fix the issue? -- assignee: -> docs@python components: +Documentation nosy:

[issue42738] subprocess: don't close all file descriptors by default (close_fds=False)

2021-10-27 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > As a concrete example, we have a (non-Python) build system and task runner > that orchestrates many tasks to run in parallel. Some of those tasks end up > invoking Python scripts that use subprocess.run() to run other programs. Our > task runner

<    1   2