[issue36001] LIBFFI_INCLUDEDIR is not detected when set into a profile nor in ./configure LIBFFI_INCLUDEDIR="path/to/libffi/include"

2019-02-15 Thread neil pop
New submission from neil pop : Hello, I tried making python 3.7.2 on linux mint without libffi set into my LIBFFI_INCLUDEDIR (usr/local/include) but set into my bashsrc which is basically a profile with export LIBFFI_INCLUDEDIR="-Ipath/to/libff/include" however when i try making python after

[issue36000] __debug__ is a keyword but not a keyword

2019-02-15 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm not sure that __debug__ is a proper keyword. Unlike None, if you monkey-patch builtins, you can modify it: py> builtins.__dict__['__debug__'] = 'Surprise!' py> __debug__ 'Surprise!' py> builtins.__dict__['None'] = 'Surprise!' py> None py> And it is

[issue36000] __debug__ is a keyword but not a keyword

2019-02-15 Thread Dan Snider
New submission from Dan Snider : keyword.py is used by stuff like the idle colorizer to help determine if an identifier is considered a keyword but it doesn't identify __debug__ despite the fact that the parser treats it exactly the same as None, True, and False. I could not find a more

[issue35411] FTP tests of test_urllib2net fail on Travis CI: 425 Security: Bad IP connecting.

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11906 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset fe42122d41834746e841b5927154be041fb7afbb by Victor Stinner in branch '3.7': bpo-35746: Credit Colin Read and Nicolas Edet (GH-11864) https://github.com/python/cpython/commit/fe42122d41834746e841b5927154be041fb7afbb --

[issue35986] print() documentation typo?

2019-02-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thanks @cheryl but we need to have a new package of python-docs-theme. -- ___ Python tracker ___

[issue34791] xml package does not obey sys.flags.ignore_environment

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11905 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34791] xml package does not obey sys.flags.ignore_environment

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11904 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35986] print() documentation typo?

2019-02-15 Thread Cheryl Sabella
Cheryl Sabella added the comment: This was fixed with https://github.com/python/python-docs-theme/pull/25 by @matrixise. -- nosy: +cheryl.sabella resolution: remind -> third party stage: -> resolved status: open -> closed versions: +Python 3.8 ___

[issue35999] multpirocessing.Process alive after SIGTERM on parent

2019-02-15 Thread Defert
New submission from Defert : Hello, Using the multiprocessing.Process class on Python 3.5 (untested with other versions), child processes are not killed when the main process is killed. The doc mentions a "daemon" flag

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11903 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11902 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11901 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 826a8b708165796151ad4135b0ddbd79da6d39f1 by Victor Stinner in branch '2.7': bpo-35746: Credit Colin Read and Nicolas Edet (GH-11866) https://github.com/python/cpython/commit/826a8b708165796151ad4135b0ddbd79da6d39f1 --

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11900 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 355f16fd4beb36d6a18f7d0982581c93de015c17 by Victor Stinner in branch 'master': bpo-35746: Credit Colin Read and Nicolas Edet (GH-11863) https://github.com/python/cpython/commit/355f16fd4beb36d6a18f7d0982581c93de015c17 --

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11899 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11897 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11898 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-02-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11896 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29712] --enable-optimizations does not work with --enable-shared

2019-02-15 Thread Stefan Ring
Stefan Ring added the comment: I was having the same problem, and I just found out what it was: Because of -Wl,-rpath=..., this path gets baked into the binary, and LD_LIBRARY_PATH is ignored. So if you have a previous build lying around there, it will mess up the build. -- nosy:

[issue35998] ./python -m test test_asyncio fails

2019-02-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: here is the stderr.txt -- Added file: https://bugs.python.org/file48144/stderr.txt ___ Python tracker ___

[issue35998] ./python -m test test_asyncio fails

2019-02-15 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : == ERROR: test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests) -- Traceback (most recent call

[issue35899] '_is_sunder' function in 'enum' module fails on empty string

2019-02-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Brennan, Normally, you wanted to work on this issue and you have waited for one week after the last message of Maxwell. Do you want to work on this issue and submit your PR? Have a nice day, Stéphane -- ___

[issue28673] pyro4 with more than 15 threads often crashes 2.7.12

2019-02-15 Thread INADA Naoki
INADA Naoki added the comment: I think this issue is fixed by #21963. -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue34235] PyArg_ParseTupleAndKeywords: support required keyword arguments

2019-02-15 Thread Michael Sullivan
Michael Sullivan added the comment: The point about a performance penalty is fair---my PR does add a search for the '@' (which I spelled as '`' in my example above) sigil whenever it encounters a '|'. (Though I'm not sure how big the impact would be? Format strings are small so a quick scan

[issue35810] Object Initialization does not incref Heap-allocated Types

2019-02-15 Thread Christian Tismer
Christian Tismer added the comment: Thanks for including me here! We have indeed converted everything to new style types but saw no refcount problems, yet. This will probably come after the patch. We will add an issue to the tracker for Python 3.8. --

[issue35808] Let's retire pgen

2019-02-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I didn't look at the PR yet, but this is a wonderful idea. I planned to do this just after rewriting generators of token-related data and code in Python (issue30455), but Pablo has overfoot me. Great! -- nosy: +serhiy.storchaka

[issue35996] Optional modulus argument for new math.prod() function

2019-02-15 Thread Berry Schoenmakers
Berry Schoenmakers added the comment: I had the same reservations but after rethinking it several times concluded that the modulus argument would fit really well. Indeed, Mathematica doesn't support the Modulus option for the Product[] function. But they don't even support it for the

[issue34235] PyArg_ParseTupleAndKeywords: support required keyword arguments

2019-02-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I thought about this variant. The problem is that you need to scan the format string to the end to determine whether arguments following $ are optional or not. This adds performance penalty for all existing uses of PyArg_ParseTupleAndKeywords() with $.

[issue31829] Portability issues with pickle

2019-02-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31829] Portability issues with pickle

2019-02-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have simplified the PR. Removed the complex code for detecting pickles written to files in text mode on Windows and for adding optional marks for correct detecting. Currently it does only two things: * Escapes \r, \0 and \x1a (end-of-file on Windows)

<    1   2