[issue25864] collections.abc.Mapping should include a __reversed__ that raises TypeError

2021-12-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-12-14 Thread Felix Fontein
Change by Felix Fontein : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-12-14 Thread Felix Fontein
Change by Felix Fontein : -- keywords: +patch pull_requests: +28333 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30111 ___ Python tracker ___

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

2021-12-14 Thread Felix Fontein
New submission from Felix Fontein : When argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS and help is specified, trying to display --help results in a crash. Reproducer: import argparse parser = argparse.ArgumentParser() parser.add_argument('--test',

[issue46079] Broken URL in tutorial

2021-12-14 Thread Vivek Vashist
New submission from Vivek Vashist : URL: http://tycho.usno.navy.mil/cgi-bin/timer.pl is broken in the example https://docs.python.org/3/tutorial/stdlib.html#internet-access > curl -v http://tycho.usno.navy.mil/cgi-bin/timer.pl * Could not resolve host: tycho.usno.navy.mil * Closing connection

[issue37701] shutil.copyfile raises SpecialFileError for symlink to fifo

2021-12-14 Thread Christopher Hunt
Christopher Hunt added the comment: > I expect it to fail if follow_symlinks is True, which is the default value. I > expect it to succeed with follow_symlinks=False, which should create a > shallow copy of just the symlink, regardless of its target. I agree, thanks for the correction.

[issue46078] `ast.unparse` fails on `class C: i: int`… convert broken from `ast.AnnAssign` to `ast.Assign`

2021-12-14 Thread Samuel Marks
Samuel Marks added the comment: Just fixed the issue by using this value: ```py "```(None)```" if sys.version_info[:2] >= (3, 9) else "```None```" ``` -- stage: -> resolved status: open -> closed ___ Python tracker

[issue45959] Teach pprint about dict views

2021-12-14 Thread Joshua Insel
Joshua Insel added the comment: According to the documentation for pprint, it is supposed to print objects on a single line if possible. See the second paragraph here: https://docs.python.org/3/library/pprint.html -- nosy: +joshinsel ___ Python

[issue46078] `ast.unparse` fails on `class C: i: int`… convert broken from `ast.AnnAssign` to `ast.Assign`

2021-12-14 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: This seems like just a problem of your library instead of a problem with Python. Are you sure this is the right place you're in? -- nosy: +February291948 ___ Python tracker

[issue46078] `ast.unparse` fails on `class C: i: int`… convert broken from `ast.AnnAssign` to `ast.Assign`

2021-12-14 Thread Samuel Marks
New submission from Samuel Marks : astor fails with: ``` File "python3.8/site-packages/astor/code_gen.py", line 63, in to_source generator.visit(node) File "python3.8/site-packages/astor/node_util.py", line 143, in visit return visitor(node) File

[issue46077] Include sha256 hashes of release downloads in announcement communications

2021-12-14 Thread Gregory P. Smith
New submission from Gregory P. Smith : The announcement email list (https://mail.python.org/archives/list/python-announce-l...@python.org/) and other places we make announcements beyond just the release pages like https://www.python.org/downloads/release/python-3101/ should include a list of

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: While the discussion is interesting for some who are trying to work around security policy mechanisms, we can't control what policies people enforce upon themselves that make their machines useless for software development. Marking as not a bug. The

[issue46059] Typo in match Statement example

2021-12-14 Thread Vivek Vashist
Vivek Vashist added the comment: Thanks for sorting this out Alex :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-14 Thread Craig Holmquist
Change by Craig Holmquist : -- nosy: +craigh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-12-14 Thread Brett Cannon
Brett Cannon added the comment: I opened https://github.com/python/steering-council/issues/92 for the SC to discuss stdlib additions in case I am not re-elected. -- ___ Python tracker

[issue31370] Remove support for threads-less builds

2021-12-14 Thread Brett Cannon
Brett Cannon added the comment: I am not opening a new discussion; this is just recording this fact here as it has come up in other places on the internet. -- ___ Python tracker

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: >From the first glance, this seems like a duplicate of bpo-44896. -- nosy: +BTaskaya ___ Python tracker ___

[issue44896] AttributeError in ast.unparse

2021-12-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46076] Document using __slots__ to provide per-attribute docstrings

2021-12-14 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch pull_requests: +28332 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30109 ___ Python tracker ___

[issue46076] Document using __slots__ to provide per-attribute docstrings

2021-12-14 Thread Alex Waygood
New submission from Alex Waygood : The ability to add docstrings for individual attributes, by using a dictionary for __slots__ was added in Issue36326. This is a fantastic feature, and deserves better documentation. It appears to currently only be documented in the "What's New" entry for

[issue46074] deepfreeze should rehash all strings upon reset

2021-12-14 Thread Guido van Rossum
Guido van Rossum added the comment: Never mind, this was based on incorrect information. See subsequent messages in the linked thread. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue25864] collections.abc.Mapping should include a __reversed__ that raises TypeError

2021-12-14 Thread Alex Waygood
Alex Waygood added the comment: The proposed patch appears to have been implemented in https://github.com/python/cpython/commit/97c1adf3935234da716d3289b85f72dcd67e90c2, and there has been no discussion for five years. I think this can now be closed. -- nosy: +AlexWaygood

[issue29699] shutil.rmtree should not fail with FileNotFoundError (race condition)

2021-12-14 Thread coroa
coroa added the comment: Just realised that the "race condition" is triggered consistently on Mac OSX machines working on non-Mac filesystems, where they store extended attributes like last access time in meta files with a `._` prefix. These files are listed by `os.scandir` after their

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-14 Thread Steve Dower
Steve Dower added the comment: Does the first venv's 'python' link to python3[.11]? If so, maybe _base_executable should be based on real_executable's filename rather than executable (that is, *after* resolving symlinks rather than before). I don't *think* that will cause any issues, and it

[issue46070] broken subinterpreters

2021-12-14 Thread Petr Viktorin
Petr Viktorin added the comment: That was a fix for GH-17350, which might need to be reverted as well. Victor, could you take another look at GH-17350? I must admit I (still) don't understand this change; what would break if it was reverted (along with the fixup from bpo-44050)? --

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Nikita Sobolev
Nikita Sobolev added the comment: Or, maybe this is a correct thing to do. Consider this case. Let's say we now check that `node` has `lineno` and exclude ones that don't. Then, we write this test (in `Lib/test/test_unparse`): ``` def test_unparse_nodes_without_lineno(self): #

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Brian Carlson
Brian Carlson added the comment: I don't think passing `lineno` and `column` is preferred. It makes code generation harder because `lineno` and `column` are hard to know ahead of when code is being unparsed. -- ___ Python tracker

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Brian Carlson
Brian Carlson added the comment: The second solution seems more optimal, in my opinion. I monkey patched the function like this in my own code: ``` def get_type_comment(self, node): comment = self._type_ignores.get(node.lineno) if hasattr(node, "lineno") else node.type_comment if

[issue46075] CookieJar.extract_cookies doesn't process cookies form local domains when domain is explicitly set in header

2021-12-14 Thread Nick
Change by Nick : -- keywords: +patch pull_requests: +28330 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30108 ___ Python tracker ___

[issue46075] CookieJar.extract_cookies doesn't process cookies form local domains when domain is explicitly set in header

2021-12-14 Thread Nick
New submission from Nick : Apparently, CookieJar.extract_cookies doesn't process cookies form local domains which explicitly set domain in Set-Cookie header. That means that headers with domain specified, like "Set-Cookie: foo=baz; Domain=localhost;", are ignored. As far as I can tell, this

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Nikita Sobolev
Nikita Sobolev added the comment: Moreover, there's always an option to pass `lineno` and `column` explicitly: ``` from ast import * # if we build the module manually and try it directly value = Module( body=[ FunctionDef( name="items_needed",

[issue45339] concurrent.future.ThreadPoolExecutor should parameterize class used for threads

2021-12-14 Thread Sergei Maertens
Sergei Maertens added the comment: I was looking for some way to be able to add a thread finalizer, a piece of code to be called when the thread pool shuts down and all threads need cleaning up. Glad I came across this issue, since the example of using a Thread subclass with a custom run

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Nikita Sobolev
Nikita Sobolev added the comment: Looks like this little patch can solve this problem: ``` def unparse(ast_obj): unparser = _Unparser() ---return unparser.visit(ast_obj) +++return unparser.visit(fix_missing_locations(ast_obj)) ``` But, I am not sure we should call this

[issue45292] Implement PEP 654: Exception Groups

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: The PR adds two new opcodes. Let's start with the simpler of the two - JUMP_IF_NOT_EG_MATCH. This is the exception-group variation on JUMP_IF_NOT_EXC_MATCH. JUMP_IF_NOT_EXC_MATCH checks for a match by checking if the exception is of the given type. The

[issue45292] Implement PEP 654: Exception Groups

2021-12-14 Thread Mark Shannon
Mark Shannon added the comment: PR 29581 resulted in a 1% slowdown, which is not terrible, but code not using except* should not be slowed down at all. IMO, the way to avoid the slowdown is to implement except* using the existing instruction set (perhaps with a few minor additions) We

[issue46070] broken subinterpreters

2021-12-14 Thread graysky
graysky added the comment: While this is being evaluated, can someone give an opinion about the sanity of simply reverting https://hg.python.org/lookup/d0d29655ff for now in order to use 3.10.1? Thanks. -- ___ Python tracker

[issue45292] Implement PEP 654: Exception Groups

2021-12-14 Thread Guido van Rossum
Guido van Rossum added the comment: We should have a discussion here about improvements that Mark Shannon would like to see, in particular to do more work in the compiler instead of the interpreter. -- nosy: +Mark.Shannon, gvanrossum ___ Python

[issue44525] Implement CALL_FUNCTION adaptive interpreter optimizations

2021-12-14 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +28329 pull_request: https://github.com/python/cpython/pull/30107 ___ Python tracker ___

[issue18467] argparse - problematic 'default' behavior

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: Thanks, I think we can close this then. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue18467] argparse - problematic 'default' behavior

2021-12-14 Thread Matěj Týč
Matěj Týč added the comment: Thanks for reaching out. I have no idea whether it helped me or not, sorry for not replying back in a timely manner :-( I think that the feature request/bugreport originates from bad coding practices, when I wanted argparse to perform something more than just

[issue44525] Implement CALL_FUNCTION adaptive interpreter optimizations

2021-12-14 Thread Mark Shannon
Mark Shannon added the comment: New changeset 9f8f45144b6f0ad481e80570538cce89b414f7f9 by Mark Shannon in branch 'main': bpo-44525: Split calls into PRECALL and CALL (GH-30011) https://github.com/python/cpython/commit/9f8f45144b6f0ad481e80570538cce89b414f7f9 --

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 17260e44b5ed3508e3c15f1b7ded761879e91d3e by Miss Islington (bot) in branch '3.9': [3.9] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30105)

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 908fd691f96403a3c30d85c17dd74ed1f26a60fd by Miss Islington (bot) in branch '3.10': [3.10] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30104)

[issue23522] Misleading note in Statistics module documentation

2021-12-14 Thread Guido van Rossum
Guido van Rossum added the comment: Couldn't we just change the first occurrence of "central location" in the note to "a central location" and the second to "(different) central locations"? That would leave Steven's intention intact but satisfy those who read it as referring to *a single*

[issue46074] deepfreeze should rehash all strings upon reset

2021-12-14 Thread Guido van Rossum
New submission from Guido van Rossum : In https://github.com/python/cpython/pull/30096#discussion_r768802144 it is pointed out that the hash seed can be changed if the interpreter is reset. To guard against this we need to force (re)calculation of all hash seeds in the generated code when

[issue45292] Implement PEP 654: Exception Groups

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: New changeset d60457a6673cf0263213c2f2be02c633ec2e2038 by Irit Katriel in branch 'main': bpo-45292: [PEP-654] add except* (GH-29581) https://github.com/python/cpython/commit/d60457a6673cf0263213c2f2be02c633ec2e2038 --

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 850aefc2c651110a784cd5478af9774b1f6287a3 by Vinay Sajip in branch 'main': bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) https://github.com/python/cpython/commit/850aefc2c651110a784cd5478af9774b1f6287a3 --

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28328 pull_request: https://github.com/python/cpython/pull/30105 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28327 pull_request: https://github.com/python/cpython/pull/30104 ___ Python tracker ___

[issue46066] TypedDict alternative definition syntax with keyword args is confusing

2021-12-14 Thread Guido van Rossum
Guido van Rossum added the comment: I recommend opening an issue here: https://github.com/python/typing/issues/new/choose -- ___ Python tracker ___

[issue46073] ast.unparse produces: 'FunctionDef' object has no attribute 'lineno' for valid module

2021-12-14 Thread Brian Carlson
New submission from Brian Carlson : Test file linked. When unparsing the output from ast.parse on a simple class, unparse throws an error: 'FunctionDef' object has no attribute 'lineno' for a valid class and valid AST. It fails when programmatically building the module AST as well. It seems

[issue39464] Allow translating argparse error messages

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: Closed issue26726 as duplicate of this. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11 ___ Python tracker ___

[issue26726] Incomplete Internationalization in Argparse Module

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: Closing as duplicate of issue39464, which has a GitHub PR. -- nosy: +iritkatriel resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Allow translating argparse error messages

[issue46072] Unify handling of stats in the CPython VM

2021-12-14 Thread Mark Shannon
New submission from Mark Shannon : By "stats" I mean the internal numbers gathered by the VM for performance and debugging. This has nothing to do with any statistics module. Currently various parts of the VM gather stats: the GC, dicts, the bytecode interpreter, type lookup cache, etc.

[issue9350] add remove_argument_group to argparse

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: This is over a decade old and the discussion is mostly that it's not worth doing, so I suggest we close. -- nosy: +iritkatriel resolution: -> rejected status: open -> pending ___ Python tracker

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +28326 pull_request: https://github.com/python/cpython/pull/30103 ___ Python tracker ___

[issue46070] broken subinterpreters

2021-12-14 Thread graysky
graysky added the comment: @Eric - I have not seen this on 3.8 or 3.9. No data before 3.8. -- ___ Python tracker ___ ___

[issue46071] Graphlib documentation

2021-12-14 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith, rhettinger, tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46070] broken subinterpreters

2021-12-14 Thread Petr Viktorin
Petr Viktorin added the comment: Interned strings were broken in GH-20058, see bpo-46006. Maybe that's also the issue here? -- nosy: +vstinner ___ Python tracker ___

[issue26726] Incomplete Internationalization in Argparse Module

2021-12-14 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6 ___ Python tracker ___ ___

[issue46070] broken subinterpreters

2021-12-14 Thread Eric Snow
Eric Snow added the comment: (related: bpo-44059) Presumably the problem relates to global state used in different interpreters leading to an inconsistent state in the crashing extension (or its dependencies). @graysky, do you know if this was a problem before Python 3.8? --

[issue46069] Spam

2021-12-14 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg408519 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46059] Typo in match Statement example

2021-12-14 Thread Alex Waygood
Alex Waygood added the comment: Thanks for the bug report, Vivek! It should be fixed now -- it might take a day or two for the online docs to update. -- ___ Python tracker

[issue46069] Spam

2021-12-14 Thread Zachary Ware
Change by Zachary Ware : -- components: -Build nosy: -havenhaven title: Super Smash Flash 2 -> Spam versions: -Python 3.11 ___ Python tracker ___

[issue46046] I/O bound threads got to no chance to run with small CPU bound threads with new GIL

2021-12-14 Thread Ken Jin
Ken Jin added the comment: Hi, Thank you for your interest in Python, and especially the GIL. David Beazley opened an issue for his PyCon 2010 GIL talk at https://bugs.python.org/issue7946. You can discuss more on that issue (I suggest first reading through it, there's a really long

[issue46059] Typo in match Statement example

2021-12-14 Thread Ken Jin
Change by Ken Jin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46059] Typo in match Statement example

2021-12-14 Thread miss-islington
miss-islington added the comment: New changeset 503803d8c19be91becc09ca59f3febcbc324d6d2 by Miss Islington (bot) in branch '3.10': bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079) https://github.com/python/cpython/commit/503803d8c19be91becc09ca59f3febcbc324d6d2

[issue46071] Graphlib documentation

2021-12-14 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +28324 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30102 ___ Python tracker

[issue46071] Graphlib documentation

2021-12-14 Thread David Mc Dougall
New submission from David Mc Dougall : The documentation for graphlib encourages users to represent their graphs in a awkward format. Graphs are currently represented using dictionaries of nodes, for example: graph["end_node"] = ["start_node"] And this is unintuitive because you can't use

[issue46059] Typo in match Statement example

2021-12-14 Thread Ken Jin
Ken Jin added the comment: New changeset 1cbb88736c32ac30fd530371adf53fe7554be0a5 by Alex Waygood in branch 'main': bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079) https://github.com/python/cpython/commit/1cbb88736c32ac30fd530371adf53fe7554be0a5 --

[issue46059] Typo in match Statement example

2021-12-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28323 pull_request: https://github.com/python/cpython/pull/30101 ___ Python tracker

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-14 Thread wolfgang kuehn
wolfgang kuehn added the comment: I can confirm that setting __PYVENV_LAUNCHER__ to ANY path with prefix ./venv/Scripts/ does indeed mark the python session as being a virtual environment, no special permissions needed. However, you will have no tooling support whatsoever (e.g. PyCharms

[issue45383] PyType_FromSpec API fails to use metaclass of bases

2021-12-14 Thread Petr Viktorin
Petr Viktorin added the comment: I haven't forgotten this issue, but when I get to it it always leads to a rabbit hole. Sometimes just chasing refleaks, but there are deeper issues as well. AFAICS, there's no way to call metatype.tp_new for such a class. I guess the safest option is to

[issue46023] Modules/makesetup generated rules ignore *disabled*

2021-12-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset 74821b30539bba3cf0ac4148923ec0e9b826508e by Christian Heimes in branch 'main': bpo-46023: Skip build if module is marked as DISABLED (GH-30100) https://github.com/python/cpython/commit/74821b30539bba3cf0ac4148923ec0e9b826508e --

[issue18467] argparse - problematic 'default' behavior

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: Matěj, did Paul's suggestion solve your use case? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue46023] Modules/makesetup generated rules ignore *disabled*

2021-12-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28322 pull_request: https://github.com/python/cpython/pull/30100 ___ Python tracker ___

[issue45995] string formatting: normalize negative zero

2021-12-14 Thread John Belmonte
John Belmonte added the comment: implemented float and Decimal-- PR is ready for review -- ___ Python tracker ___ ___

[issue26952] argparse help formatter raises IndexError

2021-12-14 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 6.0 -> 7.0 pull_requests: +28321 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30099 ___ Python tracker

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-14 Thread Ned Batchelder
Ned Batchelder added the comment: > I assume /private/tmp/bpo-46028/311-nested/bin/python3.11 exists though? Yes, that file exists, but it's a symlink to a non-existent file: $ ls -al 311-nested/bin total 0 drwxr-xr-x 5 nedbatchelder wheel 160 Dec 13 18:04 ./ drwxr-xr-x 6 nedbatchelder

[issue23469] Delete Misc/*.wpr files

2021-12-14 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23469] Delete Misc/*.wpr files

2021-12-14 Thread Berker Peksag
Berker Peksag added the comment: New changeset d46d08d9474cb00b697dbdbb12cc7ce8f8ddfcec by Kumar Aditya in branch 'main': bpo-23469: Delete Wing IDE configuration files (GH-30067) https://github.com/python/cpython/commit/d46d08d9474cb00b697dbdbb12cc7ce8f8ddfcec --

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-14 Thread Steve Dower
Steve Dower added the comment: Or possibly that error is coming from the attempt to copy it? And since both executable and base_executable don't have the 3/3.x suffix, the copy is failing because the "real" binary does have the suffix. This could be corrected in getpath.py with a

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-14 Thread Steve Dower
Steve Dower added the comment: > $ v311/bin/python -m venv 311-nested > Error: [Errno 2] No such file or directory: > '/private/tmp/bpo-46028/311-nested/bin/python' I assume /private/tmp/bpo-46028/311-nested/bin/python3.11 exists though? Probably that's the issue here - I don't know how

[issue46066] TypedDict alternative definition syntax with keyword args is confusing

2021-12-14 Thread 97littleleaf11
Change by 97littleleaf11 <97littlelea...@gmail.com>: -- title: [doc] TypedDict alternative definition syntax with keyword args is confusing -> TypedDict alternative definition syntax with keyword args is confusing ___ Python tracker

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-14 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +28320 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30098 ___ Python tracker ___

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: I am repurposing this issue for the deprecation of nesting. It is pretty clear that the functions exist by accident through inheritance. They are not documented and from the number of open issues about them they clearly are not working as people expect them

[issue46023] Modules/makesetup generated rules ignore *disabled*

2021-12-14 Thread Christian Heimes
Christian Heimes added the comment: GH-30001 may have introduced a regression. makesetup is dropping too many modules. Back to the drawing board! -- ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: Ah ... forgot to set delay=True for the handlers. Will look at this soon. -- ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: % ./python.exe -We -m test -v test_logging -m test_compute_files_to_delete Raised RLIMIT_NOFILE: 256 -> 1024 == CPython 3.11.0a3+ (heads/main:9130a4d620, Dec 14 2021, 11:12:05) [Clang 13.0.0 (clang-1300.0.29.3)] == macOS-11.6-x86_64-i386-64bit little-endian ==

[issue46070] broken subinterpreters

2021-12-14 Thread graysky
New submission from graysky : Seems as though cpython is broken when working with subinterpreters. The problematic change could be (d0d29655ff) affecting import.c.[1] Reverting this commit and rebuilding python fixes the issues on my system with some scripts that import sqlite, for example,

[issue46028] 3.11.0a3: sys._base_executable is wrong, breaks venv - it wasn't under 3.11.0a2

2021-12-14 Thread Vinay Sajip
Change by Vinay Sajip : -- title: 3.11.0a3: under tox, sys._base_executable is wrong -> 3.11.0a3: sys._base_executable is wrong, breaks venv - it wasn't under 3.11.0a2 ___ Python tracker

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2021-12-14 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46069] Super Smash Flash 2

2021-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46069] Super Smash Flash 2

2021-12-14 Thread haven david
New submission from haven david : Opportunity for you to transform into interesting characters like Mario, Sonic... Online game with exciting battles https://super-smashflash2.com -- components: Build messages: 408519 nosy: havenhaven priority: normal severity: normal status: open

[issue31370] Remove support for threads-less builds

2021-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concur with Victor. It is fine to add a link to other discussion in a closed issue, but an issue closed many years ago is not a good place for a new discussion at all. -- ___ Python tracker

[issue23148] Missing the charset parameter in as_encoded_word()

2021-12-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The code was completely rewritten in issue27240. No tests are needed. -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue46062] tkinter.filedialog.SaveAs: create new folder on Ubuntu?

2021-12-14 Thread Aivar Annamaa
Aivar Annamaa added the comment: You may want to use zenity in a subprocess instead of this dialog in Linux, but this has its own problems (appearing behind other windows occasionally) -- nosy: +aivarannamaa ___ Python tracker