[issue46820] SyntaxError on `1not in...`

2022-02-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +29688 pull_request: https://github.com/python/cpython/pull/31566 ___ Python tracker ___ __

[issue46820] SyntaxError on `1not in...`

2022-02-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 98c3bea4d1c7335135e60946d0ec8cd5031fb6c0 by Serhiy Storchaka in branch 'main': bpo-46820: Refactor tests for ambiguous end of numerical literal (GH-31494) https://github.com/python/cpython/commit/98c3bea4d1c7335135e60946d0ec8cd5031fb6c0

[issue46748] Python.h includes stdbool.h

2022-02-25 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 2c228a7b8f89e9ed8d390370abd771d4993b79d8 by Petr Viktorin in branch 'main': bpo-46748: Don't import in public headers (GH-31553) https://github.com/python/cpython/commit/2c228a7b8f89e9ed8d390370abd771d4993b79d8 --

[issue46820] SyntaxError on `1not in...`

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset c7a0fd2d3fa178c83c269f2b39ebf64a0c5babcd by Miss Islington (bot) in branch '3.10': bpo-46820: Refactor tests for ambiguous end of numerical literal (GH-31494) https://github.com/python/cpython/commit/c7a0fd2d3fa178c83c269f2b39ebf64a0c5babcd --

[issue46389] 3.11: unused generator comprehensions cause f_lineno==None

2022-02-25 Thread Stefan Behnel
Stefan Behnel added the comment: Possibly also related, so I though I'd mention it here (sorry if this is hijacking the ticket, seems difficult to tell). We're also seeing None values in f_lineno in Cython's test suite with 3.11a5: File "", line 1, in run_trace(py_add, 1, 2)

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2022-02-25 Thread Éric Araujo
Éric Araujo added the comment: I believe the PR is in good shape. Can someone with expertise in tempfile review it? It would also be useful if the people who had a bug could test the new code. -- nosy: +eric.araujo, giampaolo.rodola versions: +Python 3.11 -Python 3.8 _

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2022-02-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +29689 pull_request: https://github.com/python/cpython/pull/31567 ___ Python tracker _

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2022-02-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +29690 pull_request: https://github.com/python/cpython/pull/31568 ___ Python tracker ___ __

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2022-02-25 Thread Irit Katriel
Irit Katriel added the comment: New changeset 53ecf9e08d35801807daf74492c090a325f995b7 by slateny in branch 'main': bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) https://github.com/python/cpython/commit/53ecf9e08d35801807daf74492c090a325f995b7 -

[issue46672] NameError in asyncio.gather when passing a invalid type as an arg with multiple awaitables

2022-02-25 Thread Norman Fung
Norman Fung added the comment: hi there, on this issue : https://bugs.python.org/issue46672 I encountered this problem on a) Python 3.8.5 b) asyncio 3.4.3 This fix https://github.com/python/cpython/commit/f1916cde24053f4c8b6799730666d19474f8dd09 is only available python 3.9 or above? Thank

[issue39529] Deprecate get_event_loop()

2022-02-25 Thread John Mellor
Change by John Mellor : -- nosy: +johnmellor ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue46606] Large C stack usage of os.getgroups() and os.setgroups()

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29691 pull_request: https://github.com/python/cpython/pull/31569 ___ Python tracker ___ __

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it is the same. I should search before writing a patch. But for some reasons I prefer my solution over the one proposed in issue42766: The code is clearer and more strict, tests use public API instead of a private method. --

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset 632a8121d4d577541c3fddffc986bcb8d8d545b6 by Miss Islington (bot) in branch '3.10': bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) https://github.com/python/cpython/commit/632a8121d4d577541c3fddffc986bcb8d8d54

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e2e72567a1c94c548868f6ee5329363e6036057a by Serhiy Storchaka in branch 'main': bpo-46756: Fix authorization check in urllib.request (GH-31353) https://github.com/python/cpython/commit/e2e72567a1c94c548868f6ee5329363e6036057a --

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +29694 pull_request: https://github.com/python/cpython/pull/31572 ___ Python tracker ___ __

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +29692 pull_request: https://github.com/python/cpython/pull/31570 ___ Python tracker _

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +29693 pull_request: https://github.com/python/cpython/pull/31571 ___ Python tracker ___ __

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +29695 pull_request: https://github.com/python/cpython/pull/31573 ___ Python tracker ___ __

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +lukasz.langa, ned.deily, pablogsal priority: high -> release blocker ___ Python tracker ___ _

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4657bf701670215ce69b89401b2307022a3b0a7d by Victor Stinner in branch 'main': bpo-1635741: Fix winreg reference leaks (GH-31560) https://github.com/python/cpython/commit/4657bf701670215ce69b89401b2307022a3b0a7d -- _

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset b7f6e8e13574aaa69d132ea67d7a515bf257a0cb by Miss Islington (bot) in branch '3.9': bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) https://github.com/python/cpython/commit/b7f6e8e13574aaa69d132ea67d7a515bf257a0

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

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

[issue46836] [C API] Move PyFrameObject to the internal C API

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 18b5dd68c6b616257ae243c0b6bb965ffc885a23 by Victor Stinner in branch 'main': bpo-46836: Move PyFrameObject to pycore_frame.h (GH-31530) https://github.com/python/cpython/commit/18b5dd68c6b616257ae243c0b6bb965ffc885a23 -- _

[issue46567] Add Tcl/Tk builds for ARM64

2022-02-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I don't mind waiting a couple of days. We have also at least one release blocker as well, so is not even sure that we will be ready in time :S -- ___ Python tracker

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset 4560c7e605887fda3af63f8ce157abf94954d4d2 by Miss Islington (bot) in branch '3.9': bpo-46756: Fix authorization check in urllib.request (GH-31353) https://github.com/python/cpython/commit/4560c7e605887fda3af63f8ce157abf94954d4d2 -- ___

[issue46389] 3.11: unused generator comprehensions cause f_lineno==None

2022-02-25 Thread Mark Shannon
Mark Shannon added the comment: Stefan, f_lineno can be None for some opcodes, but there shouldn't be trace events if it is. E.g. >>> def f(): ... try: ... 1/0 ... finally: ... pass ... >>> list(f.__code__.co_lines()) [(0, 2, 1), (2, 4, 2), (4, 12, 3), (12, 16, 5),

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset 2b7e04d61274af03426975fe824ed83eca35b035 by Miss Islington (bot) in branch '3.10': bpo-46756: Fix authorization check in urllib.request (GH-31353) https://github.com/python/cpython/commit/2b7e04d61274af03426975fe824ed83eca35b035 -- __

[issue42766] urllib.request.HTTPPasswordMgr uses commonprefix instead of commonpath

2022-02-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry I did not notice this issue. It is now solved in issue46756. In any case thank you for the report and the PR. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Incorrect

[issue46841] Inline bytecode caches

2022-02-25 Thread Mark Shannon
Mark Shannon added the comment: New changeset 0f41aac109c45aa468c432f798947c54d4178b3d by Brandt Bucher in branch 'main': bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) https://github.com/python/cpython/commit/0f41aac109c45aa468c432f798947c54d4178b3d --

[issue46841] Inline bytecode caches

2022-02-25 Thread Mark Shannon
Mark Shannon added the comment: Making this a release blocker, as we really cannot leave this half finished for the release. Shouldn't be a problem, as we'll have it done in a week or so. -- ___ Python tracker

[issue46841] Inline bytecode caches

2022-02-25 Thread Mark Shannon
Change by Mark Shannon : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue46808] remove NEXT_BLOCK() from compile.c

2022-02-25 Thread Mark Shannon
Mark Shannon added the comment: New changeset c579243eb62d3182c84004cd72dcf6ef59100643 by Irit Katriel in branch 'main': bpo-46808: remove NEXT_BLOCK() from compile.c (GH-31448) https://github.com/python/cpython/commit/c579243eb62d3182c84004cd72dcf6ef59100643 -- nosy: +Mark.Shannon

[issue46836] [C API] Move PyFrameObject to the internal C API

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: I announced the change on the capi-sig mailing list: https://mail.python.org/archives/list/capi-...@python.org/thread/RCT4SB5LY5UPRRRALEOHWEQHIXFNTHYF/ -- ___ Python tracker ___

[issue46666] IDLE Add indent guide

2022-02-25 Thread Aivar Annamaa
Aivar Annamaa added the comment: The guides could be implemented by tagging the indentation characters in the Text widget with tags configured with suitable bgstipple (https://www.tcl.tk/man/tcl/TkCmd/text.html#M45) bitmaps. I had some success with this in Thonny IDE, but abandoned the plan

[issue46567] Add Tcl/Tk builds for ARM64

2022-02-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +29696 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31574 ___ Python tracker _

[issue46820] SyntaxError on `1not in...`

2022-02-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 ___ Python tracker ___ _

[issue46841] Inline bytecode caches

2022-02-25 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +29697 pull_request: https://github.com/python/cpython/pull/31575 ___ Python tracker ___

[issue46567] Add Tcl/Tk builds for ARM64

2022-02-25 Thread Steve Dower
Steve Dower added the comment: This is blocked on the IDLE issue in https://github.com/python/cpython/runs/5334087871?check_suite_focus=true == ERROR: test_mousewheel (idlelib.idle_test.test_sidebar.ShellSidebarTest)

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2022-02-25 Thread 钟旭尧
钟旭尧 added the comment: I have an idea to solve it. But I don't know how to get the clipboard data. The code like this (Windows): def win_getpass(prompt='Password: ', stream=None, echoChar='*'): """Prompt for password with echo off, using Windows getwch().""" if not isinstance(echoChar,

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +29698 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31576 ___ Python tracker ___ _

[issue46567] Add Tcl/Tk builds for ARM64

2022-02-25 Thread Steve Dower
Steve Dower added the comment: Despite the IDLE issue, I made a test release. Again, I don't have time to dig into it before Monday, but if anyone does and would like to help out, here are the installer files (for all platforms): https://artprodcus3.artifacts.visualstudio.com/Ac0fc90aa-a903-

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29699 pull_request: https://github.com/python/cpython/pull/31577 ___ Python tracker ___ __

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29700 pull_request: https://github.com/python/cpython/pull/31578 ___ Python tracker ___ __

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29701 pull_request: https://github.com/python/cpython/pull/31578 ___ Python tracker ___ __

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4a0c7a1aacd08cead7717479620e62359c828e88 by Victor Stinner in branch 'main': bpo-45316: Move private PyCode C API to internal C API (GH-31576) https://github.com/python/cpython/commit/4a0c7a1aacd08cead7717479620e62359c828e88 -- __

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8ddbdd9e96e64b42c87dcfe4e38383cf0694988a by Victor Stinner in branch 'main': bpo-45316: Move private PyDict functions to internal C API (GH-31577) https://github.com/python/cpython/commit/8ddbdd9e96e64b42c87dcfe4e38383cf0694988a -- __

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29702 pull_request: https://github.com/python/cpython/pull/31579 ___ Python tracker ___ __

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0848da19ce8ea037ab1cfc569778e94bf8e3b24a by Victor Stinner in branch '3.10': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31578) https://github.com/python/cpython/commit/0848da19ce8ea037ab1cfc569778e94bf8e3b2

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0848da19ce8ea037ab1cfc569778e94bf8e3b24a by Victor Stinner in branch '3.10': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31578) https://github.com/python/cpython/commit/0848da19ce8ea037ab1cfc569778e94bf8e3b2

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29703 pull_request: https://github.com/python/cpython/pull/31580 ___ Python tracker ___ __

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29705 pull_request: https://github.com/python/cpython/pull/31581 ___ Python tracker ___ __

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29704 pull_request: https://github.com/python/cpython/pull/31581 ___ Python tracker ___ __

[issue46836] [C API] Move PyFrameObject to the internal C API

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29706 pull_request: https://github.com/python/cpython/pull/31583 ___ Python tracker ___ __

[issue46356] [C API] Enforce usage of PyFrame_GetBack()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: This issue has been fixed by bpo-46836: New changeset 18b5dd68c6b616257ae243c0b6bb965ffc885a23 by Victor Stinner in branch 'main': bpo-46836: Move PyFrameObject to pycore_frame.h (GH-31530) -- resolution: -> fixed stage: -> resolved status: open ->

[issue45431] [C API] Rename CFrame or hide it to only export names starting with Py

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +29707 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31584 ___ Python tracker ___ _

[issue45431] [C API] Rename CFrame or hide it to only export names starting with Py

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: > We should either make the whole PyThreadState structure private (move it to > the internal C API), or rename CFrame (to PyCFrame?). Well, moving PyThreadState to the internal C API is complicate. I prefer to start by renaming CFrame to PyCFrame: see GH-315

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8f2a337a80a283c66e1a4252839792fa229d2763 by Victor Stinner in branch 'main': bpo-45316: Move private functions to internal C API (GH-31579) https://github.com/python/cpython/commit/8f2a337a80a283c66e1a4252839792fa229d2763 -- _

[issue46640] Python can now use the C99 NAN constant or __builtin_nan()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: PEP 7 has been updated, I close the issue. -- status: open -> closed ___ Python tracker ___ ___ P

[issue46663] test_math test_cmath test_complex fails on Fedora Rawhide buildbots

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: Rawhide buildbots are back to green: GCC has been fixed, I close the issue. Moreover, Python 3.11 now uses NAN constant or __builtin_nan(""). -- resolution: -> fixed stage: -> resolved status: open -> closed ___

[issue46432] AMD64 FreeBSD Shared 3.x buildbot fails to build: error: error reading 'LASTCFLAGS'

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: AMD64 FreeBSD Shared 3.x is back to green, I close the issue. > Please leave this issue open Sorry but I prefer to use the Python bug tracker for things which must change in Python. -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset a549cd1fc55888e2e287714b25e2cb2251913909 by Victor Stinner in branch '3.9': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31581) https://github.com/python/cpython/commit/a549cd1fc55888e2e287714b25e2cb225191390

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset a549cd1fc55888e2e287714b25e2cb2251913909 by Victor Stinner in branch '3.9': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31581) https://github.com/python/cpython/commit/a549cd1fc55888e2e287714b25e2cb225191390

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29708 pull_request: https://github.com/python/cpython/pull/31585 ___ Python tracker ___ __

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset f780d9690f1a009a56ac0c653ec9608e6b2aeff4 by Victor Stinner in branch 'main': bpo-45316: Move _PyArg_Fini() to internal C API (GH-31580) https://github.com/python/cpython/commit/f780d9690f1a009a56ac0c653ec9608e6b2aeff4 -- _

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: Update: only two remaining functions are not exported by the public C API: int PySignal_SetWakeupFd(int fd); int _Py_CheckPython3(void); -- ___ Python tracker _

[issue46836] [C API] Move PyFrameObject to the internal C API

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 87af12bff33b3e7546fa26158b7d8680ecb6ecec by Victor Stinner in branch 'main': bpo-46836: Rename InterpreterFrame to _PyInterpreterFrame (GH-31583) https://github.com/python/cpython/commit/87af12bff33b3e7546fa26158b7d8680ecb6ecec -- ___

[issue46752] Introduce task groups to asyncio and change task cancellation semantics

2022-02-25 Thread Yves Duprat
Change by Yves Duprat : -- nosy: +yduprat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2022-02-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +29709 pull_request: https://github.com/python/cpython/pull/31586 ___ Python tracker ___ ___

[issue46855] printing a string with strange characters loops forever

2022-02-25 Thread svilen dobrev
New submission from svilen dobrev : $ python Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> a= "Betrag gr\xc3\xb6\xc3\x9fer als Betrag der Original-Transaktion" >>> a 'Betrag gröÃ\x9fer als Betrag der O

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread Mark Dickinson
Mark Dickinson added the comment: I'd be happy to see `float.__setformat__` go, if it's not still needed for Python's test suite (which was its entire raison d'être). If no-one noticed the accidental misnaming, then it's pretty clear no-one's been using it. I'd like to bet that there are at l

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2022-02-25 Thread Eryk Sun
Eryk Sun added the comment: > Clicking `Edit > Paste` from the window menu > Use right-click to paste In particular, if the console has quick-edit mode enabled, then you can paste text by right-clicking. Also, if text is selected in quick-edit mode, right-clicking copies to the clipboard. >

[issue46856] datetime.max conversion

2022-02-25 Thread Joris Geysens
New submission from Joris Geysens : Reading the documentation, I don't understand how this is not possible : # get the max utc timestamp ts = datetime.max.replace(tzinfo=timezone.utc).timestamp() # similarly ts2 = datetime(, 12, 31, 23, 59, 59, 99, tzinfo=timezone.utc).timestamp()

[issue46843] PersistentTaskGroup API

2022-02-25 Thread Guido van Rossum
Guido van Rossum added the comment: The implementation of asyncio.TaskGroup isn't all that complicated (and the new "cancel count" API helps). I recommend that you build one that satisfies your requirements yourself, or convince the authors of some other package like Quattro or aiotools to p

[issue46843] PersistentTaskGroup API

2022-02-25 Thread Guido van Rossum
Guido van Rossum added the comment: (FWIW I would close this issue but I'll wait to see if @asvetlov has something to add.) -- ___ Python tracker ___

[issue46844] Implicit binding of PersistentTaskGroup (or virtual event loops)

2022-02-25 Thread Guido van Rossum
Guido van Rossum added the comment: Let's concentrate the discussion in the other issue. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

2022-02-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +29710 pull_request: https://github.com/python/cpython/pull/31587 ___ Python tracker _

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

2022-02-25 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset dd69f734218ac5d3a551227069ac53ee09b0cd3e by Kumar Aditya in branch 'main': bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231) https://github.com/python/cpython/commit/dd69f734218ac5d3a551227069ac53ee09b0cd3e --

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

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

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

2022-02-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +29711 pull_request: https://github.com/python/cpython/pull/31588 ___ Python tracker ___ __

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: Mark Dickinson: > I'd be happy to see `float.__setformat__` go, if it's not still needed for > Python's test suite (which was its entire raison d'être). If no-one noticed > the accidental misnaming, then it's pretty clear no-one's been using it. Nobody notice

[issue45316] [C API] Functions not exported with PyAPI_FUNC()

2022-02-25 Thread Eric Snow
Eric Snow added the comment: Thanks for working on this, Victor. -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list ma

[issue46857] Python leaks one reference at exit on Windows

2022-02-25 Thread STINNER Victor
New submission from STINNER Victor : "./python -X showrefcount -I -c pass" returns "[0 refs, 0 blocks]" as expected on Linux: Python doesn't leak any reference nor memory block. But on Windows, it still leaks 1 reference (and 1 memory block)! vstinner@DESKTOP-DK7VBIL C:\vstinner\python\main>p

[issue46857] Python leaks one reference at exit on Windows

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +29712 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31589 ___ Python tracker ___ _

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset 1f956d11dbd952fed9b214a0c6e5fd9f91a1f4ca by Miss Islington (bot) in branch '3.10': bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231) https://github.com/python/cpython/commit/1f956d11dbd952fed9b214a0c6e5fd9f91a1f4ca ---

[issue26897] [doc] Clarify Popen stdin, stdout, stderr

2022-02-25 Thread miss-islington
miss-islington added the comment: New changeset de2c91a89aa0e89d5d01d71697d0f27a9f60c11d by Miss Islington (bot) in branch '3.9': bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231) https://github.com/python/cpython/commit/de2c91a89aa0e89d5d01d71697d0f27a9f60c11d

[issue46856] datetime.max conversion

2022-02-25 Thread Eric V. Smith
Eric V. Smith added the comment: Please show us how they fail. -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mai

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2022-02-25 Thread Eryk Sun
Eryk Sun added the comment: > I have an idea to solve it. But I don't know how to get the > clipboard data. In Windows, using the window manager entails extending the process and the current thread with GUI-related structures in the kernel and then connecting the process to a window station

[issue46857] Python leaks one reference at exit on Windows

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea9612a17bc60d44e0058f525d3c02a91c439cef by Victor Stinner in branch 'main': bpo-46857: Fix test_embed.test_no_memleak() on Windows (GH-31589) https://github.com/python/cpython/commit/ea9612a17bc60d44e0058f525d3c02a91c439cef -- __

[issue46843] PersistentTaskGroup API

2022-02-25 Thread Tin Tvrtković
Tin Tvrtković added the comment: The asyncio TaskGroup already uses a WeakSet for its children, so it's suitable for long-lived use. As for errors in siblings aborting the TaskGroup, could you apply a wrapper to the scheduled coroutines to swallow and log any errors yourself? Apart from the

[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread Ned Deily
Ned Deily added the comment: New changeset 31fef7edf951fb759004c58ae64df18bc32ea376 by Miss Islington (bot) in branch '3.7': bpo-46756: Fix authorization check in urllib.request (GH-31353) (GH-31573) https://github.com/python/cpython/commit/31fef7edf951fb759004c58ae64df18bc32ea376 -

[issue46712] Share global string identifiers in deepfreeze

2022-02-25 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset eb002dbe0da9622245a355db5f0cd5aa2fc70b40 by Kumar Aditya in branch 'main': bpo-46712: Share global string identifiers in deepfreeze (GH-31261) https://github.com/python/cpython/commit/eb002dbe0da9622245a355db5f0cd5aa2fc70b40 --

[issue46712] Share global string identifiers in deepfreeze

2022-02-25 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> resource usage ___ Python tracker ___ ___

[issue46843] PersistentTaskGroup API

2022-02-25 Thread Joongi Kim
Joongi Kim added the comment: Good to hear that TaskGroup already uses WeakSet. When all tasks finish, PersistentTaskGroup should not finish and wait for future tasks, unless explicitly cancelled or shutdown. Could this be also configured with asyncio.TaskGroup? I'm also ok with adding a s

[issue46843] PersistentTaskGroup API

2022-02-25 Thread Joongi Kim
Joongi Kim added the comment: > As for errors in siblings aborting the TaskGroup, could you apply a wrapper > to the scheduled coroutines to swallow and log any errors yourself? Yes, this could be a simplest way to implement PersistentTaskGroup if TaskGroup supports "persistent" option to ke

[issue45431] [C API] Rename CFrame or hide it to only export names starting with Py

2022-02-25 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue46808] remove NEXT_BLOCK() from compile.c

2022-02-25 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

2022-02-25 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue46836] [C API] Move PyFrameObject to the internal C API

2022-02-25 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue46855] printing a string with strange characters loops forever

2022-02-25 Thread Eryk Sun
Eryk Sun added the comment: The ordinal range 0x80-0x9F is the C1 control code set [1]. Ordinal 0x9F is "Application Program Command" (APC). The command must be terminated by ordinal 0x9C, "String Terminator" (ST). For example, "\x9f Some Command \x9c". In Gnome Terminal, after executing pr

  1   2   >