[issue30718] [doc] open builtin function: specifying the size of buffer has no effect for text files

2022-04-05 Thread Stanley
Change by Stanley : -- keywords: +patch nosy: +slateny nosy_count: 4.0 -> 5.0 pull_requests: +30403 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32351 ___ Python tracker

[issue47121] math.isfinite() can raise exception when called on a number

2022-04-05 Thread Tim Peters
Tim Peters added the comment: I'll testify that I won't volunteer one second of my time pursuing these abstract "purity" crusades ;-) `isfinite()` et alia were added to supply functions defined by current standards to work on IEEE floating-point values. People working with floats have

[issue47121] math.isfinite() can raise exception when called on a number

2022-04-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: > isfinite() should return True for all ints, without needing > to coerce them to float Whoa there. You're venturing into changing what those math functions were all about and the core approach to how they operate. A zigzag to this new direction would

[issue47061] Deprecate modules listed in PEP 594

2022-04-05 Thread Brett Cannon
Change by Brett Cannon : -- pull_requests: +30402 pull_request: https://github.com/python/cpython/pull/32350 ___ Python tracker ___

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-04-05 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue47009] Streamline list.append for the common case

2022-04-05 Thread Dennis Sweeney
Dennis Sweeney added the comment: Buildbots are passing, so I'm closing this. Thanks for the catch and fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue17004] Expand zipimport to include other compression methods

2022-04-05 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47121] math.isfinite() can raise exception when called on a number

2022-04-05 Thread Steven D'Aprano
Steven D'Aprano added the comment: Isn't this just a quality of implementation issue? math.isfinite should return True for all ints, since all ints are finite. (There are no int infinities or NANs). There is no need to coerce them to float to know that they are finite. Likewise for

[issue46134] Confusing error message for AttributeError with dataclasses

2022-04-05 Thread Alex Waygood
Alex Waygood added the comment: Closing due to lack of response from OP. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27546] Integrate tkinter and asyncio (and async)

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted look_tk3, I believe, as an answer to an SO question. https://stackoverflow.com/questions/47895765/use-asyncio-and-tkinter-or-another-gui-lib-together-without-freezing-the-gui/47896365#47896365 -- ___

[issue47229] IDLE crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE / Thonny UI crashes on Chromebook Linux/Bullseye -> IDLE crashes on Chromebook Linux/Bullseye ___ Python tracker ___

[issue47229] IDLE / Thonny UI crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue tracker is for improving the CPython distribution. It is not a tracker for other software, or for general help with running Python. For the latter, try https://mail.python.org/mailman/listinfo/python-list Thonny is 3rd party software with its

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +30401 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/32348 ___ Python tracker

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: LOL... we didn't anticipate this happening when adding the commonly found typo detection feature. -- assignee: docs@python -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower
Steve Dower added the comment: New changeset a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb by Jeremy Kloth in branch '3.9': bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337) https://github.com/python/cpython/commit/a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb --

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower
Steve Dower added the comment: New changeset 8bce3cb16df5b8ac06ac6b2cae177dd221780b2f by Jeremy Kloth in branch '3.10': bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337) https://github.com/python/cpython/commit/8bce3cb16df5b8ac06ac6b2cae177dd221780b2f --

[issue47236] Document types.CodeType.replace() changes about co_exceptiontable

2022-04-05 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40222] "Zero cost" exception handling

2022-04-05 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-47236 "Document types.CodeType.replace() changes about co_exceptiontable". -- ___ Python tracker ___

[issue47185] code.replace(co_code=new_code) no longer catch exceptions on Python 3.11

2022-04-05 Thread STINNER Victor
STINNER Victor added the comment: Ok sure, I created bpo-47236 "Document types.CodeType.replace() changes about co_exceptiontable". -- ___ Python tracker ___

[issue47236] Document types.CodeType.replace() changes about co_exceptiontable

2022-04-05 Thread STINNER Victor
New submission from STINNER Victor : It would be nice to document the bpo-40222 changes in What's New in Python 3.11 and in the CodeType documentation: * https://docs.python.org/dev/library/types.html#types.CodeType * https://docs.python.org/dev/whatsnew/3.11.html Users of

[issue47205] posix.sched_{get|set}affinity(-1) no longer returns ProcessLookup causing test failures on FreeBSD

2022-04-05 Thread Kubilay Kocak
Change by Kubilay Kocak : -- title: test_sched_getaffinity and setaffinity fail on FreeBSD buildbit -> posix.sched_{get|set}affinity(-1) no longer returns ProcessLookup causing test failures on FreeBSD ___ Python tracker

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-05 Thread Kubilay Kocak
Kubilay Kocak added the comment: >From one of our base/kernel developers: -- > koobs wrote: > > I don't grok the system call semantics, but it appears the issue is calls > with the '-1' argument: > > mask =

[issue47185] code.replace(co_code=new_code) no longer catch exceptions on Python 3.11

2022-04-05 Thread Guido van Rossum
Guido van Rossum added the comment: If you think the changes to .replace() should be documented just open a new bpo. You made this issue about your various proposals to change .replace(). -- ___ Python tracker

[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)

2022-04-05 Thread Brandt Bucher
Brandt Bucher added the comment: Nice catch. The fix should be pretty simple: just move this line... https://github.com/python/cpython/blob/c1d93b6411f975d67e43942f1a2745a22983c18c/Lib/dis.py#L425 ...up to the top of the for loop. Are you interested in working on this? --

[issue47185] code.replace(co_code=new_code) no longer catch exceptions on Python 3.11

2022-04-05 Thread STINNER Victor
STINNER Victor added the comment: >>> def f(): ... foo() ... try: ... bar() ... except: ... pass ... >>> def g(): ... try: ... foo() ... bar() ... except: ... pass ... >>> dis.dis(f) 1 0 RESUME 0 2

[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)

2022-04-05 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-05 Thread Mariatta
New submission from Mariatta : In unittest.mock documentation, there is an example code which intentionally contains typo. Source: https://github.com/python/cpython/blame/main/Doc/library/unittest.mock.rst#L2553 We've received quite a number of false "bug report" regarding this text.

[issue47185] code.replace(co_code=new_code) no longer catch exceptions on Python 3.11

2022-04-05 Thread Guido van Rossum
Guido van Rossum added the comment: This idea just cannot work. Take these two functions: def f(): foo() try: bar() except: pass def g(): try: foo() bar() except: pass Using dis to look at their disassembly, the only hint that in

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Hood Chatham
Hood Chatham added the comment: Okay I got it working. I was making several mistakes that each caused the same symptoms so it was hard to track them all down. Thanks again for your help! -- status: open -> closed ___ Python tracker

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- pull_requests: +30400 pull_request: https://github.com/python/cpython/pull/32347 ___ Python tracker ___

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- pull_requests: +30399 pull_request: https://github.com/python/cpython/pull/32346 ___ Python tracker ___

[issue44090] Add class binding to unbound super objects for allowing autosuper with class methods

2022-04-05 Thread Guido van Rossum
Guido van Rossum added the comment: At this point I think it's worth filing a new bug proposing to deprecate 1-arg super(), pointing out the broken usages that search found. -- ___ Python tracker

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-04-05 Thread STINNER Victor
STINNER Victor added the comment: Thanks Hugo for the your contribution. I close the issue. > Searching the top 5,000 PyPI sdists, there's very little (if any "real") use > of LegacyInterpolation. Details: https://bugs.python.org/issue45173#msg409685 You can offer them a PR to avoid the

[issue47231] TarFile.getmember cannot work on tar sourced directory over 100 characters

2022-04-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: You are building a cross-build with "--with-build-python=/usr/local/bin/python3.11". Is the interpreter up to date? During alpha and beta phase, the build Python interpreter should be built from the exact same git commit as the sources in "../..". If the

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Hood Chatham
Hood Chatham added the comment: There is still a pretty good change I am making some dumb mistake. -- ___ Python tracker ___ ___

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Hood Chatham
Hood Chatham added the comment: config.log is apparently 1.7 MB and when I try to upload I get "Error 413: Entity Too Large". I've attached the Makefile. -- Added file: https://bugs.python.org/file50723/Makefile ___ Python tracker

[issue47234] PEP-484 "numeric tower" approach makes it hard/impossible to specify contracts in documentation

2022-04-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a partial duplicate of an issue you already filed: https://bugs.python.org/issue47121 where math.isfinite(10**1000) raises an OverflowError even though it type checks. Here was one of the comments: """ Types relationships are useful for verifying

[issue47222] subprocess.Popen() should allow capturing output and sending it to stdout and stderr

2022-04-05 Thread Philip Prindeville
Change by Philip Prindeville : -- keywords: +patch pull_requests: +30398 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32344 ___ Python tracker

[issue46850] [C API] Move _PyEval_EvalFrameDefault() to the internal C API

2022-04-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +30397 pull_request: https://github.com/python/cpython/pull/32343 ___ Python tracker ___

[issue47234] PEP-484 "numeric tower" approach makes it hard/impossible to specify contracts in documentation

2022-04-05 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for your report, but I would appreciate a more concise explanation. Let me try to rephrase the problem. Given this function: def mean(x: list[float]) -> float: return sum(x) / len(x) We want to provide a guarantee that if x is a nonempty list

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: Please attach config.log and Makefile from the builddir. -- ___ Python tracker ___ ___

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Hood Chatham
Hood Chatham added the comment: I take it back, I am still having this problem. -- status: closed -> open ___ Python tracker ___

[issue47234] PEP-484 "numeric tower" approach makes it hard/impossible to specify contracts in documentation

2022-04-05 Thread Thomas Fischbacher
New submission from Thomas Fischbacher : Here is a major general problem with python-static-typing as it is described by PEP-484: The approach described in https://peps.python.org/pep-0484/#the-numeric-tower negatively impacts our ability to reason about the behavior of code with stringency. I

[issue47006] PEP 646: Decide on substitution behavior

2022-04-05 Thread Matthew Rahtz
Matthew Rahtz added the comment: Ok, https://github.com/python/cpython/pull/32341/files is a reference of how the current implementation behaves. Fwiw, it *is* mostly correct - with a few minor tweaks it might be alright for at least the 3.11 release. In particular, instead of dealing with

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Hood Chatham
Hood Chatham added the comment: Okay I found the problem. Elsewhere in my Makefiles `PYTHON_FOR_BUILD` was getting overwritten. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue47006] PEP 646: Decide on substitution behavior

2022-04-05 Thread Matthew Rahtz
Change by Matthew Rahtz : -- keywords: +patch pull_requests: +30396 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32341 ___ Python tracker ___

[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-05 Thread Matthew
Matthew added the comment: > Probably there was also shadowing involved, since the built-in module doesn't > try to load anything else. Would be nice to know for sure (@Matthew) to make > sure we don't have some other issue here, but you're right, I don't see any > way for this to happen

[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)

2022-04-05 Thread 15r10nk
New submission from 15r10nk <15r10nk-python-iss...@polarbit.de>: The Instructions reported by dis.get_instructions(...) and dis.Bytecode(...) have different positions depending on the value of their show_caches argument. test2.py reproduces the problem. -- files: test2.py messages:

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems so, as the zlib update was also backported to 3.9 and 3.10. -- ___ Python tracker ___ ___

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47139] pthread_sigmask needs SIG_BLOCK behaviour explaination

2022-04-05 Thread Richard Purdie
Richard Purdie added the comment: I think the python code implementing pthread_sigmask already does trigger interrupts if any have been queued before the function returns from blocking or unblocking. The key subtlety which I initially missed is that if you have another thread in your

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Hood Chatham
New submission from Hood Chatham : I am trying to build tot Python for Emscripten to test recent changes and having trouble. The problem is caused by recent changes since 3.11.0a6 to `sre`. I build a build Python 3.11 from tot, and provided it to `./configure

[issue28540] math.degrees(sys.float_info.max) should throw an OverflowError exception

2022-04-05 Thread Mark Dickinson
Mark Dickinson added the comment: FWIW, I do consider this a bug, albeit a minor one. I may find time to fix it at some point (but it's fine to leave it closed until that time comes). -- ___ Python tracker

[issue47184] multiprocessing.set_start_method force argument is not documented

2022-04-05 Thread Sam Ezeh
Sam Ezeh added the comment: It's quite weird, the documentation says set_start_method "should not be used more than once in the program" twice. The source code also contains the following line ``` # Type of default context -- underlying context can be set at most once ``` I'm not too

[issue47184] multiprocessing.set_start_method force argument is not documented

2022-04-05 Thread Sam Ezeh
Change by Sam Ezeh : -- keywords: +patch nosy: +sam_ezeh nosy_count: 2.0 -> 3.0 pull_requests: +30395 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32339 ___ Python tracker

[issue47061] Deprecate modules listed in PEP 594

2022-04-05 Thread Brett Cannon
Brett Cannon added the comment: New changeset c1d93b6411f975d67e43942f1a2745a22983c18c by Brett Cannon in branch 'main': bpo-47061: deprecate the `aifc` module (GH-32134) https://github.com/python/cpython/commit/c1d93b6411f975d67e43942f1a2745a22983c18c --

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower
Steve Dower added the comment: Do we need to backport this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower
Steve Dower added the comment: New changeset 944f09adfcc59f54432ac2947cf95f3465d90e1e by Jeremy Kloth in branch 'main': bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337) https://github.com/python/cpython/commit/944f09adfcc59f54432ac2947cf95f3465d90e1e --

[issue47027] subprocess.run(), subprocess.Popen() should accept file descriptor as cwd parameter

2022-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: this mostly requires plumbing to accept an int as the cwd and plumb that through to the between fork and exec code to call `fchdir(cwd_fd)` on the `int` instead of chdir(cwd) on the `char*`. the Modules/_posixsubprocess.c internals are a bit of a mess

[issue4833] Explicit directories for zipfiles

2022-04-05 Thread Ethan Furman
Ethan Furman added the comment: New changeset 050a8f94c678a05d506fe192c863c4a572178c42 by Sam Ezeh in branch 'main': bpo-4833: Add ZipFile.mkdir (GH-32160) https://github.com/python/cpython/commit/050a8f94c678a05d506fe192c863c4a572178c42 -- ___

[issue28540] math.degrees(sys.float_info.max) should throw an OverflowError exception

2022-04-05 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28540] math.degrees(sys.float_info.max) should throw an OverflowError exception

2022-04-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: One other thought. The mental model for degrees() is just a simple scaling operation. If done in pure Python, we would get *inf* rather than an OverflowError. I don't see any value in breaking with the obvious substitution: >>> sys.float_info.max

[issue28540] math.degrees(sys.float_info.max) should throw an OverflowError exception

2022-04-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm not interested in having this move forward. AFAICT it doesn't solve any known user problems (no one has cared about this before or since this issue was opened). It slightly slows the code. And it might break some existing code that wasn't

[issue46576] test_peg_generator is extremely slow

2022-04-05 Thread Jeremy Kloth
Jeremy Kloth added the comment: My PR-32338 further reduces the runtime of the test another ~25%. On my machine, before 85s, after 65s. -- ___ Python tracker ___

[issue46576] test_peg_generator is extremely slow

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth nosy_count: 3.0 -> 4.0 pull_requests: +30394 pull_request: https://github.com/python/cpython/pull/32338 ___ Python tracker ___

[issue47231] TarFile.getmember cannot work on tar sourced directory over 100 characters

2022-04-05 Thread Ethan Furman
Ethan Furman added the comment: Nosied others from issue21987. -- nosy: +andrei.avk, ethan.furman, r.david.murray, vstinner ___ Python tracker ___

[issue47006] PEP 646: Decide on substitution behavior

2022-04-05 Thread Matthew Rahtz
Matthew Rahtz added the comment: [Guido] > 1. Some edge case seems to be that if *tuple[...] is involved on either side > we will never simplify. Alright, let me think this through with some examples to get my head round it. It would prohibit the following difficult case: class

[issue28540] math.degrees(sys.float_info.max) should throw an OverflowError exception

2022-04-05 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy -patch type: -> enhancement versions: +Python 3.11 ___ Python tracker ___ ___

[issue47139] pthread_sigmask needs SIG_BLOCK behaviour explaination

2022-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: The "trick" wouldn't be too useful though as this API can't block and the signal flag needs to be processed on the main thread. So I guess documentation it is. The way I think of this is that the signal.pthread_sigmask API is pretty low level. After that

[issue47231] TarFile.getmember cannot work on tar sourced directory over 100 characters

2022-04-05 Thread Chris Fernald
New submission from Chris Fernald : A fix was made to unify handling of the trailing slash in TarFile.getmember related to https://bugs.python.org/issue21987. This change fixed the <100 character case, but made it so directories over 100 character which come from a tar file can no longer be

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- keywords: +patch pull_requests: +30393 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32337 ___ Python tracker ___

[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Jeremy Kloth
New submission from Jeremy Kloth : The latest zlib (1.2.12) introduces 3 new compiler warnings. Now being an external library, I do not think we generally patch them, so I propose to simply silence the warnings for the offending file. For reference, the problem comes from: ---

[issue45354] test_winconsoleio fails on Windows 11

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47131] Speedup test_unparse

2022-04-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue47131] Speedup test_unparse

2022-04-05 Thread Jeremy Kloth
Jeremy Kloth added the comment: Resolved with merged PR. -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list

[issue47229] IDLE / Thonny UI crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Doug Bates
New submission from Doug Bates : Having installed IDLE on Chromebbok/Linux Bullseye, on startup the UI crashes as soon as a menu item is selected. Also when trying to use Thonny. Other packages seem OK. Used to work fine under Buster, but not since fresh install to Bullseye. Apologies from

[issue47136] The variable __module__ in the class body getting an undesirable value from __prepare__ of the metaclass

2022-04-05 Thread Ethan Furman
Ethan Furman added the comment: You are using the same generic example -- it does show the issue you are concerned with, but offers no rational for why we should "fix" it -- in other words, we cannot tell if it's actually broken. Please provide an example of code you are actually using -- a

[issue17004] Expand zipimport to include other compression methods

2022-04-05 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue47027] subprocess.run(), subprocess.Popen() should accept file descriptor as cwd parameter

2022-04-05 Thread Yann Droneaud
Yann Droneaud added the comment: I looked at posixmodule: os.chdir() accepts a file descriptor. Maybe it can be possible to invoke it from _posixsubprocess.c instead of calling chdir(). -- ___ Python tracker

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread miss-islington
miss-islington added the comment: New changeset 94609e3192f15636c760a48c4c1c2c236fac3217 by Matthieu Dartiailh in branch '3.10': [3.10] Backport bpo-47212 (GH-32302) to Python 3.10 (GH-32334) https://github.com/python/cpython/commit/94609e3192f15636c760a48c4c1c2c236fac3217 -- nosy:

[issue47009] Streamline list.append for the common case

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset 9e88b572fb904b172f9e344069fb7118f1cee517 by Christian Heimes in branch 'main': bpo-47009: Fix assert on big endian (GH-32332) https://github.com/python/cpython/commit/9e88b572fb904b172f9e344069fb7118f1cee517 --

[issue42012] typing support in wsgiref

2022-04-05 Thread Sebastian Rittau
Change by Sebastian Rittau : -- keywords: +patch pull_requests: +30392 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32335 ___ Python tracker

[issue46607] Add DeprecationWarning to configparser's LegacyInterpolation

2022-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 75280944e5ca957eec7f814b9d0608fc84fc5811 by Hugo van Kemenade in branch 'main': bpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in docs since 3.2 (GH-30927)

[issue42012] typing support in wsgiref

2022-04-05 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread Matthieu Dartiailh
Change by Matthieu Dartiailh : -- pull_requests: +30391 pull_request: https://github.com/python/cpython/pull/32334 ___ Python tracker ___

[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-05 Thread Steve Dower
Steve Dower added the comment: > There is something fundamentally wrong with the way modules built into the > interpreter DLL (python3x.dll) are loaded if anything in sys.path or the > system PATH can cause an import to fail. Probably there was also shadowing involved, since the built-in

[issue47226] Unexpected indent message

2022-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware ___ Python tracker ___ ___

[issue47226] Unexpected indent message

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: " keys = pygame.key.get_pressed() is showing error called unexpected indent" The problem is that the keys line in indented one less space than the line above. A shorter example below. if True: a = 1 b = 2 SyntaxError: unindent does not match any

[issue47226] if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error called unexpected indent

2022-04-05 Thread Kaushal Sai v
Change by Kaushal Sai v : -- components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47088] Implement PEP 675 (LiteralString)

2022-04-05 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47088] Implement PEP 675 (LiteralString)

2022-04-05 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset cfb849a326e52a4edc577112ebf60e1d9d0d7fdb by Jelle Zijlstra in branch 'main': bpo-47088: Add typing.LiteralString (PEP 675) (GH-32064) https://github.com/python/cpython/commit/cfb849a326e52a4edc577112ebf60e1d9d0d7fdb --

[issue47226] if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error called unexpected indent

2022-04-05 Thread Kaushal Sai v
Change by Kaushal Sai v : -- status: pending -> open Added file: https://bugs.python.org/file50719/python problem.PNG ___ Python tracker ___

[issue41930] Wrap sqlite3_serialize API in sqlite3 module

2022-04-05 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks, this will be in Python 3.11. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41930] Wrap sqlite3_serialize API in sqlite3 module

2022-04-05 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset a7551247e7cb7010fb4735281f1afa4abeb8a9cc by Erlend Egeberg Aasland in branch 'main': bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728) https://github.com/python/cpython/commit/a7551247e7cb7010fb4735281f1afa4abeb8a9cc

[issue47226] if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error called unexpected indent

2022-04-05 Thread Kaushal Sai v
Change by Kaushal Sai v : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47226] if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error called unexpected indent

2022-04-05 Thread Kaushal Sai v
Kaushal Sai v added the comment: the error mesessage is tha unexpected incident -- components: +Windows -IDLE nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue47226] if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error called unexpected indent

2022-04-05 Thread Kaushal Sai v
Change by Kaushal Sai v : -- title: if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error -> if we write a line of code like i wrote keys = pygame.key.get_pressed() is showing error called unexpected indent ___

  1   2   >