[issue40265] argparse.Namespace __repr__ does not handle reserved keywords

2020-04-12 Thread Saiyang Gou
Saiyang Gou added the comment: > The primary function of the Namespace class is to hold valid attributes and > to allow the dot operator to access those attributes. I acknowledge this. Invalid attribute names are not useful in production. However, some crazy people like me would define

[issue40269] Inconsistent complex behavior with (-1j)

2020-04-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: Would we be willing to consider an enhancement to have complex numbers always display using float format rather than ints? 1+1j --> 1.0+1.0j We could still suppress an unsigned real zero: 1j --> 1.0j but negative zero would show: -(1j) -->

[issue40265] argparse.Namespace __repr__ does not handle reserved keywords

2020-04-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM this a purely theoretical problem since "ns.return" is already a syntax error. The primary function of the Namespace class is to hold valid attributes and to allow the dot operator to access those attributes. Handling invalid attribute names is

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
Ruben added the comment: I just tested on a fresh macOS 10.15.3 Virtual Machine (on the same host machine as the one of previous messages) and I can reproduce the problem: 1. Install Command Line Tools (xcode-build --install) 2. Download Python 3.8.1 3. Extract tarball 4. Create a file

[issue40269] Inconsistent complex behavior with (-1j)

2020-04-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs for complex literals¹ could be improved to show that: -1j is interpreted as -complex(0.0, 1.0) giving a real component of -0.0 and an imaginary component of -1.0 and that: 0-1j is interpreted as 0.0-complex(0.0, 1.0) giving a

[issue40269] Inconsistent complex behavior with (-1j)

2020-04-12 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40268] Reorganize pycore_pystate.h header

2020-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset da7933ecc30e37b119756cb02b89a6ad99db22e0 by Victor Stinner in branch 'master': bpo-40268: Add _PyInterpreterState_GetConfig() (GH-19492) https://github.com/python/cpython/commit/da7933ecc30e37b119756cb02b89a6ad99db22e0 --

[issue40241] [C API] Make PyGC_Head structure opaque, or even move it to the internal C API

2020-04-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18847 pull_request: https://github.com/python/cpython/pull/19494 ___ Python tracker ___

[issue40268] Reorganize pycore_pystate.h header

2020-04-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18846 pull_request: https://github.com/python/cpython/pull/19493 ___ Python tracker ___

[issue40269] Inconsistent complex behavior with (-1j)

2020-04-12 Thread Josh Rosenberg
Josh Rosenberg added the comment: The final entry is identical to the second to last, because ints have no concept of -0. If you used a float literal, it would match the first two: >>> -0.-1j (-0-1j) I suspect the behavior here is due to -1j not actually being a literal on its own; it's

[issue40268] Reorganize pycore_pystate.h header

2020-04-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18845 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19492 ___ Python tracker ___

[issue40234] Disallow daemon threads in subinterpreters optionally.

2020-04-12 Thread STINNER Victor
STINNER Victor added the comment: Victor (me!): > Well, this large problem sounds very complex and is made of multiple small > issues. Kyle: > (...) Should we consider making `threading._register_atexit()` public? It seems like there is an use case for calling callbacks before Python calls

[issue40269] Inconsistent complex behavior with (-1j)

2020-04-12 Thread Rushil Udani
New submission from Rushil Udani : In a Python REPL: >>> -1j (-0-1j) >>> (-1j) (-0-1j) >>> 0-1j -1j >>> -0-1j -1j This is clearly inconsistent behavior! -1j and (-1j) should report as -1j, as the other two do. -- components: Interpreter Core messages: 366276 nosy: rushilu priority:

[issue39865] getattr silences an unrelated AttributeError

2020-04-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: My instincts are to leave this alone and not gum up heavily trafficked core business logic. I don't like the external calls, the extra increfs and decrefs (and possible rentrancy issues), performance impact, or the pattern of holding the exception

[issue40268] Reorganize pycore_pystate.h header

2020-04-12 Thread STINNER Victor
New submission from STINNER Victor : Over the time, pycore_pystate.h header file becomes more and more complex. It exposes too many internals whereas most consumers only need basic functions like _PyThreadState_GET(). I plan to use this issue as a placeholder for changes to reorganize

[issue40267] Error message differs when an expression is in an fstring

2020-04-12 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: It seems that this is actually a bit bigger than this and it is not specific to f-strings. The error message *always* changes to `unexpected EOF while parsing` if there is an error with the last character of the input and no newline follows. For

[issue40267] Error message differs when an expression is in an fstring

2020-04-12 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : There are cases, where the error message differs, when an expression is being parsed inside an fstring. For example: >>> f'{x+}' File "", line 1 (x+) ^ SyntaxError: unexpected EOF while parsing >>> (x+) File "", line 1 (x+) ^

[issue40234] Disallow daemon threads in subinterpreters optionally.

2020-04-12 Thread Kyle Stanley
Kyle Stanley added the comment: > So if you are going to eliminate daemon threads (even if only in sub > interpreters at this point), you are going to have to introduce a way to > register something similar to an atexit callback which would be invoked > before waiting on non daemon threads,

[issue37266] Daemon threads must be forbidden in subinterpreters

2020-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 14d5331eb5e6c38be12bad421bd59ad0fac9e448 by Victor Stinner in branch 'master': bpo-40234: Revert "bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049)" (GH-19456)

[issue40234] Disallow daemon threads in subinterpreters optionally.

2020-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 14d5331eb5e6c38be12bad421bd59ad0fac9e448 by Victor Stinner in branch 'master': bpo-40234: Revert "bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049)" (GH-19456)

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
Change by Ray Donnelly : -- keywords: +patch Added file: https://bugs.python.org/file49057/-Fix-off-by-one-error-in-_winapi_WaitForMultipleObjec.patch ___ Python tracker

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
Change by Ray Donnelly : Removed file: https://bugs.python.org/file49056/-bpo-26903-Limit-ProcessPoolExecutor-to-61-workers-on-Windows.patch.ref ___ Python tracker ___

[issue40218] sys.executable is a false path if python is executed from gdb

2020-04-12 Thread Volker Weißmann
Volker Weißmann added the comment: Ok, thank you. I hope that the gdb guys will respon -- ___ Python tracker ___ ___

[issue40264] List item inside tuple seemingly allows for item assignment even after throwing error

2020-04-12 Thread Eric V. Smith
Eric V. Smith added the comment: This isn't a bug. See the FAQ: https://docs.python.org/3/faq/programming.html#why-does-a-tuple-i-item-raise-an-exception-when-the-addition-works -- nosy: +eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed

[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-12 Thread Anthony Sottile
New submission from Anthony Sottile : Haven't yet bisected, but noticed this in the nightly builds I provide for ubuntu deadsnakes https://github.com/deadsnakes/nightly -- I believe it to be this patch so I've added to nosy: https://github.com/python/cpython/pull/19082 Both python3.8 and

[issue40264] List item inside tuple seemingly allows for item assignment even after throwing error

2020-04-12 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40265] argparse.Namespace __repr__ does not handle reserved keywords

2020-04-12 Thread Saiyang Gou
New submission from Saiyang Gou : It is generally a convention to design the repr string such that `eval(repr(obj))` can reproduce the object. Issue 24360 handles the special situation when arg name passed to `argparse.Namespace` is not a valid identifier: >>> from argparse import Namespace

[issue40264] List item inside tuple seemingly allows for item assignment even after throwing error

2020-04-12 Thread Rahul B
New submission from Rahul B : Even though item assignment throws error, the list inside tuple 'a' gets modified in place. Refer below, where the list value [8] gets added to the list value [5,6,7,7] at a[3] >>> a (2, 3, 4, [5, 6, 7, 7], 1) >>> id(a[3]) 140531212178376 >>> a[3]+=[8] Traceback

[issue39953] Let's update ssl error codes

2020-04-12 Thread miss-islington
miss-islington added the comment: New changeset f35e7d3bb0488a15cbb45ff10f02be558a3777cd by Miss Islington (bot) in branch '3.8': closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490) https://github.com/python/cpython/commit/f35e7d3bb0488a15cbb45ff10f02be558a3777cd

[issue39953] Let's update ssl error codes

2020-04-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 909b87d2bb3d6330d39c48e43f7f50f4d086cc41 by Benjamin Peterson in branch 'master': closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490) https://github.com/python/cpython/commit/909b87d2bb3d6330d39c48e43f7f50f4d086cc41

[issue39953] Let's update ssl error codes

2020-04-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +18843 pull_request: https://github.com/python/cpython/pull/19491 ___ Python tracker ___

[issue39953] Let's update ssl error codes

2020-04-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18842 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/19490 ___ Python tracker ___

[issue39953] Let's update ssl error codes

2020-04-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sorry, I thought I had tested with multissl. On Sun, Apr 12, 2020, at 06:22, Christian Heimes wrote: > > Christian Heimes added the comment: > > The PR broke backwards compatibility with OpenSSL 1.0.2 and LibreSSL. > OpenSSL 1.1.x introduced new error

[issue40246] Different error messages for same error - invalid string prefixes

2020-04-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40246] Different error messages for same error - invalid string prefixes

2020-04-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 41d5b94af44e34ac05d4cd57460ed104ccf96628 by Lysandros Nikolaou in branch 'master': bpo-40246: Report a better error message for invalid string prefixes (GH-19476)

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
Ray Donnelly added the comment: See my proposed patch. I am happy to make a PR on github for this too if people agree it's the right fix. -- Added file: https://bugs.python.org/file49056/-bpo-26903-Limit-ProcessPoolExecutor-to-61-workers-on-Windows.patch.ref

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
New submission from Ray Donnelly : See attached reproducer -- components: Interpreter Core, Windows files: ppe.py messages: 366258 nosy: Ray Donnelly, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Follow on bug from

[issue40260] modulefinder traceback regression starting on Windows

2020-04-12 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +18841 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19488 ___ Python tracker

[issue40262] SSL recv_into requires the object to implement __len__ unlike socket one

2020-04-12 Thread tzickel
New submission from tzickel : I am writing this as a bug, as I have an object which implements the buffer protocol but not the __len__. SSL's recv_into seems to require the buffer object to implement __len__, but this is unlike the socket recv_into which uses the buffer protocol length.

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: Thanks for the fix, Oren! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 096e41aa4e558b28b7260fe01eb21414b1458b20 by Miss Islington (bot) in branch '3.7': [3.7] bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19487)

[issue34722] Non-deterministic bytecode generation

2020-04-12 Thread Jeffery To
Change by Jeffery To : -- nosy: +jefferyto ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +18840 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/19487 ___ Python tracker ___

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: Let's add it to the last bug fix release of 3.7 as well. It fixes a crash bug, after all. -- stage: patch review -> backport needed versions: +Python 3.7 ___ Python tracker

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +18839 pull_request: https://github.com/python/cpython/pull/19486 ___ Python tracker ___

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 61511488cf4e7a1cb57a38efba7e0a84a387fe58 by Miss Islington (bot) in branch '3.8': bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19485)

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +18838 pull_request: https://github.com/python/cpython/pull/19485 ___ Python tracker

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 402e1cdb132f384e4dcde7a3d7ec7ea1fc7ab527 by Oren Milman in branch 'master': bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997)

[issue13743] xml.dom.minidom.Document class is not documented

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: A first PR was applied, but I'll leave this ticket open since it changes nothing for the "Document" class. :) -- versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___

[issue40255] Fixing Copy on Writes from reference counting

2020-04-12 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13743] xml.dom.minidom.Document class is not documented

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 63e5b59c06fc99f95d274e7f181296e094cc3ee7 by Alex Itkes in branch 'master': bpo-13743: Add some documentation strings to xml.dom.minidom (GH-16355) https://github.com/python/cpython/commit/63e5b59c06fc99f95d274e7f181296e094cc3ee7 --

[issue40259] re.Scanner groups

2020-04-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Copy paste of the contents in the text file In the re module there is an experimental feature called Scanner. Some unexpected behavior was found while working with it. Here is an example: >>> re.Scanner([('\w+=(\d+);', lambda s,g:

[issue31758] various refleaks in _elementtree, and crashes when using an uninitialized XMLParser object

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: This has been pending for a while too long, but the fixes look good to me. They should still go at least into Py3.8 and later. -- versions: +Python 3.8, Python 3.9 -Python 2.7, Python 3.6, Python 3.7 ___ Python

[issue32476] Add concat functionality to ElementTree xpath find

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: I think the use case of quote escaping is too niche for a feature like concat(), where I (at least) would expect to be able to dynamically concatenate text content, not just constant strings. There seem to be at least a few alternatives to the usage of

[issue24341] Test suite emits many DeprecationWarnings about sys.exc_clear() when -3 is enabled

2020-04-12 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: Also see the later fix in issue 39011, where the EOL normalisation in attribute text was removed again. This change was applied in Py3.9. -- ___ Python tracker

[issue39011] ElementTree attributes replace "\r" with "\n"

2020-04-12 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 5fd8123dfdf6df0a9c29363c8327ccfa0c1d41ac by mefistotelis in branch 'master': bpo-39011: Preserve line endings within ElementTree attributes (GH-18468) https://github.com/python/cpython/commit/5fd8123dfdf6df0a9c29363c8327ccfa0c1d41ac --

[issue39011] ElementTree attributes replace "\r" with "\n"

2020-04-12 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue11395] print(s) fails on Windows with long strings

2020-04-12 Thread Eryk Sun
Eryk Sun added the comment: > the problem (or at least with these numbers) occurs only when > the code is saved in a script, and this is run by double- > clicking the file The .py file association is probably using a different version of Python, or it's associated with the py launcher and

[issue37985] WFERR_UNMARSHALLABLE breaks recursion limit

2020-04-12 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39943] Meta: Clean up various issues in C internals

2020-04-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8f87eefe7f0576c05c488874eb9601a7a87c7312 by Serhiy Storchaka in branch 'master': bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. (GH-19472)

[issue40126] Incorrect error handling in unittest.mock

2020-04-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 3.5 and 3.6 are in security fixes only mode, and this issue is not a security issue. After merging PR 19484 I cannot reproduce the original issue anymore. I left this issue open for the case if I find a way to write tests for the merged changes.

[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-04-12 Thread Cajetan Rodrigues
Cajetan Rodrigues added the comment: For the record, I submitted a fix to the dependent: https://github.com/boto/botocore/pull/2015 -- nosy: +Cajetan Rodrigues ___ Python tracker

[issue40126] Incorrect error handling in unittest.mock

2020-04-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ee249d798ba08f065efbf4f450880a446c6ca49d by Serhiy Storchaka in branch '3.8': [3.8] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) (GH-19483)

[issue40126] Incorrect error handling in unittest.mock

2020-04-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4057e8f9b56789223a1e691d7601003aceb84ad1 by Serhiy Storchaka in branch '3.7': [3.7] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) (GH-19484)

[issue40253] Fix .py(w) file association with Pyhon 3 Windows installer

2020-04-12 Thread Eryk Sun
Eryk Sun added the comment: > I understand that py.exe is at least in part used to make handling > multiple python versions easier. On the command line the launcher supports multiple installed versions via the "-X[.Y][-32|-64]" option. In scripts it supports multiple versions via virtual

[issue11395] print(s) fails on Windows with long strings

2020-04-12 Thread Adam Bartoš
Adam Bartoš added the comment: I've been hit by this issue recently. On my configuration, print("a" * 10215) fails with an infinite loop of OSErrors (WinError 8). This even cannot by interrupted with Ctrl-C nor the exception can be catched. - print("a" * 10214) is fine - print("a" * 10215)

[issue40126] Incorrect error handling in unittest.mock

2020-04-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +18837 pull_request: https://github.com/python/cpython/pull/19484 ___ Python tracker ___

[issue37985] WFERR_UNMARSHALLABLE breaks recursion limit

2020-04-12 Thread hai shi
hai shi added the comment: If I understand correctly, `p->depth--` associated with `p->error` could be removed? -- ___ Python tracker ___

[issue37985] WFERR_UNMARSHALLABLE breaks recursion limit

2020-04-12 Thread hai shi
Change by hai shi : -- keywords: +patch nosy: +shihai1991 nosy_count: 2.0 -> 3.0 pull_requests: +18836 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19482 ___ Python tracker

[issue39953] Let's update ssl error codes

2020-04-12 Thread Christian Heimes
Christian Heimes added the comment: The PR broke backwards compatibility with OpenSSL 1.0.2 and LibreSSL. OpenSSL 1.1.x introduced new error codes or reused existing numbers for different errors codes. Although OpenSSL 1.0.2 has reached EOL we should keep keep Python 3.8 and 3.9 compatible

[issue40126] Incorrect error handling in unittest.mock

2020-04-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +18835 pull_request: https://github.com/python/cpython/pull/19483 ___ Python tracker ___

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
Ruben added the comment: Sorry, the error was missing, well, the actual error: ``` /opt/local/bin/ranlib: file: libpython3.8.a(dynamic_annotations.o) has no symbols /opt/local/bin/ranlib: file: libpython3.8.a(pymath.o) has no symbols gcc -Wl,-stack_size,100 -framework

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
Change by Ruben : Added file: https://bugs.python.org/file49053/make.log.gz ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
Change by Ruben : Added file: https://bugs.python.org/file49054/make.venv.log.gz ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
Change by Ruben : Added file: https://bugs.python.org/file49052/make.venv.log.gz ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
Change by Ruben : Added file: https://bugs.python.org/file49051/make.py.venv2.log.gz ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40261] Build of Python where make is called from subprocess, within a virtualenv, breaks on macOS

2020-04-12 Thread Ruben
New submission from Ruben : This problem is driving me crazy. I'm working with a library (python-for-android) that builds python during a build process. Now, during this process, the classical workflow with `./configure` and `make` is being called from a subprocess. To try to isolate the

[issue40221] Use new _at_fork_reinit() lock method in multiprocessing

2020-04-12 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40253] Fix .py(w) file association with Pyhon 3 Windows installer

2020-04-12 Thread virtualnobi
virtualnobi added the comment: Eryk, I installed from python.org (didn't even know that it would be available from Microsoft Store). Nevertheless, I don't find py.exe. Should it be installed besides python.exe? If not, where else? I understand that py.exe is at least in part used to make

[issue40260] modulefinder traceback regression starting on Windows

2020-04-12 Thread SilentGhost
Change by SilentGhost : -- nosy: +brandtbucher stage: -> needs patch type: -> behavior ___ Python tracker ___ ___

[issue40257] Improve the use of __doc__ in pydoc

2020-04-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Inheritance of docstrings was added in issue15582. It works good for class members, but I now realized that doing it for class itself was a mistake. For example: >>> import wave >>> help(wave.Error) Help on class Error in module wave: class

[issue39953] Let's update ssl error codes

2020-04-12 Thread hai shi
hai shi added the comment: Got some compiling error of _ssl extension module in my vm after PR19082 merged: building '_ssl' extension gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -fPIC -I./Include -I. -I/usr/local/include -I/temp/shihai/cpython/Include -I/temp/shihai/cpython -c

[issue40257] Improve the use of __doc__ in pydoc

2020-04-12 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: FWIW I like the idea. There are many objects in typing module that are not classes, it would be great to display docs for them. -- ___ Python tracker

[issue40260] modulefinder traceback regression starting on Windows

2020-04-12 Thread Barry Alan Scott
New submission from Barry Alan Scott : modulefinder.py does not open source files in "rb" which prevents compile() from applying the encoding rules. This first showed up for me on Windows with Python 3.8. Here is my test case and the results on Windows with 3.8. import modulefinder with

[issue40259] re.Scanner groups

2020-04-12 Thread Dennis Chronopoulos
Change by Dennis Chronopoulos : Added file: https://bugs.python.org/file49049/re.Scanner.txt ___ Python tracker ___ ___ Python-bugs-list

[issue40259] re.Scanner groups

2020-04-12 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Please add a description of the issue you are facing with a simple script of the behavior. -- nosy: +xtreak ___ Python tracker

[issue40259] re.Scanner groups

2020-04-12 Thread Dennis Chronopoulos
Change by Dennis Chronopoulos : -- components: Regular Expressions nosy: dchron, ezio.melotti, mrabarnett priority: normal severity: normal status: open title: re.Scanner groups type: behavior versions: Python 3.8 ___ Python tracker