[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Would you like to propose a PR? The relevant file is at https://github.com/python/cpython/blob/master/Doc/library/time.rst . -- keywords: +easy, newcomer friendly nosy: +xtreak ___

[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-25 Thread Michael Wayne Goodman
New submission from Michael Wayne Goodman : The documentation for Python 3.8 and higher still refer to 'clock' as an accepted 'name' argument for time.get_clock_info() that returns a namespace readable by time.clock(), despite time.clock() being removed since Python 3.8. See the first bullet

[issue39132] Adding funcitonality to determine if a constant string node is triple quoted

2019-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is impossible because of using newline escaping and string literal concatenation. In the following examples lineno != end_lineno, but strings use single quotes: print('Hello ' 'world!') print('Hello\ world!') Triple quotes can be al

[issue39132] Adding funcitonality to determine if a constant string node is triple quoted

2019-12-25 Thread Inada Naoki
Inada Naoki added the comment: I'm not sure the usage should be covered by "Abstract" syntax tree. Isn't it a "Concrete" syntax tree? -- nosy: +inada.naoki ___ Python tracker ___

[issue39134] can't construct dataclass as ABC (or runtime check as data protocol)

2019-12-25 Thread Alexander Hirner
New submission from Alexander Hirner : At runtime, we want to check whether objects adhere to a data protocol. This is not possible due to problematic interactions between ABC and @dataclass. The attached file tests all relevant yet impossible cases. Those are: 1) A(object): Can't check due t

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2019-12-25 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks, all! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2019-12-25 Thread miss-islington
miss-islington added the comment: New changeset a5deabd8e43a76bf2d7923342b6c4395c1a5efcd by Miss Islington (bot) in branch '3.8': bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) (GH-17677) https://github.com/python/cpython/commit/a5deabd8e43a76bf2d7923342b6c4395c

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2019-12-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +17152 pull_request: https://github.com/python/cpython/pull/17705 ___ Python tracker ___ __

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2019-12-25 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset e28aff54d95236ea1b64b648d89a1516e446e621 by Eric V. Smith (Fabio Sangiovanni) in branch 'master': bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) (GH-17677) https://github.com/python/cpython/commit/e28aff54d95236ea1b

[issue39133] threading lib. working improperly on idle window

2019-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Give OS. Provide specific code and describe specific problem. Run the code directly with python from a command line to determine if IDLE is really involved in the problem. -- ___ Python tracker

[issue16399] argparse: append action with default list adds to list instead of overriding

2019-12-25 Thread Roy Smith
Roy Smith added the comment: I just got bit by this in Python 3.5.3. I get why it does this. I also get why it's impractical to change the behavior now. But, it really isn't the obvious behavior, so it should be documented at https://docs.python.org/3.5/library/argparse.html?highlight=argp

[issue39133] threading lib. working improperly on idle window

2019-12-25 Thread Abhijeet
New submission from Abhijeet : Threading library's Thread and start functions not showing predicted result on idle. Especially, newline is not invoked between two threads while sometimes gets invoked in result. Often, running of code stops after thread ends i.e no further execution. Version -

[issue30364] Outdated function attribute to disable address sanitizer

2019-12-25 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +17151 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17702 ___ Python tracker ___

[issue37509] OSError preadv()

2019-12-25 Thread YoSTEALTH
YoSTEALTH added the comment: I am closing this topic as its right for python to raise OSError as `-errno` must be assigned to e.g. `OSError(-errno, os.strerror(-errno))` to raise appropriate exception. -- resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue30427] isinstance checks in os.path.normcase redundant with os.fspath

2019-12-25 Thread Batuhan
Batuhan added the comment: Looks like there is nothing left after PR 1712 if I am not missing something, can this issue be closed? -- nosy: +BTaskaya ___ Python tracker ___ _

[issue39106] Add suggestions to argparse error message output for unrecognized arguments

2019-12-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the feedback. Closing it as rejected. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue39106] Add suggestions to argparse error message output for unrecognized arguments

2019-12-25 Thread hai shi
hai shi added the comment: I checked some other common clis and it is show all right available options too. So I thought the argparse's help function is good enough too ;) ``` $ ps -etest error: TTY could not be found Usage: ps [options] Try 'ps --help ' or 'ps --help ' for additional

[issue28158] Implement LOAD_GLOBAL opcode cache

2019-12-25 Thread Inada Naoki
Inada Naoki added the comment: This is implemented in #26219. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue10401] Globals / builtins cache

2019-12-25 Thread Inada Naoki
Inada Naoki added the comment: This is implemented in #26219. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue33609] Document that dicts preserve insertion order

2019-12-25 Thread Inada Naoki
Inada Naoki added the comment: GH-9807 fixed it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38902] image/webp support in mimetypes

2019-12-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Similar to previous discussions having an IANA registration would improve the acceptance of the patch to add it. It's still not listed at https://www.iana.org/assignments/media-types/media-types.xhtml -- nosy: +xtreak _

[issue39119] email/_header_value_parser.py:parse_message_id: UnblondLocalError

2019-12-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as duplicate. Feel free to reopen if it's reproducible on latest stable release. Thanks. -- nosy: +maxking resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> While parsing email message id: Unboun