[issue32309] Implement asyncio.run_in_executor shortcut

2020-05-16 Thread Kyle Stanley
Change by Kyle Stanley : -- pull_requests: +19448 pull_request: https://github.com/python/cpython/pull/20143 ___ Python tracker ___

[issue40652] Test test_locale failed when running cpython test on Windows 10 x64 for version 3.9.0a6+

2020-05-16 Thread kpysoze
New submission from kpysoze : Test test_locale failed when running cpython test on Windows 10 x64 python.bat -m test -j3 on version Python 3.9.0a6+ 0:19:51 load avg: 0.00 [209/423/2] test_locale failed test test_locale failed -- Traceback (most recent call last): File "C:\personal\cpython\cp

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6341fc7257d89d798675ad6e425f7eb0b6f2b4bb by Pablo Galindo in branch 'master': bpo-38870: Use subTest in test_unparse for better error reporting (GH-20141) https://github.com/python/cpython/commit/6341fc7257d89d798675ad6e425f7eb0b6f2b4bb

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-16 Thread Minmin Gong
New submission from Minmin Gong : _dirnameW is defined inside #ifdef HAVE_SYMLINK/#endif, but it's used in os__getdiskusage_impl, which is outside HAVE_SYMLINK. So if HAVE_SYMLINK is not defined (e.g., on UWP), it'll have compiling issues. -- components: Windows messages: 369089 nosy:

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-16 Thread Minmin Gong
Change by Minmin Gong : -- keywords: +patch pull_requests: +19449 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20144 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2c8cd06afe8e0abb52367f85978f19b88e2df53e by Lysandros Nikolaou in branch 'master': bpo-40334: Improvements to error-handling code in the PEG parser (GH-20003) https://github.com/python/cpython/commit/2c8cd06afe8e0abb52367f85978f19b88e2df5

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : In https://github.com/jaraco/path/issues/186, the Path project discovered a regression with Python 3.8. It seems that if one creates a symlink with an absolute path. I used `shutil.copytree('temp', 'temp2', True)` and it produced this result: ``` ~ # dir

[issue40652] Test test_locale failed when running cpython test on Windows 10 x64 for version 3.9.0a6+

2020-05-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue37945 -- nosy: +xtreak ___ Python tracker ___ ___

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49158/new_merge.py ___ Python tracker ___ ___ Python-bugs-list maili

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49160/new_merge.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-05-16 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset d7184d3dbd249444ec3961641dc08a9ad3c1ac34 by Chris Jerdonek in branch 'master': bpo-29587: Add another test for the gen.throw() fix. (GH-19859) https://github.com/python/cpython/commit/d7184d3dbd249444ec3961641dc08a9ad3c1ac34 -- __

[issue39976] Add "**other_popen_kwargs" to subprocess API signatures in docs

2020-05-16 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +19450 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20145 ___ Python tracker

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-16 Thread Eryk Sun
Eryk Sun added the comment: Copying a symlink verbatim requires copying both the print name and the substitute name in the reparse buffer [1]. For a file, CopyFileExW: COPY_FILE_COPY_SYMLINK implements this by enabling the symlink privilege for the thread and copying the reparse point via FS

[issue35569] OSX: Enable IPV6_RECVPKTINFO

2020-05-16 Thread Ned Deily
Ned Deily added the comment: New changeset 9a45bfe6f4aedd2a9d94cb12aa276057b15d8b63 by Erlend Egeberg Aasland in branch 'master': bpo-35569: Expose RFC 3542 IPv6 socket options on macOS (GH-19526) https://github.com/python/cpython/commit/9a45bfe6f4aedd2a9d94cb12aa276057b15d8b63 --

[issue35569] Expose RFC 3542 IPv6 socket options on macOS

2020-05-16 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! Merged for 3.9.0b1 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: OSX: Enable IPV6_RECVPKTINFO -> Expose RFC 3542 IPv6 socket options on macOS versions: -Python 3.8 _

[issue40655] Fix from a bad programming practice 'from x import *', 'Lib / ctypes / test /'.

2020-05-16 Thread Hakan
New submission from Hakan : When I use [unimport](https://github.com/hakancelik96/unimport), I saw this problem and I am sending a PR to fix it. -- components: Tests messages: 369097 nosy: hakancelik priority: normal severity: normal status: open title: Fix from a bad programming pract

[issue35569] Expose RFC 3542 IPv6 socket options on macOS

2020-05-16 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +19451 pull_request: https://github.com/python/cpython/pull/20146 ___ Python tracker ___ ___

[issue40655] Fix a bad programming practice from 'from x import *', 'Lib / ctypes / test /'.

2020-05-16 Thread Hakan
Change by Hakan : -- title: Fix from a bad programming practice 'from x import *', 'Lib / ctypes / test /'. -> Fix a bad programming practice from 'from x import *', 'Lib / ctypes / test /'. ___ Python tracker

[issue40655] Fix 'from x import *' which is bad programming practice from 'Lib/ctypes/test/'.

2020-05-16 Thread Hakan
Change by Hakan : -- title: Fix a bad programming practice from 'from x import *', 'Lib / ctypes / test /'. -> Fix 'from x import *' which is bad programming practice from 'Lib/ctypes/test/'. ___ Python tracker

[issue35569] Expose RFC 3542 IPv6 socket options on macOS

2020-05-16 Thread Ned Deily
Ned Deily added the comment: New changeset fa098b6bc8662cceb944ad5a4a3e5eb63d3cb517 by Ned Deily in branch 'master': bpo-35569: add Erlend to Misc/ACKS (GH-20146) https://github.com/python/cpython/commit/fa098b6bc8662cceb944ad5a4a3e5eb63d3cb517 -- __

<    1   2