[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 94d9c5e5afdee4f46be9d9faaa39d6be40c34849 by Miss Islington (bot) in branch '3.8': bpo-39148: enable ipv6 for datagrams in Proactor (GH-19121) https://github.com/python/cpython/commit/94d9c5e5afdee4f46be9d9faaa39d6be40c34849 --

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread Michael Felt
Michael Felt added the comment: Bot failed for AIX https://buildbot.python.org/all/#builders/227/builds/978 with: 0:07:11 Re-running test_asyncio in verbose mode Failed to import test module: test.test_asyncio.test_events Traceback (most recent call last): File

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +19468 pull_request: https://github.com/python/cpython/pull/20169 ___ Python tracker ___

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 442634c42fcaf31c636f693951a97734042c3e7b by Kjell Braden in branch 'master': bpo-39148: enable ipv6 for datagrams in Proactor (GH-19121) https://github.com/python/cpython/commit/442634c42fcaf31c636f693951a97734042c3e7b -- nosy:

[issue40633] json.dumps() should encode float number NaN to null

2020-05-18 Thread Mark Dickinson
Mark Dickinson added the comment: ... but I'm an idiot, since that option is already there (allow_nan=False), and I've just checked that we are in fact using it. -- ___ Python tracker

[issue40633] json.dumps() should encode float number NaN to null

2020-05-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: I missed that as well ;-) Shall we close this now? -- ___ Python tracker ___ ___

[issue40633] json.dumps() should encode float number NaN to null

2020-05-18 Thread Eric V. Smith
Eric V. Smith added the comment: I think it should be closed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread Nathaniel Smith
Change by Nathaniel Smith : -- pull_requests: +19469 pull_request: https://github.com/python/cpython/pull/20170 ___ Python tracker ___

[issue40661] The new parser segfaults when parsing invalid input

2020-05-18 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: I know what else it might find either, but I still think it's worth running property-based tests in CI to find out! The demo I wrote for my language summit talk doesn't have any parser tests, but still would have caught this bug in the pull request

[issue31131] asyncio.wait_for() TimeoutError doesn't provide full traceback

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: This issue was just resolved by the combination of #40607 followed by #31033 (merged for 3.9.0 beta 1). Running the example code above now results in the following: Traceback (most recent call last): File "/.../cpython/test-31131.py", line 5, in run

[issue22622] ElementTree only writes declaration when passed encoding

2020-05-18 Thread Stefan Behnel
Stefan Behnel added the comment: Right, thanks. Closing since this works in Py3. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue40607] asyncio.wait_for should reraise future exception even if timeout expires

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thank you again, Roman and all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.8 ___ Python tracker

[issue40633] json.dumps() should encode float number NaN to null

2020-05-18 Thread Mark Dickinson
Mark Dickinson added the comment: > We could add an option to cause NaNs to raise an error, but I don't think it > would get used. If that option were extended to also cause infinities to raise an error, then I'd use it. We have code that's producing JSON without knowing in advance exactly

[issue34956] _tkinter built on macOS 10.14 does not link to Tcl and Tk in /Library/Frameworks

2020-05-18 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +19470 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20171 ___ Python tracker ___

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread Nathaniel Smith
Nathaniel Smith added the comment: New changeset 58205a0217e91232cc1e945dbfe4e387d636eb76 by Nathaniel J. Smith in branch 'master': bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170) https://github.com/python/cpython/commit/58205a0217e91232cc1e945dbfe4e387d636eb76

[issue40666] TarFile.add does not support pathlib.Path as a value to first argument.

2020-05-18 Thread Марк Коренберг
Change by Марк Коренберг : -- components: Library (Lib) nosy: socketpair priority: normal severity: normal status: open title: TarFile.add does not support pathlib.Path as a value to first argument. versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread Nathaniel Smith
Nathaniel Smith added the comment: I think I fixed the buildbot issues in GH-20170, but I can't seem to reach the buildbot site right now, so it's hard to know for sure! -- versions: -Python 3.6 ___ Python tracker

[issue40633] json.dumps() should encode float number NaN to null

2020-05-18 Thread Mark Dickinson
Mark Dickinson added the comment: Agreed; closing. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___

[issue40668] Catastrophic loss of precision in colorsys module

2020-05-18 Thread Zac Hatfield-Dodds
New submission from Zac Hatfield-Dodds : As part of the Mentored Sprints at PyCon US, Marielle wrote some property-based tests [1] for the colorsys module [2], which found two bugs. Taking a YIQ color, converting to RGB, and back to YIQ can result in the Y coordinate varying by more 0.1

[issue34956] _tkinter built on macOS 10.14 does not link to Tcl and Tk in /Library/Frameworks

2020-05-18 Thread Ned Deily
Ned Deily added the comment: New changeset 1731d6da263e9a2d6e783e87a8a5d5ce58fda46d by Ned Deily in branch 'master': bpo-34956: Fix macOS _tkinter use of Tcl/Tk in /Library/Frameworks (GH-20171) https://github.com/python/cpython/commit/1731d6da263e9a2d6e783e87a8a5d5ce58fda46d --

[issue40667] [Windows] Add global python and python3 commands

2020-05-18 Thread Steve Dower
New submission from Steve Dower : So I'm totally sick of being abused on the internet about the whole PATH issue, and want to put this up as an alternative. I'm willing to do the work, but I'm worried that my emotional state about the whole thing is blinding me to obvious issues. In short,

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

2020-05-18 Thread Dennis Sweeney
Dennis Sweeney added the comment: I mostly like new_merge.py too, especially the dynamic reduction of the tree. However, it looks like ``list(merge([2],[1],[1]))`` currently fails, and I think what's missing is the following in the sibling-promotion: + if sibling.left is not

[issue40629] Error MSB4086 (numeric comparison)

2020-05-18 Thread Steve Dower
Steve Dower added the comment: Yeah, that looks like a version of .NET that pre-dates Version being made comparable, which probably means you're not getting the MSBuild installed with VS. Check out "where MSBuild" or %MSBUILD% to see if there's something obvious overriding it, and use the

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-18 Thread Steve Dower
Steve Dower added the comment: This is only an issue for broken symlinks, right? (More precisely, those that cannot be resolved, which may include very long paths on some machines.) Fixing copy is my preferred option. Also Jason, what do you need to be able to test against prerelease? It

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread Tal Einat
Tal Einat added the comment: I can reproduce this behavior on macOS as well, so this doesn't seem to be Windows-specific. This does not happen with other apps in general, so it is not normal behavior for apps. Testing with a minimal tkinter app (see code below) gives similar behavior, so

[issue35967] Better platform.processor support

2020-05-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Thanks, Jason. I'll have a closer look at the issue and report back later this week. -- ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-05-18 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I'm not getting any compiler warnings on macOS (clang) and on Ubuntu (gcc) and I can't find any related warnings on the Windows Github Actions logs either. Could you maybe post a verbose log of test_peg_generator, Raymond? --

[issue39148] DatagramProtocol + IPv6 does not work with ProactorEventLoop

2020-05-18 Thread Michael Felt
Michael Felt added the comment: I could not "fathom" the buildbot test results - however, a manual build of PR29170 on 3.9 works: I'll try 3.8, but then from master (assuming it is already part of master) -- and that works as well. Thanks for the quick update! --

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : Running the PEG Parser benchmarks requires having memory_profiler installed. In Tools/peg_generator: ➜ peg_generator git:(master) make time_stdlib ../../python -m zipfile -e data/xxl.zip data ../../python scripts/benchmark.py --parser=cpython

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +19471 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20172 ___ Python tracker

[issue31033] Improve traceback of cancelled tasks / add cancel() msg argument

2020-05-18 Thread Chris Jerdonek
Change by Chris Jerdonek : -- pull_requests: +19472 pull_request: https://github.com/python/cpython/pull/20173 ___ Python tracker ___

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Petter S added the comment: I see. Perhaps that is the resolution then. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3764069f3ba2a7e932837ae19265059339dc86e3 by Pablo Galindo in branch 'master': bpo-40669: Use requirements.pip when installing PEG dependencies (GH-20194) https://github.com/python/cpython/commit/3764069f3ba2a7e932837ae19265059339dc86e3

[issue31033] Improve traceback of cancelled tasks / add cancel() msg argument

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset ff7a8b03c49153021d6de5d0b2fa8b5163059ed6 by Chris Jerdonek in branch 'master': Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173) https://github.com/python/cpython/commit/ff7a8b03c49153021d6de5d0b2fa8b5163059ed6 --

[issue40334] PEP 617: new PEG-based parser

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 75b863aa97016c6813709eb620c43295f84dd51f by Lysandros Nikolaou in branch 'master': bpo-40334: Reproduce error message for type comments on bare '*' in the new parser (GH-20151)

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Petter S added the comment: I can fix this, but it does not have high priority. -- ___ Python tracker ___ ___ Python-bugs-list

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: URLOpener has been deprecated since Python3.3 (https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L1703-L1705) maybe it should just be removed from the codebase? -- nosy: +remi.lapeyre ___ Python

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > Too bad nobody took any action here after the positive outcome of the > discussion at the summit. I didn't understand it this way. I understood that some people were not 100% comfortable to target 3.9. The question was 3.9 or 3.10. Since the release

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-18 Thread Łukasz Langa
Łukasz Langa added the comment: We'll make this an announced 3.10 feature early on. The discussion at the Summit wasn't as clear cut to me: 35% of participants would rather see this default later than 3.9. -- ___ Python tracker

[issue40614] ast.parse doesn't respect feature_version for debug f-strings

2020-05-18 Thread Shantanu
Change by Shantanu : -- keywords: +patch pull_requests: +19496 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20196 ___ Python tracker ___

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19493 pull_request: https://github.com/python/cpython/pull/20192 ___ Python tracker ___

[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: I propose to rename "cpython/initconfig.h" to "cpython/cpython_initconfig.h". #include "cpython/initconfig.h" would become: #include "cpython/cpython_initconfig.h" So it becomes possible to include a cpython_xxx.h header from another cpython_xxx.h header

[issue40646] Builtins in doc show signature in documentation

2020-05-18 Thread Eric V. Smith
Eric V. Smith added the comment: "message signatures" -> "function signatures" -- ___ Python tracker ___ ___ Python-bugs-list

[issue40536] Addition of a "list of available time zones" function to zoneinfo

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: def valid_key(fpath): try: with open(fpath, "rb") as f: return f.read(4) == b"TZif" except Exception: # pragma: nocover return False Why not only catching "except OSError:" rather than any exception?

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-18 Thread Filipe Laíns
Change by Filipe Laíns : -- pull_requests: +19473 pull_request: https://github.com/python/cpython/pull/20164 ___ Python tracker ___

[issue39162] setup.py not picking up tkinter headers from non-system macOS Tcl and Tk frameworks

2020-05-18 Thread Ned Deily
Ned Deily added the comment: Thanks for the report and the PR. Yes, detect_tkinter_darwin() had a number of problems due mainly to how Apple has first deprecated and more recently removed the option to have header files installed in the running system. Plus some nasty quirks of how the Tcl

[issue26317] _scproxy and Python Launcher fail to build wtih GNU gcc on macOS 10.13+

2020-05-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19481 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/20177 ___ Python tracker ___

[issue26317] _scproxy and Python Launcher fail to build wtih GNU gcc on macOS 10.13+

2020-05-18 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +19483 pull_request: https://github.com/python/cpython/pull/20182 ___ Python tracker ___

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: > Doc/Makefile uses a virtual environment to install Sphinx and Sphinx > extensions. I suggest to do something similar. I like this approach. Let me try it. -- ___ Python tracker

[issue38870] Expose ast.unparse in the ast module

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c102a148256b00b7d48c51a1a97df19042e603de by Batuhan Taskaya in branch 'master': bpo-38870: Don't omit parenthesis when unparsing a slice in ast.unparse https://github.com/python/cpython/commit/c102a148256b00b7d48c51a1a97df19042e603de

[issue40528] Improve / Clear ASDL generator

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19494 pull_request: https://github.com/python/cpython/pull/20193 ___ Python tracker ___

[issue40673] UrlOpener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
New submission from Petter S : The following code crashes with TypeError: URLopener().open("unknown_proxy://test") the expected behavior is an OSError, which is normally raised for unknown protocols. This implementation of directly calling a method called "unknown_proxy" is fragile and was

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Change by Petter S : -- title: UrlOpener raises different exceptions based on implementation detail -> urllib.request.URLopener raises different exceptions based on implementation detail ___ Python tracker

[issue35907] [security][CVE-2019-9948] Unnecessary URL scheme exists to allow local_file:// reading file in urllib

2020-05-18 Thread Petter S
Petter S added the comment: OK: https://bugs.python.org/issue40673 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40275] test.support has way too many imports

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a by Hai Shi in branch 'master': bpo-40275: More lazy imports in test.support (GH-20131) https://github.com/python/cpython/commit/a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a --

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > URLOpener has been deprecated since Python3.3 > (https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L1703-L1705) > maybe it should just be removed from the codebase? It emits a DeprecationWarning since at least Python 3.6, so yes, it's

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19492 pull_request: https://github.com/python/cpython/pull/20191 ___ Python tracker ___

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40669: Install PEG benchmarking dependencies in a venv (GH-20183) I like this approach :-) -- ___ Python tracker ___

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread Steve Dower
Steve Dower added the comment: New changeset 930badd414dd2376b1875e1775cb40855a87e180 by Steve Dower in branch '3.7': bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974) https://github.com/python/cpython/commit/930badd414dd2376b1875e1775cb40855a87e180 --

[issue40452] IDLE: preserve clipboard on closure

2020-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks Tal. I should have inquired about behavior on *nix before putting so much effort into a Windows-only workaround, and not try to rush something into the beta coming out today or tomorrow. I will return to trying to do an invisible paste into a bare

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19495 pull_request: https://github.com/python/cpython/pull/20194 ___ Python tracker ___

[issue40257] Improve the use of __doc__ in pydoc

2020-05-18 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like the revert is solving the issue? -- priority: release blocker -> high ___ Python tracker ___

[issue39820] Bracketed paste mode for REPL

2020-05-18 Thread Aaron Meurer
Aaron Meurer added the comment: Related issue https://bugs.python.org/issue32019 -- nosy: +asmeurer ___ Python tracker ___ ___

[issue40257] Improve the use of __doc__ in pydoc

2020-05-18 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > Looks like the revert is solving the issue? It appears to do so as far as I can tell, and most test pass on nightly, the rest seem to be unrelated to changes in current 3.9. Many thanks to Serhiy for all the work on making documentation better, and

[issue40410] test_multiprocessing_forktest_terminate() timed out after 15 min on s390x Fedora LTO + PGO 3.x

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue as out of date. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40661] The new parser segfaults when parsing invalid input

2020-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: Okay, deferring the blocker. But I'll still land Lysandros' fix ASAP. -- priority: release blocker -> deferred blocker ___ Python tracker

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +19487 pull_request: https://github.com/python/cpython/pull/20186 ___ Python tracker ___

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread Steve Dower
Steve Dower added the comment: Thanks! Nice catch. Closing this, but I'll keep an eye on the backports. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread E. Paine
Change by E. Paine : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 8e49c1fcf15969ca5c585648a5520617cc0566e6 by Miss Islington (bot) in branch '3.7': bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)

[issue40657] Resource leaks with threading.Thread

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 460eac20a625d5dcef409dadc120a26d272a8013 by Miss Islington (bot) in branch '3.8': bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974) https://github.com/python/cpython/commit/460eac20a625d5dcef409dadc120a26d272a8013

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +3.9regression -patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2135e10dc717c00d10d899d232bebfc59bb25032 by Batuhan Taskaya in branch 'master': bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156)

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: > This is only an issue for broken symlinks, right? (More precisely, those that > cannot be resolved, which may include very long paths on some machines.) Unfortunately, no. In the original post above, you can see temp/bar points to

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-18 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Is this different than what you would expect? Supplying garbage to timeit will result in an error: >>> from timeit import timeit >>> timeit('weofinwofinwe') Traceback (most recent call last): File "", line 1, in File

[issue40667] [Windows] Add global python and python3 commands

2020-05-18 Thread Eryk Sun
Eryk Sun added the comment: > For "python.exe", run as "py.exe", which is subject to shebangs, > VIRTUAL_ENV, and PY_PYTHON. Maybe in the "python[w].exe" case, it should skip shebang processing. That way only py[w].exe would handle shebangs, such as for the template command that gets

[issue38798] test_asyncio.test_sendfile.test_sendfile_ssl_pre_and_post_data(): Overlapped still has pending operation at deallocation error on AMD64 Windows8.1 Non-Debug 3.x

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this race condition recently, I just close the issue as out of date. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue38544] test_venv: test_isolation() failed on AMD64 Windows7 SP1 3.x: directory not empty: Scripts\

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this race condition recently, I just close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +19484 pull_request: https://github.com/python/cpython/pull/20183 ___ Python tracker ___

[issue40003] test.regrtest: add an option to run test.bisect_cmd on failed tests, use it on Refleaks buildbots

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: While it would be nice, I'm not sure if it's a good idea to make buildbot jobs even longer. I wrote this issue to investigate an issue that I fixed in the meanwhile, so I close the issue. -- resolution: -> out of date stage: patch review ->

[issue40667] [Windows] Add global python and python3 commands

2020-05-18 Thread Steve Dower
Steve Dower added the comment: The self-name checking is not something I'm volunteering to write, btw, nor any new options. But feel free to put those up as separate issues. I'm also not getting into symbolic links here - WiX doesn't support them natively, and custom actions are the source

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread Steve Dower
Steve Dower added the comment: New changeset 7f21c9ac872acc2114aee3313d132b016550ff42 by Minmin Gong in branch 'master': bpo-40653: Move _dirnameW out of #ifdef HAVE_SYMLINK/#endif (GH-20144) https://github.com/python/cpython/commit/7f21c9ac872acc2114aee3313d132b016550ff42 --

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19486 pull_request: https://github.com/python/cpython/pull/20185 ___ Python tracker

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19489 pull_request: https://github.com/python/cpython/pull/20188 ___ Python tracker

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread Steve Dower
Steve Dower added the comment: New changeset f660567937277cc3a2cd53af77bbb18e905427e8 by Minmin Gong in branch 'master': bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137) https://github.com/python/cpython/commit/f660567937277cc3a2cd53af77bbb18e905427e8

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread Steve Dower
Change by Steve Dower : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: Too bad nobody took any action here after the positive outcome of the discussion at the summit. -- components: +Interpreter Core -Library (Lib) stage: -> needs patch type: -> behavior versions: -Python 3.9

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 6da26f8cec5c3f012e2fd001042ccadcd8aba640 by Miss Islington (bot) in branch '3.7': bpo-40653: Move _dirnameW out of GH-ifdef HAVE_SYMLINK/GH-endif (GH-20144) https://github.com/python/cpython/commit/6da26f8cec5c3f012e2fd001042ccadcd8aba640

[issue40646] Builtins in doc show signature in documentation

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: -rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40646] Builtins in doc show signature in documentation

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32803] smtplib: LMTP broken in the case of multiple RCPT

2020-05-18 Thread Jacob Middag
Jacob Middag added the comment: Could anyone take a look to the PR? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40661] The new parser segfaults when parsing invalid input

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7b7a21bc4fd063b26a2d1882fddc458861497812 by Lysandros Nikolaou in branch 'master': bpo-40661: Fix segfault when parsing invalid input (GH-20165) https://github.com/python/cpython/commit/7b7a21bc4fd063b26a2d1882fddc458861497812

[issue40661] The new parser segfaults when parsing invalid input

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

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

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

[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2020-05-18 Thread Kevin Mooney
Kevin Mooney added the comment: Ok, I think I see. Is there a concern that removing the cpython/ prefix might lead to the wrong initconfig.h being included? So your proposal is all includes in the root will do #include "cpython/cpython_foo.h" And any includes done in the cpython dir

[issue40666] TarFile.add does not support pathlib.Path as a value to first argument.

2020-05-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman, lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset ddd5bbdeec8cf18ef074b3506c96d22ac3dc1f93 by Miss Islington (bot) in branch '3.8': bpo-40653: Move _dirnameW out of GH-ifdef HAVE_SYMLINK/GH-endif (GH-20144) https://github.com/python/cpython/commit/ddd5bbdeec8cf18ef074b3506c96d22ac3dc1f93

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset ab9d9535aad5e627cb9ae471f186e27a65e48c6e by Miss Islington (bot) in branch '3.8': bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)

[issue40620] Range tutorial shorthand could be made clearer

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   >