[issue46426] Improve tests for the dir_fd argument

2022-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 54610bb448a9cf5be77d53b66169fca4c11be6cb by Serhiy Storchaka in branch 'main': bpo-46426: Improve tests for the dir_fd argument (GH-30668) https://github.com/python/cpython/commit/54610bb448a9cf5be77d53b66169fca4c11be6cb --

[issue46426] Improve tests for the dir_fd argument

2022-01-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +28926 pull_request: https://github.com/python/cpython/pull/30739 ___ Python tracker _

[issue30512] CAN Socket support for NetBSD

2022-01-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.7 ___ Python tracker ___ _

[issue30512] CAN Socket support for NetBSD

2022-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 40fcd16889028bd3cd2289e0f8a2af43f17a5824 by Thomas Klausner in branch 'main': bpo-30512: Add CAN Socket support for NetBSD (GH-30066) https://github.com/python/cpython/commit/40fcd16889028bd3cd2289e0f8a2af43f17a5824 -- _

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2022-01-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +28924 pull_request: https://github.com/python/cpython/pull/30737 ___ Python tracker

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2022-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +28925 pull_request: https://github.com/python/cpython/pull/30738 ___ Python tracker ___ __

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2022-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset cfadcc31ea84617b1c73022ce54d4ae831333e8d by andrei kulakov in branch 'main': bpo-21987: Fix TarFile.getmember getting a dir with a trailing slash (GH-30283) https://github.com/python/cpython/commit/cfadcc31ea84617b1c73022ce54d4ae831333e8d --

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 22f73bd9f1fc573d5c998f345b66c29f7ca6614d by Nikita Sobolev in branch 'main': bpo-46425: Fix direct invocation of `test_contextlib` (GH-30681) https://github.com/python/cpython/commit/22f73bd9f1fc573d5c998f345b66c29f7ca6614d -- _

[issue19479] textwrap.dedent doesn't work properly with strings containing CRLF

2022-01-20 Thread Georg Brandl
Change by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue46436] Pass the -d/--directory command-line option to http.server.CGIHTTPRequestHandler

2022-01-20 Thread Géry
Change by Géry : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue46448] TypedDict inspect.signature error

2022-01-20 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- nosy: +Jelle Zijlstra ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread Tim Peters
Tim Peters added the comment: >> the meanings of "predecessor" and "successor" are >> universally agreed upon > I disagree. I can post literally hundreds of citations that all agree: in u -> v, u is a direct predecessor of v, and v is a direct successor of u. Here's one: http://pages.cs.wi

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread Dennis Sweeney
Dennis Sweeney added the comment: > It's not obvious if the "predecessor" should be the start or the end point of > the edge https://en.wikipedia.org/wiki/Directed_graph#Basic_terminology : """If a path leads from x to y, then y is said to be a successor of x and reachable from x, and x is s

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread David Mc Dougall
David Mc Dougall added the comment: > you're not actually confused. I was when I first read it! > the meanings of "predecessor" and "successor" are universally agreed upon I disagree. The universally agreed upon terms are "directed edge u -> v". It's not obvious if the "predecessor" should

[issue46451] Possibly bad interaction with tracing and cython?

2022-01-20 Thread Sebastian Berg
Sebastian Berg added the comment: Ahh, a further data-point. The name from the module scope that is overwritten IS a parameter name used in the function locals. Strangly, if I modify the tracing to print more: stop = 0 def trace(frame, event, arg): global stop if stop > 10:

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-20 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, the deep-frozen objects are statically initialized with a very large refcount that isn't accounted for (they are intended to be immortal). It seems that Py_Finalize() somehow decrefs those objects. I guess this means we need some kind of flag indicatin

[issue46451] Possibly bad interaction with tracing and cython?

2022-01-20 Thread Sebastian Berg
New submission from Sebastian Berg : Starting here, but there could be Cython interaction or something else in theory. But, when running the following: * Python 3.10.1 (not 3.9.9, debug version or not) * Setting a tracing function (not setting a trace-function will fix the issue) * Running C

[issue46415] ipaddress.ip_{address, network, interface} raises TypeError instead of ValueError if given a tuple as address

2022-01-20 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Duplicate of issue46141. -- nosy: +Jelle Zijlstra resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46450] namedtuple leaks data between instances when field's default value is empty list

2022-01-20 Thread Dennis Sweeney
Dennis Sweeney added the comment: This seems to be the standard confusion people have with mutable defaults, just with namedtuple defaults rather than function defaults. Similar behavior elsewhere in Python: >>> def f(x, y=[]): ... y.append(x) ... print(y) ... ... >>> f(1) [1]

[issue46450] namedtuple leaks data between instances when field's default value is empty list

2022-01-20 Thread Curtis M
New submission from Curtis M <3ed7qja...@liamekaens.com>: Example code to replicate issue on python 3.10.2 is attached. How to replicate issue: 1. Define a namedtuple where all fields have default values. At least one field's default value will be an empty list: [] 2. Instantiate 2 instances o

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread Tim Peters
Tim Peters added the comment: I think you should give up on this. But suit yourself ;-) Exactly the same information is conveyed whether representing a graph by successor or predecessor dicts. Some operations are more convenient in one representation than the other, but each is easily derive

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +eric.snow, gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset d013b241352e902389f955f8f99d75f16c124ee2 by Victor Stinner in branch 'main': bpo-46417: signal uses PyStructSequence_NewType() (GH-30735) https://github.com/python/cpython/commit/d013b241352e902389f955f8f99d75f16c124ee2 -- ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-46449 "Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)". -- ___ Python tracker ___ _

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-20 Thread STINNER Victor
New submission from STINNER Victor : Using the C program below, I see that _Py_RefTotal is decreasing at each iteration: --- #include int main(int argc, char *argv[]) { for (int i=1; i <= 100; i++) { Py_SetProgramName(L"./_testembed"); Py_Initialize(); Py_Finalize()

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread David Mc Dougall
David Mc Dougall added the comment: > The argument passed is the predecessor form of the graph B -> A where graph = {'A' : ['B']} This is part that I'm objecting to. The form of the graph should be A -> B, not B -> A. The issue with the current form is that you can not traverse the graph, a

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1781d55eb34f94029e50970232635fc5082378cb by Victor Stinner in branch 'main': bpo-46417: _curses uses PyStructSequence_NewType() (GH-30736) https://github.com/python/cpython/commit/1781d55eb34f94029e50970232635fc5082378cb -- __

[issue46427] Correct MSBuild's configuration for _freeze_module.exe

2022-01-20 Thread neonene
neonene added the comment: > + This is bad if ARM64 machine takes the blank value as not "ARM64" but "ARM", as "ARM" tools are not necessary to install. Then, I agree with the proposal of the OP (PR28491) below: > Would it be acceptable if a new host platform property is added to > t

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28923 pull_request: https://github.com/python/cpython/pull/30736 ___ Python tracker ___ __

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28922 pull_request: https://github.com/python/cpython/pull/30735 ___ Python tracker ___ __

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 17f268a4ae6190b2659c89c6f32ad2d006e0e3c8 by Victor Stinner in branch 'main': bpo-46417: time module uses PyStructSequence_NewType() (GH-30734) https://github.com/python/cpython/commit/17f268a4ae6190b2659c89c6f32ad2d006e0e3c8 -- __

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset f389b37fb1cebe7ed66331cdd373a014695261f6 by Victor Stinner in branch 'main': bpo-46417: _thread uses PyStructSequence_NewType() (GH-30733) https://github.com/python/cpython/commit/f389b37fb1cebe7ed66331cdd373a014695261f6 -- __

[issue22833] The decode_header() function decodes raw part to bytes or str, depending on encoded part

2022-01-20 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This behavior is definitely unfortunate, but by now it's also been baked into more than a decade of Python 3 releases, so backward compatibility constraints make it difficult to fix. How can we be sure this change won't break users' code? For reference, her

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread Tim Peters
Tim Peters added the comment: I'm going to leave this to Pablo - adding the `graph` argument was his idea ;-) It would, I think, have been better if this argument had been named, say, "preds" instead of "graph". The docs, to my eyes, are entirely clear about that `graph` is a representation

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-20 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28921 pull_request: https://github.com/python/cpython/pull/30734 ___ Python tracker ___ __

[issue45384] Accept Final as indicating ClassVar for dataclass

2022-01-20 Thread Mehdi2277
Mehdi2277 added the comment: I recently hit this issue working on a config/parsing runtime type checking library (similar in spirit to pydantic). The one other special typeform I was using these with that led me to discover this issue was Annotated. I use Annotated a fair amount to do some r

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28920 pull_request: https://github.com/python/cpython/pull/30733 ___ Python tracker ___ __

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6415e2ee4955b1a995c1e75544e2506b03780c3d by Victor Stinner in branch 'main': bpo-46417: _testembed.c avoids Py_SetProgramName() (GH-30732) https://github.com/python/cpython/commit/6415e2ee4955b1a995c1e75544e2506b03780c3d -- __

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-20 Thread Inada Naoki
Inada Naoki added the comment: > If we literally ignore the attribute, any usage of `.mapping` will be an > error, which basically makes the whole `.mapping` feature useless for > statically typed code. It also wouldn't appear in IDE autocompletions. `.mapping` is not exist between Python 3.

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28919 pull_request: https://github.com/python/cpython/pull/30732 ___ Python tracker ___ __

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset e9e3eab0b868c7d0b48e472705024240d5c39d5c by Victor Stinner in branch 'main': bpo-46417: Finalize structseq types at exit (GH-30645) https://github.com/python/cpython/commit/e9e3eab0b868c7d0b48e472705024240d5c39d5c -- _

[issue46070] [subinterpreters] crash when importing _sre in subinterpreters in parallel (Python 3.9 regression)

2022-01-20 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg411050 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: Another measure using the command: PYTHONHASHSEED=0 ./python -X showrefcount -c pass I had to run the command 20 times to get a stable value, I don't know why. main branch: [21981 refs, 5716 blocks] PR: [21887 refs, 5667 blocks] => the PR removes 94 ref

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread David Mc Dougall
David Mc Dougall added the comment: > If the way the user collects their data stores only successor links (which, > as above, seems odd in applications that actually use topsorts), then they > need something like this instead: Actually they only need to do this: ts = TopologicalSorter(my_fo

[issue46400] Please update bundled libexpat to 2.4.3 with security fixes

2022-01-20 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware ___ Python tracker ___ _

[issue46400] Please update bundled libexpat to 2.4.3 with security fixes

2022-01-20 Thread Ned Deily
Ned Deily added the comment: The bundled expat is potentially used by all Python builds, not just Windows or Mac builds. -- ___ Python tracker ___ ___

[issue19479] textwrap.dedent doesn't work properly with strings containing CRLF

2022-01-20 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: +Python 3.11 -Python 2.7, Python 3.3 ___ Python tracker ___ ___

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread David Mc Dougall
David Mc Dougall added the comment: The "reverse-toposort" is actually quite a good idea. The end-user is usually going to want to iterate over the sorted output in the "reverse" order anyways, especially if they're doing task ordering / dependency resolution. Also, the underlying algorithm

[issue46427] Correct MSBuild's configuration for _freeze_module.exe

2022-01-20 Thread neonene
neonene added the comment: > When cross-compiling, tools that are executed as part of the build need to be > built for the tool platform, not the target platform. My PR does not against that at this point, as proposed codes are based on your PR28322 (09b4ad11f323f8702cde795e345b75e0fbb1a9a5)

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2022-01-20 Thread Irit Katriel
Irit Katriel added the comment: On 3.11 I get this on both Mac and windows: >>> from multiprocessing import Queue >>> q = Queue() >>> q.put('foo') >>> q.get(True, 0) # raises Empty 'foo' -- nosy: +iritkatriel resolution: -> out of date status: open -> pending __

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-20 Thread miss-islington
miss-islington added the comment: New changeset c6691a7ccbd027298ea2486014b55db037fffc9f by Miss Islington (bot) in branch '3.9': bpo-46080: fix argparse help generation exception in edge case (GH-30111) https://github.com/python/cpython/commit/c6691a7ccbd027298ea2486014b55db037fffc9f -

[issue46448] TypedDict inspect.signature error

2022-01-20 Thread jhwang
New submission from jhwang : I have Python 3.10.1 (Dec, 2021) installed and I see an error when inspecting signature of TypedDict class. This is the same issue reported on Issue43006 (msg385535 - (view)). It was marked as resolved but the error looks persistent. Can someone confirm if this wa

[issue27302] csv.Sniffer guesses wrong when unquoted fields contain quotes

2022-01-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-20 Thread miss-islington
miss-islington added the comment: New changeset e5edc8d737a45d9d8b9b93b8be52f85d79d0f417 by Miss Islington (bot) in branch '3.10': bpo-46080: fix argparse help generation exception in edge case (GH-30111) https://github.com/python/cpython/commit/e5edc8d737a45d9d8b9b93b8be52f85d79d0f417

[issue41857] Document timeout arguments to poll() in select module

2022-01-20 Thread Tal Einat
Tal Einat added the comment: New changeset 27df7566bc19699b967e0e30d7808637b90141f6 by Zane Bitter in branch 'main': bpo-41857: mention timeout argument units in select.poll() and select.depoll() doc-strings (GH-22406) https://github.com/python/cpython/commit/27df7566bc19699b967e0e30d7808637

[issue7275] CoverageResult fails to merge input file with non-empty callers in trace.py

2022-01-20 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted to a GitHub PR. -- nosy: +iritkatriel ___ Python tracker ___ ___ Pyt

[issue7275] CoverageResult fails to merge input file with non-empty callers in trace.py

2022-01-20 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy -patch versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue24527] The MimeTypes class cannot ignore global files per instance

2022-01-20 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23162] collections.abc sequences don't check identity before equality

2022-01-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc ___ Python tracker

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +28918 pull_request: https://github.com/python/cpython/pull/30731 ___ Python tracker ___ __

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28917 pull_request: https://github.com/python/cpython/pull/30730 ___ Python tracker _

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-01-20 Thread Tal Einat
Tal Einat added the comment: New changeset 9e87c0e03fa501fb90008547983ce4c1dcaaf90c by Felix Fontein in branch 'main': bpo-46080: fix argparse help generation exception in edge case (GH-30111) https://github.com/python/cpython/commit/9e87c0e03fa501fb90008547983ce4c1dcaaf90c -- nosy:

[issue40529] Auto Completions with case insensitive

2022-01-20 Thread Tal Einat
Tal Einat added the comment: This should probably be brought up in the python-ideas mailing list, which is much more active than the group on discuss.python.org. -- ___ Python tracker __

[issue40529] Auto Completions with case insensitive

2022-01-20 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg382481 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40529] Auto Completions with case insensitive

2022-01-20 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg382482 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41857] Document timeout arguments to poll() in select module

2022-01-20 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue46070] [subinterpreters] crash when importing _sre in subinterpreters in parallel (Python 3.9 regression)

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: Another measure using the command: PYTHONHASHSEED=0 ./python -X showrefcount -c pass I had to run the command 20 times to get a stable value, I don't know why. main branch: [21981 refs, 5716 blocks] PR: [21887 refs, 5667 blocks] => the PR removes 94 ref

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: I checked with Valgrind the affect of PR 30645. main branch: ==330902== LEAK SUMMARY: ==330902== possibly lost: 29,128 bytes in 494 blocks ==330902==still reachable: 353,615 bytes in 3,577 blocks With the PR: ==332161== LEAK SUMMARY: ==332161==

[issue46086] Add ratio_min() function to the difflib library

2022-01-20 Thread Tal Einat
Tal Einat added the comment: I'm closing this for now since nobody has followed up and to the best of my understanding this wouldn't be an appropriate addition to the stdlib. This can be re-opened in the future if needed, of course. -- resolution: -> rejected stage: patch review ->

[issue46071] Graphlib documentation (edge direction)

2022-01-20 Thread Tim Peters
Tim Peters added the comment: For the purpose of topological sorting, yes, it's by far most natural to give, for each node, the collection of that node's predecessors. And that's the way topsort applications typically collect their data to begin with, like, "here, for each recipe, is a list

[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2022-01-20 Thread Humbdrag
Change by Humbdrag : -- nosy: +humbdrag nosy_count: 3.0 -> 4.0 pull_requests: +28916 pull_request: https://github.com/python/cpython/pull/30729 ___ Python tracker ___ _

[issue46447] datetime.isoformat() documentation does not point to the risk of using it with naive datetime objects

2022-01-20 Thread Jean Carlo Machado
New submission from Jean Carlo Machado : datetime.utcnow() already present a warning box describing the risk of using it without specifying timezone information. However, one might still have the same problem and never encounter this warning information by doing datetime.now().isoformat(). Or

[issue45413] Add install scheme for virtual environments

2022-01-20 Thread Stefano Rivera
Change by Stefano Rivera : -- nosy: +stefanor ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue46070] [subinterpreters] crash when importing _sre in subinterpreters in parallel (Python 3.9 regression)

2022-01-20 Thread jokot3
Change by jokot3 : -- nosy: +jokot3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue23325] Turn SIG_DFL and SIG_IGN into functions

2022-01-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It may take a time, because the module initialization code has been completely rewritten. -- ___ Python tracker ___ __

[issue46441] Caret points to wrong line on 'return yield 42' in REPL

2022-01-20 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 30fb6d073d9ca00dff8e4155c523cdfa63abab6b by Batuhan Taskaya in branch 'main': bpo-46441: Add a boilerplate to test syntax errors in interactive mode (GH-30720) https://github.com/python/cpython/commit/30fb6d073d9ca00dff8e4155c523cdfa63abab6b

[issue43654] IDLE: Fix tab completion after settings and some keys

2022-01-20 Thread Tal Einat
Tal Einat added the comment: Terry, for all intents and purposes you're the one in charge of IDLE now. I suggest deciding whether to change all three bindings as in the current PR or only the one for completions. Just le me know and if needed I'll make a new PR. -- _

[issue46316] Optimize pathlib.Path.iterdir()

2022-01-20 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46316] Optimize pathlib.Path.iterdir()

2022-01-20 Thread Zachary Ware
Zachary Ware added the comment: New changeset a1c88414926610a3527398a478c3e63c531dc742 by Barney Gale in branch 'main': bpo-46316: optimize `pathlib.Path.iterdir()` (GH-30501) https://github.com/python/cpython/commit/a1c88414926610a3527398a478c3e63c531dc742 -- nosy: +zach.ware

[issue31603] Please add argument to override stdin/out/err in the input builtin

2022-01-20 Thread Wren Turkal
Wren Turkal added the comment: I'm not sure that I ever got a definitive issue, but I didn't have time to push it forward. I still think the idea has merit. I'd love to see it implemented, but I don't have the time to pursue it right now. Thanks, wt On Mon, Jan 17, 2022 at 10:23 AM Irit Katri

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-20 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +28915 pull_request: https://github.com/python/cpython/pull/30725 ___ Python tracker ___ __

[issue46442] testExceptionCleanupNames doesn't test anything?

2022-01-20 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Perhaps it's testing that the implicit `del` doesn't blow up if the variable is already deleted. -- nosy: +Jelle Zijlstra ___ Python tracker ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-01-20 Thread Christian Heimes
Christian Heimes added the comment: New changeset c02e860ee79f29905be6fca997c96bb1a404bb32 by Christian Heimes in branch 'main': bpo-40280: Misc fixes for wasm32-emscripten (GH-30722) https://github.com/python/cpython/commit/c02e860ee79f29905be6fca997c96bb1a404bb32 -- _

[issue46442] testExceptionCleanupNames doesn't test anything?

2022-01-20 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +sobolevn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2022-01-20 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Mike's fix unfortunately didn't work out. What are the rules about closing old enhancement requests? modulefinder is an old and rarely used package, and I feel like the use case is better served by a PyPI package. -- nosy: +Jelle Zijlstra _

[issue43683] Handle generator (and coroutine) state in the bytecode.

2022-01-20 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +28914 pull_request: https://github.com/python/cpython/pull/30723 ___ Python tracker ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-01-20 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28913 pull_request: https://github.com/python/cpython/pull/30722 ___ Python tracker ___

[issue23325] Turn SIG_DFL and SIG_IGN into functions

2022-01-20 Thread Christian Heimes
Christian Heimes added the comment: Serhiy, could you please rebase your PR to tip of main branch? I'd like to try it out. -- nosy: +christian.heimes versions: +Python 3.11, Python 3.9 ___ Python tracker __

[issue45767] Fix types for dev_t processing in posix module

2022-01-20 Thread Dmitry Marakasov
Dmitry Marakasov added the comment: > Is device number -1 used in any context (for example as "unknown device > number")? Yes, there's NODEV macro in both Linux and FreeBSD which expands to ((dev_t)-1). -- ___ Python tracker

[issue46429] Merge all deepfrozen files into one

2022-01-20 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ef3ef6fa43d5cca072eed2a66064e818de583be7 by Kumar Aditya in branch 'main': bpo-46429: Merge all deepfrozen files into one (GH-30572) https://github.com/python/cpython/commit/ef3ef6fa43d5cca072eed2a66064e818de583be7 -- __

[issue46441] Caret points to wrong line on 'return yield 42' in REPL

2022-01-20 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for the quick fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-20 Thread STINNER Victor
STINNER Victor added the comment: If tomorrow static types are shared between sub-interpreters, it doesn't solve this problem: we still need to release memory allocated by Py_Initialize() in Py_Finalize() when Python is embedded. This issue is a sub-set of the big bpo-1635741 which explains

[issue46446] OpenBSD not MULTIARCH

2022-01-20 Thread Kurt Mosiejczuk
Change by Kurt Mosiejczuk : -- keywords: +patch pull_requests: +28912 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30721 ___ Python tracker ___

[issue46446] OpenBSD not MULTIARCH

2022-01-20 Thread Kurt Mosiejczuk
New submission from Kurt Mosiejczuk : Just like FreeBSD, MULTIARCH should not be passed to OpenBSD. Just add another line like done for FreeBSD -- components: Build messages: 411032 nosy: kmosiejczuk priority: normal severity: normal status: open title: OpenBSD not MULTIARCH type: comp

[issue46441] Caret points to wrong line on 'return yield 42' in REPL

2022-01-20 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya nosy_count: 3.0 -> 4.0 pull_requests: +28911 pull_request: https://github.com/python/cpython/pull/30720 ___ Python tracker ___ __

[issue46427] Correct MSBuild's configuration for _freeze_module.exe

2022-01-20 Thread Steve Dower
Steve Dower added the comment: This configuration is intentional. When cross-compiling, tools that are executed as part of the build need to be built for the tool platform, not the target platform. -- nosy: +steve.dower resolution: -> not a bug stage: patch review -> resolved status

[issue46445] Multiple inheritance of TypedDict is not covered in `test_typing`

2022-01-20 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28910 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30719 ___ Python tracker ___ _

[issue46445] Multiple inheritance of TypedDict is not covered in `test_typing`

2022-01-20 Thread Nikita Sobolev
New submission from Nikita Sobolev : Why is this important? 1. Because multiple inheritance of `TypedDict` might not handle `__required_keys__`, or `__optional_keys__`, or `__annotations__` correctly, this is especially important because some classes might be defined as `total=False` and some

[issue46445] Multiple inheritance of TypedDict is not covered in `test_typing`

2022-01-20 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +gvanrossum, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

  1   2   >