[issue45821] Many method parameters in the datetime module are positional-only in the C implementation but positional-or-keyword in the Python implementation

2021-11-19 Thread Alex Waygood
Alex Waygood added the comment: It seems to me that there are two ways of resolving this: (1) Change the Python implementation to match the C implementation (make these parameters positional-only in the Python implementation). (2) Change the C implementation to match the Python

[issue45806] Cannot Recover From StackOverflow in 3.9 Tests

2021-11-19 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +27871 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29640 ___ Python tracker ___

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: New changeset 7e44dc0ba768451f287a541cd1c85f7d87a41561 by Christian Heimes in branch 'main': bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616) https://github.com/python/cpython/commit/7e44dc0ba768451f287a541cd1c85f7d87a41561

[issue45709] 3.11 regression: tracing with-statement on exit from block

2021-11-19 Thread Mark Shannon
Mark Shannon added the comment: New changeset 337cb480e9dc1d27594ebd87a0045d00ec8b1c3a by Mark Shannon in branch 'main': bpo-45709: Fix tracing when exception is handled. (GH-29638) https://github.com/python/cpython/commit/337cb480e9dc1d27594ebd87a0045d00ec8b1c3a --

[issue44556] ctypes unittest crashes with libffi 3.4.2

2021-11-19 Thread h-vetinari
Change by h-vetinari : -- nosy: +h-vetinari ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42233] GenericAlias does not support union type expressions

2021-11-19 Thread Ken Jin
Ken Jin added the comment: @Dávid No it won't land in 3.9. Union type expressions (PEP 604) were only officially added in 3.10. We don't backport new features, only bugfixes. Sorry! -- ___ Python tracker

[issue45839] python3 executable is able to install pandas

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: The bug report is a duplicate of bpo-43404. Python cannot use the system trust store on macOS. You need to follow the instructions at the end of the installation process to install root CA certificates. tl;dr run the " Install Certificates.command" from

[issue45839] python3 executable is able to install pandas

2021-11-19 Thread Muhammad Irfan Asghar
Muhammad Irfan Asghar added the comment: Hi Eric Thanks for your reply. I am using MacOS Big Sur version 11.5.1. And I installed from python.org by downloading version for macOS and double click and installed it. Also installed PyCharm On Fri, Nov 19, 2021 at 12:59 AM Eric V. Smith wrote: >

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: Erlend implemented pkg-config for sqlite3 in bpo-45774. Thanks to his tireless effort we now have a blue print how to port other checks to optional pkg-config lookup. -- superseder: -> Detect SQLite in configure.ac

[issue45774] Detect SQLite in configure.ac

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: Awesome work! Thanks to your tireless effort we know have a blue print how to use pkg-config for other librariess. -- type: -> enhancement ___ Python tracker

[issue45774] Detect SQLite in configure.ac

2021-11-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45774] Detect SQLite in configure.ac

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: New changeset 29e5874d5a9205c488f783356d0cf3f115399327 by Erlend Egeberg Aasland in branch 'main': bpo-45774: Autoconfiscate SQLite detection (GH-29507) https://github.com/python/cpython/commit/29e5874d5a9205c488f783356d0cf3f115399327 --

[issue45843] Optimizing LOAD_CONST followed by COMPARE_OP (or IS_OP)

2021-11-19 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: Above tested using `timeit.main`. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45843] Optimizing LOAD_CONST followed by COMPARE_OP (or IS_OP)

2021-11-19 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- keywords: +patch pull_requests: +27870 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29639 ___ Python tracker

[issue45843] Optimizing LOAD_CONST followed by COMPARE_OP (or IS_OP)

2021-11-19 Thread theeshallnotknowethme
New submission from theeshallnotknowethme : Result of `255581293 > 12938373 and 113314 < 2`: Unoptimized: 500 loops, best of 5: 42.6 nsec per loop Optimized: 2000 loops, best of 5: 14.4 nsec per loop -- components: Interpreter Core messages: 406582 nosy: February291948

[issue45709] 3.11 regression: tracing with-statement on exit from block

2021-11-19 Thread Mark Shannon
Mark Shannon added the comment: Sorry about the delay in fixing this. -- keywords: -patch stage: patch review -> needs patch ___ Python tracker ___

[issue45709] 3.11 regression: tracing with-statement on exit from block

2021-11-19 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +27869 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29638 ___ Python tracker

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2021-11-19 Thread Patrick Yang
Patrick Yang added the comment: I ended up in this issue after I learnt the following from the Python Library Reference Manual. float(..). For a general Python object x, float(x) delegates to x.__float__(). If __float__() is not defined then it falls back to __index__(). The

[issue45723] Improve and simplify configure.ac checks

2021-11-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27868 pull_request: https://github.com/python/cpython/pull/29637 ___ Python tracker ___

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

2021-11-19 Thread mike mcleod
mike mcleod added the comment: I would like to help with this issue. I note the history (using Git Dag) of the modulefinder.py shows that it has been modified with changes related here: Author: Éric Araujo 2011-07-28 22:35:29 Committer: Éric Araujo 2011-07-28 22:35:29 Parent:

[issue42367] Restore os.makedirs ability to apply mode to all directories created

2021-11-19 Thread Ad Timmering
Change by Ad Timmering : -- nosy: +awtimmering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45842] AddressSanitizer: bad-free - hello world c extension

2021-11-19 Thread Francesc Elies
New submission from Francesc Elies : Hi, Context === we are compiling a dll with clang and it's address sanitizer and loading it via cffi, at random spots ASAN complains with bad-free. ==15100==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed:

[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP

2021-11-19 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45609] Specialize STORE_SUBSCR

2021-11-19 Thread Mark Shannon
Mark Shannon added the comment: New changeset 036fead695a9a1e1082992d16ab46bca1cd61a25 by Dennis Sweeney in branch 'main': bpo-45609: Specialize STORE_SUBSCR (GH-29242) https://github.com/python/cpython/commit/036fead695a9a1e1082992d16ab46bca1cd61a25 -- nosy: +Mark.Shannon

[issue42233] GenericAlias does not support union type expressions

2021-11-19 Thread Dávid Nemeskey
Dávid Nemeskey added the comment: Guys, any chance the fix will land in 3.9? It is affected as well. -- nosy: +nemeskeyd ___ Python tracker ___

[issue32696] Fix pickling exceptions with multiple arguments

2021-11-19 Thread 4-launchpad-kalvdans-no-ip-org
Change by 4-launchpad-kalvdans-no-ip-org : -- nosy: +4-launchpad-kalvdans-no-ip-org ___ Python tracker ___ ___ Python-bugs-list

[issue44556] ctypes unittest crashes with libffi 3.4.2

2021-11-19 Thread Ryan May
Change by Ryan May : -- nosy: +Ryan May ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42238] Deprecate suspicious.py?

2021-11-19 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +27867 pull_request: https://github.com/python/cpython/pull/29636 ___ Python tracker ___

[issue42238] Deprecate suspicious.py?

2021-11-19 Thread Julien Palard
Julien Palard added the comment: A new false positive today from 31b3a70edb1216bdc8fab3b2eafd8ddb00487f41: https://docs.python.org/dev/reference/datamodel.html#class-getitem-versus-getitem in: should be called:: from inspect import isclass def subscribe(obj, x):

[issue45841] IDLE fails to save files in macOS 12.0.1 Monterey

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45841] IDLE fails to save files in macOS 12.0.1 Monterey

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your OS and screenshot are identical to the one attached to #44828. #45641 is another duplicate. The fix should be in current 3.11, 3.10, and 3.9 mac installers. -- assignee: terry.reedy -> components: +macOS nosy: +ned.deily, ronaldoussoren

<    1   2