[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8fa36b6be47356f8e42a8bd0b3dba24a8fbd6c35 by Terry Jan Reedy in branch '3.6': bpo-30928: update idlelib/NEWS.txt for 3.6. (#6888) https://github.com/python/cpython/commit/8fa36b6be47356f8e42a8bd0b3dba24a8fbd6c35 --

[issue30411] git doesn't support "-C" args under 1.8.5 occurs in configure.ac

2018-05-16 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___

[issue32384] Generator tests is broken in non-CPython implementation

2018-05-16 Thread Berker Peksag
Change by Berker Peksag : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-16 Thread STINNER Victor
New submission from STINNER Victor : https://travis-ci.org/python/cpython/jobs/379560387 == ERROR: test_ignore (test.test_multiprocessing_forkserver.TestIgnoreEINTR)

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-16 Thread STINNER Victor
New submission from STINNER Victor : https://travis-ci.org/python/cpython/jobs/379560387 == FAIL: test_stdin_broken_pipe (test.test_asyncio.test_subprocess.SubprocessFastWatcherTests)

[issue32392] subprocess.run documentation does not have **kwargs

2018-05-16 Thread Berker Peksag
Berker Peksag added the comment: I agree with Xavier's comment, but I've bitten by this before so I think it would be better if we add more common arguments to the subprocess.run() signature. Adding **kwargs wouldn't be entirely correct since subprocess.run() doesn't

[issue33528] os.getentropy support

2018-05-16 Thread Eitan Adler
Eitan Adler added the comment: There are few if any valid reasons to make direct use of the syscall from python code. Portable code would have to reimplement most of the logic from `getentropy` in any case. What you're usecase for the direct syscall? --

[issue32384] Generator tests is broken in non-CPython implementation

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6565 ___ Python tracker ___

[issue33528] os.getentropy support

2018-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK os.urandom is implemented via getentropy() if it is the most preferable source of randomness. See Python/bootstrap_hash.c and PEP 524 for details. -- nosy: +rhettinger, serhiy.storchaka, vstinner

[issue33453] from __future__ import annotations breaks dataclasses ClassVar and InitVar handling

2018-05-16 Thread Eric V. Smith
Change by Eric V. Smith : -- priority: release blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread Eric V. Smith
New submission from Eric V. Smith : There's an unnecessary test for "if typing" in _is_classvar. I added this function yesterday, and due to some refactoring it picked up some superfluous text. I'm going to remove it. -- assignee: eric.smith components: Library

[issue32384] Generator tests is broken in non-CPython implementation

2018-05-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset 4cc3eb48e1e8289df5153db1c701cae263a1ef86 by Berker Peksag (Isaiah Peng) in branch 'master': bpo-32384: Skip test when _testcapi isn't available (GH-4940)

[issue32384] Generator tests is broken in non-CPython implementation

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6564 ___ Python tracker ___

[issue32216] Document PEP 557 Data Classes (dataclasses module)

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6566 ___ Python tracker ___

[issue32216] Document PEP 557 Data Classes (dataclasses module)

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 98d50cb8f57eb227c373cb94b8680b12ec8aade5 by Eric V. Smith in branch 'master': bpo-32216: Add documentation for dataclasses (GH-6886) https://github.com/python/cpython/commit/98d50cb8f57eb227c373cb94b8680b12ec8aade5

[issue33462] reversible dict

2018-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If implement __reduce__ in dict, it should be implemented in dict views too. -- nosy: +inada.naoki, rhettinger, serhiy.storchaka ___ Python tracker

[issue33520] ast.Tuple has wrong col_offset

2018-05-16 Thread Isaiah Peng
Isaiah Peng added the comment: Fair enough, thanks for clarification. -- ___ Python tracker ___

[issue33129] Add kwarg-only option to dataclass

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: I'd forgotten about this issue and created #33493. I'll close it. Copied here is my comment from that issue: I've had several requests for keyword-only arguments. This is a placeholder to remind me to work on it. I have not decided if it's

[issue33528] os.getentropy support

2018-05-16 Thread STINNER Victor
STINNER Victor added the comment: "os.getentropy support" David Carlier: Would you mind to elaborate a little bit? This feature request is a little bit short. -- ___ Python tracker

[issue33528] os.getentropy support

2018-05-16 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-16 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___

[issue30104] clang 4.0 miscompiles dtoa.c, giving broken float parsing and printing

2018-05-16 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___

[issue991266] Cookie.py does not correctly quote Morsels

2018-05-16 Thread Berker Peksag
Berker Peksag added the comment: I've opened bpo-33535 to discuss Mark Williams' suggestion. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue33533] Provide an async-generator version of as_completed

2018-05-16 Thread Hrvoje Nikšić
Hrvoje Nikšić added the comment: Of course, `yield from done` would actually have to be `for future in done: yield future`, since async generators don't support yield from. -- ___ Python tracker

[issue33533] Provide an async-generator version of as_completed

2018-05-16 Thread Hrvoje Nikšić
New submission from Hrvoje Nikšić : Judging by questions on the StackOverflow python-asyncio tag[1][2], it seems that users find it hard to understand how to use as_completed correctly. I have identified three issues: * It's somewhat sparingly documented. A StackOverflow

[issue33528] os.getentropy support

2018-05-16 Thread David Carlier
David Carlier added the comment: These are valid point. In fact it was just to have direct access to the function like os.getrandom accesses directly the Linux syscall. But if there is no enough valid reason I can drop this PR. --

[issue33535] Consider quoting all values in Morsel objects

2018-05-16 Thread Berker Peksag
New submission from Berker Peksag : Continuing the discussion from bpo-991266. See msg315498 for Mark Williams' suggestion and https://github.com/python/cpython/pull/6555#discussion_r183176808 for another discussion between Alex and I on quoting all values

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +6567 stage: -> patch review ___ Python tracker ___

[issue28167] remove platform.linux_distribution()

2018-05-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Hi Petr, I'm fine with this. Maintaining the necessary logic Python is not really possible in the stdlib. It's better to have a PyPI module for this which can be updated much more easily. Thanks. --

[issue33528] os.getentropy support

2018-05-16 Thread David Carlier
David Carlier added the comment: To have same usage as I would use getentropy under OpenBSD (e.g. 256 bytes max at a time) really as a wrapper. -- ___ Python tracker

[issue1294959] Problems with /usr/lib64 builds.

2018-05-16 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___

[issue33535] Consider quoting all values in Morsel objects

2018-05-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue32384] Generator tests is broken in non-CPython implementation

2018-05-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset 4af6110f77e141779492995fd168d4f027fcf3cf by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-32384: Skip test when _testcapi isn't available (GH-4940)

[issue32216] Document PEP 557 Data Classes (dataclasses module)

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: I've added some initial documentation. Most of it is text from the PEP, cleaned up and sphinx-ized. It no doubt needs a lot of work, but I think it's good enough to close this issue and remove the release blocker. Changes to the

[issue33538] Remove useless check in subprocess

2018-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is reset to None at the interpreter shutdown stage. This check was added intentionally. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed

[issue33503] use pypi.org instead of pypi.python.org

2018-05-16 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 51b2f6d3a3d6433b832f30d03382653f92a31cdf by Petr Viktorin (Miss Islington (bot)) in branch '3.7': bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6872)

[issue33539] Remove `init` flag from @dataclass?

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: The behavior used to be that we'd raise an error if you tried to overwrite a dunder method. Then we decided that the existence of a dunder method meant you didn't want it overwritten, so now we don't need to explicitly set a flag to False

[issue33539] Remove `init` flag from @dataclass?

2018-05-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Make that `return super().__init__()` of course. I can haz (editable) GitHub issues! -- ___ Python tracker

[issue33522] Enable CI builds on Visual Studio Team Services

2018-05-16 Thread Brett Cannon
Brett Cannon added the comment: https://www.visualstudio.com/team-services/ It's Microsoft's GitHub hosting, issue tracking, and CI/CD platform. -- ___ Python tracker

[issue33487] BZ2File(buffering=None) does not emit deprecation warning, deprecation version not documented.

2018-05-16 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > Actually it is ignored since 3.0. My bad, I have likely misread the history. PR updated. -- ___ Python tracker

[issue33536] dataclasses.make_dataclass does not validate fields for being valid identifiers

2018-05-16 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +6574 stage: -> patch review ___ Python tracker ___

[issue21475] Support the Sitemap extension in robotparser

2018-05-16 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Peter, and thanks for the PR and test, Lady Red! Merged for release in 3.8.0. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33536] dataclasses.make_dataclass does not validate fields for being valid identifiers

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 4e81296b1874829912c687eba4d39361ab51e145 by Eric V. Smith in branch 'master': bpo-33536: Validate make_dataclass() field names. (GH-6906) https://github.com/python/cpython/commit/4e81296b1874829912c687eba4d39361ab51e145

[issue28167] remove platform.linux_distribution()

2018-05-16 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 8b94b41ab7b12f745dea744e8940631318816935 by Petr Viktorin in branch 'master': bpo-28167: Remove platform.linux_distribution (GH-6871) https://github.com/python/cpython/commit/8b94b41ab7b12f745dea744e8940631318816935

[issue33541] Remove private and apparently unused __pad function

2018-05-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> belopolsky nosy: +belopolsky ___ Python tracker ___

[issue29412] IndexError thrown on email.message.Message.get

2018-05-16 Thread Terry Thurk
Change by Terry Thurk : -- pull_requests: +6575 ___ Python tracker ___ ___

[issue29412] IndexError thrown on email.message.Message.get

2018-05-16 Thread Terry Thurk
Change by Terry Thurk : -- pull_requests: -6509 ___ Python tracker ___ ___

[issue33503] use pypi.org instead of pypi.python.org

2018-05-16 Thread Ned Deily
Ned Deily added the comment: New changeset ad65d09fd02512b2ccf500f6c11063f705c9cd28 by Ned Deily (Stéphane Wirtel) in branch '2.7': [2.7] bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814). (GH-6905)

[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-05-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 93f9a8a5afb58b1d2e4f27bb46d3d4e0fa8c08f0 by Gregory P. Smith in branch 'master': bpo-24318: Rewrite the README PGO section. (#6863) https://github.com/python/cpython/commit/93f9a8a5afb58b1d2e4f27bb46d3d4e0fa8c08f0 --

[issue33503] use pypi.org instead of pypi.python.org

2018-05-16 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +6573 ___ Python tracker ___ ___

[issue32257] Support Disabling Renegotiation for SSLContext

2018-05-16 Thread Christian Heimes
Christian Heimes added the comment: New changeset e2db6ad1d96ca3e8bd29178f7093785c5d550bb7 by Christian Heimes (Miss Islington (bot)) in branch '3.7': [3.7] bpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904) (#6877)

[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-05-16 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33541] Remove private and apparently unused __pad function

2018-05-16 Thread Mario Corchero
New submission from Mario Corchero : When checking on ways to improve coverage of datetime related functions I found this function that seems not to be used anyware. It is private and mangled, should be safe to remove. Creating the issue as requested in the PR:

[issue33541] Remove private and apparently unused __pad function

2018-05-16 Thread Mario Corchero
Change by Mario Corchero : -- keywords: +patch pull_requests: +6579 stage: -> patch review ___ Python tracker ___

[issue33539] Remove `init` flag from @dataclass?

2018-05-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: +ned.deily for the 3.7 exemption. -- nosy: +ned.deily ___ Python tracker ___

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-05-16 Thread Wolfgang Maier
Wolfgang Maier added the comment: Try to think of it this way: By choosing a default of True, every new project with subparsers that aims for Python <3.7 compatibility will have to take some measures (either overwrite the default or special-case

[issue21475] Support the Sitemap extension in robotparser

2018-05-16 Thread Ned Deily
Ned Deily added the comment: New changeset 5db5c0669e624767375593cc1a01f32092c91c58 by Ned Deily (Christopher Beacham) in branch 'master': bpo-21475: Support the Sitemap extension in robotparser (GH-6883)

[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6577 ___ Python tracker ___

[issue32492] C Fast path for namedtuple's property/itemgetter pair

2018-05-16 Thread Ned Deily
Ned Deily added the comment: Deferred to 3.8 -- priority: deferred blocker -> versions: -Python 3.7 ___ Python tracker ___

[issue32257] Support Disabling Renegotiation for SSLContext

2018-05-16 Thread Ned Deily
Ned Deily added the comment: Thanks, Christian! Merged for 3.7.0 and 3.8.0. -- priority: deferred blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33539] Remove `init` flag from @dataclass?

2018-05-16 Thread Ned Deily
Ned Deily added the comment: If we agree that we don't need it, the time to do it is now, before 3.7.0 releases. -- ___ Python tracker

[issue33503] use pypi.org instead of pypi.python.org

2018-05-16 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset e4cd12d3d338e691ab0c12a2f2f90422eee04bda by Petr Viktorin (Stéphane Wirtel) in branch '3.6': [3.6] bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6885)

[issue33539] Remove `init` flag from @dataclass?

2018-05-16 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : In reading over the new dataclasses documentation, I'm unsure what the `init` flag is used for, given that: * If you already have a __init__(), then dataclasses won't add one * If you don't have a __init__(), why wouldn't you want

[issue33503] use pypi.org instead of pypi.python.org

2018-05-16 Thread Ned Deily
Ned Deily added the comment: Thanks, Stéphane! -- assignee: -> docs@python components: +Documentation nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7, Python 3.6, Python 3.7

[issue33536] dataclasses.make_dataclass does not validate fields for being valid identifiers

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6576 ___ Python tracker ___

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___

[issue28167] remove platform.linux_distribution()

2018-05-16 Thread Petr Viktorin
Petr Viktorin added the comment: platform.linux_distribution is removed from Python 3.8. Thanks for everyone involved! If there are any complaints or other fallout you don't want to deal with, feel free to point people to me :) -- resolution: -> fixed stage:

[issue33540] socketserver: Add an opt-in option to get Python 3.6 behaviour on server_close()

2018-05-16 Thread STINNER Victor
New submission from STINNER Victor : bpo-31151 changed ForkingMixIn and bpo-31233 changed ThreadingMixIn to block on server_closer() for processes/threads. I propose to add a new opt-in option to get the Python 3.6 behaviour. The old behaviour was wrong, but I expect that

[issue33525] os.spawnvpe() returns error code 127 instead of raising when env argument is invalid.

2018-05-16 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6578 stage: needs patch -> patch review ___ Python tracker ___

[issue33539] Remove `init` flag from @dataclass?

2018-05-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On May 16, 2018, at 12:02, Eric V. Smith wrote: > > It's a little late in the 3.7 release cycle to remove it, so maybe we can > decide to deprecate it in 3.8? Although if there's clearly no reason for it > to

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Stefan Krah
Stefan Krah added the comment: I'm sorry if this interrupts the discussion, but isn't this https://github.com/plures/xnd/blob/06f6dd82dda9c7bca5df30b121b5cd75c6337609/python/xnd/pyxnd.h#L103 of the form package.module.capsule? This works, and I just want to make sure it

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Petr Viktorin
Petr Viktorin added the comment: Is "package.module:namespace.attribute" worth supporting? I guess it isn't, at least for now. So Serhyi's patch will work. -- ___ Python tracker

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Using ":" makes the syntax irregular. "package.module:attribute", but "module.attribute". And "package.module.attribute" works too if "package.module" already is imported. It is possible to support importing submodules without

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2018-05-16 Thread Hamish MacDonald
Change by Hamish MacDonald : -- keywords: +patch pull_requests: +6570 stage: needs patch -> patch review ___ Python tracker ___

[issue33537] Help on importlib.resources outputs the builtin open description

2018-05-16 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 9285835a05ad0319acef111340266c0f85ed549c by Eric V. Smith in branch 'master': bpo-33534: Remove unneeded test. (GH-6897) https://github.com/python/cpython/commit/9285835a05ad0319acef111340266c0f85ed549c --

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2018-05-16 Thread Ethan Smith
Change by Ethan Smith : -- nosy: +Ethan Smith ___ Python tracker ___ ___ Python-bugs-list

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread miss-islington
miss-islington added the comment: New changeset 8e20fc388f1f1e6b2b38bf11995322c274b4d43a by Miss Islington (bot) in branch '3.7': bpo-33534: Remove unneeded test. (GH-6897)

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2018-05-16 Thread Hamish MacDonald
Change by Hamish MacDonald : -- pull_requests: +6571 ___ Python tracker ___ ___

[issue33537] Help on importlib.resources outputs the builtin open description

2018-05-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6572 stage: -> patch review ___ Python tracker ___

[issue33536] dataclasses.make_dataclass does not validate fields for being valid identifiers

2018-05-16 Thread Eric V. Smith
New submission from Eric V. Smith : I'm going to make this a release blocker, since it's basically a code injection vector, although I know of no way to exploit it. The fix is easy enough. -- nosy: +ned.deily priority: high -> release blocker

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6568 ___ Python tracker ___ ___

[issue33487] BZ2File(buffering=None) does not emit deprecation warning, deprecation version not documented.

2018-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually it is ignored since 3.0. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In your case importing xnd automatically imports xnd._xnd and sets it as an attribute of xnd. This case works now. PR 6898 adds support for cases when a submodule is not imported automatically by importing a package. --

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-16 Thread Stefan Krah
Stefan Krah added the comment: Ah, Serhiy stated the reason (module already imported) previously. Sorry for the noise. -- ___ Python tracker

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread Eric V. Smith
Change by Eric V. Smith : -- priority: release blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33537] Help on importlib.resources outputs the builtin open description

2018-05-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : help(importlib.resources) outputs many noise. In particular it contains the description of builtin open() which is longer than descriptions of all functions defined in importlib.resources. It also contains references to typing

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6569 ___ Python tracker ___

[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-05-16 Thread Ned Deily
Ned Deily added the comment: Thanks for the report and thanks for the fix! -- priority: release blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33536] dataclasses.make_dataclass does not validate fields for being valid identifiers

2018-05-16 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: eric.smith nosy: eric.smith priority: high severity: normal status: open title: dataclasses.make_dataclass does not validate fields for being valid identifiers type: behavior versions: Python 3.7, Python 3.8

[issue33538] Remove useless check in subprocess

2018-05-16 Thread TaoQingyun
New submission from TaoQingyun <845767...@qq.com>: diff --git a/Lib/subprocess.py b/Lib/subprocess.py index bafb501fcf..4a0bb33978 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -766,7 +766,7 @@ class Popen(object): ResourceWarning, source=self) # In case

[issue33451] Start pyc file lock the file

2018-05-16 Thread Brett Cannon
Brett Cannon added the comment: There's no specific reason as to why that would happen as no files are kept open after importing is finished. -- ___ Python tracker

[issue33451] Start pyc file lock the file

2018-05-16 Thread Eryk Sun
Eryk Sun added the comment: In Python/pythonrun.c, PyRun_SimpleFileExFlags() reopens the PYC file in binary mode, passes it to run_pyc_file(), and only closes it after executing the script. The file should instead be closed in run_pyc_file(), before calling

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-16 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6582 ___ Python tracker ___ ___

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2018-05-16 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-33540: "socketserver: Add an opt-in option to get Python 3.6 behaviour on server_close()". I set the release blocker priority on this new issue. -- priority: deferred blocker ->

[issue31151] socketserver.ForkingMixIn.server_close() leaks zombie processes

2018-05-16 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-33540: "socketserver: Add an opt-in option to get Python 3.6 behaviour on server_close()". I set the release blocker priority on this new issue. -- priority: deferred blocker ->

[issue33543] `make html` broken

2018-05-16 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : Building the documentation in the master (3.8) branch is currently broken: % make html make html mkdir -p build Building NEWS from Misc/NEWS.d with blurb PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees -D

[issue33544] Asyncio Event.wait() and Condition.wait() is a hold over from before awaitable, and should be awaitable

2018-05-16 Thread Jason Fried
New submission from Jason Fried : wait is a very overloaded word in asyncio. Events and Conditions are not consistent with the rest of asyncio. Why don't Future and Task have wait() methods? well because they are awaitable Some subjective reasoning: Every time I go to

[issue33544] Asyncio Event.wait() is a hold over from before awaitable, and should be awaitable

2018-05-16 Thread Jason Fried
Jason Fried added the comment: Removed Condition from this request, because it has an __await__ method for supporting the the deprecated pattern with async cond: I'll open a different bug, for Condition behavior for 3.9 when we can remove the deprecated pattern.

[issue33544] Asyncio Event.wait() is a hold over from before awaitable, and should be awaitable

2018-05-16 Thread Jason Fried
Change by Jason Fried : -- keywords: +patch pull_requests: +6584 stage: -> patch review ___ Python tracker ___

  1   2   >