[issue39927] IDLE.app fails on macOS 10.15 if denied access to Documents

2020-03-11 Thread Ned Deily
Ned Deily added the comment: Actually, IDLE *does* call os.chdir set the working directory when launched from IDLE.app on macOS: https://github.com/python/cpython/blob/master/Mac/IDLE/IDLE.app/Contents/Resources/idlemain.py#L8 While it's not in the idlelib directory, it's very much part of I

[issue39927] IDLE.app fails on macOS 10.15 if denied access to Documents

2020-03-11 Thread Ned Deily
Change by Ned Deily : -- assignee: terry.reedy -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue39929] dataclasses.asdict will mangle collection.Counter instances

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue39892] Enable DeprecationWarnings by default when not explicit in unittest.main()

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

[issue39925] `pathlib.Path.link_to()` has the wrong argument order

2020-03-11 Thread Eric V. Smith
Eric V. Smith added the comment: Agreed it's a duplicate, so I'm closing this. For any further discussion, please use issue39291, or better yet, do as it suggests and discuss this on python-dev. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed super

[issue39911] "AMD64 Windows7 SP1 3.x" buildbot doesn't build anymore

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: > Well, it only doesn't build on 3.9+ (master) due to not being supported going > forward. The *buildmaster* needs to be fixed to stop submitting those jobs > to unsupported platforms. Ok, done: https://github.com/python/buildmaster-config/commit/c7fe98a920

[issue36144] Dictionary union. (PEP 584)

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Once this issue will be done, would you mind to update PEP 584? Currently, it only says "This PEP proposes adding merge (|) and update (|=) operators to the built-in dict class." It doesn't mention that other types like OrderedDict, MappingProxy or ChainMap

[issue24871] freeze.py doesn't work on x86_64 Linux out of the box

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: bpo-1294959 has been fixed by commit 8510f430781118d9b603c3a2f06945d6ebc5fe42: Python 3.9 now has sys.platlibdir which will be equal to "lib64" on Fedora and SuSE on 64-bit systems. -- ___ Python tracker

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Russell Keith-Magee
New submission from Russell Keith-Magee : The Windows python-3.7.7-embed-amd64.zip installer (released Mar 11 2020) appears to be missing vcruntime140.dll. As a result, running the python.exe or pythonw.exe included in that installer fails with a system error notifying you of the missing DLL.

[issue39931] Global variables are not accessible from child processes (multiprocessing.Pool)

2020-03-11 Thread agmt
New submission from agmt : Attached test works correctly on linux (3.7, 3.8) and mac (only 3.7). Mac python3.8 falls with exception: multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocess

[issue39929] dataclasses.asdict will mangle collection.Counter instances

2020-03-11 Thread Eric V. Smith
Eric V. Smith added the comment: The asdict API was a mistake, because it's not possible for it to know how to create all possible sub-objects. I can't decide what to do about it. I might just "abandon it in place", by documenting its problems and suggesting it not be used. I should researc

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: I chose to exclude setup.py changes from my commit 8510f430781118d9b603c3a2f06945d6ebc5fe42, whereas the Fedora downstream patch has a few changes: https://src.fedoraproject.org/rpms/python39/blob/master/f/00102-lib64.patch See also bpo-14791: "setup.py only

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Russell Keith-Magee
Russell Keith-Magee added the comment: It appears the 3.7.7RC1 embedded installer was also missing the file. -- ___ Python tracker ___

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Another related issue is bpo-34058: "Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/". -- ___ Python tracker

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Steve Dower added the comment: Thanks for the heads-up, I'll take a look. -- assignee: -> steve.dower ___ Python tracker ___ ___ P

[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: bpo-1294959 has been fixed by commit 8510f430781118d9b603c3a2f06945d6ebc5fe42, but this issue is about "./configure with no parameters". This issue seems to be about OpenSuSE downstream patches: "just compiling and installing from source on OpenSUSE 42.3."

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: > Another related issue is bpo-34058: "Default Python 3.7 install broken on > openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to > $PYTHONHOME/lib/python3.7/lib-dynload/". I marked bpo-34058 as a duplicate of this issue. --

[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: This issuse is now 2 years old and it doesn't have a clear description. It started with "just compiling and installing from source on OpenSUSE 42.3", then switched to "I got the source directly from www.python.org" to finish with "I also have the same proble

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18268 pull_request: https://github.com/python/cpython/pull/18917 ___ Python tracker ___

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

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

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue39931] Global variables are not accessible from child processes (multiprocessing.Pool)

2020-03-11 Thread Thomas Grainger
Thomas Grainger added the comment: yeah this is normal. on Python 3.8 mac multiprocessing switched to spawn you have to use https://docs.python.org/3/library/multiprocessing.shared_memory.html to share content between processes or pass it to be pickled in the args of imap_unordered https://

[issue39326] Python-3.8.1 "test_importlib" failed

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue39931] Global variables are not accessible from child processes (multiprocessing.Pool)

2020-03-11 Thread agmt
agmt added the comment: Shared memory/pickle cannot send file descriptors -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue39931] Global variables are not accessible from child processes (multiprocessing.Pool)

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: > Shared memory/pickle cannot send file descriptors FYI Python 3.9 got new socket.send_fds() and socket.recv_fds() functions :-) https://docs.python.org/dev/library/socket.html#socket.socket.send_fds -- nosy: +vstinner ___

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

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

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Steve Dower added the comment: New changeset 2dd41740c97bd77695ddcc590caa7f53e76dc35a by Steve Dower in branch 'master': bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918) https://github.com/python/cpython/commit/2dd41740c97bd77695ddcc590caa7f53e76dc35a -

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +18271 pull_request: https://github.com/python/cpython/pull/18920 ___ Python tracker ___ _

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset d01c5507e5f9bd5072d94f007d29b37f41c6e6b5 by Miss Islington (bot) in branch '3.8': bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918) https://github.com/python/cpython/commit/d01c5507e5f9bd5072d94f007d29b37f41c6e6b

[issue39926] unicodedata for Unicode 13.0.0

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Well done. I got 75 emails from buildbots :-D -- nosy: +vstinner ___ Python tracker ___ ___ Pytho

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Windows10 3.8 build failed with "(...)\pyproject.props(221,5): error : vcruntime14*.dll not found (...)": https://buildbot.python.org/all/#builders/159/builds/190 -- nosy: +vstinner ___ Python tracker

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Same error on AMD64 Windows10 3.x: https://buildbot.python.org/all/#builders/129/builds/513 -- ___ Python tracker ___ ___

[issue39932] test_multiprocessing_fork leaked [0, 2, 0] file descriptors on aarch64 RHEL8 Refleaks 3.7 buildbot

2020-03-11 Thread STINNER Victor
New submission from STINNER Victor : aarch64 RHEL8 Refleaks 3.7: https://buildbot.python.org/all/#/builders/620/builds/20 test_multiprocessing_fork leaked [0, 2, 0] file descriptors, sum=2 0:40:22 load avg: 0.93 Re-running failed tests in verbose mode 0:40:22 load avg: 0.93 Re-running test_mul

[issue39933] test_gdb fails on AMD64 FreeBSD Shared 3.x: ptrace: Operation not permitted

2020-03-11 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/152/builds/384 Example: == FAIL: test_pycfunction (test.test_gdb.PyBtTests) [_testcapi.MethClass().meth_fastcall_keywords] Verify that "py-bt" di

[issue39933] test_gdb fails on AMD64 FreeBSD Shared 3.x: ptrace: Operation not permitted

2020-03-11 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue39933] test_gdb fails on AMD64 FreeBSD Shared 3.x: ptrace: Operation not permitted

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Same error on 3.7 and 3.8. AMD64 FreeBSD Shared 3.7: https://buildbot.python.org/all/#/builders/218/builds/91 -- ___ Python tracker ___

[issue39824] Multi-phase extension module (PEP 489): don't call m_traverse, m_clear nor m_free before the module state is allocated

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: If you use a module subclass that needs some additional C-level infrastructure, it would be more appropriate to override tp_clear/tp_free directly. IMO limiting m_clear/m_free to work just with the module state won't hurt. But it is an API change. --

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Steve Dower added the comment: New changeset eede148296bf3b4578b92ed6a07f2733a0f1c341 by Steve Dower in branch '3.7': bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918) https://github.com/python/cpython/commit/eede148296bf3b4578b92ed6a07f2733a0f1c341

[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10

2020-03-11 Thread myzhang1029
New submission from myzhang1029 : I apologize for describing this issue badly, but I'll try anyway. The code to demonstrate the issue is attached, so it might be better to read that instead. I noticed that when more than 10 exceptions are raised sequentially (i.e. one from another or one durin

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 3c97e1e457033bbb8bbe0b7198bd13fc794a12b0 by Petr Viktorin in branch 'master': bpo-39761: Fix dtrace build with empty $DFLAGS (GH-18766) https://github.com/python/cpython/commit/3c97e1e457033bbb8bbe0b7198bd13fc794a12b0 -- __

[issue38960] DTrace FreeBSD build fix

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 3c97e1e457033bbb8bbe0b7198bd13fc794a12b0 by Petr Viktorin in branch 'master': bpo-39761: Fix dtrace build with empty $DFLAGS (GH-18766) https://github.com/python/cpython/commit/3c97e1e457033bbb8bbe0b7198bd13fc794a12b0 -- __

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Steve Dower added the comment: Ah, both of those buildbots are running Build Tools. Apparently there's a different layout for those. Note that the devguide provides instructions that can't be followed with the Build Tools - you need VS Community (at least): https://devguide.python.org/setup

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Other examples of failures. AMD64 Windows8.1 Non-Debug 3.x: https://buildbot.python.org/all/#/builders/9/builds/473 D:\buildarea\3.x.ware-win81-release.nondebug\build\PCbuild\pyproject.props(220,5): error : vcruntime14*.dll not found under C:\Progr

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: It seems like many buildbots are broken. Maybe the "buildbot" label should be tried on PRs changing the Windows build system. x86 Windows7 3.7: https://buildbot.python.org/all/#/builders/53/builds/109 D:\cygwin\home\db3l\buildarea\3.7.bolen-windows7\buil

[issue39330] Way to build without IDLE

2020-03-11 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower nosy_count: 4.0 -> 5.0 pull_requests: +18272 pull_request: https://github.com/python/cpython/pull/18921 ___ Python tracker ___ ___

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +18273 pull_request: https://github.com/python/cpython/pull/18921 ___ Python tracker ___ _

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Steve Dower added the comment: Added a PR to make the failure silent, up until we're building a release package. That way it'll only bother me, and I can make sure that I have the right VS install. -- ___ Python tracker

[issue39330] Way to build without IDLE

2020-03-11 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -18272 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue39330] Way to build without IDLE

2020-03-11 Thread Steve Dower
Change by Steve Dower : -- nosy: -steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread Steve Dower
Steve Dower added the comment: New changeset fde44ae6d08d3df79554155b1cf079e73a8fabdd by Steve Dower in branch 'master': bpo-39930: Convert error to warning for more silent failure (GH-18921) https://github.com/python/cpython/commit/fde44ae6d08d3df79554155b1cf079e73a8fabdd -- _

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

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

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

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

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset 3136f6f287a56afe87c0fd3e70c15c6e53ae0814 by Miss Islington (bot) in branch '3.7': bpo-39930: Convert error to warning for more silent failure (GH-18921) https://github.com/python/cpython/commit/3136f6f287a56afe87c0fd3e70c15c6e53ae0814

[issue39930] Embedded installer for Python 3.7.7 missing vcruntime140.dll

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset 17571c54e03822685656dc7d118a5ddcf8cb58af by Miss Islington (bot) in branch '3.8': bpo-39930: Convert error to warning for more silent failure (GH-18921) https://github.com/python/cpython/commit/17571c54e03822685656dc7d118a5ddcf8cb58af

[issue39915] await_args_list in AsyncMock always refers to the last awaited call object

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +18276 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18924 ___ Python tracker ___

[issue39932] test_multiprocessing_fork leaked [0, 2, 0] file descriptors on aarch64 RHEL8 Refleaks 3.7 buildbot

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Another example on PPC64LE RHEL8 Refleaks 3.7: https://buildbot.python.org/all/#/builders/431/builds/29 Warning -- Dangling processes: {} Warning -- Dangling processes: {} test_multiprocessing_spawn leaked [0, 2, 0] file descriptors, sum=2 Re-running test_mu

[issue39689] test_struct failure on s390x Fedora Clang buildbot

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: > our unittest assuming that b'\xf0' should be true when interpreted as a bool > is wrong. > just get rid of that value from the loop in the test? That could be the proper thing to do, but it does make it easy to invoke C undefined behavior from Python code.

[issue2506] Add mechanism to disable optimizations

2020-03-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will pick this up from Victor's last patch -- nosy: +pablogsal ___ Python tracker ___ ___

[issue39689] test_struct failure on s390x Fedora Clang buildbot

2020-03-11 Thread Petr Viktorin
Change by Petr Viktorin : -- keywords: +patch pull_requests: +18277 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18925 ___ Python tracker ___

[issue39797] shutdown() in socketserver.BaseServer should be in a different thread from serve_forever()

2020-03-11 Thread Ama Aje My Fren
Change by Ama Aje My Fren : -- keywords: +patch pull_requests: +18278 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18926 ___ Python tracker ___

[issue39689] test_struct failure on s390x Fedora Clang buildbot

2020-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Wed, Mar 11, 2020, at 07:41, Petr Viktorin wrote: > > > maybe we should be raising an error if the bytes are not a valid platform > > _Bool pattern? > > That's quite hard to test for. How so? We just make the same assumption you're making that true =

[issue39915] await_args_list in AsyncMock always refers to the last awaited call object

2020-03-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +18279 pull_request: https://github.com/python/cpython/pull/18927 ___ Python tracker _

[issue39915] await_args_list in AsyncMock always refers to the last awaited call object

2020-03-11 Thread Chris Withers
Chris Withers added the comment: New changeset e553f204bf0e39b1d701a364bc71b286acb9433f by Karthikeyan Singaravelan in branch 'master': bpo-39915: Ensure await_args_list is updated according to the order in which coroutines were awaited (GH-18924) https://github.com/python/cpython/commit/e55

[issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

2020-03-11 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin nosy_count: 4.0 -> 5.0 pull_requests: +18280 pull_request: https://github.com/python/cpython/pull/18928 ___ Python tracker ___

[issue39926] unicodedata for Unicode 13.0.0

2020-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: If it makes you feel better, I got them, too. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue39931] Global variables are not accessible from child processes (multiprocessing.Pool)

2020-03-11 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39689] struct and memoryview tests rely on undefined behavior (as revealed by clang 9)

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: The memoryview module does the same thing as struct, and its tests expect the same behavior as with struct. So, whatever we do in struct should be also done in memoryview. -- title: test_struct failure on s390x Fedora Clang buildbot -> struct and mem

[issue39689] struct and memoryview tests rely on undefined behavior (as revealed by clang 9)

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: > > > maybe we should be raising an error if the bytes are not a valid platform > > > _Bool pattern? > > > > That's quite hard to test for. > > How so? We just make the same assumption you're making that true = b'\x01' > and false = NUL. Right, with that as

[issue39797] shutdown() in socketserver.BaseServer should be in a different thread from serve_forever()

2020-03-11 Thread Ama Aje My Fren
Change by Ama Aje My Fren : -- pull_requests: +18281 pull_request: https://github.com/python/cpython/pull/18929 ___ Python tracker ___ _

[issue39797] shutdown() in socketserver.BaseServer should be in a different thread from serve_forever()

2020-03-11 Thread Ama Aje My Fren
Change by Ama Aje My Fren : -- pull_requests: +18282 pull_request: https://github.com/python/cpython/pull/18930 ___ Python tracker ___ _

[issue36144] Dictionary union. (PEP 584)

2020-03-11 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +18283 pull_request: https://github.com/python/cpython/pull/18931 ___ Python tracker ___ ___

[issue39935] argparse: help parameter not documented in add_subparsers().add_parser

2020-03-11 Thread Nazime Koussaila Lakehal
New submission from Nazime Koussaila Lakehal : The parameter help in the method add_parser of _SubParsersAction (that we obtain with ArgumentParser.add_subparsers()) Is not documented. In the documentation we can find: The add_subparsers() method is normally called with no arguments and return

[issue39689] struct and memoryview tests rely on undefined behavior (as revealed by clang 9)

2020-03-11 Thread Petr Viktorin
Petr Viktorin added the comment: Oh! I just reead the docs more carefully; they say: For the '?' format character, the return value is either True or False. When packing, the truth value of the argument object is used. Either 0 or 1 in the native or standard bool representation will be packe

[issue39652] sqlite3 bug handling column names that contain square braces

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag, ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue39797] shutdown() in socketserver.BaseServer should be in a different thread from serve_forever()

2020-03-11 Thread Ama Aje My Fren
Change by Ama Aje My Fren : -- pull_requests: +18284 pull_request: https://github.com/python/cpython/pull/18932 ___ Python tracker ___ _

[issue38076] Make struct module PEP-384 compatible

2020-03-11 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39797] shutdown() in socketserver.BaseServer should be in a different thread from serve_forever()

2020-03-11 Thread Ama Aje My Fren
Change by Ama Aje My Fren : -- pull_requests: +18285 pull_request: https://github.com/python/cpython/pull/18933 ___ Python tracker ___ _

[issue39935] argparse: help parameter not documented in add_subparsers().add_parser

2020-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue39916] More reliable use of scandir in Path.glob()

2020-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 704e2065f8b8021a4a6999470fb6ed3453f7679e by Serhiy Storchaka in branch 'master': bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) https://github.com/python/cpython/commit/704e2065f8b8021a4a6999470fb6ed3453f7679e

[issue39916] More reliable use of scandir in Path.glob()

2020-03-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +18286 pull_request: https://github.com/python/cpython/pull/18934 ___ Python tracker _

[issue39916] More reliable use of scandir in Path.glob()

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

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset a158168a787e82c4b7b18f6833153188e93627a5 by Hai Shi in branch 'master': bpo-1635741: Port _locale extension module to multiphase initialization (PEP 489) (GH-18358) https://github.com/python/cpython/commit/a158168a787e82c4b7b18f6833153188e93627

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 41fbf865a35d4fb64f047f98dc24690cb0c170fd by Hai Shi in branch 'master': bpo-1635741: Port audioop extension module to multiphase initialization (PEP 489) (GH-18608) https://github.com/python/cpython/commit/41fbf865a35d4fb64f047f98dc24690cb0c170

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset aa0c0808efbfdee813d2829e49030c667da44e72 by Hai Shi in branch 'master': bpo-1635741: Fix potential refleaks in binascii module (GH-18613) https://github.com/python/cpython/commit/aa0c0808efbfdee813d2829e49030c667da44e72 -- ___

[issue39824] Multi-phase extension module (PEP 489): don't call m_traverse, m_clear nor m_free before the module state is allocated

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: > Proposed PR checking if the module state is NULL: > > * PR 18358: _locale module > * PR 18608: audioop module > * PR 18613: binascii Petr suggested to not hold these PRs with this controversial issue. I agree, so I merged these 3 PRs. --

[issue39824] Multi-phase extension module (PEP 489): don't call m_traverse, m_clear nor m_free before the module state is allocated

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Stefan Behnel: as the 3rd author of the PEP 489, what's your call on this issue? -- nosy: +scoder ___ Python tracker ___

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks Hai Shi for your 3 latest PRs, I merged them. -- ___ Python tracker ___ ___ Python-bugs-

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 196f1eb6adcfc6a7239330ef508b8bf9dff9940f by Hai Shi in branch 'master': bpo-1635741: Fix refleaks of time module error handling (GH-18486) https://github.com/python/cpython/commit/196f1eb6adcfc6a7239330ef508b8bf9dff9940f -- __

[issue39916] More reliable use of scandir in Path.glob()

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset b1b1d5ff11108620f5bc97976bb889f5cbb24373 by Miss Islington (bot) in branch '3.7': bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) https://github.com/python/cpython/commit/b1b1d5ff11108620f5bc97976bb889f5cbb24373 -

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-11 Thread Michael Felt
Michael Felt added the comment: This was already confirmed by both bots... The last bot build that worked (and for both AIX bots) is: dffe4c07095e0c693e094d3c140e85a68bd8128e The first build that failed (for both) is: 1ec63b62035e73111e204a0e03b83503e1c58f2e See (pass) https://buildbot.pyt

[issue39916] More reliable use of scandir in Path.glob()

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset c22879914b03ff2da768e557b5c00e9c8c62c695 by Miss Islington (bot) in branch '3.8': bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) https://github.com/python/cpython/commit/c22879914b03ff2da768e557b5c00e9c8c62c695 -

[issue39916] More reliable use of scandir in Path.glob()

2020-03-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-11 Thread Michael Felt
Michael Felt added the comment: After a checkout the build finishes (successfully) with: Python build finished successfully! The necessary bits to build these optional modules were not found: _gdbm _lzma _sqlite3 _tkinter _uuid readli

[issue39936] Python fails to build _asyncio on module on AIX

2020-03-11 Thread STINNER Victor
New submission from STINNER Victor : The commit 1ec63b62035e73111e204a0e03b83503e1c58f2e of bpo-39763 broke the Python compilation on AIX: https://bugs.python.org/issue39763#msg363749 -- The last successful build was before the commit 1ec63b62035e73111e204a0e03b83503e1c58f2e: https://buildbo

[issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

2020-03-11 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 5.0 -> 6.0 pull_requests: +18288 pull_request: https://github.com/python/cpython/pull/18936 ___ Python tracker ___ __

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-39936 "Python fails to build _asyncio on module on AIX" to debug the AIX build failure. -- ___ Python tracker ___

[issue39936] Python fails to build _asyncio on module on AIX

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: AIX_BUILDDATE variable is written in pyconfig.h by configure: > https://buildbot.python.org/all/#/builders/119/builds/383 configure: "checking for the system builddate... 1806" > https://buildbot.python.org/all/#/builders/119/builds/451 configure: "checking

[issue36543] Remove old-deprecated ElementTree features (part 2)

2020-03-11 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi nosy_count: 3.0 -> 4.0 pull_requests: +18289 pull_request: https://github.com/python/cpython/pull/18937 ___ Python tracker ___

[issue39937] Suggest the usage of Element.iter() instead of iter() in whatsnew

2020-03-11 Thread Rahul Kumaresan
New submission from Rahul Kumaresan : In the whatsnew section, under the point which mentions the deprecation of getchildren() and getiterator() through bpo-36543, it is suggested to use iter() instead. Ideally there should be a suggestion to use Element.iter() instead. -- assignee:

[issue39936] Python fails to build _asyncio on module on AIX

2020-03-11 Thread Michael Felt
Michael Felt added the comment: While looking through the history of bot builds - I consistently see 420 tests being done on one bot - but test_socket does not always show up in the list. I'll look at this as I can, but "free-time" is limited. Delay is not a lack of interest. -- nos

  1   2   >