[issue40640] Tutorial for Continue missing ... line

2020-10-20 Thread Irit Katriel
Irit Katriel added the comment: Chas - there is a conflict in the PR. Would you mind refreshing it? I'll try to make sure it gets merged this time. -- ___ Python tracker ___

[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset 3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7 by Saiyang Gou in branch 'master': bpo-41192: Add documentation of undocumented audit events (GH-21308) https://github.com/python/cpython/commit/3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7 --

[issue41192] Some audit events are undocumented

2020-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +21787 pull_request: https://github.com/python/cpython/pull/22832 ___ Python tracker ___

[issue41192] Some audit events are undocumented

2020-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +21786 pull_request: https://github.com/python/cpython/pull/22831 ___ Python tracker ___

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-20 Thread Paul Moore
Paul Moore added the comment: New changeset 5ab27cc518f614a0b954ff3eb125290f264242d5 by Paul Moore in branch 'master': bpo-42041: Clarify how subprocess searches for the executable (GH-22715) https://github.com/python/cpython/commit/5ab27cc518f614a0b954ff3eb125290f264242d5 --

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +21780 pull_request: https://github.com/python/cpython/pull/22823 ___ Python tracker ___

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +21783 pull_request: https://github.com/python/cpython/pull/22826 ___ Python tracker ___

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +21779 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22822 ___ Python tracker ___

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread miss-islington
miss-islington added the comment: New changeset d12afba507990b6d75f701b398d4f342576be5d7 by Miss Skeleton (bot) in branch '3.9': bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817)

[issue38456] Reduce the time test_subprocess takes to complete.

2020-10-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - handy command to get that python -m test.regrtest -v test_subprocess | ts '.%s' then process that using whatever you want to compute deltas and sort. i fed the output of that into: ``` #!/usr/bin/python3 """Parse `python -m test.regrtest -v | ts

[issue42099] Fix reference to ob_type in unionobject.c and ceval

2020-10-20 Thread Neil Schemenauer
New submission from Neil Schemenauer : It is great that access to ob_type has been cleaned up to use an access macro. There are two spots that still need fixing. I think we should do something to help avoid this kind of thing slipping into the code in the future. E.g. a special build flag

[issue42098] Test suite should verify auditing events get triggered

2020-10-20 Thread A.M. Kuchling
New submission from A.M. Kuchling : During the 3.10 development process, a call to `sys.audit()` got accidentally removed from the glob module. No tests caught it. This is clearly bad. sys.audit() is intended for security-related purposes and can result in operations being cancelled, so

[issue42097] Python 3.7.9 logging/threading/fork hang

2020-10-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42085] Add dedicated slot for sending values

2020-10-20 Thread Vladimir Matveev
Change by Vladimir Matveev : -- type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13348] test_unicode_file fails: shutil.copy2 says "same file"

2020-10-20 Thread Irit Katriel
Irit Katriel added the comment: May we assume that a unit test failure from 9 years ago is no longer relevant? -- nosy: +iritkatriel status: pending -> open ___ Python tracker

[issue42041] venv subprocess call to python resolves to wrong interpreter

2020-10-20 Thread Mark Keller
Mark Keller added the comment: +1 to what Steve said -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42097] Python 3.7.9 logging/threading/fork hang

2020-10-20 Thread Andrew de Quincey
Andrew de Quincey added the comment: Before anyone suggests it might be the logstash code we're calling in the comment, it ain't. The bug is easily replicated using entirely python built in code. See test.py attached. If you're having trouble triggering it (seems to vary per machine),

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2020-10-20 Thread Danny Lin
Danny Lin added the comment: > Really? It's not obvious that finding a file would involve directory > operations? Not in some senses, and that's possibly why Windows does not raise NotADirectoryError in such case. I agree that it's a platform-specific implementation detail. However, there

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread miss-islington
miss-islington added the comment: New changeset 333782a3f40baf8bb916da4b5fc04b3d2a749e0c by Miss Skeleton (bot) in branch '3.8': bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817)

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-10-20 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think kj's patch is ready to merge. Guido, do you want to take a look? -- ___ Python tracker ___

[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset b948d13ec076e757b7f6904aa67df2f36e4671b7 by Andrew Kuchling in branch '3.9': [3.9] bpo-41192: Clarify the sys module's description of the auditing feature (GH-22821)

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2020-10-20 Thread Eryk Sun
Eryk Sun added the comment: Regarding documentation, builtin open() and the io and os modules generally do not provide information about platform-specific errors. But documenting the behavior for the NotADirectoryError exception itself may be useful considering it applies to many POSIX

[issue42097] Python 3.7.9 logging/threading/fork hang

2020-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Have you found this in 3.8+? Since last June, 3.7 only gets security fixes, and this might have been fixed in later versions. -- nosy: +terry.reedy ___ Python tracker

[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 10 and master, I ran 12 copies of test_site in parallel 10 times. Then I ran -R 3:100 3 times. All pass. Unless refleaks are considered security holes, perhaps this should be closed until it re-occurs in a normally maintained branch.

[issue38980] Compile libpython with -fno-semantic-interposition

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: +1 -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41646] shutil.copy documentation should clarify support for path-like objects

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: New changeset 6443a8ccc886749f5e83a8ca073006742b605d90 by Miss Skeleton (bot) in branch '3.8': bpo-41646: Mention path-like objects support in the docs for shutil.copy() (GH-22208)

[issue41744] NuGet python.props only works in python nuget, not other variants

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: New changeset d0bfce992c4ce0e6e71f13a993c91903a97a62f3 by Miss Skeleton (bot) in branch '3.9': bpo-41744: Package python.props with correct name in NuGet package (GH-22154) https://github.com/python/cpython/commit/d0bfce992c4ce0e6e71f13a993c91903a97a62f3

[issue41902] Micro optimization for range.index if step is 1

2020-10-20 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42104] xml.etree should support contains() function

2020-10-20 Thread karl
New submission from karl : In XPath 1.0 The function contains() is available > Function: boolean contains(string, string) > The contains function returns true if the first argument string contains the > second argument string, and otherwise returns false. In

[issue30680] textwrap should treat Unicode em-dash like ASCII em-dash

2020-10-20 Thread Inada Naoki
Change by Inada Naoki : -- versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41646] shutil.copy documentation should clarify support for path-like objects

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: New changeset 19019eccdeeb8dea027bd7766ca9fe2892972da4 by Miss Skeleton (bot) in branch '3.9': bpo-41646: Mention path-like objects support in the docs for shutil.copy() (GH-22208)

[issue41316] tarfile: Do not write full path in FNAME field

2020-10-20 Thread miss-islington
miss-islington added the comment: New changeset e866f33a48ee24e447fafd181f0da5f9584e0340 by Miss Skeleton (bot) in branch '3.8': bpo-41316: Make tarfile follow specs for FNAME (GH-21511) https://github.com/python/cpython/commit/e866f33a48ee24e447fafd181f0da5f9584e0340 --

[issue41316] tarfile: Do not write full path in FNAME field

2020-10-20 Thread miss-islington
miss-islington added the comment: New changeset 7917170c5b4793ca9443f753aaecb8fbb3ad54ef by Miss Skeleton (bot) in branch '3.9': bpo-41316: Make tarfile follow specs for FNAME (GH-21511) https://github.com/python/cpython/commit/7917170c5b4793ca9443f753aaecb8fbb3ad54ef --

[issue19699] Update zipimport for PEP 451

2020-10-20 Thread Daniel Sheppard
Daniel Sheppard added the comment: With issue 25711 closed, was this ever resolved under that issue or is this still a pending task? -- nosy: +dansheps ___ Python tracker

[issue42100] Add _PyType_GetModuleByDef

2020-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- components: +C API type: -> enhancement versions: +Python 3.10 ___ Python tracker ___ ___

[issue37105] Add deprecated-remove information on stream doc

2020-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: Whoops, never mind me. Irit can you friend me on Discourse? -- ___ Python tracker ___ ___

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +21794 pull_request: https://github.com/python/cpython/pull/22840 ___ Python tracker

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 7cdf30fff39ea97f403b5472096349998d190e30 by kj in branch 'master': bpo-42010: [docs] Clarify subscription of types (GH-22822) https://github.com/python/cpython/commit/7cdf30fff39ea97f403b5472096349998d190e30 --

[issue41902] Micro optimization for range.index if step is 1

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: New changeset 25492a5b59c5b74328278f195540e318ab87674f by Dong-hee Na in branch 'master': bpo-41902: Micro optimization for compute_item of range (GH-22492) https://github.com/python/cpython/commit/25492a5b59c5b74328278f195540e318ab87674f -- nosy:

[issue23706] pathlib.Path.write_text should include a newline argument

2020-10-20 Thread miss-islington
miss-islington added the comment: New changeset 5f227413400c4dfdba210cc0f8c9305421638bc1 by Максим in branch 'master': bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) (GH-22420) https://github.com/python/cpython/commit/5f227413400c4dfdba210cc0f8c9305421638bc1

[issue42100] Add _PyType_GetModuleByDef

2020-10-20 Thread Petr Viktorin
New submission from Petr Viktorin : I would like to add an internal _PyType_GetModuleByDef function to unblock further work on isolating extension modules, as discussed here: https://mail.python.org/archives/list/capi-...@python.org/thread/T3P2QNLNLBRFHWSKYSTPMVEIL2EEKFJU/ --

[issue22210] pdb-run-restarting-a-pdb-session

2020-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42101] Allow inheritance of Venvs

2020-10-20 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : Followup from Python Idea: https://mail.python.org/archives/list/python-id...@python.org/thread/KTIYUEYF6XBHOGOLV744RQXMTETVSTOF/ Goal would be to allow layering on virtualenv to speedup creation and use less disk space in the case of many large

[issue42103] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-20 Thread Robert Wessen
New submission from Robert Wessen : In versions of Python from 3.4-3.10, the Python core plistlib library supports Apple's binary plist format. When given malformed input, the implementation can be forced to create an argument to struct.unpack() which consumes all available CPU and memory

[issue41586] Allow to set pipe size on subprocess.Popen.

2020-10-20 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 786addd9d07b6c712b8ea9ee06e1f9f41c1b67a1 by Gregory P. Smith in branch 'master': bpo-41586: Attempt to make the pipesize tests more robust. (GH-22839) https://github.com/python/cpython/commit/786addd9d07b6c712b8ea9ee06e1f9f41c1b67a1

[issue35753] Importing call from unittest.mock directly causes ValueError

2020-10-20 Thread David Antonini
David Antonini added the comment: Somehow I missed the follow up here until now. I don't remember the original code, but I'm fairly confident that mocked_print is the patched print function eg with patch('dionysus_app.class_functions.print') as mocked_print: Probably solved in this commit

[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg377737 ___ Python tracker ___ ___ Python-bugs-list

[issue41902] Micro optimization for range.index if step is 1

2020-10-20 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset c0f22fb8b3006936757cebb959cee94e285bc503 by Dong-hee Na in branch 'master': bpo-41902: Micro optimization for range.index if step is 1 (GH-22479) https://github.com/python/cpython/commit/c0f22fb8b3006936757cebb959cee94e285bc503 --

[issue37105] Add deprecated-remove information on stream doc

2020-10-20 Thread Irit Katriel
Irit Katriel added the comment: I checked earlier that it's not in 3.8 and 3.9, but now I double-checked and saw that it's not in master either. It was reverted here: https://github.com/python/cpython/pull/13251 -- ___ Python tracker

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread miss-islington
miss-islington added the comment: New changeset d05514ace652769457e6228f0186d4f830b676b9 by Miss Skeleton (bot) in branch '3.9': [3.9] bpo-42010: [docs] Clarify subscription of types (GH-22822) (GH-22840) https://github.com/python/cpython/commit/d05514ace652769457e6228f0186d4f830b676b9

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-20 Thread Ned Deily
Change by Ned Deily : -- components: +Library (Lib) -Interpreter Core keywords: +security_issue nosy: +ned.deily, ronaldoussoren, serhiy.storchaka title: DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format -> [security] DoS

[issue35753] Importing call from unittest.mock directly causes ValueError

2020-10-20 Thread Alfred Perlstein
Change by Alfred Perlstein : -- keywords: +patch nosy: +splbio nosy_count: 4.0 -> 5.0 pull_requests: +21788 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/22834 ___ Python tracker

[issue37105] Add deprecated-remove information on stream doc

2020-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: I'd say close it, the deprecation can be a separate issue (usually is) and I don't think we need to backport such a minor docs issue to 3.8. The PR is old enough that it made 3.9+3.10 I think (did you check?). -- nosy: +gvanrossum

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin nosy_count: 18.0 -> 19.0 pull_requests: +21792 pull_request: https://github.com/python/cpython/pull/22838 ___ Python tracker

[issue37105] Add deprecated-remove information on stream doc

2020-10-20 Thread Irit Katriel
Irit Katriel added the comment: Or more directly here: https://github.com/python/cpython/commit/6758e6e12a71ef5530146161881f88df1fa43382#diff-f82013fb4ae87c622d4c38a232b5a52e72ce06cd0f956b3d4684341f18890baa -- ___ Python tracker

[issue40891] Use PEP 573 in functools

2020-10-20 Thread Petr Viktorin
Petr Viktorin added the comment: Here is a PR for _PyType_GetModuleByDef: https://github.com/python/cpython/pull/22835 -- ___ Python tracker ___

[issue41586] Allow to set pipe size on subprocess.Popen.

2020-10-20 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +21793 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/22839 ___ Python tracker ___

[issue36876] [subinterpreters] Global C variables are a problem

2020-10-20 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +21795 pull_request: https://github.com/python/cpython/pull/22841 ___ Python tracker ___

[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -patanjalisutra666 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file49480/debian-desktop.png ___ Python tracker ___ ___ Python-bugs-list

[issue42102] Make builtins.callable "generic"

2020-10-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42102] Make builtins.callable "generic"

2020-10-20 Thread Guido van Rossum
Guido van Rossum added the comment: I'm not against this, though I'm not sure it really buys us much (Any still has to be imported from typing). Maybe you can submit a PR? Running the tests might be informative. -- ___ Python tracker

[issue41192] Some audit events are undocumented

2020-10-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: After this flurry of commits, I think everything associated with the issue is now fixed. Along the way, I also noticed that the sys.audit() call had disappeared from the glob module (it's now restored) and filed issue #42098 to improve the test suite's

[issue42100] Add _PyType_GetModuleByDef

2020-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- keywords: +patch pull_requests: +21789 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22835 ___ Python tracker ___

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +21791 pull_request: https://github.com/python/cpython/pull/22837 ___ Python tracker ___

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-10-20 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +21790 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22836 ___ Python tracker

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-10-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset 2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b by Florian Dahlitz in branch 'master': bpo-29981: Add examples and update index for set, dict, and generator comprehensions'(GH-20272)

[issue37105] Add deprecated-remove information on stream doc

2020-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42102] Make builtins.callable "generic"

2020-10-20 Thread Ken Jin
Ken Jin added the comment: +1 to this. I'm more surprised that callable wasn't already able to do that (also surprised at the ``isinstance(x, callable)`` code crashing). I think the implementation would be slightly different than what you proposed. I'd like to give it a shot if you aren't

[issue42102] Make builtins.callable "generic"

2020-10-20 Thread Shantanu
New submission from Shantanu : In the post PEP 585 world, it seems like a bit of a stumbling block for builtins.callable to not able to be parametrised (in a runtime context). Post PEP 604, I'd expect typing.Callable to be the most used typing import after typing.Any, so much of PEP 585's

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2020-10-20 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Connection.__init__() fixed by iterating though tp_bases in order to find the correct base class to load the state from. There should be a better way to do this than to dig through type member internals. --

[issue23706] pathlib.Path.write_text should include a newline argument

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: Thank you -- nosy: +methane resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38980] Compile libpython with -fno-semantic-interposition

2020-10-20 Thread Ammar Askar
Ammar Askar added the comment: Hey Victor, should we try to land this in Python 3.10? Given that no one has brought up any big concerns aside from LD_PRELOAD based hacks and how clang has already had this as the default I think it's relatively safe to make a default for with-optimizations.

[issue42085] Add dedicated slot for sending values

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +asvetlov, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30680] textwrap should treat Unicode em-dash like ASCII em-dash

2020-10-20 Thread Inada Naoki
Inada Naoki added the comment: > Agreed. It makes great sense that textwrap started as highly ASCII-centric. > But in the Python 3, Unicode-friendly era, ASCII-biased isn't where we should > leave things. It needs Unicode experts. If we support Unicode, we should implemente UAX #14.

<    1   2