[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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[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 pass all its arguments 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? --

[issue1294959] Problems with /usr/lib64 builds.

2018-05-16 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

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

[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 (Lib) messages: 316779 n

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

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

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6564 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6565 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 unconditionally. -- componen

[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

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

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

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6566 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

[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 a good idea or not.

[issue33493] dataclasses: allow keyword-only arguments

2018-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: Duplicate of #33129. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add kwarg-only option to dataclass ___ 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) https://github.com/python/cpython/commit/4af6110f77e141779492995fd168d4f027fcf3cf ---

[issue33535] Consider quoting all values in Morsel objects

2018-05-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33435] incorrect detection of information of some distributions

2018-05-16 Thread Andrey Bychkov
Andrey Bychkov added the comment: I think, at this moment, the optimal is parsing information from os-release file, because it's contained in majority linux distributions. Also can using 'Lsb_release -a' command, but not all distributions support 'Linux Standard Base'. At final can using at f

[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

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

2018-05-16 Thread miss-islington
miss-islington added the comment: New changeset 04e96da5e4982afeb639d6a4d232c6c221fe3a9d by Miss Islington (bot) in branch '3.7': bpo-32216: Add documentation for dataclasses (GH-6886) https://github.com/python/cpython/commit/04e96da5e4982afeb639d6a4d232c6c221fe3a9d -- nosy: +miss-is

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

2018-05-16 Thread Berker Peksag
Berker Peksag added the comment: New changeset 5e8c52680450b67a116d3d555db8416c40576fdb by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-32384: Skip test when _testcapi isn't available (GH-4940) https://github.com/python/cpython/commit/5e8c52680450b67a116d3d555db8416c40576fdb ---

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

2018-05-16 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[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 documentation can be done going

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[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 using ":". -- __

[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 continues to do so. -

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

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

[issue33534] dataclasses: unneeded test in _is_classvar

2018-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +6569 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

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

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

[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 mailing list Unsubscribe: https://mail.pyt

[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) https://github.com/python/cpython/commit/8e20fc388f1f1e6b2b38bf11995322c274b4d43a -- nosy: +miss-islington ___

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

[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 classes in the DATA section.

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

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

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

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

[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 mailing list Unsubscribe: https://mail.python.

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 3.3-3.6). So no matter whether this is the "lea

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

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

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

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

2018-05-16 Thread Terry Thurk
Change by Terry Thurk : -- pull_requests: +6575 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

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

2018-05-16 Thread Terry Thurk
Change by Terry Thurk : -- pull_requests: -6509 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

[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 dataclasses to add one?

[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

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

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

[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: patch review -> resolved

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

[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 some people rely on i

[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 in that case. Howeve

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

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

[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 exist, I could be talked in to removing it. I t

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

[issue33541] Remove private and apparently unused __pad function

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

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

[issue33542] _ipconfig_getnode incorrectly selects a DUID as a MAC address

2018-05-16 Thread Zvi Effron
New submission from Zvi Effron : The function _ipconfig_getnode() in the uuid module can incorrectly pick up an IPv6 DUID instead of a MAC address due to not validating an exact match for the regular expression. The following output from `ipconfig /all` on my machine can be used to illustrate

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

2018-05-16 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

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

2018-05-16 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +6580 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

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

2018-05-16 Thread STINNER Victor
STINNER Victor added the comment: I consider that it's a regression, so I pick the release blocker priority. Sorry Ned! -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker

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

2018-05-16 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +christian.heimes, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-05-16 Thread miss-islington
miss-islington added the comment: New changeset 6409e759df0654f4a081eb4a50aadde995382043 by Miss Islington (bot) in branch '3.7': bpo-33536: Validate make_dataclass() field names. (GH-6906) https://github.com/python/cpython/commit/6409e759df0654f4a081eb4a50aadde995382043 -- nosy: +mi

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

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

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

2018-05-16 Thread miss-islington
miss-islington added the comment: New changeset 447fdd178f1007294db38bf0392a0cf74a49d460 by Miss Islington (bot) in branch '3.7': bpo-24318: Rewrite the README PGO section. (GH-6863) https://github.com/python/cpython/commit/447fdd178f1007294db38bf0392a0cf74a49d460 -- nosy: +miss-isli

[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 latex_elements.papersize= . build/html

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

2018-05-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I've got a branch that cleans up and updates the dataclasses documentation, so I'm reopening this issue and piggybacking my PR on it. -- status: closed -> open ___ Python tracker

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

2018-05-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: ...although I unfortunately cannot build it because of Issue33543 -- ___ Python tracker ___ ___ P

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

2018-05-16 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- pull_requests: +6581 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue33543] `make html` broken

2018-05-16 Thread Zachary Ware
Zachary Ware added the comment: Try `make venv && make html`. -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailin

  1   2   >