[issue21872] LZMA library sometimes fails to decompress a file

2019-06-02 Thread Ma Lin
Change by Ma Lin : -- nosy: +Ma Lin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two design issues: 1. As I said 2017-06-20, msg296499, I expect to add more alternatives to the standard run to this menu option and dialog. (Cheryl, I should have pointed you to this post as well as the later ones.) I want to add just one new option to

[issue37132] Add a module for integer related math functions

2019-06-02 Thread Tim Peters
Tim Peters added the comment: Ya, I'm mostly with Raymond. `math` was originally a very thin wrapper around C's libm, but we've been moving away from that more and more for decades, and it's no longer the case anyway that the vast bulk of new Python programmers are intimately familiar with

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the analysis and the PR! It turns out the problem is not new to 10.14; as you discovered, it's simply a matter of how may groups a particular user is in and, with all the system-generated groups, that number may vary from release to release and from

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +13654 pull_request: https://github.com/python/cpython/pull/13769 ___ Python tracker ___

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, I thought that as the BDFL delegate for PEP 570, you would be the person to ask. Adding the Steering Council members to the nosy list. -- nosy: +barry, brett.cannon, ncoghlan, willingc ___ Python tracker

[issue37138] PEP 590 method_vectorcall calls memcpy with NULL src

2019-06-02 Thread Gregory P. Smith
New submission from Gregory P. Smith : The undefined behavior sanitizer buildbot is flagging a bunch of issues in master (3.8) of late: AssertionError: 'Objects/classobject.c:74:29: runtime erro[139 chars]re\n' != '' - Objects/classobject.c:74:29: runtime error: null pointer passed as

[issue36546] Add quantiles() to the statistics module

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset cba9f84725353455b0995bd47d0fa8cb1724464b by Raymond Hettinger in branch 'master': bpo-36546: Add design notes to aid future discussions (GH-13769) https://github.com/python/cpython/commit/cba9f84725353455b0995bd47d0fa8cb1724464b --

[issue37005] bz2 module doesn't write end-of-stream marker

2019-06-02 Thread Dobatymo
Dobatymo added the comment: Sorry, I forgot about the bit alignment when I was checking for the footer. This can be closed then. -- ___ Python tracker ___

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-02 Thread Tim Peters
Tim Peters added the comment: I'm not fatally opposed to relaxing k <= n. David makes some good points about it, and - as Raymond already noted - "0" is consistent with the behavior of itertools.combinations(). The docs would need to change, though, because the factorial "definition" would

[issue36546] Add quantiles() to the statistics module

2019-06-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +13653 pull_request: https://github.com/python/cpython/pull/13769 ___ Python tracker ___

[issue37086] time.sleep error message misleading

2019-06-02 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +13652 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13768 ___ Python tracker ___

[issue37086] time.sleep error message misleading

2019-06-02 Thread Windson Yang
Windson Yang added the comment: I just create a PR for it. -- nosy: +Windson Yang ___ Python tracker ___ ___ Python-bugs-list

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-02 Thread Guido van Rossum
Guido van Rossum added the comment: Please don’t call on just me. If you really don’t want this, call on the Steering Council. -- ___ Python tracker ___

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-02 Thread Kubilay Kocak
Kubilay Kocak added the comment: Again, happy to provide ssh access to the koobs-freebsd-current worker to help analysis, just PM me ssh public keys on IRC (koobs @ #python-dev freenode) -- ___ Python tracker

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-02 Thread David Radcliffe
David Radcliffe added the comment: I understand that pure mathematics is not the primary use case. But I would expect that math.comb() would be used to implement mathematical formulas. As a simple example, the number of edges in a complete graph on n vertices is binomial(n, 2), and this should

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-02 Thread Tim Peters
Tim Peters added the comment: I'm going to repeat part of an earlier comment :-) """ Please resist pointless feature creep. The original report was about comb(n, k) for integer n and k with 0 <= k <= n and that's all. Everyone who commented appeared to agree they'd find that useful. """

[issue35761] Allow dataclasses to be updated in place

2019-06-02 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to reject this. There's nothing special about dataclasses that would require a feature like this. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue33569] dataclasses InitVar does not maintain any type info

2019-06-02 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue33569] dataclasses InitVar does not maintain any type info

2019-06-02 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 01ee12ba35a333e8a6a25c4153c4a21838e9585c by Eric V. Smith (Augusto Hack) in branch 'master': bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927) https://github.com/python/cpython/commit/01ee12ba35a333e8a6a25c4153c4a21838e9585c

[issue26468] shutil.copy2 raises OSError if filesystem doesn't support chmod

2019-06-02 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +13651 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13765 ___ Python tracker ___

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-06-02 Thread STINNER Victor
Change by STINNER Victor : -- resolution: wont fix -> fixed versions: -Python 2.7, Python 3.6, Python 3.9 ___ Python tracker ___

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here are a few other data points. There is no consensus but either returning 0 or erroring out seem reasonable. MS Excel's COMBIN: If number < 0, number_chosen < 0, or number < number_chosen, COMBIN returns the #NUM! error value. Scipy.misc.comb: If k

[issue37069] regrtest: log unraisable exceptions and uncaught thread exceptions

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0025350294959594e7f57aef4fc9579c77a0ed1c by Victor Stinner in branch 'master': bpo-37069: tests use catch_unraisable_exception() (GH-13762) https://github.com/python/cpython/commit/0025350294959594e7f57aef4fc9579c77a0ed1c --

[issue37136] Travis CI: Documentation tests fails with Sphinx 2.1

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Ok, it's very strange. The test passed when run again manually on Travis CI. I close the issue -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 8766cb74e186d3820db0a855ccd780d6d84461f7 by Gregory P. Smith (Inada Naoki) in branch '3.7': [3.7] bpo-27987: align PyGC_Head to alignof(long double) (GH-13335) (GH-13581)

[issue37136] Travis CI: Documentation tests fails with Sphinx 2.1

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Tests passed on my PR 13764, so I remove the release blocker status. It might be something wrong specific to my PR 13762. -- nosy: -lukasz.langa priority: release blocker -> ___ Python tracker

[issue37136] Travis CI: Documentation tests fails with Sphinx 2.1

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: I tried but I failed to reproduce the issue using: git clean -fdx ./configure CFLAGS="-O0" make cd Doc make venv PYTHON=../python # Successfully installed Jinja2-2.10.1 MarkupSafe-1.1.1 Pygments-2.4.2 Sphinx-2.1.0 alabaster-0.7.12 babel-2.7.0 blurb-1.0.7

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Guido, was it your intention that this show-up everywhere in the docs. I had thought the primary motivation was to make it possible to write pure python code that exactly matched a C API. ISTM, there is no need to confront every single user of the

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Ubuntu Shared 3.x: https://buildbot.python.org/all/#/builders/141/builds/1912 test_proc_exited (test.test_asyncio.test_subprocess.SubprocessTransportTests) ... Warning -- threading_cleanup() failed to cleanup -1 threads (count: 0, dangling: 1)

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Another similar error on "ARMv7 Debian buster 3.x" buildbot: https://buildbot.python.org/all/#/builders/176/builds/664 test_proc_exited (test.test_asyncio.test_subprocess.SubprocessTransportTests) ... Warning -- threading_cleanup() failed to cleanup -1

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Do we really want to do this? ISTM, this would be a regression in the readability of the docs. 100% of the users of the docs will be confronted with this syntax which is mostly irrelevant to them. -- nosy: +rhettinger

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Maybe it's related to bpo-33608. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: > So far so good. :) I'll keep an eye on things and if the buildbots are still > happy then I'll add back _PyEval_FinishPendingCalls() in _Py_FinalizeEx() in > a few days. I have no idea if it's related, but we started to see coredumps on FreeBSD:

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: New coredump: https://buildbot.python.org/all/#builders/168/builds/1129 -- nosy: +vstinner ___ Python tracker ___

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-02 Thread STINNER Victor
New submission from STINNER Victor : s390x RHEL 3.x buildbot: https://buildbot.python.org/all/#/builders/21/builds/3150 test_cancel_gather_1 (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests) Ensure that a gathering future refuses to be cancelled once all ... ok test_cancel_gather_2

[issue37136] Travis CI: Documentation tests fails with Sphinx 2.1

2019-06-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13650 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13764 ___ Python tracker ___

[issue37136] Travis CI: Documentation tests fails with Sphinx 2.1

2019-06-02 Thread STINNER Victor
New submission from STINNER Victor : Travis CI: "Documentation tests" failed with: Successfully installed Jinja2-2.10.1 MarkupSafe-1.1.1 Pygments-2.4.2 Sphinx-2.1.0 alabaster-0.7.12 babel-2.7.0 blurb-1.0.7 certifi-2019.3.9 chardet-3.0.4 docutils-0.14 idna-2.8 imagesize-1.1.0 packaging-19.0

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks. Those seem reasonable for a first pass. -- ___ Python tracker ___ ___

[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: It's now fixed, thanks for the report! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue21110] Slowdown and high memory usage when adding a new module in embedded Python 3.4 on 64bit Windows

2019-06-02 Thread MrValdez
MrValdez added the comment: I couldn't replicate since my old dev machine didn't have rubenvb. Since this issue has been around for 5 years already, rubenvb isn't maintained and I couldn't replicate, I think its fine to close this issue. -- resolution: -> out of date stage: ->

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-02 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've added a minimal change for running a module in the editor with command line arguments. Some notes: 1. The shortcut key (F7) can be entered while on the shell window. As of now, any of the Run menu shortcuts can be entered, so I didn't fix that bug as

[issue36896] clarify in types.rst that FunctionTypes & co constructors don't have stable signature

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 13136e83a637a9f1cfbada7e93097005296659b4 by Petr Viktorin (Matthias Bussonnier) in branch 'master': bpo-36896: Clarify that some types constructors are unstable (GH-13271)

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-02 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13649 pull_request: https://github.com/python/cpython/pull/13761 ___ Python tracker ___

[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-02 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +13648 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13763 ___ Python tracker ___

[issue37069] regrtest: log unraisable exceptions and uncaught thread exceptions

2019-06-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13647 pull_request: https://github.com/python/cpython/pull/13762 ___ Python tracker ___

[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-06-02 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: How to add a label 'awaiting core review' to pull request? tirkarthi: "Left comment for doc and test. But in general would like to hear from a core dev on this." -- ___ Python tracker

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 1e375c6269e9de4f3d05d4aa6d6d74e00f522d63 by Petr Viktorin in branch 'master': bpo-36027: Really fix "incompatible pointer type" compiler warning (GH-13761) https://github.com/python/cpython/commit/1e375c6269e9de4f3d05d4aa6d6d74e00f522d63

[issue37005] bz2 module doesn't write end-of-stream marker

2019-06-02 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Sorry, the StreamFooter starts at byte 0x1f bit 1, not 0x20 bit 6. -- ___ Python tracker ___

[issue27432] Support unittest assertion truncation of repr in error messages

2019-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: I spent a while looking at this and what it'd take to wind up with a TestCase.maxReprLength style implementation to limit the length of unittest assertion failure reprs. I don't see a nice path forward via safe_repr as is (as the PR started with). adding

[issue27432] Support unittest assertion truncation of repr in error messages

2019-06-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: gregory.p.smith -> stage: patch review -> needs patch ___ Python tracker ___ ___

[issue37005] bz2 module doesn't write end-of-stream marker

2019-06-02 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The bz2 library and the bzip2 utility generate identical files. For example: >>> import bz2 >>> with bz2.open('bz2test.txt.bz2', mode='wb') as f: ... f.write(b'foobar') ... 6 generates this file: $ hexdump bz2test.txt.bz2 000 42 5a 68 39 31 41

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13646 pull_request: https://github.com/python/cpython/pull/13761 ___ Python tracker ___

[issue37069] regrtest: log unraisable exceptions and uncaught thread exceptions

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: I wrote a minimum implementation: PR 13759 marks a test as "altered the execution environment" (ENV_CHANGED) if sys.unraisablehook() is called at least once. This this PR, 9 tests fail: * test_urllib: see bpo-36918 * test_io: see bpo-18748 * test_thread:

[issue36974] Implement PEP 590

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset be718c33f06b3496faa61142df24fb071fd5d1f1 by Petr Viktorin (Jeroen Demeyer) in branch 'master': bpo-36974: add some assertions for PEP 590 (GH-13682) https://github.com/python/cpython/commit/be718c33f06b3496faa61142df24fb071fd5d1f1 --

[issue37069] regrtest: log unraisable exceptions and uncaught thread exceptions

2019-06-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13644 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13759 ___ Python tracker ___

[issue35814] Syntax quirk with variable annotations

2019-06-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +13645 pull_request: https://github.com/python/cpython/pull/13760 ___ Python tracker ___

[issue36974] Implement PEP 590

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 9e3e06e582accec82eb29cf665c3b4c7d84d2eb0 by Petr Viktorin (Jeroen Demeyer) in branch 'master': bpo-36974: document PEP 590 (GH-13450) https://github.com/python/cpython/commit/9e3e06e582accec82eb29cf665c3b4c7d84d2eb0 --

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +13643 pull_request: https://github.com/python/cpython/pull/13745 ___ Python tracker ___

[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3cf7ea1272fbc921a89acdbe40ca152813028cb5 by Victor Stinner in branch 'master': bpo-37100: Fix test_coroutines with -Werror (GH-13756) https://github.com/python/cpython/commit/3cf7ea1272fbc921a89acdbe40ca152813028cb5 --

[issue37012] Possible crash due to PyType_FromSpecWithBases()

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93 by Petr Viktorin in branch 'master': bpo-37012: Clean up special cases in PyType_FromSpecWithBases slot assignments (GH-13496)

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the PRs! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.7 ___ Python

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 9390e98c3ed9eb9fa414030a2feec1926193af94 by Ezio Melotti (Miss Islington (bot)) in branch '3.7': bpo-19184: Update the documentation of dis module. (GH-13652) (GH-13755)

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset e584cbff1ea78e700cf9943d50467e3b58301ccc by Petr Viktorin in branch 'master': bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warnings (GH-13758) https://github.com/python/cpython/commit/e584cbff1ea78e700cf9943d50467e3b58301ccc

[issue36974] Implement PEP 590

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset e584cbff1ea78e700cf9943d50467e3b58301ccc by Petr Viktorin in branch 'master': bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warnings (GH-13758) https://github.com/python/cpython/commit/e584cbff1ea78e700cf9943d50467e3b58301ccc

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-02 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +13642 pull_request: https://github.com/python/cpython/pull/13754 ___ Python tracker ___

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-02 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : test_import (test.test_multiprocessing_spawn._TestImportStar) ... ok -- Ran 352 tests in 322.667s OK (skipped=34) Warning -- files was modified by test_multiprocessing_spawn Before:

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread miss-islington
miss-islington added the comment: New changeset c6789d6c85a290a35f3839efb52a3d34536dcebe by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13639 pull_request: https://github.com/python/cpython/pull/13758 ___ Python tracker ___

[issue36974] Implement PEP 590

2019-06-02 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13640 pull_request: https://github.com/python/cpython/pull/13758 ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: I will fix the compiler warning along with another one that I just introduced. -- nosy: +petr.viktorin ___ Python tracker ___

[issue35814] Syntax quirk with variable annotations

2019-06-02 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +13638 pull_request: https://github.com/python/cpython/pull/13757 ___ Python tracker ___

[issue36986] tarfile: unexpected IsADirectoryError on extraction

2019-06-02 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: -mangrisano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37086] time.sleep error message misleading

2019-06-02 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: -mangrisano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37074] os.stat() does not work for NUL and CON

2019-06-02 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: -mangrisano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32573] All sys attributes (.argv, ...) should exist in embedded environments

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: The issue has been fixed in Python 3.8. See PEP 587 and http://docs.python.org/dev/c-api/init_config.html for the larger scope. For Python 3.7, the fix is trivial: don't add the following 2 lines in your application: if not hasattr(sys, 'argv'):

[issue36974] Implement PEP 590

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset fb9423fd0a85f06affb8c3a8f25dd598a649aa42 by Petr Viktorin in branch 'master': bpo-36974: Make tp_call=PyVectorcall_Call work for inherited types (GH-13699) https://github.com/python/cpython/commit/fb9423fd0a85f06affb8c3a8f25dd598a649aa42

[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 13756 which fix the test. -- stage: patch review -> ___ Python tracker ___ ___

[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

2019-06-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13637 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13756 ___ Python tracker ___

[issue37014] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the PRs! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin -> fileinput

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 6bd438e137a0618b8db949a4751304f541b6674d by Ezio Melotti (Miss Islington (bot)) in branch '3.7': bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) (GH-13753)

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +13636 pull_request: https://github.com/python/cpython/pull/13755 ___ Python tracker ___

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset e1179a5096fb12297ececd7a1c79969aa5747e28 by Ezio Melotti (Michele Angrisano) in branch 'master': bpo-19184: Update the documentation of dis module. (GH-13652) https://github.com/python/cpython/commit/e1179a5096fb12297ececd7a1c79969aa5747e28

[issue20602] sys.flags and sys.float_info disappear at shutdown

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Honestly, I'm not sure that this issue is really a major bug. I don't think that it's worth it to backport the change. It's more a subtle change in Python finalization which is super fragile code. I prefer to only change the master branch, so I close the

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > The failure depends on tests order execution (maybe you use -jN flag?). Oh, I understand now! > See https://github.com/python/cpython/pull/13754 for the fix Thanks for the fix, Andrew! :) -- ___ Python

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report! The failure depends on tests order execution (maybe you use -jN flag?). Before default child watcher was SafeChildWatcher, not it is ThreaderChildWather. The watcher is a global variable (a property of global event loop policy). The

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +13635 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/13754 ___ Python tracker ___

[issue37126] test_threading is leaking references

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Thanks. commit 3caf4de6f05f68c3a175f4d8ce870d7a0016622a Author: Pablo Galindo Date: Sun Jun 2 21:52:49 2019 +0100 Call PyObject_GC_UnTrack in structseq dealloc (GH-13751) -- FYI I also fixed test_threading: commit

[issue36985] typing.ForwardRef is undocumented

2019-06-02 Thread Guido van Rossum
Guido van Rossum added the comment: Huh. I think I have mellowed with age. IOW SGTM. On Sat, Jun 1, 2019 at 17:07 Ivan Levkivskyi wrote: > > Ivan Levkivskyi added the comment: > > Guido, I remember you were against exposing `ForwardRef` as public at some > point, but recently you approved

[issue36829] Add sys.unraisablehook() to customize how "unraisable exceptions" are logged

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset cdce0574d03005e27b843fc110c54c99c7a76412 by Victor Stinner in branch 'master': bpo-36829: test_threading: Fix a ref cycle (GH-13752) https://github.com/python/cpython/commit/cdce0574d03005e27b843fc110c54c99c7a76412 --

[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2019-06-02 Thread Jarl Gullberg
Jarl Gullberg added the comment: After some more testing, I can add that the same issue crops up when attempting to compile Python 2.7.16 as well. -- ___ Python tracker ___

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset aca273e2401ca3151e15e984f400233b7f255e15 by Ezio Melotti (Michele Angrisano) in branch 'master': bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545)

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +13634 pull_request: https://github.com/python/cpython/pull/13753 ___ Python tracker ___

[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2019-06-02 Thread Jarl Gullberg
Jarl Gullberg added the comment: That's correct, CPython. I'm not sure if MicroPython would fit the bill for me, since this system is a full-blown Linux system. On Fri, 31 May 2019 at 23:26, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > I presume you are trying to compile

[issue36829] Add sys.unraisablehook() to customize how "unraisable exceptions" are logged

2019-06-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13633 pull_request: https://github.com/python/cpython/pull/13752 ___ Python tracker ___

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: When I ran the tests, the watcher I get is a SafeChildWatcher -- ___ Python tracker ___

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2019-06-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I cannot reproduce this issue locally :( -- ___ Python tracker ___ ___ Python-bugs-list

[issue32912] Raise non-silent warning for invalid escape sequences

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm seeing these warnings pop up from time to time with various third party packages (such as pyparsing which is invoked by ensurepip). Am wondering whether this should be deferred for another version or so until be have good confidence that the major

  1   2   >