[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-08-11 Thread JuniorJPDJ
Change by JuniorJPDJ : -- pull_requests: +26217 pull_request: https://github.com/python/cpython/pull/27737 ___ Python tracker ___

[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-08-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44892] configparser fails when the file contains a "%" inside a commentary

2021-08-11 Thread Diego Ramirez
Change by Diego Ramirez : -- title: Percentage character (%) inside a comment is badly recognized when using configparser -> configparser fails when the file contains a "%" inside a commentary ___ Python tracker

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-08-11 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'll probably fix the issue in importlib_metadata first (https://github.com/python/importlib_metadata/issues/337). -- ___ Python tracker

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-08-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread miss-islington
miss-islington added the comment: New changeset f7635f0e542c916bfd62542e7b60ee23ff681d0d by Miss Islington (bot) in branch '3.9': [3.9] bpo-33930: Fix typo in the test name. (GH-27733) (GH-27734) https://github.com/python/cpython/commit/f7635f0e542c916bfd62542e7b60ee23ff681d0d --

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d7f5796a1ec7ba223f6a844d7580559abef05238 by Miss Islington (bot) in branch '3.8': bpo-33930: Fix typo in the test name. (GH-27735) https://github.com/python/cpython/commit/d7f5796a1ec7ba223f6a844d7580559abef05238 --

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +26216 pull_request: https://github.com/python/cpython/pull/27736 ___ Python tracker ___

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +26214 pull_request: https://github.com/python/cpython/pull/27734 ___ Python tracker ___

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +26215 pull_request: https://github.com/python/cpython/pull/27735 ___ Python tracker ___

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f08e6d1bb3c5655f184af88c6793e90908bb6338 by Benjamin Peterson in branch 'main': bpo-33930: Fix typo in the test name. (#27733) https://github.com/python/cpython/commit/f08e6d1bb3c5655f184af88c6793e90908bb6338 --

[issue42560] Improve Tkinter Documentation

2021-08-11 Thread Mark Roseman
Mark Roseman added the comment: I was having a peek at the main tkinter doc page again and would like to take a broader crack at it. I think most of what is there now (life preserver/reference) needs to be substantially reworked or trimmed. I think exhaustive description of all methods etc.

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- nosy: +benjamin.peterson nosy_count: 14.0 -> 15.0 pull_requests: +26213 pull_request: https://github.com/python/cpython/pull/27733 ___ Python tracker

[issue44896] Issue with unparse in ast module

2021-08-11 Thread Kai Xia
New submission from Kai Xia : I was trying to construct an ast object dynamically and I think I can identify some potential issue. With the following snippet: ``` #!/usr/bin/env python3 import ast import sys print(sys.version) good = ast.Assign( targets=[ast.Name(id="hello",

[issue44881] Consider integration of PyObject_GC_UnTrack() with the trashcan C API

2021-08-11 Thread Neil Schemenauer
Neil Schemenauer added the comment: I was thinking about this more today and I think the better fix is to actually build the trashcan mechanism into _Py_Dealloc(). Requiring that types opt-in to the trashcan mechanism by using the trashcan macros is not ideal. First, the trashcan macros

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Irit Katriel
Irit Katriel added the comment: I've narrowed it down a bit more and created issue44895. -- ___ Python tracker ___ ___

[issue44895] refleak test failure in test_exceptions

2021-08-11 Thread Irit Katriel
New submission from Irit Katriel : For background see https://bugs.python.org/issue33930#msg399403 iritkatriel@Irits-MBP cpython % repeat 10 ./python.exe -m test -R 3:3 test_exceptions -m test_no_hang_on_context_chain_cycle2 -m test_recursion_normalizing_infinite_exception -m

[issue44894] HTTP request handler should check sys.stderr for None before use for logging

2021-08-11 Thread Xiaoling Bao
New submission from Xiaoling Bao : This is about HTTP server library (found on Windows with python 3.9, not sure other platforms). In file Lib\http\server.py, we define: class BaseHTTPRequestHandler(...): def log_message(self, format, *args): sys.stderr.write(...) In certain cases,

[issue44845] Allow keyword arguments in code.__new__

2021-08-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Generally, construction time is faster if the arguments are positional only. Also, this isn't a method that people typically call directly — it is only quasi-public because the layout of the codestring is implementation dependent and changes every now

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Entirely possible, Irit. We've had just this sort of case just last week! See: https://bugs.python.org/issue44524#msg399157 -- ___ Python tracker

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +26212 pull_request: https://github.com/python/cpython/pull/27732 ___ Python tracker

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-11 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 81ab8db235580317edcb0e559cd4c983f70883f5 by Zephyr Shannon in branch 'main': bpo-26228: Fix pty EOF handling (GH-12049) https://github.com/python/cpython/commit/81ab8db235580317edcb0e559cd4c983f70883f5 -- nosy: +lukasz.langa

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-08-11 Thread Ronny Pfannschmidt
New submission from Ronny Pfannschmidt : due to ``` def __iter__(self): """ Supply iter so one may construct dicts of EntryPoints easily. """ return iter((self.name, self)) ``` the default namedtuple asdict method is broken instead of returning the fields,

[issue36859] sqlite3 dml statement detection does not account for CTEs

2021-08-11 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: See also bpo-35398 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35398] SQLite incorrect row count for UPDATE

2021-08-11 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: See also bpo-36859. -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list

[issue30952] [Windows] include Math extension in SQlite

2021-08-11 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: This was fixed in bpo-42686. Closing as duplicate. -- nosy: +erlendaasland resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> include built-in Math functions in SQLite to 3.35.0 of march 2021

[issue44892] Percentage character (%) inside a comment is badly recognized when using configparser

2021-08-11 Thread Diego Ramirez
New submission from Diego Ramirez : On the Pip GitHub issue tracker (https://github.com/pypa/pip/issues/10348), a user reported a strange behaviour when using a config file (setup.cfg) on its project. The config file had a percentage character ("%") inside a commentary. But the module

[issue44891] Tests for `id(a) == id(a * 1)` for `bytes` and `str`

2021-08-11 Thread Nikita Sobolev
New submission from Nikita Sobolev : While working on `RustPython` (original issue: https://github.com/RustPython/RustPython/issues/2840), I've noticed that `tuple` in CPython has explicit tests that `id` does not change when multiplied by `1`, related: -

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: It *is* readline-related after all O_O Commenting out this section in Pdb.__init__ makes the issue go away: https://github.com/python/cpython/blob/64a7812c170f5d46ef16a1517afddc7cd92c5240/Lib/pdb.py#L234-L239 time ./python.exe -E -Wd -m test test_builtin

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: The doctest runner sets an output redirecting debugger, which subclasses Pdb, around actually running the doctest. This action causes the hang. New finding, we can hang the test with test_pdb too: $ python3.9 -m test test_pdb test_builtin -v --

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Irit Katriel
Irit Katriel added the comment: It seems to have been introduced by https://github.com/python/cpython/pull/27626 I don't see how the code change could have introduced a leak. Maybe the new tests exposed a pre-existing leak? -- ___ Python tracker

[issue33479] Document tkinter and threads

2021-08-11 Thread miss-islington
miss-islington added the comment: New changeset 2666d702e49aa0e4975553bec2e92ca4a2dba4ea by Miss Islington (bot) in branch '3.10': bpo-33479: Add architecture and threading model sections to Tkinter module docs (GH-27717)

[issue44890] Enable specialization stats collection when in Py_DEBUG

2021-08-11 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26211 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27731 ___ Python tracker ___

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: (BTW, with this command, it is indeed possible to trigger the ref leak on `main` as well, which makes it somewhat less scary.) -- ___ Python tracker

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: I gotta run for the day. The shortest way for me to reproduce is to focus on the tests that were added in 3.10 and shortening the repetitions a little: $ time ./python.exe -E -Wd -m test test_exceptions -R3:3 -m 'test_attribute*' -m 'test_getattr*' -m

[issue33479] Document tkinter and threads

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 08caf2d5d4a9994976e9eafaf345b5a1a4012a81 by Mark Roseman in branch 'main': bpo-33479: Add architecture and threading model sections to Tkinter module docs (GH-27717)

[issue33479] Document tkinter and threads

2021-08-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +26210 pull_request: https://github.com/python/cpython/pull/27730 ___ Python tracker ___

[issue44869] MacOS Monterrey malloc issue

2021-08-11 Thread Eduardo Morales
Eduardo Morales added the comment: I've been able to tackle the issue down and reported it to the library. Although I'm not sure if it's a Python or library issue. https://github.com/ibmdb/python-ibmdb/issues/648 -- ___ Python tracker

[issue33479] Document tkinter and threads

2021-08-11 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.10, Python 3.11 -Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue41710] Timeout is affected by jumps in system time

2021-08-11 Thread Mike Crowe
Mike Crowe added the comment: glibc v2.30 onwards provides sem_clockwait which can wait on either CLOCK_MONOTONIC or CLOCK_REALTIME. I failed to notice that https://sourceware.org/bugzilla/show_bug.cgi?id=14717 existed until today. :( -- nosy: +mikecrowe

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Interestingly, I can't reproduce the refleaks on `main` either, only on 3.10. -- ___ Python tracker ___

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Apparently we've got ourselves refleaks with the patches. It doesn't always reproduce but put test_exceptions -R: in a loop in 3.10 and soon enough you'll get: 0:00:00 load avg: 4.47 Run tests sequentially 0:00:00 load avg: 4.47 [1/1] test_exceptions beginning

[issue44885] Incorrect exception highlighting for fstring format

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

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 09d814b3833c2c852f4f233297b4561028782d2a by Łukasz Langa in branch '3.8': [3.8] bpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678) (GH-27721)

[issue44890] Enable specialization stats collection when in Py_DEBUG

2021-08-11 Thread Irit Katriel
Change by Irit Katriel : -- title: Enable specialization stats collection when Py_Debug -> Enable specialization stats collection when in Py_DEBUG ___ Python tracker ___

[issue44890] Enable serialisation stats collection when Py_Debug

2021-08-11 Thread Irit Katriel
New submission from Irit Katriel : Always collect stats under Py_Debug, which makes them available through the python api. Printing at interpreter exit is still disabled by default. -- components: Interpreter Core messages: 399401 nosy: iritkatriel priority: normal severity: normal

[issue44890] Enable specialization stats collection when Py_Debug

2021-08-11 Thread Irit Katriel
Change by Irit Katriel : -- title: Enable serialisation stats collection when Py_Debug -> Enable specialization stats collection when Py_Debug ___ Python tracker ___

[issue44885] Incorrect exception highlighting for fstring format

2021-08-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ha, we have test that knows is broken: https://github.com/python/cpython/blob/f66d00fdd7e9a333accc6bf0e37173051aaa55d0/Lib/test/test_fstring.py#L217 -- ___ Python tracker

[issue44885] Incorrect exception highlighting for fstring format

2021-08-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Actually, this has even more problems. Because we are using strstr to find the start of the expression in the parent string, if the expression is repeated the offsets are incorrectly generated: For example: print(f"Here is that {xxx} pesky {xxx}

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: I found the high-level reason why test_builtin hangs: it runs doctests as well. What's the root cause? I don't know yet. But to confirm, I can also hang the tests by running: $ python3.9 -m test test_doctest test_builtin -v Now to discover what it is that

[issue44885] Incorrect exception highlighting for fstring format

2021-08-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The problem lies here: https://github.com/python/cpython/blob/f66d00fdd7e9a333accc6bf0e37173051aaa55d0/Parser/string_parser.c#L374-L389 The problem is that the strstr call will fail because the string containing the expression doesn't have the

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Amazingly, excluding every other test function with a bunch of `-i` patterns still makes it hang when ran twice. On the other hand, only including the test function with `-m` works fine. This is very weird. Looking further. Semi-relatedly, I found BPO-26228,

[issue41494] Adds window resizing support to Lib/pty.py [ SIGWINCH ]

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Soumendra. Not resolved but superseded by a different issue has its own indicators on BPO. -- nosy: +lukasz.langa resolution: -> out of date status: open -> closed superseder: -> Lib/pty.py major revision

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2021-08-11 Thread Andrei Kulakov
Andrei Kulakov added the comment: Also see https://bugs.python.org/issue42255 Hugo: can you convert the patch to a PR? -- nosy: +andrei.avk ___ Python tracker ___

[issue44637] Quoting issue on header Reply-To

2021-08-11 Thread Julien Castiaux
Julien Castiaux added the comment: Hello David, Victor, Thank you for the triage, it reminds me about this issue. David, the solution I tried last month was wrong, it was breaking (for good reasons) tons of unittests. It seems to me that there is indeed no other solution than to bloat the

[issue44885] Incorrect exception highlighting for fstring format

2021-08-11 Thread Guido van Rossum
Guido van Rossum added the comment: (I originally reported this.) -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list

[issue44878] Clumsy dispatching on interpreter entry.

2021-08-11 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +26208 pull_request: https://github.com/python/cpython/pull/27727 ___ Python tracker ___

[issue44878] Clumsy dispatching on interpreter entry.

2021-08-11 Thread Mark Shannon
Mark Shannon added the comment: New changeset f66d00fdd7e9a333accc6bf0e37173051aaa55d0 by Mark Shannon in branch 'main': bpo-44878: Remove the switch from the main interpreter loop when using computed gotos. (GH-27726)

[issue44637] Quoting issue on header Reply-To

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: I change the issue type to security. The bug can be abused to send emails to the wrong email address. -- nosy: +vstinner type: behavior -> security ___ Python tracker

[issue44889] Specialize LOAD_METHOD with PEP 659 adaptive interpreter

2021-08-11 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +26207 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27722 ___ Python tracker ___

[issue16580] [doc] Add examples to int.to_bytes and int.from_bytes

2021-08-11 Thread Gautam Chaudhuri
Gautam Chaudhuri added the comment: I've rewritten woparry's patch so that it targets the current codebase as well as fixing the issues that Mark mentioned. It appears that the range checks on `to_bytes` have already been added to the documentation so I haven't added those. Should a

[issue44889] Specialize LOAD_METHOD with PEP 659 adaptive interpreter

2021-08-11 Thread Ken Jin
New submission from Ken Jin : Possible specializations: - LOAD_METHOD_CACHED Cache the method. We only need to check that type(o) and o.__dict__ was not modified. - LOAD_METHOD_CLASS For classmethods. Less speedup expected. - LOAD_METHOD_MODULE For module methods. Uncommon (<10%). Please

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-11 Thread Dong-hee Na
Dong-hee Na added the comment: > Serhiy, I'm not closing this yet in case you'd like to finish implementing > your PR. If not, feel free to close. I check that PR 20543 makes CPython works correctly with msg399281 code. -- nosy: +corona10 ___

[issue44888] ssl.OP_LEGACY_SERVER_CONNECT missing

2021-08-11 Thread Tee KOBAYASHI
New submission from Tee KOBAYASHI : Please implement ssl.OP_LEGACY_SERVER_CONNECT constant that corresponds to SSL_OP_LEGACY_SERVER_CONNECT in C. This is required to make OpenSSL 3.0.0 behave like 1.1.1. -- assignee: christian.heimes components: SSL messages: 399386 nosy:

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: This might be a long-standing problem. I haven't encountered it before because I was always running -R: with -j and in this case the test is skipped: test_input_tty (test.test_builtin.PtyTests) ... skipped 'stdin and stdout must be ttys' --

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Parent process hangs on: * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x7fff6741181e libsystem_kernel.dylib`read + 10 frame #1: 0x00010226a117 python.exe`_Py_read(fd=3, buf=0x7f8d24009840, count=8192)

[issue44878] Clumsy dispatching on interpreter entry.

2021-08-11 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +26206 pull_request: https://github.com/python/cpython/pull/27726 ___ Python tracker ___

[issue44878] Clumsy dispatching on interpreter entry.

2021-08-11 Thread Mark Shannon
Mark Shannon added the comment: New changeset 3f3d5dcac336463bd0eed64ba0bd7666ff2da1e1 by Mark Shannon in branch 'main': bpo-44878: _PyEval_EvalFrameDefault readability improvements (GH-27725) https://github.com/python/cpython/commit/3f3d5dcac336463bd0eed64ba0bd7666ff2da1e1 --

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
Łukasz Langa added the comment: Hynek confirmed on Big Sur with Python 3.9.5 from asdf that test_input_tty hangs, too, if ran for the second time in the same process. Moreover, readline is not it. First of all, it's libedit on macOS: ❯ ll /usr/lib/libreadline.dylib lrwxr-xr-x 1 root wheel

[issue44800] Code readability: rename interpreter frames to execution frames

2021-08-11 Thread Nick Coghlan
Nick Coghlan added the comment: Mark raised some valid concerns with the proposed naming convention over on the PR: * the proposed names make it sound like there are genuinely two kinds of frame, when the actual relationship is between a frame's data storage and a Python object providing

[issue44887] test_input_tty hangs when run multiple times in the same process on macOS 10.15

2021-08-11 Thread Łukasz Langa
New submission from Łukasz Langa : (I'm still investigating at the moment whether something changed in my environment.) Running the following right now hangs on test_input_tty for me: ./python.exe -m test test_builtin test_builtin -v This fails on all branches up to and including 3.7, so I

[issue44881] Consider integration of PyObject_GC_UnTrack() with the trashcan C API

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: > Now, any object that uses the trashcan *must* be a GC object. It would be nice to add an assertion in _PyTrash_begin(). -- ___ Python tracker

[issue44881] Consider integration of PyObject_GC_UnTrack() with the trashcan C API

2021-08-11 Thread STINNER Victor
Change by STINNER Victor : -- title: Consider integration of GC_UNTRACK with TRASHCAN -> Consider integration of PyObject_GC_UnTrack() with the trashcan C API ___ Python tracker

[issue44881] Consider integration of GC_UNTRACK with TRASHCAN

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: Moreover, before making any change, I would suggest by starting with documenting the existing trashcan C API. Right now, there is no documentation in Doc/c-api/. Documentation can be copied from Include/cpython/object.h. Last year, I modified the trashcan

[issue44881] Consider integration of GC_UNTRACK with TRASHCAN

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: Please don't add new macros. The TRASHCAN C API is already complex enough. -- nosy: +vstinner ___ Python tracker ___

[issue44878] Clumsy dispatching on interpreter entry.

2021-08-11 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +26205 pull_request: https://github.com/python/cpython/pull/27725 ___ Python tracker ___

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 13.0 -> 14.0 pull_requests: +26204 pull_request: https://github.com/python/cpython/pull/27721 ___ Python tracker ___

[issue44886] asyncio: create_datagram_endpoint() does not return a DatagramTransport

2021-08-11 Thread Thomas Trummer
New submission from Thomas Trummer : According to the documentation[1] loop.create_datagram_endpoint() returns an asyncio.DatagramTransport. However on Windows this is not the case when the ProactorEventLoop is used (which seems to be the default since Python 3.8). This is a problem because

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix Augusto Goulart and Pablo! I close the issue. Pablo asked in PR 27678 if a Python 3.8 Release Manager (Lukasz) wants a backport to 3.8. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset d6d2d549972422ccc6fa335ebf9907e4b3d71817 by Miss Islington (bot) in branch '3.10': bpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678) (GH-27719)

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 15f0a45b2822607f2c38685a72d06f050e24b215 by Miss Islington (bot) in branch '3.9': bpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678) (GH-27720)

[issue44885] Incorrect exception highlighting for fstring format

2021-08-11 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Given this code: print(f"Here is that pesky {xxx/2:.3f} again") The traceback prints: Traceback (most recent call last): File "/home/pablogsal/github/python/main/lel.py", line 1, in print(f"Here is that pesky {xxx/2:.3f} again")