[issue33356] Windows 10 buildbot: test__xxsubinterpreters.test_already_running() fails randomly

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate of bpo-37224. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue37224] test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-33356 as a duplicate of this issue: * Windows10 3.x: test_already_running() failed once, but passed when run again: ... * AMD64 FreeBSD 10-STABLE Non-Debug 3.x: ... -- ___ Python tracker

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16352 pull_request: https://github.com/python/cpython/pull/16796 ___ Python tracker ___

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-14 Thread Neil Schemenauer
Neil Schemenauer added the comment: > It's fundamentally insane to expect any gc to work perfectly when it may be > blind to what the object graph _is_. I'm often amazed it works at all, let alone perfectly. ;-P This did trigger me to think of another possible problem. I setup my unit test

[issue38456] Reduce the time test_subprocess takes to complete.

2019-10-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 4f0587f161786318cdfa22c42459676fa42aacb6 by Gregory P. Smith in branch '3.8': [3.8] bpo-38456: Use /bin/true in test_subprocess (GH-16737) https://github.com/python/cpython/commit/4f0587f161786318cdfa22c42459676fa42aacb6 --

[issue37224] test__xxsubinterpreters fails randomly

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: AMD64 FreeBSD CURRENT Shared 3.8: https://buildbot.python.org/all/#/builders/212/builds/310 FAIL: test_still_running (test.test__xxsubinterpreters.DestroyTests) FAIL: test_run_coroutine_threadsafe_with_timeout

[issue37224] test__xxsubinterpreters fails randomly

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: AMD64 FreeBSD CURRENT Shared 3.x: https://buildbot.python.org/all/#/builders/168/builds/1630 FAIL: test_still_running (test.test__xxsubinterpreters.DestroyTests) 1:07:09 load avg: 8.18 Re-running failed tests in verbose mode 1:07:09 load avg: 8.18 Re-running

[issue38475] Break Statement

2019-10-14 Thread Steven D'Aprano
Steven D'Aprano added the comment: Define "malfunction". Are we supposed to know what your code is meant to do, as well as what it actually does? Please don't use the bug tracker as a help desk for your own scripts. There are many forums where you can ask for help, such as the mailing

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: (FTR the fix is part of Python 3.8.0) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37224] test__xxsubinterpreters fails randomly

2019-10-14 Thread Kyle Stanley
Kyle Stanley added the comment: > Kyle Stanley proposed a fix: PR 16293. Note that I'm not confident about the fix I proposed in GH-16293, it was more of an idea to fix the intermittent failures more than anything. It definitely needs review from someone knowledgeable about sub-interpreters

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-14 Thread Tim Peters
Tim Peters added the comment: > I'm often amazed it works at all, let alone perfectly. ;-P Indeed! Every time I take a break from gc and come back, I burn another hour wondering why it doesn't recycle _everything_ ;-) > But what happens if the GC doesn't see that WZ is trash? > Then it

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: It seems like the issue has been fixed. See also bpo-35998 for a similar issue on other platforms. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38154] test__xxsubinterpreters: random failures on AMD64 FreeBSD CURRENT Shared 3.x

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate of bpo-37224. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8 ___ Python

[issue37224] test__xxsubinterpreters fails randomly

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- title: test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8 -> test__xxsubinterpreters fails randomly ___ Python tracker ___

[issue37224] test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I closed bpo-38154 as a duplicate of this issue: * AMD64 FreeBSD CURRENT Shared 3.x: ... Kyle Stanley proposed a fix: PR 16293. -- ___ Python tracker

[issue38449] regression - mimetypes guess_type is confused by ; in the filename

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: (3.8.0 is released with this fix) -- priority: release blocker -> normal ___ Python tracker ___ ___

[issue38476] test_multiprocessing_fork.test_terminate() failed on AMD64 Debian PGO 3.x

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: > https://buildbot.python.org/all/#/builders/47/builds/3699 The 7 following builds are success. But the latest build failed with "no space left on disk": https://buildbot.python.org/all/#/builders/47/builds/3707 OSError: [Errno 28] No space left on device:

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 16789 which fix the issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38133] py.exe cannot locate Store package

2019-10-14 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +16351 pull_request: https://github.com/python/cpython/pull/16791 ___ Python tracker ___

[issue38288] shutil.make_archive() should allow setting zipfile.ZipFile() 'strict_timestamps'

2019-10-14 Thread Tahia K
Change by Tahia K : -- keywords: +patch pull_requests: +16353 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16797 ___ Python tracker ___

[issue38288] shutil.make_archive() should allow setting zipfile.ZipFile() 'strict_timestamps'

2019-10-14 Thread Tahia K
Tahia K added the comment: I went ahead and picked this one up :) PR is posted to github. -- ___ Python tracker ___ ___

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16350 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16789 ___ Python tracker ___

[issue38456] Reduce the time test_subprocess takes to complete.

2019-10-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: I assume the CI systems are shared and potentially noisy. It should be easier to look at some logs from slower buildbots. but sadly test_subprocess has fallen off the list of "10 slowest tests" that timing info is supplied for. concurrent.futures,

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: Similar failure on x86 Gentoo Non-Debug with X 3.x: https://buildbot.python.org/all/#/builders/99/builds/3472 ERROR: test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests) -- ___ Python

[issue38355] ntpath.realpath() fails on sys.executable

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: (3.8.0 is released with this fix) -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue38359] pyw.exe opens console window in Windows 10

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: (3.8.0 is released with this fix) -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue38344] activate.bat else needs to be on the same line as the if

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: (3.8.0 is released with this fix) -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue38476] test_multiprocessing_fork.test_terminate() failed on AMD64 Debian PGO 3.x

2019-10-14 Thread STINNER Victor
New submission from STINNER Victor : test_multiprocessing_fork.test_terminate() failed twice on AMD64 Debian PGO 3.x: https://buildbot.python.org/all/#/builders/47/builds/3699 0:23:37 load avg: 0.01 [419/419/1] test_multiprocessing_fork crashed (Exit code 1) Timeout (0:15:00)! Thread

[issue38133] py.exe cannot locate Store package

2019-10-14 Thread Steve Dower
Steve Dower added the comment: New changeset 4d202281c128e2026e78fc5f4cc752b1dafbf3ad by Steve Dower in branch 'master': bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791) https://github.com/python/cpython/commit/4d202281c128e2026e78fc5f4cc752b1dafbf3ad --

[issue38133] py.exe cannot locate Store package

2019-10-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +16354 pull_request: https://github.com/python/cpython/pull/16798 ___ Python tracker ___

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: The new test was added by bpo-38112: commit 4267c989e7fc6cd528e8a1d04a07fac5cca85ec7. -- ___ Python tracker ___

[issue38456] Reduce the time test_subprocess takes to complete.

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: Nice. Any idea of the speedup on Travis CI and/or on a specific buildbot worker? -- nosy: +vstinner ___ Python tracker ___

[issue37431] test_asyncio: test_start_tls_server_1() failed on ARMv7 Debian buster 3.7

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate of bpo-35998. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29 ___ Python

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I closed bpo-37431 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I didn't check if it's the same issue than previous failures, but test_start_tls_server_1() just failed on x86 Gentoo Installed with X 3.8 buildbot: pythoninfo: ssl.HAS_SNI: True ssl.OPENSSL_VERSION: OpenSSL 1.1.1d 10 Sep 2019 ssl.OPENSSL_VERSION_INFO:

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Windows 7 is not supported for Python 3.9, so this buildbot can be > disabled/upgraded. As long as 3.7 and 3.8 are being tested through the buildbots, I would think testing on Windows 7 is still advised. That said, once those versions are no longer tested

[issue38133] py.exe cannot locate Store package

2019-10-14 Thread miss-islington
miss-islington added the comment: New changeset 42308e8b27c8023e3f9d037f5e4a8892f2dcbc48 by Miss Islington (bot) in branch '3.8': bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791) https://github.com/python/cpython/commit/42308e8b27c8023e3f9d037f5e4a8892f2dcbc48

[issue31387] asyncio should make it easy to enable cooperative SIGINT handling

2019-10-14 Thread Kyle Stanley
Change by Kyle Stanley : -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28533] Replace asyncore

2019-10-14 Thread Kyle Stanley
Change by Kyle Stanley : -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset f82ce5b1b12873b65927149a016be6a7c65e979d by Victor Stinner in branch '3.8': [3.8] bpo-36389: Backport debug enhancements from master (GH-16796) https://github.com/python/cpython/commit/f82ce5b1b12873b65927149a016be6a7c65e979d --

[issue38376] ./configure --with-assertions generates a broken build

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset f82ce5b1b12873b65927149a016be6a7c65e979d by Victor Stinner in branch '3.8': [3.8] bpo-36389: Backport debug enhancements from master (GH-16796) https://github.com/python/cpython/commit/f82ce5b1b12873b65927149a016be6a7c65e979d --

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset f82ce5b1b12873b65927149a016be6a7c65e979d by Victor Stinner in branch '3.8': [3.8] bpo-36389: Backport debug enhancements from master (GH-16796) https://github.com/python/cpython/commit/f82ce5b1b12873b65927149a016be6a7c65e979d --

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-14 Thread Tim Peters
Tim Peters added the comment: > While Neil & I haven't thought of ways that can go wrong now > beyond that a "surprise finalizer" may get run any number of > times ... Speaking of which, I no longer believe that's true. Thanks to the usual layers of baffling renaming via macro after macro,

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38288] shutil.make_archive() should allow setting zipfile.ZipFile() 'strict_timestamps'

2019-10-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-14 Thread Brian Shaginaw
New submission from Brian Shaginaw : >>> import inspect >>> def foo(bar, /, **kwargs): ... print(bar, kwargs) ... >>> foo(1, bar=2) 1 {'bar': 2} >>> inspect.signature(foo).bind(1, bar=2) Traceback (most recent call last): File "", line 1, in File

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Eryk Sun
Eryk Sun added the comment: I tested in Windows 10 with long paths disabled, and the FileNotFoundError exception showed that the failing .pyc had a numeric suffix appended to the name. create_long_path isn't taking into account _write_atomic in Lib/importlib/_bootstrap_external.py. This

[issue38479] Segmentation fault: 11 Python3.6 on Macbook

2019-10-14 Thread Young Y
New submission from Young Y : Segmentation fault: 11Process: Python [5343] Path: /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python Identifier:Python Version: 3.6.5 (3.6.5) Code Type:

[issue38477] magiccube2x2 permutations 28% slower with Python 3.8.0rc1 vs 3.7

2019-10-14 Thread Louis Huemiller
New submission from Louis Huemiller : Have created a program that by brute force determines all reachable states of a 2-by-2 MagicCube, sometimes referred to as a 2x2 Rubick's cube. On one of my servers, which is described in the attached file 20191011b_configuration, this program takes

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2019-10-14 Thread Tal Einat
Tal Einat added the comment: So urllib.parse.unquote() will accept bytes in addition to str starting with 3.9. The unclear exception remains in prior versions. Would someone like to add a better exception for 3.7 and 3.8? (I'm marking this as "newcomer friendly", referring only to

[issue38471] _ProactorDatagramTransport: If close() is called when write buffer is not empty, the remaining data is not sent and connection_lost is not called

2019-10-14 Thread Paul Martin
Change by Paul Martin : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38471] _ProactorDatagramTransport: If close() is called when write buffer is not empty, the remaining data is not sent and connection_lost is not called

2019-10-14 Thread Paul Martin
New submission from Paul Martin : Expected behaviour for DatagramTransport (from_SelectorDatagramTransport): transport.close() called. If there is data in the write buffer, don't call connection_lost. When all data is written and the buffer is empty, check if connection has been lost and if

[issue38282] socketmodule.c: _FORTIFY_SOURCE=2 warning in AF_ALG case of getsockaddrarg()

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. I planned to backport the change to 3.8, but 3.8.0 final is supposed to be released today. I prefer to avoid putting a last minute regression on some platforms like DragonflyBSD in 3.8. Backporting the change is not strictly required,

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2019-10-14 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.9 -Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2019-10-14 Thread Tal Einat
Tal Einat added the comment: New changeset aad2ee01561f260c69af1951c0d6fcaf75c4d41b by Tal Einat (Stein Karlsen) in branch 'master': bpo-32498: urllib.parse.unquote also accepts bytes (GH-7768) https://github.com/python/cpython/commit/aad2ee01561f260c69af1951c0d6fcaf75c4d41b --

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 927f07c816aad9f8ed961d7ace6a367837f7fa8f by Łukasz Langa (Miss Islington (bot)) in branch '3.8': bpo-38469: Handle named expression scope with global/nonlocal keywords (GH-16755) (#16760)

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Petr Viktorin
Petr Viktorin added the comment: Oh! Sorry, I thought I saw green bots, and haven't looked since. I should have time for this tomorrow. If that's too late, remove/skip test_compile_dir_maxlevels on Windows. (The feature was untested before, and the 3.9 enhancement added test coverage, so I

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +16336 pull_request: https://github.com/python/cpython/pull/16763 ___ Python tracker ___

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +16338 pull_request: https://github.com/python/cpython/pull/16769 ___ Python tracker ___

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Paul Martin
Paul Martin added the comment: Should singledispatchmethod and cached_property be added? -- nosy: +primal ___ Python tracker ___

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset a3291531ea51455cfa5989119db496267425323c by Raymond Hettinger in branch 'master': bpo-37759: Add examples for the new typing features (GH-16763) https://github.com/python/cpython/commit/a3291531ea51455cfa5989119db496267425323c --

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +16337 pull_request: https://github.com/python/cpython/pull/16764 ___ Python tracker ___

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 3ac152948d63f52267d312be33306067d3847e2a by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-37759: Add examples for the new typing features (GH-16763) (GH-16764)

[issue22347] mimetypes.guess_type("//example.com") misinterprets host name as file name

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38449] regression - mimetypes guess_type is confused by ; in the filename

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38466] [Easy doc] threading.excepthook doc talks about "object"

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +newcomer friendly title: threading.excepthook doc talks about "object" -> [Easy doc] threading.excepthook doc talks about "object" ___ Python tracker

[issue38445] os.path.exists() takes bool as argument and returns True

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38472] GCC detection in setup.py is broken

2019-10-14 Thread Ned Deily
Change by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 298439ce3fb01de6c3110cc4847e6afe3253ba7a by Łukasz Langa (Serhiy Storchaka) in branch 'master': bpo-37759: Polish What's New in Python 3.8. (#16769) https://github.com/python/cpython/commit/298439ce3fb01de6c3110cc4847e6afe3253ba7a --

[issue38472] GCC detection in setup.py is broken

2019-10-14 Thread Alex Grund
New submission from Alex Grund : `setup.py` runs ` -E -v - /dev/null` to figure out include and library paths from the compiler in the function `add_gcc_paths`. However sample output from the compiler is: Es werden eingebaute Spezifikationen verwendet. COLLECT_GCC=g++ Ziel:

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +16339 pull_request: https://github.com/python/cpython/pull/16777 ___ Python tracker ___

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e498329ebe0d86a5d80471112d766502b144a476 by Łukasz Langa in branch '3.8': [3.8] bpo-37759: Polish What's New in Python 3.8. (GH-16769) (#16777) https://github.com/python/cpython/commit/e498329ebe0d86a5d80471112d766502b144a476 --

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Petr Viktorin
Petr Viktorin added the comment: If someone has access to Windows and can reproduce this (you need a more special setup than "just Windows"), and you want to spend some time debugging, please do. I'm shooting in the dark. My proposed patch limits the maximum path depth to 20 directories on

[issue38471] _ProactorDatagramTransport: If close() is called when write buffer is not empty, the remaining data is not sent and connection_lost is not called

2019-10-14 Thread Paul Martin
Change by Paul Martin : -- keywords: +patch pull_requests: +16341 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16779 ___ Python tracker ___

[issue38445] os.path.exists() takes bool as argument and returns True

2019-10-14 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Petr Viktorin
Change by Petr Viktorin : -- keywords: +patch pull_requests: +16340 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16778 ___ Python tracker ___

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: You can trigger custom buildbot runs by pushing to the 'buildbot-custom' branch in the CPython repo. -- ___ Python tracker ___

[issue36338] urlparse of urllib returns wrong hostname

2019-10-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16342 pull_request: https://github.com/python/cpython/pull/16780 ___ Python tracker ___

[issue36338] urlparse of urllib returns wrong hostname

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: I proposed PR 16780 which makes the urllib.parse module way more stricter: * the IPv6 address is validated by ipaddress.IPv6Address() parser * invalid characters are rejected in the IPv6 zone: "%", "[" and "]" * the port number is now validated when parsing

[issue38473] AttributeError on asserting autospecced mock object added using attach_mock

2019-10-14 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : The following program causes AttributeError while retrieving the spec signature of a call. It seems that not all mocks specced should have _spec_signature where if autospec is used and the mock is attached with attach_mock then the "mock"

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread STINNER Victor
STINNER Victor added the comment: To reproduce the recent on a recent Windows 10, you can opt-out for long path using this change: diff --git a/PC/python.manifest b/PC/python.manifest index 8e1bc022ad..524f9b2f6d 100644 --- a/PC/python.manifest +++ b/PC/python.manifest @@ -18,7 +18,6 @@

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

2019-10-14 Thread Steve Dower
Steve Dower added the comment: In that case, the fix for 3.8 should be to call PyErr_WriteUnraisable(NULL) when an error occurs. This will report it through the new unraisable hook, and also prevent a fatal error if the exception escapes. -- versions: +Python 3.8

[issue38453] ntpath.realpath() should make absolute path earlier

2019-10-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +16343 pull_request: https://github.com/python/cpython/pull/16783 ___ Python tracker ___

[issue38453] ntpath.realpath() should make absolute path earlier

2019-10-14 Thread Steve Dower
Steve Dower added the comment: New changeset d83fc2702951f56a7339aa95d62414ed6e0fb40d by Steve Dower in branch 'master': bpo-38453: Resolve test directories before chdir to them (GH-16723) https://github.com/python/cpython/commit/d83fc2702951f56a7339aa95d62414ed6e0fb40d --

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Steve Dower
Steve Dower added the comment: I'm okay with skipping the failing test if we detect sys.getwindowsversion().major < 10 Windows 7 is not supported for Python 3.9, so this buildbot can be disabled/upgraded. Windows 8.1 will be supported for at least 3.9, so we'll have to keep skipping the

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +16345 pull_request: https://github.com/python/cpython/pull/16785 ___ Python tracker ___

[issue38473] AttributeError on asserting autospecced mock object added using attach_mock

2019-10-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +16344 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16784 ___ Python tracker

[issue38474] digit check logic can be replaced by Py_ISDIGIT on prepare_s

2019-10-14 Thread Dong-hee Na
New submission from Dong-hee Na : digit check logic can be replaced by Py_ISDIGIT on prepare_s. -- assignee: corona10 messages: 354643 nosy: corona10 priority: normal severity: normal status: open title: digit check logic can be replaced by Py_ISDIGIT on prepare_s

[issue37759] Polish whatsnew for 3.8

2019-10-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +16346 pull_request: https://github.com/python/cpython/pull/16786 ___ Python tracker ___

[issue38474] digit check logic can be replaced by Py_ISDIGIT on prepare_s

2019-10-14 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2019-10-14 Thread Steve Dower
Steve Dower added the comment: But I'm okay to defer it - this is still going to be obscure functionality for the time being, and it's possible to avoid the issue. -- priority: release blocker -> deferred blocker ___ Python tracker

[issue38473] AttributeError on asserting autospecced mock object added using attach_mock

2019-10-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-14 Thread Pierre Quentel
Pierre Quentel added the comment: That was a quick fix, thanks ! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37910] argparse wrapping fails with metavar="" (no metavar)

2019-10-14 Thread Sam Franklin
Sam Franklin added the comment: Paul, very true. If I find time I may take a look at rewriting it as you suggest. For the moment, though, there's a relatively simple change that opens up a range of allowable whitespace characters. It's still a bandage, but it covers decent-sized area and

[issue38453] ntpath.realpath() should make absolute path earlier

2019-10-14 Thread miss-islington
miss-islington added the comment: New changeset aa909b6b1242b4969b20bb0250ac386f9b4120d7 by Miss Islington (bot) in branch '3.8': bpo-38453: Resolve test directories before chdir to them (GH-16723) https://github.com/python/cpython/commit/aa909b6b1242b4969b20bb0250ac386f9b4120d7 --

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-10-14 Thread Steve Dower
Change by Steve Dower : -- title: ntpath.realpath() should make absolute path earlier -> ntpath.realpath() does not fully resolve relative paths ___ Python tracker ___

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I tried your example as below using __name__. I received an AttributeError for which issue38473 in 3.7.5RC1 and 3.8.0RC1 and opened issue38473 and I am running my below code under that issue PR. For 3.7.4, I received manager.mock_calls to be an

[issue38474] digit check logic can be replaced by Py_ISDIGIT on prepare_s

2019-10-14 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +16347 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16787 ___ Python tracker ___

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-14 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +16348 pull_request: https://github.com/python/cpython/pull/16788 ___ Python tracker ___

  1   2   >