[issue44293] PEP 585 breaks inspect.isclass

2021-06-03 Thread Joseph Perez
Joseph Perez added the comment: @Jelle Zijlstra Thank you for the explanation. > The current implementation of GenericAlias has been around for a few releases > by now, though, so that change might break some use cases. I agree that a "fix" could have unexpected side-effect, my issue comes q

[issue43858] Provide method to get list of logging level names

2021-06-03 Thread miss-islington
miss-islington added the comment: New changeset 8b93f0e696d3fc60fd311c13d5238da73a35e3b3 by andrei kulakov in branch 'main': bpo-43858: Add logging.getLevelNamesMapping() (GH-26459) https://github.com/python/cpython/commit/8b93f0e696d3fc60fd311c13d5238da73a35e3b3 -- nosy: +miss-isli

[issue43858] Provide method to get list of logging level names

2021-06-03 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.11 -Python 3.8 ___ Python tracker

[issue42514] Relocatable framework for macOS

2021-06-03 Thread Nathaniel Smith
Change by Nathaniel Smith : -- nosy: +njs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Ned Batchelder
New submission from Ned Batchelder : Python 3.10 now traces back to with statements when exiting the with block. When the exit is a break statement, the with exit is visited before the break statement is. This seems confusing. --- 8< - import linecach

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Ned Batchelder
Ned Batchelder added the comment: (I'm not sure whether to create other issues for further details) I'm also seeing a return in a with will trace withexit/return for a plain "return" statement, but return/withexit/return for a return with a value ("return 17"). I would expect that a stateme

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: "So, I'd been trying various things before the master restart (...) I'll let this bake, seems pretty strange changing the interpreter running the buildbot would matter - everything else should be the same however." If you can, try to stop your buildbot client

[issue44299] Enable control over daemon flag in ThreadPoolExecutor and ProcessPoolExecutor

2021-06-03 Thread Dmitry Kropachev
New submission from Dmitry Kropachev : ThreadPoolExecutor and ProcessPoolExecutor spawn threads and processes with default value of daemon flag, i.e. None. In some cases it would handful to have control over daemon flag of spawned threads and processes. Simple 6-line fix to enable it. --

[issue44299] Enable control over daemon flag in ThreadPoolExecutor and ProcessPoolExecutor

2021-06-03 Thread Dmitry Kropachev
Change by Dmitry Kropachev : -- keywords: +patch pull_requests: +25107 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26511 ___ Python tracker ___

[issue42514] Relocatable framework for macOS

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

[issue42213] Get rid of cyclic GC hack in sqlite3.Connection and sqlite3.Cache

2021-06-03 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +25108 pull_request: https://github.com/python/cpython/pull/26512 ___ Python tracker ___ ___

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Mark Shannon
Mark Shannon added the comment: For context, this behavior was introduced in https://bugs.python.org/issue43933 -- ___ Python tracker ___ _

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Mark Shannon
Mark Shannon added the comment: Why this occurs: with cm: A break translates to something like: ex = cm.__exit__; cm.__enter__() # with cm A ex(...) goto loop_end # break So, the break is traced after the exit call. However, this doesn't seem consistent with try-fin

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-03 Thread Matt Billenstein
Matt Billenstein added the comment: I have been stopping it since the initial problem - there’s something wonky with using the system python on macos afaict... M -- Matt Billenstein [email protected] > On Jun 3, 2021, at 4:39 AM, STINNER Victor wrote: > >  > STINNER Victor added the commen

[issue44286] venv activate script would be good to show failure.

2021-06-03 Thread Vinay Sajip
Vinay Sajip added the comment: venvs aren't meant to be portable (i.e. renaming the directory or moving to a new location). Scripts installed into a venv have absolute paths pointing to the location when the venv was created. venvs should be treated as throwaway resources that can be readily

[issue44291] Unify logging.handlers.SysLogHandler behavior with SocketHandlers

2021-06-03 Thread Vinay Sajip
Vinay Sajip added the comment: > right now it has reconnection logic for unixsocket but not for tcp/udp Should it not have UDP/TCP supported as well as domain sockets, before being reviewed? -- nosy: +vinay.sajip ___ Python tracker

[issue44291] Unify logging.handlers.SysLogHandler behavior with SocketHandlers

2021-06-03 Thread Kirill Pinchuk
Kirill Pinchuk added the comment: Oh, sorry bad wording. The current implementation has reconnection logic only for UNIX sockets The patch adds reconnection logic for UDP/TCP sockets as well. I've done it with minimal changes to the existing code to accomplish that. And probably it can be m

[issue39560] PyUnicode_FromKindAndData kind transformation is not documented

2021-06-03 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 4eed2821d40373345ed133b2b8d912fef59acab7 by Zackery Spytz in branch 'main': bpo-39560: Document PyUnicode_FromKindAndData() kind transformation (GH-23848) https://github.com/python/cpython/commit/4eed2821d40373345ed133b2b8d912fef59acab7

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +25109 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26513 ___ Python tracker

[issue44293] PEP 585 breaks inspect.isclass

2021-06-03 Thread Ken Jin
Ken Jin added the comment: @Jelle thanks for nosy-ing me too and the thorough investigation. @Joseph Thanks for taking the time to raise this inconvenience on the bug tracker. > By the way, Python typing is so much unstable (every version breaks the > previous one), it's very complicated to

[issue39560] PyUnicode_FromKindAndData kind transformation is not documented

2021-06-03 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue44286] venv activate script would be good to show failure.

2021-06-03 Thread john kim
john kim added the comment: Thank you for your explanation of venv. I understand that venv is not portable. But I was confused because the venv was written on the left side of the terminal line and it looked like it was working. Therefore, if venv does not work, such as if __venv_dir__ is

[issue44294] 3.9.5 Windows 64-bit installer says v3.8.10 in startup window.

2021-06-03 Thread Zachary Ware
Zachary Ware added the comment: I suspect one or more of your screenshots did not make it through submission (you can only attach one at a time), but are you quite certain you got things straight here? This is the first report we've had of this, and I'm quite sure there would have been a fl

[issue44300] using Linked list vs dynamic array for LifoQueue class

2021-06-03 Thread Mihai Ion
New submission from Mihai Ion : Switching to Linked list data structure for improving performance append() and pop() run time complexity when eliminating dynamic array resizing -- components: Library (Lib) files: main.py messages: 395004 nosy: euromike21 priority: normal severity: norm

[issue21363] io.TextIOWrapper always closes wrapped files

2021-06-03 Thread Marten H. van Kerkwijk
Marten H. van Kerkwijk added the comment: In astropy we are now working around the auto-closing of the underlying stream in TextIOWrapper by subclassing and overriding `__del__` to detach [1]. It would seem more elegant if `TestIOWrapper` (and really, `BufferedReader`) could gain an `closefd

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-06-03 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +25110 pull_request: https://github.com/python/cpython/pull/26515 ___ Python tracker ___ ___

[issue44293] PEP 585 breaks inspect.isclass

2021-06-03 Thread Guido van Rossum
Guido van Rossum added the comment: Instead of introspecting types, use this library: https://github.com/ilevkivskyi/typing_inspect -- ___ Python tracker ___ _

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Mark Shannon
Mark Shannon added the comment: New changeset 937cebc93b4922583218e0cbf0a9a14705a595b2 by Mark Shannon in branch 'main': bpo-44298: Fix line numbers for early exits in with statements. (GH-26513) https://github.com/python/cpython/commit/937cebc93b4922583218e0cbf0a9a14705a595b2 -- _

[issue44293] PEP 585 breaks inspect.isclass

2021-06-03 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Btw this reminds me I should make a PyPI release of typing_inspect (last release was May 2020), hopefully will make a release on this weekend. -- ___ Python tracker __

[issue42213] Get rid of cyclic GC hack in sqlite3.Connection and sqlite3.Cache

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 82ad22a97d4b5d7134424f12bd6a61167db7f4f8 by Erlend Egeberg Aasland in branch 'main': bpo-42213: Check connection in sqlite3.Connection.__enter__ (GH-26512) https://github.com/python/cpython/commit/82ad22a97d4b5d7134424f12bd6a61167db7f4f8 -

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25111 pull_request: https://github.com/python/cpython/pull/26516 ___ Python tracker ___

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: Well, as soon as the buildbot worker is green, it works for me :-D -- ___ Python tracker ___ ___

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea0210fa8ccca769896847f25fc6fadfe9a717bc by Victor Stinner in branch 'main': bpo-43921: Fix test_ssl.test_wrong_cert_tls13() on Windows (GH-26502) https://github.com/python/cpython/commit/ea0210fa8ccca769896847f25fc6fadfe9a717bc -- __

[issue42213] Get rid of cyclic GC hack in sqlite3.Connection and sqlite3.Cache

2021-06-03 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +25112 pull_request: https://github.com/python/cpython/pull/26517 ___ Python tracker ___ ___

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +25113 pull_request: https://github.com/python/cpython/pull/26518 ___ Python tracker ___ __

[issue44301] Is there a way to provide destructor for module written using C API?

2021-06-03 Thread Azat Ibrakov
New submission from Azat Ibrakov : I'm reimplementing `fractions.Fraction` class using C API (https://github.com/lycantropos/cfractions). And the problem is that I want to use `numbers.Rational` interface in my type checks to add support for user-defined rational numbers. I see how it's done

[issue44301] Is there a way to provide destructor for module written using C API?

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: Hi, you should use the multiphase initialization API which has clear and free functions. https://www.python.org/dev/peps/pep-0489/#the-proposal See for example the source code of the Modules/_abc.c extension. -- nosy: +vstinner _

[issue37041] IDLE: path browser unusable on some displays

2021-06-03 Thread Andre Roberge
Change by Andre Roberge : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-03 Thread Eric Snow
Eric Snow added the comment: New changeset 2c1e2583fdc4db6b43d163239ea42b0e8394171f by Eric Snow in branch 'main': bpo-43693: Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (gh-26388) https://github.com/python/cpython/commit/2c1e2583fdc4db6b43d163239ea42b0e839

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +25114 pull_request: https://github.com/python/cpython/pull/26520 ___ Python tracker ___ __

[issue42213] Get rid of cyclic GC hack in sqlite3.Connection and sqlite3.Cache

2021-06-03 Thread miss-islington
miss-islington added the comment: New changeset d88b47b5a396aa8d66f9a0e6b13a0825d59d0eff by Erlend Egeberg Aasland in branch 'main': bpo-42213: Remove redundant cyclic GC hack in sqlite3 (GH-26517) https://github.com/python/cpython/commit/d88b47b5a396aa8d66f9a0e6b13a0825d59d0eff --

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 84d80f5f30b1f545083c70a7d4e1e79ab75f9fa6 by Erlend Egeberg Aasland in branch '3.10': [3.10] bpo-42972: Track sqlite3 statement objects (GH-26475) (GH-26515) https://github.com/python/cpython/commit/84d80f5f30b1f545083c70a7d4e1e79ab75f9fa6

[issue44302] compile fail when make install run pip install as sudo

2021-06-03 Thread Battant
New submission from Battant : Hello, 5.4.0-73-generic Here is my configuration ubuntu 20.04 linux kernel 5.4.0-73-generic step to reproduce clone cpytjpm 3.11 repository https://github.com/python/cpython compile with this tcl ./configure -with-tcltk-includes=/usr/include/ --with-tcltk-libs=

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 by Victor Stinner in branch 'main': bpo-39573: Py_TYPE becomes a static inline function (GH-26493) https://github.com/python/cpython/commit/f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 -- _

[issue44283] Add jump table for certain safe match-case statements

2021-06-03 Thread Brandt Bucher
Brandt Bucher added the comment: I'm hoping we can get something close that for free by just waiting... the faster-cpython folks are working on a tagged-pointer implementation of integers as we speak. I've been looking for a new project, so I'd love to help work on this issue (if you're ope

[issue40395] Scripts folder is Empty in python 3.8.2 for Windows 7.

2021-06-03 Thread Steve Dower
Steve Dower added the comment: You shouldn't need to install the redistributable, but if you can't, then you have an issue that is not limited to CPython and it's not something we can fix. It sounds like you didn't try disabling any virus scanners. That may still help. If not, I don't know,

[issue37224] [subinterpreters] test__xxsubinterpreters fails randomly

2021-06-03 Thread hai shi
hai shi added the comment: OK, I try to take a look after Kyle leaves temporarily. But I haven't replicate this issue in my vm in recent days :( -- nosy: +shihai1991 versions: +Python 3.11 -Python 3.8 ___ Python tracker

[issue44238] Unable to install Python 3.9.5 - Windows Server

2021-06-03 Thread Steve Dower
Steve Dower added the comment: I see this line in your log: Rejecting product '{6504EEE5-2172-4D34-A76D-0372356396B4}': Non-assigned apps are disabled for non-admin users. I'm not entirely sure what it means, or how you managed to install it under this apparent restriction, but it looks lik

[issue44303] Buildbot website failing with 503

2021-06-03 Thread Shreyan Avigyan
New submission from Shreyan Avigyan : I was trying to debug a issue (the test_asyncio random failing problem) when suddenly Buildbot is showing up with "503 Service Unavailable No server is available to handle this request.". It's constantly failing with the request. I'm not sure if it's only

[issue44303] Buildbot website failing with 503

2021-06-03 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Ok. Now it's back up again. Was a glitch perhaps. -- ___ Python tracker ___ ___ Python-bugs-list

[issue44303] Buildbot website failing with 503

2021-06-03 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue29249] Pathlib glob ** bug

2021-06-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue44294] 3.9.5 Windows 64-bit installer says v3.8.10 in startup window.

2021-06-03 Thread Sunny Jamshedji
Sunny Jamshedji added the comment: Screenshot 2. -- Added file: https://bugs.python.org/file50088/2. Used Save Link As.png ___ Python tracker ___ _

[issue44294] 3.9.5 Windows 64-bit installer says v3.8.10 in startup window.

2021-06-03 Thread Sunny Jamshedji
Sunny Jamshedji added the comment: Screenshot 3 -- Added file: https://bugs.python.org/file50089/3. Use Show in Folder Opens Downloads.png ___ Python tracker ___

[issue44294] 3.9.5 Windows 64-bit installer says v3.8.10 in startup window.

2021-06-03 Thread Sunny Jamshedji
Sunny Jamshedji added the comment: Screenshot 4 Yes, I would agree, since it stopped happening on the 3rd and 4th try like someone noticed something on the server end; maybe a little guy running around inside the server, IDK?! I'd close this myself, but it was certainly quite bizarre.

[issue28742] argparse.ArgumentDefaultsHelpFormatter sometimes provides inaccurate documentation of defaults, so they should be overrideable

2021-06-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue27153] Default value shown by argparse.ArgumentDefaultsHelpFormatter is backwards for action='store_false'

2021-06-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-03 Thread mike bayer
New submission from mike bayer : segmentation fault related to object deallocation and traceback objects, is extremely difficult to reproduce and definitely appeared as of 3.10.0b2, does not occur in 3.10.0b1. linux and osx platforms are affected. The issue requires "greenlet==1.1.0" to be

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-03 Thread mike bayer
mike bayer added the comment: if the issue is in greenlet this can be bounced back to https://github.com/python-greenlet/greenlet/issues/242 -- ___ Python tracker ___ ___

[issue40199] Invalid escape sequence DeprecationWarnings don't trigger by default

2021-06-03 Thread James Gerity
James Gerity added the comment: The cause of DeprecationWarning sometimes [1] not being issued is I believe because in string_parser.c [2] the module is explicitly set to NULL and the filename will be '' or '' or somesuch, which eventually that ends up being normalized to something that isn'

[issue44294] 3.9.5 Windows 64-bit installer says v3.8.10 in startup window.

2021-06-03 Thread Zachary Ware
Zachary Ware added the comment: I don't see anything that looks odd from your screenshots, so I'll go ahead and close it. Steve can leave a note here if there was actually something going weird on the server that he fixed. -- resolution: -> works for me stage: -> resolved status:

[issue43105] [Windows] Can't import extension modules resolved via relative paths in sys.path

2021-06-03 Thread Senthil Kumaran
Senthil Kumaran added the comment: There is a report about this change might have caused behaviour change for '.' in sys.path between 3.10.0a7 and 3.10.0b1 https://mail.python.org/archives/list/[email protected]/thread/DE3MDGB2JGOJ3X4NWEGJS26BK6PJUPKW/ -- nosy: +orsenthil _

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cea0585b7939b487d7089f9d473f495264e8a491 by Mark Shannon in branch '3.10': [3.10] bpo-44298: Backport #26513 to 3.10 (#26516) https://github.com/python/cpython/commit/cea0585b7939b487d7089f9d473f495264e8a491 --

[issue44301] Is there a way to provide destructor for module written using C API?

2021-06-03 Thread Azat Ibrakov
Azat Ibrakov added the comment: With this setup https://gist.github.com/lycantropos/f9243dc98e104a13ddd991316e93d31a I get prompt about module being initialized but that's it: it never gets deleted and reference count for `Rational` keeps increasing. What am I missing? -- ___

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-03 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Victor, this issue is reproducible on Linux. I reproduced it on my WSL. And I've identified the issue is in test_close_kill_running. The patch for resolving the crash in bpo-38323 can be the cause of the newly introduced hang. test_close_kill_running is run

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Victor, this issue is reproducible on Linux. I reproduced it on my WSL. How did you managed? I ran test_asyncio for almost 5 hours with -R in my linux machine and could not reproduce? -- ___ Python tracke

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > And extending the buildbot timer may not help since it seems it's running > infinitely Extending the bot time was done so we can use faulthandler to identify the test, because buildbot was cancelling the whole build before that :) --

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ned, can you confirm that this works for you? I am closing the issue, but if something is missing, please, reopen it and we will look into it :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed __

[issue42862] Use functools.lru_cache iso. _sqlite.Cache in sqlite3 module

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f461a7fc3f8740b9e79e8874175115a3474e5930 by Erlend Egeberg Aasland in branch 'main': bpo-42862: Use functools.lru_cache iso. _sqlite.Cache in sqlite3 module (GH-24203) https://github.com/python/cpython/commit/f461a7fc3f8740b9e79e88741751

[issue11105] Compiling evil ast crashes interpreter

2021-06-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +25115 pull_request: https://github.com/python/cpython/pull/26521 ___ Python tracker

[issue11105] Compiling evil ast crashes interpreter

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f3491242e41933aa9529add7102edb68b80a25e9 by Batuhan Taskaya in branch 'main': bpo-11105: Do not crash when compiling recursive ASTs (GH-20594) https://github.com/python/cpython/commit/f3491242e41933aa9529add7102edb68b80a25e9 --

[issue42862] Use functools.lru_cache iso. _sqlite.Cache in sqlite3 module

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-03 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: > How did you managed? I ran test_asyncio for almost 5 hours with -R in my > linux machine and could not reproduce? Now it's not again not reproducing. Maybe I used some wrong flag. But I'll try to debug this issue. --

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-03 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I've also been trying to debug it for the whole day. Not sure what's causing this. (Why does all error occur in Fedora buildbots? If I remember correctly, another test also failed there.") -- ___ Python tracker

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5c2191df9a21a3b3d49dd0711b8d2b92591ce82b by Victor Stinner in branch 'main': bpo-43921: Cleanup test_ssl.test_wrong_cert_tls13() (GH-26520) https://github.com/python/cpython/commit/5c2191df9a21a3b3d49dd0711b8d2b92591ce82b -- _

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset d2ab15f5376aa06ed120164f1b84bb40adbdd068 by Miss Islington (bot) in branch '3.10': bpo-43921: Fix test_ssl.test_wrong_cert_tls13() on Windows (GH-26502) (GH-26518) https://github.com/python/cpython/commit/d2ab15f5376aa06ed120164f1b84bb40adbdd068

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread STINNER Victor
STINNER Victor added the comment: Ok, test_wrong_cert_tls13() and test_pha_required_nocert() of test_ssl should now be more reliable on Windows. I consider that the initial issue is now fixed and I close the issue. -- components: +SSL, Tests resolution: -> fixed stage: patch review

[issue11105] Compiling evil ast crashes interpreter

2021-06-03 Thread miss-islington
miss-islington added the comment: New changeset 976598d36bd180024c5f0edf1f7ec0f0b436380f by Miss Islington (bot) in branch '3.10': bpo-11105: Do not crash when compiling recursive ASTs (GH-20594) https://github.com/python/cpython/commit/976598d36bd180024c5f0edf1f7ec0f0b436380f -- _

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-06-03 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Global module state has been established by f461a7fc3f8740b9e79e8874175115a3474e5930 (bpo-42862, GH-24203). We can safely migrate static variables into that struct as a next step. -- ___ Python tracker

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-03 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- components: +Interpreter Core -None priority: low -> normal title: Compiling evil ast crashes interpreter -> Compiling recursive Python ASTs crash the interpreter versions: +Python 3.11, Python 3.9 ___ Python tracker

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-03 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +25116 pull_request: https://github.com/python/cpython/pull/26522 ___ Python tracker ___ _

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-03 Thread STINNER Victor
Change by STINNER Victor : -- priority: deferred blocker -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > And I've identified the issue is in test_close_kill_running. The patch for > resolving the crash in bpo-38323 can be the cause of the newly introduced hang Also, how did you reached this conclusion? -- __

[issue44273] Assigning to Ellipsis should be the same as assigning to __debug__

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3283bf4519139cf62ba04a76930f84ca1e7da910 by Pablo Galindo in branch '3.10': [3.10] bpo-44273: Improve syntax error message for assigning to "..." (GH-26477) (GH-26478) https://github.com/python/cpython/commit/3283bf4519139cf62ba04a76930f

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset de58b319af3a72440a74e807cf8a1194ed0c6d8c by Batuhan Taskaya in branch '3.9': [3.9] bpo-11105: Do not crash when compiling recursive ASTs (GH-20594) (GH-26522) https://github.com/python/cpython/commit/de58b319af3a72440a74e807cf8a1194ed0c6

[issue44042] [sqlite3] _pysqlite_connection_begin() optimisations

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue44042] [sqlite3] _pysqlite_connection_begin() optimisations

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3446516ffa92c98519146253153484291947b273 by Erlend Egeberg Aasland in branch 'main': bpo-44042: Optimize sqlite3 begin transaction (GH-25908) https://github.com/python/cpython/commit/3446516ffa92c98519146253153484291947b273 -- n

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit

2021-06-03 Thread Ned Batchelder
Ned Batchelder added the comment: Thanks for the quick turnaround, this works! -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue44305] Improve syntax error for try block without finally or except block

2021-06-03 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Given this script: try: x = 34 a = 1 instead of printing: File "/home/pablogsal/github/python/master/lel.py", line 4 a = 1 ^ SyntaxError: invalid syntax we should print: File "/home/pablogsal/github/python/master/lel.py", line 4

[issue44305] Improve syntax error for try block without finally or except block

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +25117 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26523 ___ Python tracker __

[issue44306] asyncio.from_thread

2021-06-03 Thread Thomas Grainger
New submission from Thomas Grainger : create a asyncio.from_thread shortcut to run async functions from a thread started with asyncio.to_thread ``` def from_thread(async_func, /, *args, **kwargs): """Synchronously run function *async_func* in the event loop thread. Any *args and **kw

[issue44306] asyncio.from_thread

2021-06-03 Thread Thomas Grainger
Thomas Grainger added the comment: """High-level support for working with threads in asyncio""" import functools import contextvars from . import events from . import tasks __all__ = "to_thread", "from_thread" class _Local(threading.local): loop = None _local = _Local() def _with_

[issue44305] Improve syntax error for try block without finally or except block

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b250f89bb7e05e72a4641d44b988866b919575db by Pablo Galindo in branch 'main': bpo-44305: Improve syntax error for try blocks without except or finally (GH-26523) https://github.com/python/cpython/commit/b250f89bb7e05e72a4641d44b988866b9195

[issue44305] Improve syntax error for try block without finally or except block

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +25118 pull_request: https://github.com/python/cpython/pull/26524 ___ Python tracker ___ ___

[issue44305] Improve syntax error for try block without finally or except block

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44305] Improve syntax error for try block without finally or except block

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e53f72a1b42e17a331ed14bec674b1ee01d0720c by Pablo Galindo in branch '3.10': [3.10] bpo-44305: Improve syntax error for try blocks without except or finally (GH-26523) (GH-26524) https://github.com/python/cpython/commit/e53f72a1b42e17a331

[issue32280] Expose `_PyRuntime` through a section name

2021-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32280] Expose `_PyRuntime` through a section name

2021-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 35002aa8f62dda1f79035e9904abdf476683e9be by Max Bélanger in branch 'main': bpo-32280: Store _PyRuntime in a named section (GH-4802) https://github.com/python/cpython/commit/35002aa8f62dda1f79035e9904abdf476683e9be -- nosy: +pablo

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-03 Thread Eric Snow
Eric Snow added the comment: New changeset b2bf2bc1ece673d387341e06c8d3c2bc6e259747 by Mark Shannon in branch 'main': bpo-43693: Compute deref offsets in compiler (gh-25152) https://github.com/python/cpython/commit/b2bf2bc1ece673d387341e06c8d3c2bc6e259747 -- ___

  1   2   >