[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

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

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

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

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

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

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

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

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

[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

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

[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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

[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

[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

[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

[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

[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

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

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

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

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

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

[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

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

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

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

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

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

[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 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 : -- 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: +29694 pull_request: https://github.com/python/cpython/pull/31572 ___ Python tracker ___

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

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

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

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

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

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

[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

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

[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

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

[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

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

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

<    1   2