[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 ___ __

[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) https://github.com/python/cpython/commit/6bd438e137a061

[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

[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 ___ _

[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 ___ ___ Python

[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 --

[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'): sys.arg

[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: https://m

[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: https://m

[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: https://m

[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 ___ _

[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 ___

[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
Change by Petr Viktorin : -- pull_requests: +13639 pull_request: https://github.com/python/cpython/pull/13758 ___ Python tracker ___ ___

[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) https://github.com/python/cpython/commit/c67

[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:

[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: https://mai

[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: https://ma

[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 ___ __

[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 -

[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 -

[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) https://github.com/python/cpython/commit/9390e98c3ed9eb9fa414030a2feec1926193

[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 tr

[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) https://github.com/python/cpython/commit/7f4ae1b2cc60cb69938e7c88793b9e9a2dd3

[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 -- ___

[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 ___

[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 --

[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 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
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: te

[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 ___ ___

[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 59

[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 ___ ___ Python-b

[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

[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 ___ _

[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 --

[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

[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 ___ __

[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 ___

[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 ___ ___

[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) https://github.com/python/cpython/commit/13136e83a637a9f1cfbada7e930970052

[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

[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: -> reso

[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 ___ ___

[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 ___ ___ Python-bugs-list

[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 p

[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 ___ _

[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 (

[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 ___ ___

[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: https://b

[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 Unsu

[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 __

[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 thread

[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) test_clo

[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 doc

[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 ce

[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

[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) https://github.com/python/cpython/commit/8766cb74e186d3820db0a855ccd780d

[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

[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 -- _

[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 >

[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 ___ __

[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 ___ ___

[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

[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 ___ _

[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

[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. """ W

[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

[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 _

[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 ___ __

[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 maili

[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 ___ ___

[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 ___ ___

[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

[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 ___ ___

[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 --

[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 argument

[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

[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 ___ ___

[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 u

[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

[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 h

[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: https://mail.python.org/m

[issue37029] PyObject_Free is O(N) where N = # of arenas

2019-06-02 Thread Friedel Wolff
Friedel Wolff added the comment: I had a bit of time and access to a pretty big machine, so I ran the remove-arena-search branch with the same number of iterations, but also 2x and 4x as many. I attach the output in case it is interesting. The timings seem to be growing linearly with the num

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-06-02 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13655 pull_request: https://github.com/python/cpython/pull/13771 ___ Python tracker ___ ___

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2019-06-02 Thread Mark Dickinson
Mark Dickinson added the comment: > Can we at least switch to PyLong_CheckExact? +1 > I am not sure that converting to an exact int in low-level C API functions is > the best option. I am sure. :-) The number of naturally-occurring cases where we're actually passing a subtype of `int` tha

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

2019-06-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Would be nice if someone could post a gdb backtrace of the core dump. -- ___ Python tracker ___ _

<    1   2