[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 to subprocess.Popen().

Let's add 'env=None' to the signature of subprocess.run():

.. function:: run(args, *, stdin=None, input=None, stdout=None, stderr=None,\
  shell=False, cwd=None, timeout=None, check=False, \
  encoding=None, errors=None, text=None)

https://github.com/python/cpython/blob/3055c947f98a078bd10d6a8cc352048a1b771d60/Doc/library/subprocess.rst#using-the-modsubprocess-module

--
keywords: +easy
nosy: +berker.peksag
stage:  -> needs patch
type:  -> enhancement
versions: +Python 3.6, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
nosy: eric.smith, ned.deily
priority: release blocker
severity: normal
status: open
title: dataclasses: unneeded test in _is_classvar
type: behavior
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--
components: Library (Lib)
messages: 316781
nosy: Mark.Williams, alex, berker.peksag
priority: normal
severity: normal
stage: test needed
status: open
title: Consider quoting all values in Morsel objects
type: enhancement
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

I propose adding a keyword_only argument to field(), defaulting to False.

I'm thinking that the basic idea would be to put all keyword-only fields at the 
end of the arguments to __init__, but for all other uses, leave them where they 
appear in the class definition. That way comparison operations, in particular, 
would use the fields as they appear in the class definition (which is the 
current behavior). Since they'd be at the end of __init__, and since order 
doesn't matter (they're keyword-only, after all), then this would work as 
expected for base classes.

That is, given:

@dataclass
class B:
a: field(type=int, keyword_only=True)
b: int

@dataclass
class C(B):
c: int
d: field(type=int, keyword_only=True)

Then B's __init__ would take (b, c, *, a, d) as its arguments, but its 
comparison functions would compare the tuples as (a, b, c, d).

It would be an error for a ClassVar field to be keyword-only. I think it would 
be okay if an InitVar field were keyword-only, but I haven't given it a lot of 
thought.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 first parsing the os-release and if it failed, can 
using the lsb command parse.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 forward, including after 3.7.0rc1 is released.

--
assignee: docs@python -> eric.smith
priority: release blocker -> 
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--
nosy: +skrah

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

There are two ways of solving this problem. First way: make all imported names 
underscored (for example _open instead of builtin_open). Second way: add 
__all__.

Actually I don't understand why buildin_open is used instead of just open. And 
_zipimport_get_resource_reader looks unused.

--
components: Library (Lib)
messages: 316802
nosy: brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Help on importlib.resources outputs the builtin open description
type: behavior
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 the child hasn't been waited on, check if it's done.
 self._internal_poll(_deadstate=_maxsize)
-if self.returncode is None and _active is not None:
+if self.returncode is None:
 # Child is still running, keep us alive until we can wait on it.
 _active.append(self)
 

the `_active` is initialized with [] at the beginning of the module.

--
components: Library (Lib)
messages: 316804
nosy: qingyunha
priority: normal
severity: normal
status: open
title: Remove useless check in subprocess
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 "least 
surprising" choice, it is an inconvenient one that makes the default almost 
useless for years to come. In the long term, when support for Python<=3.6 is 
finally not important anymore, you would get a slightly more consistent API 
(though I never thought of a subparser as a regular positional argument before 
this issue), but the price for it seems too high to me.

Since backwards compatibility is easy to restore by overwriting the default, I 
can certainly live with the choice of True, but I think it's not the best one 
could get out of this new and useful keyword.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/51b2f6d3a3d6433b832f30d03382653f92a31cdf


--
nosy: +petr.viktorin

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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? 
 Without that, how do your attributes get initialized?

If there is a valid use case for `init`, I'm happy to add it to the 
documentation.  If there isn't, can we call YAGNI and remove the flag?

I'm mildly of the same opinion with `repr` but I can see some value in wanting 
to defer to object.__repr__().  OTOH, it should be pretty easy to just write:

@dataclass
class Foo:
def __repr__(self):
return super.__repr__()

--
assignee: eric.smith
messages: 316812
nosy: barry, eric.smith, gvanrossum
priority: normal
severity: normal
status: open
title: Remove `init` flag from @dataclass?
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--
components: Library (Lib)
messages: 316825
nosy: vstinner
priority: normal
severity: normal
status: open
title: socketserver: Add an opt-in option to get Python 3.6 behaviour on 
server_close()
versions: Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

However, we did not go back and see which of the flags still make sense. I 
can't think of a reason why anyone would use the `init` parameter to @dataclass.

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.

We should probably go through every flag and decide about it individually.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/pull/4377

--
components: Library (Lib)
messages: 316827
nosy: mariocj89
priority: normal
severity: normal
status: open
title: Remove private and apparently unused __pad function
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 think we should get an exemption and just remove it.  There’s no reason to 
incur such tech-debt right off the bat.

> We should probably go through every flag and decide about it individually.

+1

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 the problem:
```
C:\Users\viz_s>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP-UOHALF9
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter vEthernet (Default Switch):

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
   Physical Address. . . . . . . . . : 02-15-0B-EF-A2-34
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::d8b5:2fbd:4d82:2e95%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.125.17(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.240
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 452990301
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-5A-B1-27-98-5F-D3-C5-71-45
   DNS Servers . . . . . . . . . . . : fec0:0:0:::1%1
   fec0:0:0:::2%1
   fec0:0:0:::3%1
   NetBIOS over Tcpip. . . . . . . . : Disabled

Ethernet adapter vEthernet (DockerNAT):

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
   Physical Address. . . . . . . . . : 00-15-5D-00-0D-1C
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::a8b0:4970:fe5c:7ad8%20(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.75.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : fec0:0:0:::1%1
   fec0:0:0:::2%1
   fec0:0:0:::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Npcap Loopback Adapter:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Npcap Loopback Adapter
   Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::c07f:d604:86b:87e0%26(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.135.224(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 771883084
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-5A-B1-27-98-5F-D3-C5-71-45
   DNS Servers . . . . . . . . . . . : fec0:0:0:::1%1
   fec0:0:0:::2%1
   fec0:0:0:::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Local Area Connection* 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : 9A-5F-D3-C5-70-44
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 12:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
   Physical Address. . . . . . . . . : 9A-5F-D3-C5-75-44
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Marvell AVASTAR Wireless-AC Network 
Controller
   Physical Address. . . . . . . . . : 98-5F-D3-C5-71-45
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::f183:815e:4914:dfa%21(Preferred)
   IPv4 Address. . . . . . . . . . . : 100.69.161.39(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Lease Obtained. . . . . . . . . . : Wednesday, May 16, 2018 8:51:32 AM
   Lease Expires . . . . . . . . . . : Wednesday, May 16, 2018 9:51:31 AM
   Default Gateway . . . . . . . . . : 100.69.0.5
   DHCP Server . . . . . . . . . . . : 100.69.0.6
   DHCPv6 IAID . . . . . . . . . . . : 144203731
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-5A-B1-27-98-5F-D3-C5-71-45
   DNS Servers . . . . . . . . . . . : 100.69.0.5
   NetBIOS over Tcpip. . . . . . . . : Enabled
```

--
components: Library (Lib), Windows
messages: 316831
nosy: paul.moore, steve.dower, tim.golden, zach.ware, zeffron
priority: normal
severity: normal
status: open
title: _

[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
Running Sphinx v1.7.4
loading pickled environment... not yet created

Theme error:
no theme named 'python_docs_theme' found (missing theme.conf?)
make: *** [build] Error 2

--
assignee: docs@python
components: Documentation
messages: 316838
nosy: barry, docs@python
priority: normal
severity: normal
status: open
title: `make html` broken
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >