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

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 87a4cd5fbebdd0e6166b421d2c3706bc2f2e5a11 by Serhiy Storchaka in branch '3.8': bpo-38410: Properly handle PySys_Audit() failures (GH-18658) https://github.com/python/cpython/commit/87a4cd5fbebdd0e6166b421d2c3706bc2f2e5a11 --

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

2020-03-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> crash versions: +Python 3.9 ___ Python tracker ___ __

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

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a7b8a969eb3daacb1fcb029a8c5fecb5d09c964b by Serhiy Storchaka in branch '3.8': [3.8] bpo-38913: Fix segfault in Py_BuildValue("(sGH-O)", ...) if entered with exception raised. (GH-18656). (GH-18732) https://github.com/python/cpython/commit/a7b

[issue39495] xml.etree.ElementTree.TreeBuilder.start differs between pure Python and C implementations

2020-03-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___ __

[issue39822] Use NULL instead of None for empty attrib in C implementation of Element

2020-03-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18092 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18735 ___ Python tracker ___

[issue38971] codecs.open leaks file descriptor when invalid encoding is passed

2020-03-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +18091 pull_request: https://github.com/python/cpython/pull/18734 ___ Python tracker ___ __

[issue38971] codecs.open leaks file descriptor when invalid encoding is passed

2020-03-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +18090 pull_request: https://github.com/python/cpython/pull/18733 ___ Python tracker _

[issue39822] Use NULL instead of None for empty attrib in C implementation of Element

2020-03-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently None is used instead of an empty directory for the attrib field in the C implementation of Element in ElementTree. It is a pure optimization: an empty dict takes a memory and its creation has a cost. The proposed PR makes NULL be using instead

[issue39753] inspecting a partial with bound keywords gives incorrect signature

2020-03-01 Thread Chris Withers
Chris Withers added the comment: Not sure I understand your comment. The results of calling inpsect on a partial with bound keyword parameters are incorrect. Furthermore, it is surprisingly that partial objects don't maintain their own __signature__. What is it you're suggesting? -

[issue39378] partial of PickleState struct should be traversed.

2020-03-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker ___ __

[issue39378] partial of PickleState struct should be traversed.

2020-03-01 Thread miss-islington
miss-islington added the comment: New changeset 5f2ade20a556f8c20555c7032436477d6dc86d4f by Miss Islington (bot) in branch '3.8': bpo-39378: partial of PickleState struct should be traversed. (GH-18046) https://github.com/python/cpython/commit/5f2ade20a556f8c20555c7032436477d6dc86d4f --

[issue39378] partial of PickleState struct should be traversed.

2020-03-01 Thread miss-islington
miss-islington added the comment: New changeset d3c24350892b55b4ea6fb81b84e577968c1f2f91 by Miss Islington (bot) in branch '3.7': bpo-39378: partial of PickleState struct should be traversed. (GH-18046) https://github.com/python/cpython/commit/d3c24350892b55b4ea6fb81b84e577968c1f2f91 --

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

2020-03-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +18089 pull_request: https://github.com/python/cpython/pull/18732 ___ Python tracker ___

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

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 28d0bcac8b7e6dbd28311f1283dabb6a4d649fcb by Serhiy Storchaka in branch 'master': bpo-38913: Fix segfault in Py_BuildValue("(s#O)", ...) if entered with exception raised. (GH-18656) https://github.com/python/cpython/commit/28d0bcac8b7e6dbd2831

[issue38971] codecs.open leaks file descriptor when invalid encoding is passed

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2565edec2c974b2acca03b4cc5025e83f903ddd7 by Chris A in branch 'master': bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666) https://github.com/python/cpython/commit/2565edec2c974b2acca03b4cc5025e83f903ddd7 --

[issue39495] xml.etree.ElementTree.TreeBuilder.start differs between pure Python and C implementations

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4edc95cf0a2960431621eee9bc194f6225f1690b by Shantanu in branch 'master': bpo-39495: Remove default value from C impl of TreeBuilder.start (GH-18275) https://github.com/python/cpython/commit/4edc95cf0a2960431621eee9bc194f6225f1690b --

[issue39378] partial of PickleState struct should be traversed.

2020-03-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +18088 pull_request: https://github.com/python/cpython/pull/18731 ___ Python tracker ___ __

[issue39378] partial of PickleState struct should be traversed.

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1f577ce363121d590b51abf5c41d1bcf3d751436 by Hai Shi in branch 'master': bpo-39378: partial of PickleState struct should be traversed. (GH-18046) https://github.com/python/cpython/commit/1f577ce363121d590b51abf5c41d1bcf3d751436 -- __

[issue39378] partial of PickleState struct should be traversed.

2020-03-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +18087 pull_request: https://github.com/python/cpython/pull/18730 ___ Python tracker _

[issue39816] More descriptive error message than "too many values to unpack"

2020-03-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue39814] Hyphens not generated for split-words in a "note" directive

2020-03-01 Thread Zachary Ware
Zachary Ware added the comment: Is this not a Sphinx issue? -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39645] Expand concurrent.futures.Future's public API

2020-03-01 Thread Kyle Stanley
Kyle Stanley added the comment: > But note my response to Antoine at the time, mentioning that implementing > ‘as_completed()’ is impossible that way. Antoine then backtracked somewhat. Ah, I had seen that but for some reason hadn't considered that Antoine might have also changed his stance on

[issue26460] datetime.strptime without a year fails on Feb 29

2020-03-01 Thread Nick Moore
Nick Moore added the comment: I suspect this is going to come up about this time of every leap year :-/ The workaround is prepending "%Y " to the pattern and eg: "2020 " to the date string, but that's not very nice. Would adding a kwarg "default_year" be an acceptable solution? I can't think

[issue39816] More descriptive error message than "too many values to unpack"

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Chris and Kyle. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs

[issue39645] Read approximate state of concurrent.futures.Future

2020-03-01 Thread Guido van Rossum
Guido van Rossum added the comment: But note my response to Antoine at the time, mentioning that implementing ‘as_completed()’ is impossible that way. Antoine then backtracked somewhat. -- ___ Python tracker ___

[issue39807] Python38 installed in wrong directory on Windows

2020-03-01 Thread Zachary Ware
Zachary Ware added the comment: That almost certainly means you were installing the 32-bit version of Python. 32-bit processes see `C:\Program Files (x86)\` as `C:\Program Files\`; I no longer remember whether they can actually see the real `C:\Program Files\` at all. -- resolution

[issue39645] Read approximate state of concurrent.futures.Future

2020-03-01 Thread Kyle Stanley
Kyle Stanley added the comment: > I’m a bit disappointed, since it looks like this won’t allow implementing the > OP’s classes without using private APIs. The debugging and loggin use cases > aren’t very compelling to me. Yeah, I had every intention when I initially proposed the idea on the

[issue36144] Dictionary union. (PEP 584)

2020-03-01 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +18086 pull_request: https://github.com/python/cpython/pull/18729 ___ Python tracker ___ ___

[issue39821] grp library functions grp.getgrnam() & grp.getgrgid() returning incorrect gr_mem information

2020-03-01 Thread Abhishek
Abhishek added the comment: I also observed now that it works on other distro. On red hat enterprise linux (rhel) 7.7, I a, getting the correct output. The bug which I have raised was tested on rhel 8.2. [root@biplab2 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.2 Beta (Oot

[issue39645] Read approximate state of concurrent.futures.Future

2020-03-01 Thread Guido van Rossum
Guido van Rossum added the comment: I’m a bit disappointed, since it looks like this won’t allow implementing the OP’s classes without using private APIs. The debugging and loggin use cases aren’t very compelling to me. -- ___ Python tracker

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-01 Thread Philip Lee
Philip Lee added the comment: To reproduce the reported issue, one could also test with ffmpeg.exe -- ___ Python tracker ___ ___ Py

[issue39821] grp library functions grp.getgrnam() & grp.getgrgid() returning incorrect gr_mem information

2020-03-01 Thread Ammar Askar
Ammar Askar added the comment: I can't re-create this locally (tested on master and 3.5.2): ammar@cowlick:~/cpython$ getent group | grep testgroup testgroup:x:1008:ammar,root ammar@cowlick:~/cpython$ ./python Python 3.9.0a4+ (heads/master:02a4d57, Feb 27 2020, 01:54:32) [GCC 5.4.0 20

[issue39645] Read approximate state of concurrent.futures.Future

2020-03-01 Thread Kyle Stanley
Kyle Stanley added the comment: > This leaves just future.state() and having the states as publicly accessible > module-level constants. After reading over the python-ideas again and having some time to reflect, I think we can start with just adding future.state(), as that had the most value

[issue39821] grp library functions grp.getgrnam() & grp.getgrgid() returning incorrect gr_mem information

2020-03-01 Thread Abhishek
New submission from Abhishek : If root user is part of a linux group, then in the response of getgrnam() & grp.getgrid(), in te gr_mem part, root user is not listed. [root@biplab2 ~]# getent group | grep starwars starwars:x:1011:root,abhi [root@biplab2 ~]# python3 Python 3.6.8 (default, Dec

[issue39199] Improve the AST documentation

2020-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 114081f8adafa16283df30c456716a1bef4758d0 by Pablo Galindo in branch 'master': bpo-39199: Add descriptions of non-deprecated nodes to the AST module documentation (GH-17812) https://github.com/python/cpython/commit/114081f8adafa16283df30c

[issue39794] Add --without-decimal-contextvar option to use just threads in decimal

2020-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for the backport. A build option isn't new feature, but it does provide a debugging tool and work-around for people who are having problems. -- ___ Python tracker __

[issue39815] functools.cached_property() not included in __all__

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

[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 12b714391e485d0150b343b114999bae4a0d34dd by Pablo Galindo in branch '3.8': [3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728) https://github.com/python/cpython/commit/12b714391e485d0150b343b114999bae4a0d34dd -- _

[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 3.0 -> 4.0 pull_requests: +18085 pull_request: https://github.com/python/cpython/pull/18728 ___ Python tracker ___

[issue39820] Bracketed paste mode for REPL

2020-03-01 Thread Marco Sulla
New submission from Marco Sulla : I suggest to add an implementation of bracketed paste mode in the REPL. Currently if you, for example, copy & paste a piece of Python code to see if it works, if the code have a blank line without indentation and the previous and next line are indented, REPL

[issue39817] CRITICAL: TypeError: cannot pickle 'generator'

2020-03-01 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Oscar, can you attach a small program that reproduce the error? It's probable that the error is in your code and not in Python. -- nosy: +remi.lapeyre -paul.moore, steve.dower, tim.golden, zach.ware ___ Python trac

[issue39819] NULL pointer crash in Modules/_cursesmodule.c in PyInit__curses() on MIPS uclibc-ng and ncurses-6.2

2020-03-01 Thread Joshua Kinard
e-mail that as I'll have to include the malfunctioning python binary and the separate debug symbol files generated from my build. -- components: Extension Modules files: py37-gdb-bt-sigsegv-cursesmodule-uclibc-20200301.txt messages: 363107 nosy: kumba priority: normal severity: normal stat

[issue10572] Move test sub-packages to Lib/test

2020-03-01 Thread Ido Michael
Ido Michael added the comment: I've created a clean PR - will do it in 2 rounds: This PR GH-18727, contains the modified test of ctypes, sqlite3 and tkinter modules. Once that's approved I'll deal with the other remaining 3. -- ___ Python tracker

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Marco Sulla
Marco Sulla added the comment: Furthermore, I have not understood a think: if I understood well, --with-cxx-main is used on _some_ platforms that have problems with C++ extensions. What platforms? Is there somewhere a unit test for testing if Python compiled on one of these platforms with -

[issue10572] Move test sub-packages to Lib/test

2020-03-01 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +18084 pull_request: https://github.com/python/cpython/pull/18727 ___ Python tracker ___ _

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Marco Sulla
Marco Sulla added the comment: Okay... if I have understood well, the problem is with C++ Extensions. Some questions: 1. does this problem exists yet? 2. if yes, maybe Python have to wrap the python.c and _testembed.c so they can also be compiled with a C++ compiler? 3. --with-cxx-main is no

[issue38691] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-03-01 Thread Ido Michael
Ido Michael added the comment: @vstinner ready for review. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39818] Declaring local variable invalidates access to a global variable

2020-03-01 Thread Grzegorz Krasoń
Grzegorz Krasoń added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2020-03-01 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I gave up contributing a long time ago now because it was too emotionally exhausting to me. This issue was one that helped tip the scales. I hope things have become easier now because good projects like Python need the enthusiasm and spirit of volunte

[issue39818] Declaring local variable invalidates access to a global variable

2020-03-01 Thread Eric V. Smith
Eric V. Smith added the comment: This is by design. See https://eli.thegreenplace.net/2011/05/15/understanding-unboundlocalerror-in-python for a good explanation. -- nosy: +eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed __

[issue39818] Declaring local variable invalidates access to a global variable

2020-03-01 Thread Grzegorz Krasoń
New submission from Grzegorz Krasoń : I'm not certain if this is intended behavior, but I would like to make sure. Please resolve with the lowest priority. It seems tricky that line #6 can influence instruction that chronologically appears earlier. Especially taking into account that line #6 i

[issue39776] Crash in decimal module in heavy-multithreaded scenario

2020-03-01 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39806] different behavior between __ior__ and __or__ in dict made by PEP 584

2020-03-01 Thread Guido van Rossum
Guido van Rossum added the comment: This is as intended. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39803] _PyLong_FormatAdvancedWriter has an unnecessary str

2020-03-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 3fe9117779f0c75f7a0c3d7748c5bf281fbc1e4c by Andy Lester in branch 'master': closes bpo-39803: Remove unused str from _PyLong_FormatAdvancedWriter. (GH-18709) https://github.com/python/cpython/commit/3fe9117779f0c75f7a0c3d7748c5bf281fbc1e4c

[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread miss-islington
miss-islington added the comment: New changeset 217dce9ee6e3cf27a0cedbe1e4a6455776373ec2 by Hakan Çelik in branch 'master': bpo-39815: add cached_property to all (GH-18726) https://github.com/python/cpython/commit/217dce9ee6e3cf27a0cedbe1e4a6455776373ec2 -- nosy: +miss-islington ___

[issue15012] test issue

2020-03-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Unfortunately, I didn't receive the notification :-( -- ___ Python tracker ___ ___ Python-bugs-li

[issue39678] RFC improve readability of _queue_management_worker for ProcessPoolExecutor

2020-03-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 0e89076247580ba0e570c4816f0e5628a7e36e83 by Thomas Moreau in branch 'master': bpo-39678: refactor queue manager thread (GH-18551) https://github.com/python/cpython/commit/0e89076247580ba0e570c4816f0e5628a7e36e83 -- ___

[issue39678] RFC improve readability of _queue_management_worker for ProcessPoolExecutor

2020-03-01 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue39816] More descriptive error message than "too many values to unpack"

2020-03-01 Thread Kyle Stanley
Kyle Stanley added the comment: +1, I've always found the "too many values to unpack" error messages be rather vague. Adding the type should make the message more clear, and easier to debug the error for users. But, I think Chris Angelico raised a good point regarding the length (in the pyt

[issue39794] Add --without-decimal-contextvar option to use just threads in decimal

2020-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: While i don't think this was needed in 3.7 and 3.8, you kept the default behavior the same so I don't think it is a problem. If someone builds an interpreter with this configure flag, does it break compatibility with anything that code may have started to

[issue32630] Migrate decimal to use PEP 567 context variables

2020-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: FYI - this appears to have caused a regression - https://bugs.python.org/issue39776 -- nosy: +gregory.p.smith ___ Python tracker ___ _

[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread Hakan
Change by Hakan : -- keywords: +patch nosy: +hakancelik nosy_count: 1.0 -> 2.0 pull_requests: +18083 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18726 ___ Python tracker _

[issue39817] CRITICAL: TypeError: cannot pickle 'generator'

2020-03-01 Thread Oscar
New submission from Oscar : I use Windows 10 Home 1909 CRITICAL: TypeError: cannot pickle 'generator' object PS D:\projects\user.log> Traceback (most recent call last): File "", line 1, in File "c:\users\user\appdata\local\programs\python\python38\lib\multiprocessing\spawn.py", line 102,

[issue39811] Curses crash on ^4

2020-03-01 Thread toonn
toonn added the comment: Vim can handle ^4 just fine while still responding to SIGQUIT though. Is there a way to determine where the signal's coming from to decide whether to react to it? -- ___ Python tracker

[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread Raymond Hettinger
New submission from Raymond Hettinger : >>> import functools >>> functools.cached_property >>> functools.__all__ ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES', 'total_ordering', 'cmp_to_key', 'lru_cache', 'reduce', 'partial', 'partialmethod', 'singledispatch', 'singledi

[issue38870] Expose ast.unparse in the ast module

2020-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 397b96f6d7a89f778ebc0591e32216a8183fe667 by Batuhan Taşkaya in branch 'master': bpo-38870: Implement a precedence algorithm in ast.unparse (GH-17377) https://github.com/python/cpython/commit/397b96f6d7a89f778ebc0591e32216a8183fe667 -

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 185903de12de8837bf0dc0008a16e5e56c66a019 by Batuhan Taşkaya in branch 'master': bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) https://github.com/python/cpython/commit/185903de12de8837bf0dc0008a16e5e56c66a019 -

[issue38641] lib2to3 does not support py38 return/yield syntax with starred expressions

2020-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 768d739c1cd8c1d41902229581811a9b86bcc76e by Vlad Emelianov in branch 'master': bpo-38641: Add lib2to3 support for starred expressions in return/yield statements (GH-16994) https://github.com/python/cpython/commit/768d739c1cd8c1d419022295

[issue38641] lib2to3 does not support py38 return/yield syntax with starred expressions

2020-03-01 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue39753] inspecting a partial with bound keywods gives incorrect signature

2020-03-01 Thread Ido Michael
Ido Michael added the comment: Is it a bug? I can add the signature and set a PR -- nosy: +Ido Michael ___ Python tracker ___ ___ P

[issue39816] More descriptive error message than "too many values to unpack"

2020-03-01 Thread Alex Hall
New submission from Alex Hall : Based on the discussion in https://mail.python.org/archives/list/python-id...@python.org/thread/C6QEAEEAELUHMLB23OBRSQK2UYU3AF5O/ When unpacking fails with an error such as: ValueError: too many values to unpack (expected 2) the name of the type of the unpacke

[issue39814] Hyphens not generated for split-words in a "note" directive

2020-03-01 Thread Ido Michael
Ido Michael added the comment: Looks like a bug in the dev repo? What's the class responsible for rendering the notes? I can take this -- nosy: +Ido Michael ___ Python tracker _

[issue39813] test_ioctl skipped -- Unable to open /dev/tty

2020-03-01 Thread Marco Sulla
Marco Sulla added the comment: OS: Lubuntu 18.04.4 Steps to reproduce: sudo apt-get install git libbz2-dev liblzma-dev uuid-dev libffi-dev libsqlite3-dev libreadline-dev libssl-dev libgdbm-dev libgdbm-compat-dev tk-dev libncurses5-dev git clone https://github.com/python/cpython.git cd cpyth

[issue38597] C Extension import limit

2020-03-01 Thread Xinfa Zhu
Xinfa Zhu added the comment: Steve, don't know if you still need it but here is what you requested. Sorry for the slow move (I was working on something else). Seems mine is finding the x64 before the OneCore, though I don't know the significance. Python 3.7.1 (default, Dec 10 2018, 22:54:23)

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: if anyone needs this on their older 3.6 or 3.5 trees, the 3.7/3.8 patch is a trivial backport. -- stage: patch review -> commit review status: open -> closed ___ Python tracker

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7c64726ced3d6b5d04537386d6a9ca6d179c3be4 by Gregory P. Smith in branch '3.7': [3.7] bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) (GH-18718) (GH-18725) https://github.com/python/cpython/commit/7c64726ced3d6b5d04537386d6a9ca6d179c3be4

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-03-01 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +18082 pull_request: https://github.com/python/cpython/pull/18725 ___ Python tracker ___

[issue39769] compileall.compile_dir(..., ddir="") omits the intermediate package paths when prepending the prefix

2020-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset ce720d3e0674d6ac6f1b950c20a89be4cfde7853 by Gregory P. Smith in branch '3.8': bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) (GH-18718) https://github.com/python/cpython/commit/ce720d3e0674d6ac6f1b950c20a89be4cfde7853 -- ___

[issue39809] argparse: add max_text_width parameter to ArgumentParser

2020-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I don't like the idea of adding more parameters to > the `ArgumentParser` class. It's too complicated already. I concur with Paul. Let's pass on this suggestion. -- resolution: -> rejected stage: -> resolved status: open -> closed _

[issue39815] functools.cached_property() not included in __all__

2020-03-01 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: Library (Lib) keywords: easy nosy: rhettinger priority: normal severity: normal status: open title: functools.cached_property() not included in __all__ type: behavior versions: Python 3.8, Python 3.9 ___ P

[issue39814] Hyphens not generated for split-words in a "note" directive

2020-03-01 Thread Raymond Hettinger
New submission from Raymond Hettinger : The justification algorithm for the docs will sometimes split words at the end of a line and will add a hyphen to indicate the continuation. This works in most text but is broken within a "note" directive. For example, there dangling "im" split of "im

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2020-03-01 Thread Jan-Philip Gehrcke
Jan-Philip Gehrcke added the comment: I am not too attached to "my" patch, but because I love Python I really would like us to land on a solution. > However I want all changes and new additions to the SSL module to follow PEP > 543 so I can provide a PEP 543-compatible interface in the near

[issue39809] argparse: add max_text_width parameter to ArgumentParser

2020-03-01 Thread paul j3
paul j3 added the comment: https://bugs.python.org/issue13041 is (I think) the latest issue/patch to deal with the help width. I don't like the idea of adding more parameters to the `ArgumentParser` class. It's too complicated already. There are a couple of ways that a user can do this alr

[issue39750] UnicodeError becomes unpicklable if data is appended to args

2020-03-01 Thread João Eiras
João Eiras added the comment: On a related note, after inspecting the UnicodeEror C code, the exception object keeps explicit references to 'encoding', 'object', 'start', 'end' and 'reason'. That means that if those properties are set (the C code does have setters) then the properties stored

[issue39813] test_ioctl skipped -- Unable to open /dev/tty

2020-03-01 Thread Eric V. Smith
Eric V. Smith added the comment: Can you give us some information about your operating system? Did you build this version of python yourself? Assuming so, how did you build it? Please show us the header you see when starting this version of python. How are you invoking this test? --

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Jeremy Kloth
Jeremy Kloth added the comment: What seems to be, at least, the conclusion of the thread: https://mail.python.org/archives/list/python-...@python.org/thread/YXMD5EIHAODRZGTQ3HU74OPGEBAVCSK6/ -- nosy: +jkloth ___ Python tracker

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Marco Sulla
Marco Sulla added the comment: Mmmm... wait a moment. It seems the behavior is intended: https://bugs.python.org/issue1324762 I quote: The patch contains the following changes: [...] 2) The compiler used to translate python's main() function is stored in the configure / Makefile variab

[issue38597] C Extension import limit

2020-03-01 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +18080 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18724 ___ Python tracker ___

[issue38597] C Extension import limit

2020-03-01 Thread Steve Dower
Steve Dower added the comment: In thinking about this, I think the best way forward is to just remove the logic that might statically link the initialization code, and instead commit to CPython releases always including vcruntime140.dll even if we switch to a newer version one day. Hopefull

[issue39811] Curses crash on ^4

2020-03-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is not related to curses and Python. Run arbitrary program (for example `cat` or `sleep 100`) and press Ctrl-4. You will get a core dump. This is because your terminal generates the signal SIGQUIT on Ctrl-4, and default action on SIGQUIT is core dump. S

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Marco Sulla
Marco Sulla added the comment: https://github.com/python/cpython/pull/18721 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Marco Sulla
Change by Marco Sulla : -- keywords: +patch pull_requests: +18079 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18721 ___ Python tracker ___

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-03-01 Thread Marco Sulla
Marco Sulla added the comment: The problem is here: Programs/_testembed.o: $(srcdir)/Programs/_testembed.c $(MAINCC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Programs/_testembed.c `MAINCC` in my Makefile is `g++-9`. Probably, MAINCC is set to the value of ``--with-cxx-main`, if specified

[issue39813] test_ioctl skipped -- Unable to open /dev/tty

2020-03-01 Thread Marco Sulla
New submission from Marco Sulla : During `make test`, I get the error in the title. (venv_3_9) marco@buzz:~/sources/cpython_test$ ll /dev/tty crw-rw-rw- 1 root tty 5, 0 Mar 1 15:24 /dev/tty -- components: Tests messages: 363063 nosy: Marco Sulla priority: normal severity: normal statu

[issue12915] Add inspect.locate and inspect.resolve

2020-03-01 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +18078 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/18720 ___ Python tracker ___

[issue15012] test issue

2020-03-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: test comment for email -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mai

[issue15012] test issue

2020-03-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Could someone please post a dummy reply to this issue? I'm hoping to fix e-mail notifications for me. -- ___ Python tracker ___

[issue15012] test issue

2020-03-01 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-01 Thread Steve Dower
Steve Dower added the comment: Try running that script with pythonw.exe instead. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue39812] Avoid daemon threads in concurrent.futures

2020-03-01 Thread Antoine Pitrou
New submission from Antoine Pitrou : Since issue37266 (which forbid daemon threads in subinterpreters), we probably want to forego daemon threads in concurrent.futures. This means we also need a way to run an atexit-like hook before non-daemon threads are joined on (sub)interpreter shutdown.

  1   2   >