[issue36913] Missing documentation for decorators

2019-05-26 Thread Michael Blahay
Michael Blahay added the comment: The PEP is not the first place I go looking for information on Python topics, just my two cents. -- nosy: +mblahay ___ Python tracker ___ __

[issue17250] argparse: Issue 15906 patch; positional with nargs='*' and string default

2019-05-26 Thread Michael Blahay
Michael Blahay added the comment: Also see https://bugs.python.org/issue35495 -- nosy: +mblahay ___ Python tracker ___ ___ Python-b

[issue36520] Email header folded incorrectly

2019-05-26 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: To aid with debugging the code, the Subject line can be simplified: >>> from email.message import EmailMessage >>> m = EmailMessage() >>> m['Subject'] = 'Hello >>> =?utf-8?q?W=C3=B6rld!_Hello_W=C3=B6rld!_Hello_W=C3=B6rld!?= Hello >>> Wörld!Hello Wörld!' >>

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2019-05-26 Thread Reuben Thomas
Reuben Thomas added the comment: Just to be clear, the proposed change to the documentation is simply to add ", *args" to the argument list of AutoNumber.__new__. -- ___ Python tracker _

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2019-05-26 Thread Reuben Thomas
New submission from Reuben Thomas : By changing one line of AutoNumber: def __new__(cls): to def __new__(cls, *args): Enums derived from AutoNumber can now support constructors that take named arguments; for example: class Color(AutoNumber): def __init__(self, pantone=None):

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2019-05-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2019-05-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71c52e3048dd07567f0c690eab4e5d57be66f534 by Victor Stinner in branch 'master': bpo-36829: Add _PyErr_WriteUnraisableMsg() (GH-13488) https://github.com/python/cpython/commit/71c52e3048dd07567f0c690eab4e5d57be66f534 --

<    1   2