[issue43908] array.array should remain immutable

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset c6ad03fddf4b04c60dca4327140e59fb2dcca8e5 by Erlend Egeberg Aasland in branch 'master': bpo-43908: Make array.array type immutable (GH-25696) https://github.com/python/cpython/commit/c6ad03fddf4b04c60dca4327140e59fb2dcca8e5 --

[issue43908] array.array should remain immutable

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5daf70b22e72ea1a88c05975f69120b8c4e4927f by Erlend Egeberg Aasland in branch 'master': bpo-43908: Make re types immutable (GH-25697) https://github.com/python/cpython/commit/5daf70b22e72ea1a88c05975f69120b8c4e4927f --

[issue28254] Add C API for gc.enable, gc.disable, and gc.isenabled

2021-04-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24398 pull_request: https://github.com/python/cpython/pull/25709 ___ Python tracker ___ __

[issue43352] Add a Barrier object in asyncio lib

2021-04-28 Thread Yves Duprat
Yves Duprat added the comment: An update was submitted on PR. Modified python files are: file lib/asyncio/locks.py file lib/test/test_asyncio/test_locks.py And related documentation files file Doc/library/asyncio-api-index.rst file Doc/library/asyncio-sync.rst Please, could you

[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2021-04-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 -Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-lis

[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2021-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tests are needed. See review. Thinking about tests makes me realize that we need to extract an EditorText class that has the methods that only apply to the text component of EditorWindow. That is most of them. This would make testing easier because there

[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2021-04-28 Thread Tal Einat
Change by Tal Einat : Removed file: https://bugs.python.org/file4/pb_tool-3.1.0-py3-none-any.whl ___ Python tracker ___ ___ Python-bugs-

[issue37903] IDLE Shell sidebar.

2021-04-28 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +24396 pull_request: https://github.com/python/cpython/pull/25708 ___ Python tracker ___ ___

[issue43659] AIX: test_curses crashes buildbot

2021-04-28 Thread Michael Felt
Change by Michael Felt : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue43892] Make match patterns explicit in the AST

2021-04-28 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 1e7b858575d0ad782939f86aae4a2fa1c29e9f14 by Nick Coghlan in branch 'master': bpo-43892: Make match patterns explicit in the AST (GH-25585) https://github.com/python/cpython/commit/1e7b858575d0ad782939f86aae4a2fa1c29e9f14 -- ___

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-04-28 Thread Eryk Sun
Eryk Sun added the comment: A substitute drive is not a mount point, strictly speaking. It's a symlink in the object namespace that targets an arbitrary path on a device, or even on another mapped/substitute drive. A mapped drive is a similar case that targets an arbitrary path on a UNC shar

[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2021-04-28 Thread ปพนพัชร์ บรรพจันทร์
Change by ปพนพัชร์ บรรพจันทร์ : -- nosy: +ttx11529 Added file: https://bugs.python.org/file4/pb_tool-3.1.0-py3-none-any.whl ___ Python tracker ___ __

[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2021-04-28 Thread Bryan Silverthorn
Bryan Silverthorn added the comment: I submitted this patch 14 years ago and am sure of nothing. :) -- ___ Python tracker ___ ___ Py

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-28 Thread ปพนพัชร์ บรรพจันทร์
Change by ปพนพัชร์ บรรพจันทร์ : -- nosy: +ttx11529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue41139] cgi uses the locale encoding for log files

2021-04-28 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue41139] cgi uses the locale encoding for log files

2021-04-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset e52ab42cedd2a5ef4c3c1a47d0cf96a8f06d051f by Inada Naoki in branch 'master': bpo-41139: Deprecate `cgi.log()` (GH-25625) https://github.com/python/cpython/commit/e52ab42cedd2a5ef4c3c1a47d0cf96a8f06d051f --

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset a69256527f93d2aa32e76658deab829e324d97b6 by Inada Naoki in branch 'master': bpo-43651: Fix EncodingWarning in `os.fdopen()` and test_os (GH-25654) https://github.com/python/cpython/commit/a69256527f93d2aa32e76658deab829e324d97b6 -- _

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset fa51c0c448aca9fe5d4e8bc02e71de528931778b by Inada Naoki in branch 'master': bpo-43651: Fix EncodingWarning in tests. (GH-25655) https://github.com/python/cpython/commit/fa51c0c448aca9fe5d4e8bc02e71de528931778b --

[issue24275] lookdict_* give up too soon

2021-04-28 Thread Inada Naoki
Change by Inada Naoki : -- resolution: remind -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue24275] lookdict_* give up too soon

2021-04-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset 8557edbfa8f74514de82feea4c62f5963e4e0aa7 by Hristo Venev in branch 'master': bpo-24275: Don't downgrade unicode-only dicts to mixed on lookups (GH-25186) https://github.com/python/cpython/commit/8557edbfa8f74514de82feea4c62f5963e4e0aa7 --

[issue43972] Simple HTTP Request Handler in http.server does not set a content-length and does not close connections on 301s

2021-04-28 Thread Stephen Rosen
Change by Stephen Rosen : -- keywords: +patch pull_requests: +24395 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25705 ___ Python tracker ___ __

[issue43972] Simple HTTP Request Handler in http.server does not set a content-length and does not close connections on 301s

2021-04-28 Thread Stephen Rosen
New submission from Stephen Rosen : If you use the `http.server` simple server and handler to serve a directory, navigating to a directory name without a trailing slash will trigger a 301 to add the trailing slash. For example, if "foo/" is a directory under the file server, a GET for "/foo"

[issue43971] documentation: no spacing around default args in annotated function

2021-04-28 Thread Mohamed Moselhy
Change by Mohamed Moselhy : -- keywords: +patch pull_requests: +24393 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25702 ___ Python tracker ___

[issue43971] documentation: no spacing around default args in annotated function

2021-04-28 Thread Mohamed Moselhy
New submission from Mohamed Moselhy : See https://www.python.org/dev/peps/pep-0008/#function-annotations The first section of https://docs.python.org/3/library/dataclasses.html shows quantity_on_hand: int=0, when there should be spacing around the '=' according to PEP 8 (see link above). ---

[issue1227748] doc: subprocess: inheritance of std descriptors inconsistent

2021-04-28 Thread Eryk Sun
Eryk Sun added the comment: > If one calls Popen with stdin = stdout = stderr = None, > the caller's std descriptors are inherited on *x, but > not on Windows In the default case, CreateProcessW() is called with bInheritHandles as false and without explicitly setting the standard-handle value

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-04-28 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks Paul! -- nosy: +jaraco resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-28 Thread Miguel Brito
Miguel Brito added the comment: Hello, first time here. I created an PR for that. Managed to reproduce the issue both manually and via unit test. I hope there's no edge case but all tests pass on my machine. -- nosy: +miguendes ___ Python tracker

[issue43970] Optimize Path.cwd() in pathlib

2021-04-28 Thread Eric V. Smith
Eric V. Smith added the comment: I'm merging this not so much because of the performance aspect, but just to remove some unnecessary code. But in any event, thanks for the contribution! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue43970] Optimize Path.cwd() in pathlib

2021-04-28 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 4a85718212fd032c922ca7d630b2602dd4b29a35 by kfollstad in branch 'master': bpo-43970: Optimize Path.cwd() in pathlib by not instantiating a class unnecessarily (GH-25699) https://github.com/python/cpython/commit/4a85718212fd032c922ca7d630b2602dd4

[issue37903] IDLE Shell sidebar.

2021-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 15d386185659683fc044ccaa300aa8cd7d49cc1a by Tal Einat in branch 'master': bpo-37903: IDLE: Shell sidebar with prompts (GH-22682) https://github.com/python/cpython/commit/15d386185659683fc044ccaa300aa8cd7d49cc1a --

[issue43012] Remove pathlib accessors

2021-04-28 Thread Barney Gale
Change by Barney Gale : -- keywords: +patch pull_requests: +24391 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25701 ___ Python tracker ___

[issue24132] Direct sub-classing of pathlib.Path

2021-04-28 Thread Barney Gale
Change by Barney Gale : -- pull_requests: +24392 pull_request: https://github.com/python/cpython/pull/25701 ___ Python tracker ___ _

[issue43954] Possible missing word on unittest doc

2021-04-28 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 5.0 -> 6.0 pull_requests: +24390 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25700 ___ Python tracker

[issue43908] array.array should remain immutable

2021-04-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: In any case, that's my personal opinion of course. What we should do is decide collectively if immutability is defined behaviour. If we decide that it is, we need regression tests. If we define that as "nice to have" but ultimately "implementation-def

[issue43908] array.array should remain immutable

2021-04-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Immutability of the type is mainly an implementation detail I kindly disagree and based on the title of this issue I think more people have a similar opinion. -- ___ Python tracker

[issue43908] array.array should remain immutable

2021-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not sure tests are needed here. Immutability of the type is mainly an implementation detail. We keep the types immutable because we don't want users to use the feature of mutating these types. I don't think anything bad will happen if in some Python i

[issue39232] asyncio crashes when tearing down the proactor event loop

2021-04-28 Thread Steve Dower
Steve Dower added the comment: I'm also seeing (and annoyed by) this. Do we need to do anything more than suppress the error? If we're just failing to notify the event loop that we're closing because the loop is gone, does the notification even matter? -- nosy: +steve.dower ___

[issue24247] Docs: "unittest discover" modifies sys.path

2021-04-28 Thread Irit Katriel
Irit Katriel added the comment: This is alluded to in the "caution" under https://docs.python.org/3/library/unittest.html#test-discovery But the workaround is not explained. -- keywords: +easy nosy: +iritkatriel title: "unittest discover" modifies sys.path -> Docs: "unittest discover

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2021-04-28 Thread Glenn Travis
Glenn Travis added the comment: I see that this remains alive. I do have a newer question. Apple continues to say that they are going to drop all their included versions of python and I believe ruby in some future version of macOS. I thought that this would happen in Big Sur, but python versi

[issue18125] Out-of-tree build cannot regenerate Makefile.pre

2021-04-28 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Build Python outside the source directory ___ Python tracker __

[issue16062] Socket closed prematurely in httplib for https

2021-04-28 Thread Irit Katriel
Irit Katriel added the comment: Issue5542 was fixed, so if it's the same thing this is also fixed. If it's not the same thing, then python 2.7 is past EOL so please create a new issue if you can reproduce this problem in 3.8+. -- nosy: +iritkatriel resolution: -> out of date stage:

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-28 Thread Paul Moore
Paul Moore added the comment: To be explicit, I'm +1 on breaking backward compatibility in the minor form described by Ethan: if NamedTemporaryFile is used as a context manager, the file is closed *on context manager exit* and *not* when the file is closed. Breaking compatibility is allowed

[issue43970] Optimize Path.cwd() in pathlib

2021-04-28 Thread Kevin Follstad
Change by Kevin Follstad : -- keywords: +patch pull_requests: +24388 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25699 ___ Python tracker ___ _

[issue43970] Optimize Path.cwd() in pathlib

2021-04-28 Thread Kevin Follstad
New submission from Kevin Follstad : python3.10 -m timeit -r 5 -n 10 -s 'from pathlib import Path' 'Path.cwd()' 10 loops, best of 5: 206 usec per loop python3.10-mypatch -m timeit -r 5 -n 10 -s 'from pathlib import Path' 'Path.cwd()' 10 loops, best of 5: 156 usec per loop

[issue43969] "bad magic number" when Python 2's pyc file exists without py file

2021-04-28 Thread Mitchell Hentges
New submission from Mitchell Hentges : Python 3 imports may fail if a Python 2 .pyc file exists without an accompanying .py file. - My project vendors code, and we recently updated "requests" to a drastically newer version. As part of this version change, `requests/packages/__init__.py`

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2021-04-28 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-28 Thread Evgeny
Evgeny added the comment: On Mon, Apr 12, 2021 at 12:51 AM Jason R. Coombs wrote: > Jason R. Coombs added the comment: > At least I and Ethan and Martin have expressed a desire for the default, > preferred usage work well in a portable environment. Requiring > `delete_on_close=False` viol

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-28 Thread Evgeny
Evgeny added the comment: Dear all, thank you very much for the discussion, I will just try to summarize the results of it. In my PR I used solution, proposed by Eryk. My solution involves introduction of the extra flag delete_on_close and making sure, that new situation is fully backwards

[issue43908] array.array should remain immutable

2021-04-28 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: ok. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue43908] array.array should remain immutable

2021-04-28 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Shreyan, see msg391954 earlier in this thread: "I also think you should try to separately land small patches that add the IMMUTABLETYPE flag to a few very public types, e.g. array.array and the three in _sre (which are exported by re.py)." --

[issue33040] Make itertools.islice supports negative values for start and stop arguments for sized iterable object

2021-04-28 Thread Yaroslav Nikitenko
Yaroslav Nikitenko added the comment: Sorry for a typo. The paragraph before the last should read Negative *step* fundamentally changes the algorithm:... flow[-1:None:-1]. -- ___ Python tracker

[issue43908] array.array should remain immutable

2021-04-28 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Erlend, wouldn't it be easy to apply all the changes in 1 PR? -- ___ Python tracker ___ ___ Pyth

[issue43908] array.array should remain immutable

2021-04-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > We don't have immutability tests for static types then why heap types? Because all static types are immutable, and some have been converted to heap types changing the contract, therefore is a regression and therefore we need regression tests for tho

[issue33040] Make itertools.islice supports negative values for start and stop arguments for sized iterable object

2021-04-28 Thread Yaroslav Nikitenko
Yaroslav Nikitenko added the comment: I hope it's fine to add to closed topics here. I agree with the decision that islice should not handle a special case of sized containers vs iterables. However, I think that the support of negative indices in islice would be nice. A simple use case woul

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-04-28 Thread Liel Fridman
Liel Fridman added the comment: I have the same error when running the tests on my machine (Same macOS version). -- nosy: +lielfr ___ Python tracker ___ __

[issue1227748] doc: subprocess: inheritance of std descriptors inconsistent

2021-04-28 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted into a github PR. -- keywords: +easy nosy: +iritkatriel title: subprocess: inheritance of std descriptors inconsistent -> doc: subprocess: inheritance of std descriptors inconsistent versions: +Python 3.10, Python 3.11, P

[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2021-04-28 Thread Irit Katriel
Irit Katriel added the comment: Are you sure this assertion is correct? tp_traverse is optional. -- nosy: +iritkatriel ___ Python tracker ___ __

[issue23750] doc: Clarify difference between os.system/subprocess.call in section "Replacing os.system()"

2021-04-28 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted to a github PR. -- keywords: +easy nosy: +iritkatriel title: Clarify difference between os.system/subprocess.call in section "Replacing os.system()" -> doc: Clarify difference between os.system/subprocess.call in section

[issue42998] pathlib.Path: add `username` argument to `home()`

2021-04-28 Thread Barney Gale
Barney Gale added the comment: So far I've been keen to keep the Path and AbstractPath APIs the same, but perhaps this case warrants an exception. What if AbstractPath lacked both home() and expanduser(), and those methods only existed on Path? Of all the methods on Path, these two are the *

[issue24475] The docs never define what a pool "task" is

2021-04-28 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) versions: +Python 3.10, Python 3.11, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker _

[issue43908] array.array should remain immutable

2021-04-28 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Is it necessary to add tests just for testing type immutability? We don't have immutability tests for static types then why heap types? -- ___ Python tracker _

[issue28254] Add C API for gc.enable, gc.disable, and gc.isenabled

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 103d5e420dd90489933ad9da8bb1d6008773384d by Victor Stinner in branch 'master': bpo-28254: _posixsubprocess uses PyGC_Enable/PyGC_Disable (GH-25693) https://github.com/python/cpython/commit/103d5e420dd90489933ad9da8bb1d6008773384d -- _

[issue43908] array.array should remain immutable

2021-04-28 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24387 pull_request: https://github.com/python/cpython/pull/25697 ___ Python tracker ___ __

[issue43908] array.array should remain immutable

2021-04-28 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24386 pull_request: https://github.com/python/cpython/pull/25696 ___ Python tracker ___ __

[issue43908] array.array should remain immutable

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3b52c8d66b25415f09478ab43f93d59a3547dc13 by Erlend Egeberg Aasland in branch 'master': bpo-43908: Add Py_TPFLAGS_IMMUTABLETYPE flag (GH-25520) https://github.com/python/cpython/commit/3b52c8d66b25415f09478ab43f93d59a3547dc13 -- __

[issue43908] array.array should remain immutable

2021-04-28 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: See msg391933, Shreyan. I think Christian will take care of his types :) -- ___ Python tracker ___ __

[issue43908] array.array should remain immutable

2021-04-28 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Was EVPtype_spec in _hashopenssl.c converted to heap type? -- ___ Python tracker ___ ___ Python-

[issue43851] Optimise SQLite builds on macOS and Windows

2021-04-28 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Oh, well, SQLITE_DEFAULT_MEMSTATUS=0 does in fact affect PRAGMA soft_heap_limit. Looks like I'm left with only SQLITE_OMIT_AUTOINIT, then :) -- ___ Python tracker _

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-04-28 Thread sfmc
New submission from sfmc : For example if I mount directory C:\example\dir to Z:\ the os.path.realpath('Z:\\') returns the real directory. Use following commands in Windows to reproduce the issue: md C:\example\dir subst Z: C:\example\dir python.exe -c "import os; print(os.path.rea

[issue43851] Optimise SQLite builds on macOS and Windows

2021-04-28 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Here's a list of the SQLite recommended compile-time options (only): - macOS (v11.2.3) (SQLite v3.32.3) defines SQLITE_DEFAULT_WAL_SYNCHRONOUS=1 - Homebrew (SQLite v3.35.4) does not define any of the recommended compile-time options - Debian Buster (S

[issue43295] datetime.strptime emits IndexError on parsing 'z' as %z

2021-04-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +24385 pull_request: https://github.com/python/cpython/pull/25695 ___ Python tracker ___ __

[issue43349] [doc] incorrect tuning(7) manpage link

2021-04-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +24384 pull_request: https://github.com/python/cpython/pull/25694 ___ Python tracker ___ __

[issue43472] [security][subinterpreters] Add auditing hooks to subinterpreter module

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0252ce35712f4a12e824fb8b40a867ec3460443e by Miss Islington (bot) in branch '3.9': bpo-43472: Ensure PyInterpreterState_New audit events are raised when called through _xxsubinterpreters module (GH-25506) (GH-25508) https://github.com/python/cpy

[issue28254] Add C API for gc.enable, gc.disable, and gc.isenabled

2021-04-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24383 pull_request: https://github.com/python/cpython/pull/25693 ___ Python tracker ___ __

[issue28254] Add C API for gc.enable, gc.disable, and gc.isenabled

2021-04-28 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-28 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for your major contribution, Ken! Agreed, that bugfix can come later. -- ___ Python tracker ___

[issue28254] Add C API for gc.enable, gc.disable, and gc.isenabled

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3cc481b9de43c234889c8010e7da3af7c0f42319 by scoder in branch 'master': bpo-28254: Add a C-API for controlling the GC state (GH-25687) https://github.com/python/cpython/commit/3cc481b9de43c234889c8010e7da3af7c0f42319 -- nosy: +vstinner

[issue43847] [Windows] ntpath.realpath() of bytes root directory may raise TypeError in some cases

2021-04-28 Thread Steve Dower
Change by Steve Dower : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue43757] pathlib: move 'resolve()' logic out of path flavour

2021-04-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43757] pathlib: move 'resolve()' logic out of path flavour

2021-04-28 Thread Steve Dower
Steve Dower added the comment: New changeset baecfbd849dbf42360d3a84af6cc13160838f24d by Barney Gale in branch 'master': bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) https://github.com/python/cpython/commit/baecfbd849dbf42360d3a84af6cc13160838f24d

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-28 Thread Ken Jin
Ken Jin added the comment: The last of the patches have landed. Guido, thank you so much for helping me through this 5 month long process. Please enjoy your vacation! PS: I need to send in a bugfix for typing.py later to ignore ``ParamSpec`` in the ``__parameters__`` of invalid locations lik

[issue37387] test_compileall fails randomly on Windows when tests are run in parallel

2021-04-28 Thread Guido van Rossum
Guido van Rossum added the comment: Well, in the normal course of running multiple Python programs on the same machine, pyc files may be rewritten, and this should not cause crashes. So perhaps there’s a real bug here? -- nosy: +Guido.van.Rossum __

[issue43960] test_pdb fails when only some tests are run

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix Irit! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43960] test_pdb fails when only some tests are run

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset b52cc7c5f1a6c5b48d51cd718719a766c37d6e38 by Miss Islington (bot) in branch '3.8': bpo-43960: test_pdb resets breakpoints to make tests deterministic (GH-25691) (GH-25692) https://github.com/python/cpython/commit/b52cc7c5f1a6c5b48d51cd718719a766

[issue43954] Possible missing word on unittest doc

2021-04-28 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-28 Thread Petr Viktorin
Petr Viktorin added the comment: I hope the PR fixes that. I plan to merge tomorrow if there ar no objections to it. On April 28, 2021 5:15:19 PM GMT+02:00, STINNER Victor wrote: > >STINNER Victor added the comment: > >Right now, running "make regen-limited-abi" adds again functions which

[issue11975] Fix referencing of built-in types (list, int, ...)

2021-04-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I don't see a clear solution here, but I think > it's very worth rethinking. If you come up with a clear improvement for adding link targets, please open it in a separate tracker issue. The other proposals in this thread have all been mostly voted dow

[issue41559] Add support for PEP 612 (Parameter Specification Variables) to typing.py

2021-04-28 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 859577c24981d6b36960d309f99f7fc810fe75c2 by Ken Jin in branch 'master': bpo-41559: Change PEP 612 implementation to pure Python (#25449) https://github.com/python/cpython/commit/859577c24981d6b36960d309f99f7fc810fe75c2 -- __

[issue11975] Fix referencing of built-in types (list, int, ...)

2021-04-28 Thread Kieran Siek
Kieran Siek added the comment: I don't disagree, just having linkable directives for lists and tuples would already make the documentation a lot more useful. -- ___ Python tracker __

[issue43961] [Windows] test_logging.test_namer_rotator_inheritance() logs a logging error

2021-04-28 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue43961] [Windows] test_logging.test_namer_rotator_inheritance() logs a logging error

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 629ef0fb9cad6ac340d3be884af7b47fb393ae99 by Miss Islington (bot) in branch '3.9': bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684) (GH-25688) https://github.com/python/cpython/commit/629ef0fb9cad6ac340d3be884af7b47fb393ae

[issue43960] test_pdb fails when only some tests are run

2021-04-28 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: Thanks everyone for fixing these issues and thanks Shreyan for the bug report. The main initial is now fixed, so I close the issue. Let's continue the discussions in remaining open issues: * bpo-37387: test_compileall fails randomly on Windows when tests are

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-28 Thread Steve Dower
Steve Dower added the comment: New changeset c1a9535989cc7323099725503519a17f79d083f5 by Steve Dower in branch 'master': bpo-43955: Handle the case where the distutils warning has already been triggered (GH-25675) https://github.com/python/cpython/commit/c1a9535989cc7323099725503519a17f79d08

[issue43960] test_pdb fails when only some tests are run

2021-04-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +24382 pull_request: https://github.com/python/cpython/pull/25692 ___ Python tracker ___ __

[issue43960] test_pdb fails when only some tests are run

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2dc6b1789ec86dc80ea290fe33edd61140e47f6f by Irit Katriel in branch '3.9': bpo-43960: test_pdb resets breakpoints to make tests deterministic (GH-25691) https://github.com/python/cpython/commit/2dc6b1789ec86dc80ea290fe33edd61140e47f6f -

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: > Another issue with the tests is that it has become terribly slow. It's taking > about 45 minutes to complete 1 run of the test suite. A few days ago, it took > only 10 - 15 minutes. It took 49 minutes on my Windows 10 VM. Are you sure that you ran the test

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-28 Thread STINNER Victor
STINNER Victor added the comment: I ran "python -m test" on an up to date master branch (commit fe52eb62191e640e720d184a9a1a04e965b8a062), there is a single remaining issue. test_distutils failed because the deprecation warning was already emited: issue fixed by PR 25675. The other issues ar

[issue11975] Fix referencing of built-in types (list, int, ...)

2021-04-28 Thread Éric Araujo
Éric Araujo added the comment: I don’t think consistency should be the main goal, but usefulness. -- versions: -Python 2.7, Python 3.11, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

  1   2   >