[issue35182] Popen.communicate() breaks when child closes its side of pipe but not exits

2020-01-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: backport automation appears unhappy at the moment. I'm keeping this open and assigned to me to manually run cherry_picker on this for 3.8 and 3.7 (if still open for non-security fixes). -- assignee: -> gregory.p.smith stage: patch review -> backp

[issue39428] allow creation of "symtable entry" objects from Python

2020-01-22 Thread Carl Meyer
New submission from Carl Meyer : Currently the "symtable entry" extension type (PySTEntry_Type) defined in `Python/symtable.c` defines no `tp_new` or `tp_init`, making it impossible to create instances of this type from Python code. I have a use case for pickling symbol tables (as part of a c

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2020-01-22 Thread Miro Hrončok
Miro Hrončok added the comment: For the record, looking at https://docs.python.org/3.9/whatsnew/3.9.html I had an impression that this also affects regular imports, as described in https://bugzilla.redhat.com/show_bug.cgi?id=1791769#c2 -- if that's not that case, I'm sorry. Anyway, I get you

[issue39389] gzip metadata fails to reflect compresslevel

2020-01-22 Thread William Chargin
William Chargin added the comment: My pleasure; thanks for the triage and review! -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue39336] Immutable module type can't be used as package in custom loader

2020-01-22 Thread Dino Viehland
Dino Viehland added the comment: New changeset 9b6fec46513006d7b06fcb645cca6e4f5bf7c7b8 by Dino Viehland in branch 'master': bpo-39336: Allow packages to not let their child modules be set on them (#18006) https://github.com/python/cpython/commit/9b6fec46513006d7b06fcb645cca6e4f5bf7c7b8 ---

[issue39336] Immutable module type can't be used as package in custom loader

2020-01-22 Thread Dino Viehland
Change by Dino Viehland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39429] Add a new "Python Development Mode" page to the documentation

2020-01-22 Thread STINNER Victor
New submission from STINNER Victor : Currently, the Python Development Mode is under-documented. The documentation lives in the documentation of the -X command line option which doesn't give much space to elaborate on effects of the development mode, how it should be used, suggest ways to get

[issue39427] python -X options are not documented in the CLI --help

2020-01-22 Thread miss-islington
miss-islington added the comment: New changeset 41f0ef6abbd304409c55612a08788cdd59fbc8a3 by Miss Islington (bot) (Pablo Galindo) in branch 'master': bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131) https://github.com/python/cpython/commit/41f0ef6abbd304409c5561

[issue39429] Add a new "Python Development Mode" page to the documentation

2020-01-22 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17518 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18132 ___ Python tracker ___ _

[issue39427] python -X options are not documented in the CLI --help

2020-01-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +17519 pull_request: https://github.com/python/cpython/pull/18133 ___ Python tracker ___ ___

[issue39427] python -X options are not documented in the CLI --help

2020-01-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +17520 pull_request: https://github.com/python/cpython/pull/18134 ___ Python tracker ___ ___

[issue39412] Install launcher for all users

2020-01-22 Thread Steve Dower
Change by Steve Dower : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue39412] Install launcher for all users

2020-01-22 Thread Steve Dower
Steve Dower added the comment: It's also a little bit historical - there was no way to *remove* the Python 3.4 launcher (always in C:\Windows), and it wasn't going to find many 3.5 installs, so we stomp on it. At this stage, it's potentially safe to turn it into a per-user install by defaul

[issue39401] Unsafe dll loading in getpathp.c on Win7

2020-01-22 Thread Steve Dower
Steve Dower added the comment: Agreed, we can just search System32 for this. Thanks for doing the patch! For future reference, and for anyone else reading this, we generally prefer unavoidable DLL hijacking bugs to come to the Python Security Response Team first (secur...@python.org). -

[issue39395] The os module should unset() environment variable at exit

2020-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17521 pull_request: https://github.com/python/cpython/pull/18135 ___ Python tracker ___ __

[issue39395] The os module should unset() environment variable at exit

2020-01-22 Thread STINNER Victor
STINNER Victor added the comment: Clearing environment variables at exit has a drawback: it changes the behavior in code executed after Python finalization (Py_FinalizeEx() call). It may cause regression. So I proposed PR 18135 to fix this issue differently: on non-Windows platforms, Python

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread Ethan Furman
Ethan Furman added the comment: New changeset dd754caf144009f0569dda5053465ba2accb7b4d by Ethan Furman (William Woodruff) in branch 'master': bpo-29435: Allow is_tarfile to take a filelike obj (GH-18090) https://github.com/python/cpython/commit/dd754caf144009f0569dda5053465ba2accb7b4d -

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread Ethan Furman
Ethan Furman added the comment: Thanks, William! -- assignee: -> ethan.furman resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread William Woodruff
William Woodruff added the comment: Thanks to you to! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue39353] Deprecate the binhex module, binhex4 and hexbin4 standards

2020-01-22 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-22 Thread Xiang Zhang
Xiang Zhang added the comment: I can't understand the rational for rejecting localized digits though I don't know who will use them in practise. I'd rather fix it until there is a real problem with it. -- nosy: +xiang.zhang ___ Python tracker

[issue39401] Unsafe dll loading in getpathp.c on Win7

2020-01-22 Thread Ned Deily
Change by Ned Deily : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39401] Unsafe dll loading in getpathp.c on Win7

2020-01-22 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue39298] add BLAKE3 to hashlib

2020-01-22 Thread Jack O'Connor
Jack O'Connor added the comment: Version 0.1.3 of the official BLAKE3 repo includes some significant performance improvements: - The x86 implementations include explicit prefetch instructions, which helps with long inputs. (commit b8c33e1) - The C implementation now uses the same parallel pa

[issue39050] The "Help" button in IDLE's config dialog does not work

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2e43b64c94e49f7133b9c26e84c9519935c49063 by Terry Jan Reedy (Zackery Spytz) in branch 'master': bpo-39050: The Help button in IDLE's config menu works again (GH-17611) https://github.com/python/cpython/commit/2e43b64c94e49f7133b9c26e84c9519935c4

[issue39050] The "Help" button in IDLE's config dialog does not work

2020-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +17522 pull_request: https://github.com/python/cpython/pull/18136 ___ Python tracker ___ __

[issue39050] The "Help" button in IDLE's config dialog does not work

2020-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +17523 pull_request: https://github.com/python/cpython/pull/18137 ___ Python tracker ___ __

[issue39050] The "Help" button in IDLE's config dialog does not work

2020-01-22 Thread miss-islington
miss-islington added the comment: New changeset ba83d1eb1c7b5e8eab17da364a6324b0b0e0932b by Miss Islington (bot) in branch '3.7': bpo-39050: The Help button in IDLE's config menu works again (GH-17611) https://github.com/python/cpython/commit/ba83d1eb1c7b5e8eab17da364a6324b0b0e0932b ---

[issue39050] The "Help" button in IDLE's config dialog does not work

2020-01-22 Thread miss-islington
miss-islington added the comment: New changeset 3b7618809df647574e8aad4c2d869a1d55df147c by Miss Islington (bot) in branch '3.8': bpo-39050: The Help button in IDLE's config menu works again (GH-17611) https://github.com/python/cpython/commit/3b7618809df647574e8aad4c2d869a1d55df147c ---

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, sorry to take so long. I will look at and probably remove the _synchre parameter, on this issue. Feel free to pursue any of the other possible followups. -- versions: +Python 3.9 -Python 3.6 ___ Python t

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tim, idlelib.pyparse has this definition: # Find what looks like the start of a popular statement. _synchre = re.compile(r""" ^ [ \t]* (?: while | else | def | return | assert | break | class | continue

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17524 pull_request: https://github.com/python/cpython/pull/18138 ___ Python tracker ___ __

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-22 Thread Ezio Melotti
Ezio Melotti added the comment: Do you know/can you verify if Chinese versions of Windows/Linux/MacOS include non-ASCII version numbers (e.g. fullwidth digits)? -- ___ Python tracker __

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +17525 pull_request: https://github.com/python/cpython/pull/18139 ___ Python tracker ___ __

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c by Terry Jan Reedy in branch 'master': bpo-32989: IDLE - remove unneeded parameter (GH-18138) https://github.com/python/cpython/commit/f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c -- _

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +17526 pull_request: https://github.com/python/cpython/pull/18140 ___ Python tracker ___ __

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread miss-islington
miss-islington added the comment: New changeset 36968c13cb9800559dbb90686933da7daf52c788 by Miss Islington (bot) in branch '3.7': bpo-32989: IDLE - remove unneeded parameter (GH-18138) https://github.com/python/cpython/commit/36968c13cb9800559dbb90686933da7daf52c788 -- ___

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread miss-islington
miss-islington added the comment: New changeset 545fc51d950558ecec9ff64cb2f9c11469051524 by Miss Islington (bot) in branch '3.8': bpo-32989: IDLE - remove unneeded parameter (GH-18138) https://github.com/python/cpython/commit/545fc51d950558ecec9ff64cb2f9c11469051524 -- ___

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2020-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: > This *should* reside in the bin directory That's your opinion, but there are other views. As Paul Moore said in this comment: https://github.com/python/cpython/pull/18083#issuecomment-577278587 Having things in bin *and* Scripts is more confusing than "on Wi

[issue38921] Max Recursion Depth Reached in Logging Library

2020-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: @yang, thanks for the analysis - spot on. Closing, as this is a bug in the reporter's code and not in logging. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue39407] Bitfield Union does not work for bit widths greater than 8 bits

2020-01-22 Thread Ammar Askar
Change by Ammar Askar : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-22 Thread Mark Dickinson
Mark Dickinson added the comment: > If you think I need to come up with a specific example where this can be > misused I think so, yes. :-) We shouldn't change this (and risk other breakage) without evidence that there's an actual problem. -- nosy: +mark.dickinson

<    1   2