[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Ming Hua
Change by Ming Hua : -- title: Type in "What's New In Python 3.10" documentation -> Typo in "What's New In Python 3.10" documentation ___ Python tracker ___

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26672 pull_request: https://github.com/python/cpython/pull/28251 ___ Python tracker ___

[issue45147] Type in "What's New In Python 3.10" documentation

2021-09-09 Thread Ming Hua
New submission from Ming Hua : It's just a small typo, but since the documentation recommends reporting to bug tracker, here it is. After downloading the 64-bit Windows Installer for 3.10.0 rc2 and successfully installing on my Windows 10, the "Python 3.10 Manuals" in start menu opens a

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: See also: https://github.com/pypa/pip/issues/10453 -- ___ Python tracker ___ ___ Python-bugs-list

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
New submission from baterflyrity : Upgrading pip via ensurepip unfortunately doesn't do anything wealthy. ```bash user@host MINGW64 ~ $ pip list | grep pip pip 21.2.3 WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Paul Moore added the comment: >From the documentation: > upgrade indicates whether or not to upgrade an existing installation of an > earlier version of pip to the bundled version. Note the comment "to the bundled version". This command will not access the internet (also noted in the

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Paul Moore added the comment: > You are wrong. Windows lets me update pip via pip. You have misinterpreted what you are seeing. > Should i create new issue for this? No, you should follow the correct process and use `python -m pip`, and not use pip directly. --

[issue45017] move opcode-related logic from modulefinder to dis

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: The modulefinder module shouldn’t know what sequence of opcodes the compiler emits for import. For example, if the compiler changes you get a fairly high level test failure that you need to debug. After this refactor the test failure is more obviously

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Matthias Urlichs
Matthias Urlichs added the comment: Please do. However, I do think that changing the stdstream related ioctl calls also is a good idea, if only for code regularity/completeness sake. (Besides, nothing prevents somebody from starting a FUSE file system and then redirecting stdout to it …)

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Change by Paul Moore : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45149] Cover directory and zipfile execution in __main__ module docs

2021-09-09 Thread Nick Coghlan
New submission from Nick Coghlan : bpo-39452 covered significant improvements to the __main__ module documentation at https://docs.python.org/dev/library/__main__.html, making it a better complement to the CPython CLI documentation at

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Vincent Michel
Change by Vincent Michel : -- pull_requests: +26671 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28250 ___ Python tracker ___

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 49acac00c08838d8080ce00d02c05284b94f8fb2 by Victor Stinner in branch 'main': bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) https://github.com/python/cpython/commit/49acac00c08838d8080ce00d02c05284b94f8fb2 --

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-09 Thread Miro Hrončok
Miro Hrončok added the comment: The 3.10 backport is in https://github.com/python/cpython/pull/28251 -- ___ Python tracker ___ ___

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x: Linux kernel 5.15 regression

2021-09-09 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44129] zipfile: Add descriptive global variables for general purpose bit flags

2021-09-09 Thread Vincent Michel
Change by Vincent Michel : -- pull_requests: -26670 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45148] ensurepip upgrade fails

2021-09-09 Thread Paul Moore
Paul Moore added the comment: > I don't know technical details but i can successfully use this command: `pip > install --upgrade pip`. On Windows (and not under something like cygwin or msys, which have their own rules)? Anyway, it's not that important, the recommended approach is `python

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-09-09 Thread Mark Dickinson
Mark Dickinson added the comment: @Erik: Do you have a moment to look at the PR (GH-27853) and see if the proposed changes work for you? -- ___ Python tracker ___

[issue39452] Improve the __main__ module documentation

2021-09-09 Thread Nick Coghlan
Nick Coghlan added the comment: These changes are excellent - thanks for the patch! Something even the updated version doesn't cover yet is directory and zipfile execution, so I filed bpo-45149 as a follow up ticket for that (the info does exist elsewhere in the documentation, so it's

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: > Note the comment "to the bundled version". Thanks. Have not knew. > 1. You must *not* use the pip executable, you must use `python -m pip`, as > the command will be upgrading the pip executable and Windows won't let you > upgrade an executable you are

[issue45146] Add a possibility for asyncio.Condition to determine the count of currently waiting consumers

2021-09-09 Thread Mykola Mokhnach
Mykola Mokhnach added the comment: This improvement request is also applicable to other asyncio synchronization primitives that contain a waiting queue. -- ___ Python tracker

[issue44129] zipfile: Add descriptive global variables for general purpose bit flags

2021-09-09 Thread Vincent Michel
Change by Vincent Michel : -- nosy: +vxgmichel nosy_count: 2.0 -> 3.0 pull_requests: +26670 pull_request: https://github.com/python/cpython/pull/28250 ___ Python tracker ___

[issue45017] move opcode-related logic from modulefinder to dis

2021-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is wrong with this? Is such logic used in the dis module or any other module outside modulefinder? -- nosy: +serhiy.storchaka ___ Python tracker

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: >> You are wrong. Windows lets me update pip via pip. > >You have misinterpreted what you are seeing. I don't know technical details but i can successfully use this command: `pip install --upgrade pip`. >No, you should follow the correct process and use

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Vincent Michel
Vincent Michel added the comment: There are a couple of reasons why I did not make changes to the stdstream related functions. The first one is that a PR with many changes is less likely to get reviewed and merged than a PR with fewer changes. The second one is that it's hard for me to

[issue45150] Add a file_digest() function in hashlib

2021-09-09 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +26673 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28252 ___ Python tracker

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26674 pull_request: https://github.com/python/cpython/pull/28255 ___ Python tracker

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26675 pull_request: https://github.com/python/cpython/pull/28256 ___ Python tracker ___

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 06148b1870fceb1a21738761b8e1ac3bf654319b by Vincent Michel in branch 'main': bpo-44219: Release the GIL during isatty syscalls (GH-28250) https://github.com/python/cpython/commit/06148b1870fceb1a21738761b8e1ac3bf654319b -- nosy:

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Saurabh Jaiswal
Saurabh Jaiswal added the comment: PR raised for the same https://github.com/python/cpython/pull/28257 On Thu, 9 Sept 2021 at 18:19, Saurabh Jaiswal wrote: > > Saurabh Jaiswal added the comment: > > i want to take this change, i just want to know the steps how to push this > changes and

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Saurabh Jaiswal
Saurabh Jaiswal added the comment: Fix done on the latest Branch as suggested -- keywords: +patch message_count: 8.0 -> 9.0 pull_requests: +26676 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28257 ___ Python tracker

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread D.Lintin
D.Lintin added the comment: Just updated the description to attach to the issues, thanks. -- ___ Python tracker ___ ___

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks to both of you. Unfortunately, I have to pick one PR to use, and since dlintin had the earlier one, I'll use it. -- ___ Python tracker

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread D.Lintin
D.Lintin added the comment: Thankyou! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: @pablogsal: You might want to merge this back to 3.10.0, once it's merged to 3.10. I'll merge it shortly, once the tests have run. -- keywords: -patch nosy: +pablogsal stage: patch review -> ___ Python tracker

[issue45151] Logger library with task scheduler

2021-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: Can you simplify this to not use any external libraries? -- components: -IO, Windows nosy: +eric.smith ___ Python tracker ___

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26678 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28258 ___ Python tracker ___

[issue45153] Except multiple types of exceptions with OR keyword is not working

2021-09-09 Thread Shlomi
New submission from Shlomi : When I want to catch multiple types of exceptions naturally 'OR' keyword is used. But it doesn't work. The interpreter doesn't show any error for the syntax, so developer may think it would work. Small example: try: myfunc() except ConnectionResetError or

[issue45154] Enumerate() function or class?

2021-09-09 Thread Sanmitha
New submission from Sanmitha : I was learning about enumerate(). While learning, when I used, >>>help(enumerate) Help on class enumerate in module builtins: class enumerate(object) | enumerate(iterable, start=0) | | Return an enumerate object. | | iterable | an object supporting iteration | |

[issue45067] Failed to build _curses on CentOS 7

2021-09-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: A change like this will be required since these funcs were introduced only recently and nurses shipped with centos was older. % git diff diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 61aaf85522..6fb6c490e6 100644 ---

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread miss-islington
miss-islington added the comment: New changeset 5c65834d801d6b4313eef0684a30e12c22ccfedd by Miss Islington (bot) in branch '3.9': bpo-44219: Release the GIL during isatty syscalls (GH-28250) https://github.com/python/cpython/commit/5c65834d801d6b4313eef0684a30e12c22ccfedd --

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread D.Lintin
D.Lintin added the comment: 1 failing checks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45139] Docs: add source directive for minor translation simplification

2021-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: New directives introduce complexity. They should be saved for pervasive and non-trivial problems. The motivation for this change is dubious (that a translator can't easily handle a simple fixed string pattern). The OP grants that this is a "only small

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Irit Katriel
New submission from Irit Katriel : This issue is to prepare the code for splitting LOAD_CONST to several opcodes. There are a number of places in the code where an opcode is compared to LOAD_CONST (such as dis, the compiler, and the peephole optimizer). These need to be refactored to make

[issue45139] Docs: add source directive for minor translation simplification

2021-09-09 Thread Zachary Ware
Zachary Ware added the comment: Note that this is suggesting to introduce a `.. source` directive, not adjust the existing `:source:` role. There's nothing preventing the use of the existing pattern in special cases, while using the new directive in the common cases. I don't have context

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-09 Thread E. Paine
E. Paine added the comment: It turns out the problem is a combination of the font and IDLE preview content. With the phaistos font installed, inserting the content of the "Devanagari, Tamil" or "East Asian" sections into a Tk text widget causes it to freeze. For example, the following will

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread D.Lintin
Change by D.Lintin : -- pull_requests: +26677 pull_request: https://github.com/python/cpython/pull/28253 ___ Python tracker ___ ___

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Eric V. Smith
Eric V. Smith added the comment: Please see the dev guide https://devguide.python.org/ for setting the description of the PR. If it's set correctly, the PR will be attached to this issue. -- ___ Python tracker

[issue45151] Logger library with task scheduler

2021-09-09 Thread Brian Hunt
New submission from Brian Hunt : Version: Python 3.9.3 Package: Logger + Windows 10 Task Scheduler Error Msg: None Behavior: I built a logging process to use with a python script that will be scheduled with Windows 10 task scheduler (this could be a bug in task scheduler too, but starting

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36424] Pickle fails on frozen dataclass that has slots

2021-09-09 Thread Andrei Kulakov
Andrei Kulakov added the comment: This actually can't be closed yet as the fix was not backported to 3.9 -- ___ Python tracker ___

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +26679 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28259 ___ Python tracker

[issue45153] Except multiple types of exceptions with OR keyword is not working

2021-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Expression `A or B` gets you A if A is true. If you want to catch several types of exception by one "except", use except with a tuple: except (ConnectionResetError, ConnectionAbortedError): -- nosy: +serhiy.storchaka resolution: -> not a bug

[issue45150] Add a file_digest() function in hashlib

2021-09-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +christian.heimes, gregory.p.smith type: -> enhancement versions: +Python 3.11 ___ Python tracker ___

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread D.Lintin
D.Lintin added the comment: Already create a pull request, thanks. -- nosy: +dlintin ___ Python tracker ___ ___ Python-bugs-list

[issue44492] Building a C extension on Big Sur and SDK v10.15 fails

2021-09-09 Thread Phil Thompson
Phil Thompson added the comment: Is this likely to be fixed for v3.10? At the very least a wheel should have the correct platform tag. -- ___ Python tracker ___

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 11103eb1f2199cacd8c2e29e3db0d19199885b45 by Miss Islington (bot) in branch '3.10': bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) (GH-28251) https://github.com/python/cpython/commit/11103eb1f2199cacd8c2e29e3db0d19199885b45

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Nitish Sharma
Nitish Sharma added the comment: Yeah, are you talking about this PR? https://github.com/python/cpython/pull/28254 -- nosy: +nitss007 ___ Python tracker ___

[issue45150] Add a file_digest() function in hashlib

2021-09-09 Thread Tarek Ziadé
New submission from Tarek Ziadé : I am proposing the addition of a very simple helper to return the hash of a file. -- assignee: tarek components: Library (Lib) messages: 401457 nosy: tarek priority: normal severity: normal status: open title: Add a file_digest() function in hashlib

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: "{__module__}.{__name__}" is just incorrect reference if __name__ != __qualname__. Error messages should always use "{__module__}.{__qualname__}" or just "{__name__}". I see this as a bug. Fortunately very few code is affected. -- nosy:

[issue45017] move opcode-related logic from modulefinder to dis

2021-09-09 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Does find_imports/find_store_names have to be public? I think the relocation is fine, but making them public without any use case from outside can be avoided at least for now. -- nosy: +BTaskaya ___ Python

[issue45017] move opcode-related logic from modulefinder to dis

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: I agree, I’ll make them private. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-44860. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> sysconfig's posix_user scheme has different platlib value to distutils's unix_user

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-45136 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue45150] Add a file_digest() function in hashlib

2021-09-09 Thread Christian Heimes
Christian Heimes added the comment: Hey Tarek, long time no see! * the _sha256 module is optional, can be disabled and is not available in some distributions. * I also don't like to use sha256 has default. It's slow, even slower than sha512. Any default makes it also harder to upgrade to a

[issue20499] Rounding errors with statistics.variance

2021-09-09 Thread Steven D'Aprano
Steven D'Aprano added the comment: > rhettinger requested a review from stevendaprano yesterday This is not a complaint Raymond, but you're too quick for me! Your changes look good to me, thank you. -- ___ Python tracker

[issue45017] move opcode-related logic from modulefinder to dis

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

[issue45148] ensurepip upgrade fails

2021-09-09 Thread baterflyrity
baterflyrity added the comment: OK, ive caught the salt of ensurepip. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Saurabh Jaiswal
Saurabh Jaiswal added the comment: i want to take this change, i just want to know the steps how to push this changes and raise PR for the same -- nosy: +saurabh37 ___ Python tracker

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue. I'm not comfortable with the backport. For me, this change is not a bugfix, but a new feature. It can break applications which rely on the exact error message in their test suite. I'm not sure why it was backported to Python 3.9.

[issue45150] Add a file_digest() function in hashlib

2021-09-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Hey Christian, I hope things are well for you! Thanks for all the precious feedback, I'll rework the patch accordingly -- ___ Python tracker ___

[issue20499] Rounding errors with statistics.variance

2021-09-09 Thread Steven D'Aprano
Steven D'Aprano added the comment: Regarding the call to sorted that you removed. I just realised that this was buggy! In my testing, I found that there was a consistent speed-up by summing fractions in order of increasing denominators (small denominators first): >>> from fractions import

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +easy, newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread Ross Martin
Ross Martin added the comment: I would like to fix this, if it hasnt been assigned already. -- nosy: +MrRBM97 ___ Python tracker ___

[issue45017] move opcode-related logic from modulefinder to dis

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: New changeset 04676b69466d2e6d2903f1c6879d2cb292721455 by Irit Katriel in branch 'main': bpo-45017: move opcode-related logic from modulefinder to dis (GH-28246) https://github.com/python/cpython/commit/04676b69466d2e6d2903f1c6879d2cb292721455 --

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-09 Thread D.Lintin
D.Lintin added the comment: no, this one: https://github.com/python/cpython/pull/28253 -- ___ Python tracker ___ ___

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26681 pull_request: https://github.com/python/cpython/pull/28261 ___ Python tracker ___

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: The pow() docs could use substantial updating. All of the logic for pow() is implemented in base.__pow__(exp, [mod]). Technically, it isn't restricted to numeric types, that is just a norm. The relationship between "pow(a,b)" and "a**b" is that both

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26682 pull_request: https://github.com/python/cpython/pull/28262 ___ Python tracker ___

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: It's related to this work: https://github.com/faster-cpython/ideas/issues/65 -- ___ Python tracker ___

[issue32876] HTMLParser raises exception on some inputs

2021-09-09 Thread Irit Katriel

Irit Katriel  added the comment:

I get a different error now:

>>> import html.parser
>>> html.parser.HTMLParser().feed("", line 1, in 
  File "/Users/iritkatriel/src/cpython-1/Lib/html/parser.py", 

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: > In my case, the file in question is implemented as a FUSE mount which is > served by the same process (different thread of course). Thus holding the GIL > at this point causes a rather interesting deadlock. Since the change fixes a deadlock, I agree to

[issue45067] Failed to build _curses on CentOS 7

2021-09-09 Thread Senthil Kumaran
Change by Senthil Kumaran : -- keywords: +patch pull_requests: +26680 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28260 ___ Python tracker ___

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: I agree with Serhiy, I consider this a bugfix. Let's raise it to "release blocker" to let Pablo decide if this should wait for 3.10.1 or get bumped up to 3.10.0. -- nosy: +pablogsal priority: normal -> release blocker

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: I didn't know this was in the works. Can you point me to the relevant discussion about why LOAD_CONST would be split? -- nosy: +rhettinger ___ Python tracker

[issue39955] argparse print_help breaks when help is blank space

2021-09-09 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> In argparse empty choices cannot be printed in the help type: crash -> behavior ___ Python tracker

[issue36463] python37.dll crashing 0xc000041d

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: Closing as there isn't enough information here for us to do anything about this. Also, Python 3.7 is no longer in maintenance. If you are still having this problem with a current version (>= 3.9) please create a new issue with information on how we can

[issue38596] simple example give a Linux core dumped with atk-bridge

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: Python 3.7 is no longer maintained. If you are still seeing crashes in a current version (>= 3.9) then please create a new issue. However, note that a bug report is more likely to get attention if it shows a bug in python, rather than just reporting that a

[issue38573] Not Implemented Error in stdLib HTMLParser

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: Changing type since this is an exception and not a crash. I get a different error now: >>> parser.feed(bytearray.fromhex('3c215b63612121').decode('ascii')) Traceback (most recent call last): File "", line 1, in File

[issue45067] Failed to build _curses on CentOS 7

2021-09-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 794430700defb913512f871b701a888aa730de81 by Senthil Kumaran in branch 'main': bpo-45067 - Verify the version of ncurses for extended color support feature usage. (GH-28260)

[issue24544] Race condition and crash when embedding multi-thread script

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer maintained. Please create a new issue if you are having problems with this in a current version (>= 3.9). -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed

[issue23249] test_win32 fails on aarch64

2021-09-09 Thread Irit Katriel
Change by Irit Katriel : -- status: closed -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44841] ZipInfo crashes on filemode

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: Crash typically means segfault or the like, not an exception. Can you provide code to create the file "test-one-dir.zip" so that we can reproduce the issue? -- nosy: +iritkatriel type: crash -> behavior ___ Python

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the link. This is a worthwhile experiment. However, the potential gains will be hard to come by. The workload of LOAD_CONST is very small. After paying for the usual dispatch logic overhead, all it does is an index into a struct member and

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-09 Thread Irit Katriel
Irit Katriel added the comment: I’m not sure we’re hoping this to be faster, just reduce the code object size and not be slower. (Smaller code object could be faster to unmarshal). -- ___ Python tracker

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 23c46778d65870784cb6d4de30f43aac62d71e73 by Miss Islington (bot) in branch '3.10': bpo-44219: Release the GIL during isatty syscalls (GH-28250) (GH-28255) https://github.com/python/cpython/commit/23c46778d65870784cb6d4de30f43aac62d71e73

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-09 Thread STINNER Victor
STINNER Victor added the comment: If the change is considered as a bugfix, it can wait for the next 3.9.x and 3.10.x release. If it's considered as a feature (which is backward incompatible), it should only land in 3.10 if it's in 3.10.0, but be reverted in the 3.9 branch. Honestly, I

[issue45154] Enumerate() function or class?

2021-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: In pure python, generators are implemented as functions. In CPython, the only way to implement them is as a class. From a user's point of view, enumerate(), map(), zip(), and filter() are used like a functions (they doesn't have non-dunder methods).

[issue45067] Failed to build _curses on CentOS 7

2021-09-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have created a pull request - https://github.com/python/cpython/pull/28260 Please review this. -- assignee: -> orsenthil versions: +Python 3.10, Python 3.9 ___ Python tracker

  1   2   >