[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 resol

[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: https://mail

[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):

[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 ___ ___

[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: https://mail.python.o

[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 mail

[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 ___

[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

[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 ___ ___

[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: 0x01991a8

[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: https://mail.p

[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: 867754e3e3c9

[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 ___ ___

[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 disc

[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

[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 ___ __

[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 priority:

[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
theeshallnotknowethme added the comment: Above tested using `timeit.main`. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[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 --

[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: 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 ___

[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 ___

[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: >

[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 the

[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 __

[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: https://mail.pyth

[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 -- ___

[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 ---

[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 ___ ___

[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 implementati

[issue6669] TarFile.getmembers fails at struct.unpack: unpack requires a string argument of length 4

2021-11-19 Thread STINNER Victor
STINNER Victor added the comment: File "/home/apy/ActivePython-2.6/lib/python2.6/gzip.py", line 24, in read32 return struct.unpack(" Date: Tue Jan 22 17:01:59 2013 +0200 Issue #1159051: GzipFile now raises EOFError when reading a corrupted file with truncated header or footer.

[issue45844] Dead link 'consolelib' in faq/library

2021-11-19 Thread JMcB
New submission from JMcB : At https://docs.python.org/3/faq/library.html#is-there-a-curses-termcap-package-for-python it says: For Windows: use the consolelib module. And links to: http://effbot.org/zone/console-index.htm This link is dead. Also, a quick google search for consolelib doesn't yi

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-19 Thread JMcB
New submission from JMcB : At https://docs.python.org/3/faq/library.html#how-do-i-program-using-threads it says: Aahz has a set of slides from his threading tutorial that are helpful; see http://www.pythoncraft.com/OSCON2001/. This link is dead. -- assignee: docs@python components: Do

[issue45846] Incorrect name capitalisation in faq/programming

2021-11-19 Thread JMcB
New submission from JMcB : At https://docs.python.org/3/faq/programming.html#how-can-i-have-modules-that-mutually-import-each-other it says: van Rossum doesn’t like this approach much because the imports appear in a strange place, but it does work. The V should be capitalised. References: http

[issue45846] Incorrect name capitalisation in faq/programming

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

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-19 Thread Christian Heimes
New submission from Christian Heimes : bpo-45573 added the PY_STDLIB_MOD() autoconf macro, Modules/Setup.stdlib.in template, and setup.py helper method addext(). The macro sets up * MODULE_{NAME}_TRUE/FALSE conditional * MODULE_{NAME} variable with values yes, disabled, missing, or n/a * MODU

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-19 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27874 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29642 ___ Python tracker ___

[issue20868] Lib/test/test_socket.py: skip testGetServBy if /etc/services is not found

2021-11-19 Thread Irit Katriel
Irit Katriel added the comment: > when you run the test suite in a chroot (to do "pure" builds) or in a > network sandbox (for other functions) Do we support that? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue10202] ftplib doesn't check close status after sending file

2021-11-19 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue20868] Lib/test/test_socket.py: skip testGetServBy if /etc/services is not found

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: Nope, we don't have to support this edge case. -- nosy: +christian.heimes resolution: -> rejected stage: -> resolved status: pending -> closed ___ Python tracker ___

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

2021-11-19 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-11-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also see: https://bugs.python.org/issue42073 The classmethod pass through broke some existing code and the "fix" for it looks dubious: if hasattr(type(self.f), '__get__'): return self.f.__get__(cls, cls) -- _

[issue29010] Incorrect description about scope related with inheritance

2021-11-19 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy, newcomer friendly versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ __

[issue28132] impossible to uninstall python3.6.0b1-amd64 from windows 10

2021-11-19 Thread Irit Katriel
Irit Katriel added the comment: 3.6 is no longer maintained. Please create a new issue if you have problems with a current version (3.9+). -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python track

[issue45848] Pegen's nice error reporting crashes non-UTF-8 files

2021-11-19 Thread Petr Viktorin
New submission from Petr Viktorin : Parsing a script with non-UTF-8 encoding and a missing close parenthesis, like a file with the following 2 lines: # encoding: ascii ( ... crashes with: python: Parser/pegen.c:408: get_error_line: Assertion `p->tok->fp == NULL || p->tok->fp == stdin' faile

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-19 Thread Petr Viktorin
Change by Petr Viktorin : -- title: Pegen's nice error reporting crashes non-UTF-8 files -> Pegen's nice error reporting crashes with non-UTF-8 files ___ Python tracker ___ __

[issue45507] Small oversight in 3.11 gzip.decompress implementation with regards to backwards compatibility

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0ff3d95b9875805ac03aeffc37ae4458ce3b8ac0 by Ruben Vorderman in branch 'main': bpo-45507: EOFErrors should be thrown for truncated gzip members (GH-29029) https://github.com/python/cpython/commit/0ff3d95b9875805ac03aeffc37ae4458ce3b8ac0 --

[issue42238] Deprecate suspicious.py?

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d32316a2aacc3b3c4f6f56f96edb09a4437c8bdb by Julien Palard in branch 'main': bpo-42238: [doc]: Hide false positive in make suspicious. (GH-29636) https://github.com/python/cpython/commit/d32316a2aacc3b3c4f6f56f96edb09a4437c8bdb -- ___

[issue43185] AssertRaises() causes core dump in handling recursion

2021-11-19 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> out of date stage: -> resolved status: open -> closed superseder: -> Cannot Recover From StackOverflow in 3.9 Tests ___ Python tracker

[issue42500] crash with unbounded recursion in except statement

2021-11-19 Thread Łukasz Langa
Change by Łukasz Langa : -- superseder: -> Cannot Recover From StackOverflow in 3.9 Tests ___ Python tracker ___ ___ Python-bugs-lis

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-11-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: I propose deprecating classmethod chaining. It has become clear that it doesn't really do what people wanted and can't easily be made to work. By even suggesting that some stateful decorators are composable, we've ventured onto thin ice. Wrapping proper

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-11-19 Thread Alex Waygood
Alex Waygood added the comment: It makes me sad that the stdlib will no longer provide a way to compose classmethods with other descriptors. However, I agree that deprecating classmethod chaining is probably the correct course of action, given the complications this feature has caused, and

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e34809e1c2a09478f4e0651d551c9c12d3c556ab by Raymond Hettinger in branch 'main': bpo-19072: Classmethod can wrap other classmethod like descriptors (GH-29634) https://github.com/python/cpython/commit/e34809e1c2a09478f4e0651d551c9c12d3c556ab --

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2021-11-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +27875 pull_request: https://github.com/python/cpython/pull/29643 ___ Python tracker ___ __

[issue45507] Small oversight in 3.11 gzip.decompress implementation with regards to backwards compatibility

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for noticing, Ruben! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45806] Cannot Recover From StackOverflow in 3.9 Tests

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4296396db017d782d3aa16100b366748c9ea4a04 by Mark Shannon in branch '3.9': [3.9] bpo-45806: Fix recovery from stack overflow for 3.9. Again. (GH-29640) https://github.com/python/cpython/commit/4296396db017d782d3aa16100b366748c9ea4a04 -- _

[issue45806] Cannot Recover From StackOverflow in 3.9 Tests

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45838] Incorrect line numbers in GDB Python backtraces [3.9]

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2a32dbf110cf80ec9a00290ea6bc84f409948cb0 by Sam Gross in branch '3.9': [3.9] bpo-45838: Fix incorrect line numbers in Tools/gdb/libpython.py (GH-29628) https://github.com/python/cpython/commit/2a32dbf110cf80ec9a00290ea6bc84f409948cb0 -- n

[issue45838] Incorrect line numbers in GDB Python backtraces [3.9]

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Sam! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45116] Performance regression 3.10b1: inlining issue in the big _PyEval_EvalFrameDefault() function with Visual Studio (MSC)

2021-11-19 Thread neonene
neonene added the comment: In the eval-loop of PR29565, inlining seems to be enabled within about 70 op-brahches, trained with 44 tests. log & source: ceval_PR29565_split_func.c (not for performance) -- Added file: https://bugs.python.org/file50452/ceval_PR29565_split_func.c __

[issue45837] Fix turtle deprecations

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e8d41eea7a73a91cf1da2a4e60245902226bc599 by Hugo van Kemenade in branch '3.9': bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29630) https://github.com/python/cpython/commit/e8d41eea7a73a91cf1da2a4e60245902226bc599

[issue45837] Fix turtle deprecations

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9501e8d3a339c5a9217b7d90275d2a8c8cba5d13 by Hugo van Kemenade in branch '3.10': bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29629) https://github.com/python/cpython/commit/9501e8d3a339c5a9217b7d90275d2a8c8cba5d13 ---

[issue45837] Fix turtle deprecations

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Hugo! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

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

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-19 Thread Łukasz Langa
Change by Łukasz Langa : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2021-11-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bbe3c57c865439f2194eb760a4362b5506d221a7 by Miss Islington (bot) in branch '3.10': bpo-19072: Classmethod can wrap other classmethod like descriptors (GH-29634) (GH-29643) https://github.com/python/cpython/commit/bbe3c57c865439f2194eb760a4362b5506

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-19 Thread Christian Heimes
Christian Heimes added the comment: New changeset c8c21bdd199f9feb75fc6cdb398a686dc133b99f by Christian Heimes in branch 'main': bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642) https://github.com/python/cpython/commit/c8c21bdd199f9feb75fc6cdb398a686dc133b99f -

[issue28445] Wrong documentation for GzipFile.peek

2021-11-19 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy, newcomer friendly type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker ___ ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27877 pull_request: https://github.com/python/cpython/pull/29644 ___ Python tracker ___

[issue45844] Dead link 'consolelib' in faq/library

2021-11-19 Thread Éric Araujo
Éric Araujo added the comment: Archived version: https://web.archive.org/web/20191202041245/http://effbot.org/zone/console-index.htm The whole FAQ entry should be reviewed for relevance. Is it true that curses is not built by default? Should third-party curses modules be recommended? How do pe

[issue45823] phyton stopped working

2021-11-19 Thread Éric Araujo
Éric Araujo added the comment: Please give a more detailed answer: what is your OS version, what’s the version of python and how did you install it, what is your IDE or how do you run your python script, copy full error messages from event viewer. It would also be useful if you attached your

[issue45805] CO_FUTURE_ANNOTATIONS flag is not documented or in inspect

2021-11-19 Thread Éric Araujo
Éric Araujo added the comment: No worry about posting multiple messages. I think the flag is documented through the __future__ module. Future imports are both special-cased by the compiler to enable custom behaviour, but also real, regular imports! >>> from __future__ import annotations

[issue45805] CO_FUTURE_ANNOTATIONS flag is not documented or in inspect

2021-11-19 Thread Saul Shanabrook
Saul Shanabrook added the comment: Thanks Éric! Do you think it would make sense to add the future flags as well to the inspect flags documentation (https://docs.python.org/3/library/inspect.html#code-objects-bit-flags) and to the dis.pretty_flags? -- __

[issue45844] Dead link 'consolelib' in faq/library

2021-11-19 Thread JMcB
JMcB added the comment: The command line libraries I'm aware of that support windows are Blessed (curses-based), Rich, Asciimatics, and python-prompt-toolkit. >From here: https://www.pythondiscord.com/events/code-jams/8/frameworks/ -- ___ Python tr

[issue45849] Embedded python doesn't recognize exit()

2021-11-19 Thread thewh1teagle
New submission from thewh1teagle : C:\Users\user\Downloads\python-3.10.0-embed-win32>python Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 18:46:30) [MSC v.1929 32 bit (Intel)] on win32 >>> exit Traceback (most recent call last): File "", line 1, in NameError: name 'exit' is not defined >

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27878 pull_request: https://github.com/python/cpython/pull/29646 ___ Python tracker ___ ___

[issue45727] Parse error when missing commas is inconsistent

2021-11-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 546cefcda75d7150b55c8bc1724bea35a1e12890 by Pablo Galindo Salgado in branch 'main': bpo-45727: Make the syntax error for missing comma more consistent (GH-29427) https://github.com/python/cpython/commit/546cefcda75d7150b55c8bc1724bea35a1e

[issue45727] Parse error when missing commas is inconsistent

2021-11-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27879 pull_request: https://github.com/python/cpython/pull/29647 ___ Python tracker ___ ___

[issue44556] ctypes unittest crashes with libffi 3.4.2

2021-11-19 Thread jakirkham
jakirkham added the comment: We ran into the same issue in conda-forge ( https://github.com/conda-forge/python-feedstock/issues/522 ). The problem is Apple also supplies their own `libffi`. However if the build scripts in CPython fail to find the user provided `libffi`, they end up pulling

[issue44556] ctypes unittest crashes with libffi 3.4.2

2021-11-19 Thread Eli Rykoff
Eli Rykoff added the comment: To add a bit more color, I don't think you can explicitly set LIBFFI_INCLUDE_DIR, it's set by the configure script explicitly. The problem is that some time between python 3.9 and 3.10 the configure script has (at least in our system) failed to figure out the $

[issue45849] Embedded python doesn't recognize exit()

2021-11-19 Thread Steve Dower
Steve Dower added the comment: This is expected. The top-level exit() command only exists when the site module is imported, which is not the default for embedded Python (you should specify all the import paths explicitly, since they're going to be in your app rather than found by searching t

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-11-19 Thread Steve Dower
Steve Dower added the comment: Hijacking this issue number for a related test failure I found: if you "make install" Python and then run the test_embed tests from the build directory, some will successfully find the stdlib under PREFIX and fail because they expect to never find it. PR incom

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-11-19 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +27880 pull_request: https://github.com/python/cpython/pull/29649 ___ Python tracker ___ _

[issue45811] Improve error message when source code contains invisible control characters

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45811] Improve error message when source code contains invisible control characters

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue45850] Port deep-freeze to Windows

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: gvanrossum priority: normal severity: normal status: open title: Port deep-freeze to Windows versions: Python 3.11 ___ Python tracker ___

[issue45850] Port deep-freeze to Windows

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- keywords: +patch pull_requests: +27881 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29648 ___ Python tracker ___

[issue45273] OS-specific frozen modules are built, even on other OSes.

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- keywords: +patch nosy: +gvanrossum nosy_count: 2.0 -> 3.0 pull_requests: +27883 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29648 ___ Python tracker

[issue45272] 'os.path' should not be a frozen module

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +27882 pull_request: https://github.com/python/cpython/pull/29648 ___ Python tracker ___

[issue44556] ctypes unittest crashes with libffi 3.4.2

2021-11-19 Thread Isuru Fernando
Isuru Fernando added the comment: Duplicate of https://bugs.python.org/issue45350 -- nosy: +isuruf ___ Python tracker ___ ___ Pytho

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-11-19 Thread Steve Dower
Steve Dower added the comment: New changeset 4c616911b69ce07fb35da1721506bfaba0998c30 by Steve Dower in branch 'main': bpo-45506: Fix test_embed expecting to not find stdlib in source tree build when stdlib has been installed. (GH-29649) https://github.com/python/cpython/commit/4c616911b69ce

[issue45273] OS-specific frozen modules are built, even on other OSes.

2021-11-19 Thread Guido van Rossum
Guido van Rossum added the comment: (Note, that PR doesn't actually fix this, its description just references this.) -- ___ Python tracker ___

[issue45273] OS-specific frozen modules are built, even on other OSes.

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: -27883 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue45273] OS-specific frozen modules are built, even on other OSes.

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- Removed message: https://bugs.python.org/msg406633 ___ Python tracker ___ ___ Python-bugs-list maili

[issue45272] 'os.path' should not be a frozen module

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: -27882 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue45272] 'os.path' should not be a frozen module

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +27884 pull_request: https://github.com/python/cpython/pull/29648 ___ Python tracker ___

[issue45273] OS-specific frozen modules are built, even on other OSes.

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +27887 pull_request: https://github.com/python/cpython/pull/29648 ___ Python tracker ___

[issue45272] 'os.path' should not be a frozen module

2021-11-19 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +27884, 27885, 27886 pull_request: https://github.com/python/cpython/pull/29648 ___ Python tracker ___ __

  1   2   >