[issue45855] PyCapsule_Import still using PyImport_ImportModuleNoBlock

2021-12-11 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 2.0 -> 3.0 pull_requests: +28271 pull_request: https://github.com/python/cpython/pull/30046 ___ Python tracker ___

[issue46045] NetBSD: do not use POSIX semaphores

2021-12-11 Thread Thomas Klausner
New submission from Thomas Klausner : On NetBSD by default, the following tests do not finish in > 1h: 1:07:13 load avg: 0.00 running: test_compileall (1 hour 7 min), test_multiprocessing_fork (1 hour 7 min), test_concurrent_futures (1 hour 6 min) Defining HAVE_BROKEN_POSIX_SEMAPHORES fixes t

[issue46045] NetBSD: do not use POSIX semaphores

2021-12-11 Thread Thomas Klausner
Change by Thomas Klausner : -- keywords: +patch pull_requests: +28272 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30047 ___ Python tracker ___

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

2021-12-11 Thread Souvik Ghosh
New submission from Souvik Ghosh : According to David Beazley' talk in PyCon'2010 in Atlanta Georgia, he demonstrated about a new GIL with running CPU bound and I/O bound threads together. He said the talk that the threads which are forced to timeout of 5ms, will have the lower priority(whic

[issue45929] extend json.tool --json-lines to ignore empty rows

2021-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current implementation allows for the final character of the input to be a newline. It does not allow double newlines. In the original example echo -e '{"foo":1}\n{"bar":2}\n' the echo command adds a newline to the output (which already contains th

[issue21964] inconsistency in list-generator comprehension with yield(-from)

2021-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Resolved in issue10544. -- nosy: +serhiy.storchaka resolution: out of date -> duplicate stage: test needed -> resolved status: pending -> closed superseder: -> yield expression inside generator expression does nothing __

[issue46047] When using Py_NewInterpreter, some modules fail to import in Python 3.10

2021-12-11 Thread Jonas Witschel
New submission from Jonas Witschel : Consider the following minimal example C code which is trying to import jsonschema (https://python-jsonschema.readthedocs.io/en/stable/), compiled using "gcc test_newinterpreter.c -I /usr/include/python3.10 -lpython3.10 -o test_newinterpreter" or similar:

[issue46043] Python Launcher Not Opening Files.

2021-12-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Are you on macOS 10.15 or later? If so, this is a duplicate of issue40477. A workaround mentioned in that issue is to make sure that Terminal.app is open. -- type: crash -> behavior ___ Python tracker

[issue46047] When using Py_NewInterpreter, some modules fail to import in Python 3.10

2021-12-11 Thread Jonas Witschel
Jonas Witschel added the comment: Downstream bug report in Arch Linux: https://bugs.archlinux.org/task/72979 -- ___ Python tracker ___

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: let's see whether I promised too much, I don't know CPython's symtable.c too well yet ;-). Will shout for help when I get stuck. Anyway, here is a related bug, coming from the same symtable function symtable_add_def_helper, also with an imprecis

[issue46047] When using Py_NewInterpreter, some modules fail to import in Python 3.10

2021-12-11 Thread Jonas Witschel
Jonas Witschel added the comment: I notice this has already been reported as bpo-46006 and bpo-46034, so closing in favour of these. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

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

2021-12-11 Thread Jonas Witschel
Change by Jonas Witschel : -- nosy: +diabonas ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue46048] embeddable distro cannot import modules

2021-12-11 Thread Steve Dower
New submission from Steve Dower : The embeddable distro cannot import native modules. This is because the '.' entry in the ._pth file is incorrect parsed by the new getpath module (issue45582). -- assignee: steve.dower components: Interpreter Core messages: 408300 nosy: lukasz.langa,

[issue46048] embeddable distro cannot import modules

2021-12-11 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +28273 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30048 ___ Python tracker _

[issue45995] string formatting: normalize negative zero

2021-12-11 Thread John Belmonte
Change by John Belmonte : -- keywords: +patch nosy: +jbelmonte nosy_count: 5.0 -> 6.0 pull_requests: +28274 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30049 ___ Python tracker __

[issue25834] getpass falls back when sys.stdin is changed

2021-12-11 Thread Adam Bartoš
Adam Bartoš added the comment: Sorry, I don't. But my use case is not relevant any more since my package was a workround for problems with entering Unicode interactively on Windows, and these problems were resolved in Python since then. -- ___ Pyth

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

2021-12-11 Thread Souvik Ghosh
Souvik Ghosh added the comment: Python-ideas link in here:- https://mail.python.org/archives/list/python-id...@python.org/message/A5MX6SQUHP65JC6V5ZFCCHMMJURM4KHB/ -- ___ Python tracker _

[issue46048] embeddable distro cannot import modules

2021-12-11 Thread Steve Dower
Steve Dower added the comment: New changeset 971ece8e1738b1107dda692cc44c6d8ddce384cd by Steve Dower in branch 'main': bpo-46048: Fix parsing of single character lines in getpath readlines() (GH-30048) https://github.com/python/cpython/commit/971ece8e1738b1107dda692cc44c6d8ddce384cd --

[issue46048] embeddable distro cannot import modules

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

[issue46032] functools' singledispatch does not support GenericAlias

2021-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +28275 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30050 ___ Python tracker ___

[issue46049] ._pth files untested on Linux

2021-12-11 Thread Steve Dower
New submission from Steve Dower : Currently ._pth files are "enabled" for all platforms, but are only tested on Windows. Extend the tests in test_site to work on all platforms. -- assignee: steve.dower components: Interpreter Core messages: 408304 nosy: steve.dower priority: normal se

[issue34624] -W option and PYTHONWARNINGS env variable does not accept module regexes

2021-12-11 Thread Christian Heimes
Christian Heimes added the comment: Adding regular expression support to -W and PYTHONWARNINGS env var turns the options into potential attack vectors. It can introduce REDOS vulnerability. -- keywords: +security_issue nosy: +christian.heimes type: -> enhancement versions: +Python 3.

[issue46049] ._pth files untested on Linux

2021-12-11 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +28276 pull_request: https://github.com/python/cpython/pull/30051 ___ Python tracker ___

[issue46032] functools' singledispatch does not support GenericAlias

2021-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it is related to issue45665. It is a complicated case due to coincidence of several circumstances. 1. isinstance(list[int], type) is True, while isinstance(typing.List[int], type) is False. list[int] is considered a type in this check. 2. list[int]._

[issue45665] Problems caused by isinstance(list[int], type) returning True

2021-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +functools' singledispatch does not support GenericAlias ___ Python tracker ___ ___ Py

[issue34798] pprint ignores the compact parameter for dicts

2021-12-11 Thread Matt Bogosian
Matt Bogosian added the comment: Please consider highlighting that dicts are not included in the documentation. While *technically* true, this ... > compact impacts the way that long sequences (lists, tuples, sets, etc) are > formatted. If compact is false (the default) then each item of a s

[issue25834] getpass falls back when sys.stdin is changed

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: Thanks, I'll close this and we can revisit if a new use case turns up. -- resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker _

[issue45997] asyncio.Semaphore waiters deque doesn't work

2021-12-11 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +28277 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30052 ___ Python tracker _

[issue46049] ._pth files untested on Linux

2021-12-11 Thread Steve Dower
Steve Dower added the comment: New changeset bfc59ed0a00106f5ba4a32a0c5b3dbe71d12665d by Steve Dower in branch 'main': bpo-46049: Fixes ._pth support on non-Windows (GH-30051) https://github.com/python/cpython/commit/bfc59ed0a00106f5ba4a32a0c5b3dbe71d12665d -- _

[issue18861] Problems with recursive automatic exception chaining

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: I think this problem is actually simpler than what we've been discussing. First, note that by-and-large our current system works: >>> try: ... raise VE(1) ... except VE as e1: ... try: ... raise VE(2) ... except VE as e2: ... raise VE(3) from e2

[issue46049] ._pth files untested on Linux

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

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

2021-12-11 Thread Ned Batchelder
Ned Batchelder added the comment: Tox isn't needed, just venv from the stdlib: $ python3.11.0a2 -m venv venv_a2 $ venv_a2/bin/python -c "import sys,os.path; print(e := sys._base_executable); print(os.path.exists(e))" /private/tmp/venv_a2/bin/python True $ python3.11.0a3 -m venv venv_a3 $

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

2021-12-11 Thread Steve Dower
Steve Dower added the comment: What's the contents of the pyvenv.cfg in these cases? It looks like the first case is definitely wrong, because the base executable should not be in "venv_a2" (that's sys.executable), but I don't know where it should be on your system. --

[issue23469] Delete Misc/*.wpr files

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue45997] asyncio.Semaphore waiters deque doesn't work

2021-12-11 Thread Yevhenii Hyzyla
Change by Yevhenii Hyzyla : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2021-12-11 Thread Ned Batchelder
Ned Batchelder added the comment: The two venvs seem analogous: $ cat venv_a2/pyvenv.cfg home = /usr/local/bin include-system-site-packages = false version = 3.11.0 $ ls -al venv_a2/bin total 72 drwxr-xr-x 13 nedbatchelder wheel 416 Dec 11 10:43 ./ drwxr-xr-x 6 nedbatchelder wheel 1

[issue45578] Missing tests for the dis module

2021-12-11 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +28278 pull_request: https://github.com/python/cpython/pull/30058 ___ Python tracker ___ __

[issue46050] [pathlib] Option so that OSError does not block glob in pathlib library

2021-12-11 Thread matt
New submission from matt : Hi there, ISSUE DESCRIPTION when I browse starting from the linux root ('/') path = pathlib.Path('/') _glob = '**/*' for p in path.glob(_glob): The program stops on my machine because of OSError. File "/usr/lib/python3.8/pathlib.py", line 535, in _select

[issue46040] asyncio.coroutine documented as removed in 3.10

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-11 Thread Christian Heimes
Christian Heimes added the comment: In his code review Eric made a point that the relationship of variables and their impact on normal and cross builds are not obvious. I'm going to introduce new variables for freezing and freezing dependencies. Bonus: Cross builds no longer build non-functi

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Martin Reboredo
Martin Reboredo added the comment: A new python-ideas mail thread was created for this, you can check it out at https://mail.python.org/archives/list/python-id...@python.org/thread/IWJ3I32A4TY6CIVQ6ONPEBPWP4TOV2V7/. -- nosy: +YakoYakoYokuYoku ___ P

[issue34798] pprint ignores the compact parameter for dicts

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: Don't discuss on a closed issue. Create a new one if there is still a problem. -- ___ Python tracker ___ __

[issue46040] asyncio.coroutine documented as removed in 3.10

2021-12-11 Thread Ken Jin
Change by Ken Jin : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

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

2021-12-11 Thread Saaket Prakash
Saaket Prakash added the comment: I tried the same stuff as nedbat on WSL2, and I see similar change in the path of sys._base_executable (though I get a different "base" path on a3, so the path exists even there). $ ~/.pyenv/versions/3.11.0a2/bin/python -m venv venv_a2 $ ~/.pyenv/versions/3.

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

2021-12-11 Thread Saaket Prakash
Saaket Prakash added the comment: But on windows with the python.org installer, the behavior is same for both both a2 and a3. # With a3 installed > py -m venv venv_a3 > venv_a3/Scripts/python -c "import sys,os.path; print(e := > sys._base_executable); print(os.path.exists(e))" C:\Users\ss\A

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Christian Heimes
Christian Heimes added the comment: I just noticed that tomli has dropped support for Python 3.6. That's a road block for general adoption of the package in the Python ecosystem. Python 3.6 is the default Python interpreter in CentOS 8, C8S, RHEL 8, and Ubuntu 18.04 LTS. https://github.com/h

[issue46051] Make @atexit.register work for functions with arguments

2021-12-11 Thread quapka
New submission from quapka : Hi folks! Let me first present an example that motivated this issue. Imagine a script that builds Docker images and later starts them as Docker containers. To avoid having to stop the containers "manually" (in code and potentially forgot) I had an idea to registe

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +28279 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30059 ___ Python tracker __

[issue28816] [doc] Clarify that zipimport does not invoke import hooks to load custom files from zip.

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +28280 status: pending -> open pull_request: https://github.com/python/cpython/pull/30060 ___ Python tracker ___

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Don't worry, turns out it was a bit messier than I thought, so I prepared the PR. If you have some time, it would be great if you can take a quick look. -- ___ Python tracker

[issue12833] Document the need to pass the prompt to raw_input() with readline

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: Oh no, I was about to open mine ;-) https://github.com/python/cpython/compare/main...cfbolz:bpo-46042-syntax-error-range-duplicate-argument?expand=1 Basically equivalent, but I fixed the second bug too (would be very easy to add to yours) -

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: ah, confused, seems you fixed them both too. will take a closer look! -- ___ Python tracker ___

[issue24012] Add error checks to PyInit_pyexpat()

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: This is all sorted now: iritkatriel@Irits-MBP cpython % grep "PyModule_AddObject(" Modules/pyexpat.c if (PyModule_AddObject(mod, name, submodule) < 0) { if (PyModule_AddObject(errors_module, "codes", codes_dict) < 0) { if (PyModule_AddObject(errors_

[issue24010] Add error checks to PyInit__locale()

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: This function now looks like this: PyMODINIT_FUNC PyInit__locale(void) { return PyModuleDef_Init(&_localemodule); } -- nosy: +iritkatriel resolution: -> out of date stage: patch review -> resolved status: open -> closed ___

[issue46040] asyncio.coroutine documented as removed in 3.10

2021-12-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +28281 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30061 ___ Python tracker ___ _

[issue35999] multpirocessing.Process alive after SIGTERM on parent

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: This example is not working for me on 3.11: >>> from multiprocessing import Process >>> from time import sleep >>> from os import getpid >>> >>> def log(daemon_mode): ... while True: ... print('worker %i %s' % (getpid(), daemon_mode)) ... sl

[issue14484] missing return in win32_kill?

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: That piece of code is still there, the function is now called os_kill_impl. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue46040] asyncio.coroutine documented as removed in 3.10

2021-12-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 991736697dff693b6c9f8964bb7540081bbf4ddb by Andrew Svetlov in branch '3.10': [3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061) https://github.com/python/cpython/commit/991736697dff693b6c9f8964bb7540081bbf4ddb -- ___

[issue46040] asyncio.coroutine documented as removed in 3.10

2021-12-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue27227] argparse fails to parse [] when using choices and nargs='*'

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker _

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Pytho

[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

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

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

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

[issue27257] get_addresses results in traceback with an addrspec with an empty local part.

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce this on 3.11: >>> with open(b'lkml-exception.mail', mode = 'r') as f: ... msg = email.message_from_file(f, policy=email.policy.SMTP) ... Traceback (most recent call last): File "", line 2, in AttributeError: module 'email' has no at

[issue26571] turtle regression in 3.5

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2021-12-11 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11: >>> import argparse >>> parser = argparse.ArgumentParser(prog='PROG') >>> >>> parser.add_argument('--badger', nargs='+') _StoreAction(option_strings=['--badger'], dest='badger', nargs='+', const=None, default=None, type=None, choices=None,

[issue34557] When sending binary file to a Microsoft FTP server over FTP TLS, the SSL unwind method hangs

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue9504] signal.signal/signal.alarm not working as expected

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue29221] ABC Recursion Error on isinstance() with less than recursion limit class hierarchy depth

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue19459] Python does not support the GEORGIAN-PS charset

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Pytho

[issue35037] PYLONG_BITS_IN_DIGIT differs between MinGW and MSVC

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

[issue46005] [doc] replace 'distutils' examples with 'setuptools'

2021-12-11 Thread Nikita Sobolev
Nikita Sobolev added the comment: Or maybe we should just include https://github.com/python/cpython/blob/main/Doc/distutils/_setuptools_disclaimer.rst as others do? I will send my proposal :) -- nosy: +sobolevn ___ Python tracker

[issue46005] [doc] replace 'distutils' examples with 'setuptools'

2021-12-11 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28282 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30062 ___ Python tracker ___ _

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue46043] Python Launcher Not Opening Files.

2021-12-11 Thread Nicholas Bond
Nicholas Bond added the comment: I am on macOS 12 and it still doesn't work when Terminal.app is open. -- ___ Python tracker ___ __

[issue23948] Deprecate os.kill() on Windows

2021-12-11 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> rejected stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue42962] Windows: SystemError during os.kill(..., signal.CTRL_C_EVENT)

2021-12-11 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> missing return in win32_kill? ___ Python tracker ___ __

[issue44674] dataclasses should allow frozendict default value

2021-12-11 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset e029c53e1a408b89a4e3edf30a9b38b094f9c880 by Eric V. Smith in branch 'main': bpo-44674: Use unhashability as a proxy for mutability for default dataclass __init__ arguments. (GH-29867) https://github.com/python/cpython/commit/e029c53e1a408b89a4e3

[issue44674] dataclasses should allow frozendict default value

2021-12-11 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue14484] missing return in win32_kill?

2021-12-11 Thread Eryk Sun
Eryk Sun added the comment: The details of os.kill() on Windows have been discussed extensively for years in various issues such as bpo-26350, bp-23948, and bp42962. But the problem of the missing return statement is always overwhelmed by discussion of the egregiously bad design of this func

[issue14484] missing return in win32_kill?

2021-12-11 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg408336 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14484] missing return in win32_kill?

2021-12-11 Thread Eryk Sun
Eryk Sun added the comment: The details of os.kill() on Windows have been discussed extensively for years in various issues such as bpo-26350, bpo-23948, and bpo-42962. But the problem of the missing return statement is always overwhelmed by discussion of the egregiously bad design of this f

[issue46024] Different behaviour with zipfile

2021-12-11 Thread Eric V. Smith
Eric V. Smith added the comment: Actually, printing out: print(repr(path), repr(ZipPath(path))) would be more useful. If I don't hear back in a few days, I'm going to close this issue. -- status: pending -> open ___ Python tracker

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch nosy: +serhiy.storchaka nosy_count: 6.0 -> 7.0 pull_requests: +28283 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30063 ___ Python tracker

[issue45650] cgitb does not emit CGI headers when format='text'

2021-12-11 Thread Eric V. Smith
Eric V. Smith added the comment: Having not heard back about a use case for this, I'm going to close it. If you want to move this forward, I suggest proposing it on the python-ideas mailing list. -- resolution: -> rejected stage: -> resolved status: pending -> closed _

[issue44053] Can't connect to a server also not showing any type of output

2021-12-11 Thread Eric V. Smith
Eric V. Smith added the comment: Closing due to lack of feedback. -- resolution: -> not a bug stage: -> resolved status: pending -> closed type: -> behavior ___ Python tracker

[issue24372] Documentation for ssl.wrap_socket's ssl_version parameter is odd

2021-12-11 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Py

[issue44475] Dataclass Causes Infinite Recursion when using type of bytes

2021-12-11 Thread Eric V. Smith
Eric V. Smith added the comment: Closing due to lack of feedback. -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is due to use functools.wraps(). If __all__ is not defined all non-builtin functions should have correct __module__ to be displayed by pydoc. functools.wraps() assigns __module__, __name__, __qualname__, __doc__ and __annotations__. __module__ should

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 59435eea08d30796174552c0ca03c59b41adf8a5 by Pablo Galindo Salgado in branch 'main': bpo-46042: Improve SyntaxError locations in the symbol table (GH-30059) https://github.com/python/cpython/commit/59435eea08d30796174552c0ca03c59b41adf8a5

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28284 pull_request: https://github.com/python/cpython/pull/30064 ___ Python tracker _

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46042] Error range of "duplicate argument" SyntaxErrors is too big

2021-12-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Oh no, I was about to open mine ;-) Sorry, Carl, I apologize. I hope it was not too disruptive to do the work. I was taking a look and I felt bad that the issue was probably messier than I thought and I didn't want you to have to iterate many times

[issue9436] test_sysconfig failure: build a 32-bit Python a 64-bit OS

2021-12-11 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue46052] Ctrl+C, Ctrl+V in IDLE on Windows do not work with Cyrillic keyboard layout

2021-12-11 Thread Anton Bryl
New submission from Anton Bryl : Ctrl+C and Ctrl+V key combinations in IDLE on Windows do not work with Cyrillic keyboard layout. It is unexpected, as well as inconvenient when editing string constants. -- assignee: terry.reedy components: IDLE messages: 408345 nosy: anton.bryl, terry

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

2021-12-11 Thread Eryk Sun
Eryk Sun added the comment: > Raising a SpecialFileError would be OK if `follow_symlinks` was False. 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, regardle

[issue29221] ABC Recursion Error on isinstance() with less than recursion limit class hierarchy depth

2021-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is still reproducible if increase the depth. In 3.8-3.10 it needs 329 nested classes, in 3.11 -- 496. Seems the limit is sys.getrecursionlimit()//k - 4, where k=4 in 3.7 and older, k=3 in 3.8-3.10, and k=2 in 3.11. It is much better than was initially,

[issue46032] functools' singledispatch does not support GenericAlias

2021-12-11 Thread Alex Waygood
Alex Waygood added the comment: The PR looks good to me. I think it's also important that we document that these types aren't supported, as it's not mentioned anywhere at the moment. Related: Issue34498. -- nosy: +uriyyo ___ Python tracker

[issue46053] NetBSD: ossaudio support incomplete

2021-12-11 Thread Thomas Klausner
New submission from Thomas Klausner : When compiling Python on NetBSD, the ossaudio module is not enabled. 1. the code tries to export some #define that are not in the public OSS API (but that some other implementations provide) 2. on NetBSD, you need to link against libossaudio when using OSS

  1   2   >