[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Thanks Mike for the report and reproducer, and Pablo for the fix! -- ___ Python tracker ___

[issue44013] tempfile.TemporaryFile: name of file descriptor cannot be reused in consecutive initialization

2021-06-04 Thread Xiang Zhong
Xiang Zhong added the comment: Dear Mr. Jollans, thanks for your comments and information. I know my usage of tempfile.TemporaryFile() is unusual, technically I “open”ed it twice. The reason I coded them in this way, as a simple illustration, is I want to test/debug some codes of my early

[issue44276] Replace if-elif-else structure with match-case (PEP634)

2021-06-04 Thread Kshitiz Arya
Kshitiz Arya added the comment: As Brandt shows us, match-case in its current implementation is not significantly different from an if-else ladder in term of performance, though I still maintain that match-case is much more readable than an if-else ladder. I also agree with Karthikeyan and

[issue44310] Document that lru_cache uses hard references

2021-06-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: It may useful to link back to @cached_property() for folks wanting method caching tied to the lifespan of an instance rather than actual LRU logic. -- ___ Python tracker

[issue44304] segmentation fault appeared in python 3.10.0b2

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

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread miss-islington
miss-islington added the comment: New changeset ad2f3b74b5615aa36a82d1fdbc45bb7468aa1d72 by Miss Islington (bot) in branch '3.10': bpo-44304: Fix crash in the sqlite3 module when the GC clears Statement objects (GH-26545)

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fa106a685c1f199aca5be5c2d0277a14cc9057bd by Pablo Galindo in branch 'main': bpo-44304: Fix crash in the sqlite3 module when the GC clears Statement objects (GH-26545)

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25136 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26547 ___ Python tracker

[issue44310] Document that lru_cache uses hard references

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Agreed! I will let the PR to you :) -- ___ Python tracker ___ ___ Python-bugs-list

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is a simpler reproducer: dest = sqlite.connect(':memory:') def md5sum(t): return dest.create_function("md5", 1, md5sum) x = dest("create table lang (name, first_appeared)") del md5sum, dest

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Using the reproducer code by Mike, without this fix: ❯ ./python ../lel.py [1]25344 segmentation fault ./python ../lel.py With this fix: ❯ ./python ../problem.py ❯ echo $? 0 -- ___ Python tracker

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The problem is that this is wrong: https://github.com/python/cpython/blob/f171877ebe276749f31386baed5841ce37cbee2e/Modules/_sqlite/statement.c#L411-L423 1) tp_clear should *not* do anything other than cleaning refs to python objects 2)

[issue44304] segmentation fault appeared in python 3.10.0b2

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

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I did the bisection: ff359d735f1a60878975d1c5751bfd2361e84067 is the first bad commit commit ff359d735f1a60878975d1c5751bfd2361e84067 Author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> Date: Mon May 31 02:12:27 2021 -0700

[issue44310] Document that lru_cache uses hard references

2021-06-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm thinking of a more minimal and targeted edit than what is in the PR. Per the dev guide, we usually word the docs in an affirmative and specific manner (here is what the tool does and an example of how to use it). Recounting a specific debugging

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0d441d2e70e365b5dc517d8ff24a20b97bc4536a by Miss Islington (bot) in branch '3.10': bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite (GH-26542) (GH-26544)

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread miss-islington
miss-islington added the comment: New changeset b3c50b29e14d8f089aee3e0980298bfc74cb3ba7 by Miss Islington (bot) in branch '3.9': bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite (GH-26542)

[issue44186] TimedRotatingFileHandler overwrite log

2021-06-04 Thread Harry
Harry added the comment: This bug seems to come from the fact that the file rollover occurs it removes any files with same name as the destination file. I believe this bug occurs on all "when" options, but the midnight option truncates the filename so only the date so it's much more likely

[issue44275] Is there a mojibake problem rendering interactive help in the REPL on Windows?

2021-06-04 Thread Jesse Silverman
Jesse Silverman added the comment: As Andre noted, it is good in IDLE. I also realize how convenient it is to read the real docs from there. I learned a lot about the state of console programming on Windows, in and out of Python, but I have no problem using IDLE when on Windows. --

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +25134 pull_request: https://github.com/python/cpython/pull/26544 ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +25133 pull_request: https://github.com/python/cpython/pull/26543 ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f171877ebe276749f31386baed5841ce37cbee2e by Pablo Galindo in branch 'main': bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite (GH-26542)

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm landing https://github.com/python/cpython/pull/26542 as a temporary solution meanwhile we decide what to do with PR 26536. -- ___ Python tracker

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

2021-06-04 Thread Eric Snow
Eric Snow added the comment: Thanks Pablo. I'll get this sorted out. Sorry for the pain. -- ___ Python tracker ___ ___

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

2021-06-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: release blocker -> ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-06-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: deferred blocker -> release blocker ___ Python tracker ___ ___ Python-bugs-list

[issue44242] enum.IntFlag regression: missing values cause TypeError

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Raising this to a release blocker for 3.10.0 beta 3 as it breaks PyQt6 and other projects. -- priority: normal -> release blocker ___ Python tracker

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

2021-06-04 Thread STINNER Victor
STINNER Victor added the comment: I bet that this issue is simply a duplicate of bpo-38323, since I can still (easily) reproduce it locally. I fixed the buildbot configuration, so if the bug happens again on Refleak buildbots, at least we should know which test method hangs. If it's not

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

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

[issue44242] enum.IntFlag regression: missing values cause TypeError

2021-06-04 Thread Thomas Caswell
Thomas Caswell added the comment: This change also affects PyQt6: Python 3.10.0b2+ (heads/3.10:d0991e2db3, Jun 1 2021, 11:42:08) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt6.QtCore >>> PyQt6.QtCore.PYQT_VERSION_STR

[issue44312] test_asyncio leaked [1533, 1531, 1533] references, sum=4597

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yep -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 8.0 -> 9.0 pull_requests: +25131 pull_request: https://github.com/python/cpython/pull/26541 ___ Python tracker

[issue44312] test_asyncio leaked [1533, 1531, 1533] references, sum=4597

2021-06-04 Thread STINNER Victor
STINNER Victor added the comment: > This is caused by: https://bugs.python.org/issue43693 You reverted the change: https://bugs.python.org/issue43693#msg395105 Can this issue be closed in this case? -- ___ Python tracker

[issue44265] Create an MSI Package

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-04 Thread Irit Katriel
Change by Irit Katriel : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-04 Thread Irit Katriel
Irit Katriel added the comment: New changeset 1065ba66b535b786d6dc5f7d912c6486d9a834ae by Miss Islington (bot) in branch '3.10': bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492) (GH-26538)

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-04 Thread Irit Katriel
Irit Katriel added the comment: New changeset ea298e1e33eb03b2b4ea2f4556e59b11e3bf240f by Miss Islington (bot) in branch '3.9': bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492) (GH-26539)

[issue44304] segmentation fault appeared in python 3.10.0b2

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

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +25130 pull_request: https://github.com/python/cpython/pull/26539 ___ Python tracker ___

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-04 Thread Irit Katriel
Irit Katriel added the comment: New changeset dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1 by Irit Katriel in branch 'main': bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492) https://github.com/python/cpython/commit/dda9ecbfece28aad7b8ba7eaf7951dd9816f78b1

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25129 pull_request: https://github.com/python/cpython/pull/26538 ___ Python tracker

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread mike bayer
mike bayer added the comment: yes, if I have time I will begin to undertake that, wanted to put it up here in case anyone has git bisect on speed dial for cpython. -- ___ Python tracker

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

2021-06-04 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +25128 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26537 ___ Python tracker

[issue42349] Compiler front-end produces a broken CFG

2021-06-04 Thread Dennis Sweeney
Dennis Sweeney added the comment: >From https://devguide.python.org/compiler/#source-code-to-ast: > Basic blocks themselves are a block of IR that has a single entry point but > possibly multiple exit points. In particular, compile.c's label_exception_targets has the assertion (`assert(i

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +25127 pull_request: https://github.com/python/cpython/pull/26536 ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: > MultiLoopChildWatcher must ensures that the event loop is awaken when it > receives a signal by using signal.setwakeup(). This is done by > _UnixSelectorEventLoop.add_signal_handler(). Maybe MultiLoopChildWatcher > could reuse this function, This is the

[issue44310] Document that lru_cache uses hard references

2021-06-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also note that many important objects in Python are not weak referenceable, tuples for example. -- title: lru_cache memory leak -> Document that lru_cache uses hard references ___ Python tracker

[issue44310] lru_cache memory leak

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

[issue44307] date.today() is half as fast as datetime.now().date()

2021-06-04 Thread Anthony Sottile
Anthony Sottile added the comment: *terry.reedy oops typo! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44307] date.today() is half as fast as datetime.now().date()

2021-06-04 Thread Anthony Sottile
Anthony Sottile added the comment: @terry.reddy -- I believe your title change makes this more difficult to understand -- ___ Python tracker ___

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-04 Thread Barney Gale
New submission from Barney Gale : >>> os.path.normpath('a/./b/../c//.') 'a/c' >>> pathlib.Path('a/./b/../c//.') PosixPath('a/b/../c') pathlib takes care not to change the meaning of the path when normalising. That means preserving '..' entries, as these can't be simplified without resolving

[issue44310] lru_cache memory leak

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44309] Add support for yescrypt in crypt.

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +jafo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44307] date.today() is half as fast as datetime.now().date()

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: date.today() is 2x slower than datetime.now().date() -> date.today() is half as fast as datetime.now().date() ___ Python tracker ___

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Coredevs are likely to assume that the problem is in greenlets, especially if it has any C code (I don't know). I suggest you first try to find the commit between releases that resulted in the problem. If it is not deterministicly reproducible, you likely

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

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44276] Replace if-elif-else structure with match-case (PEP634)

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, Raymond's flattening is a plausible replacement, especially ater a future speedup. However, I would re-order the patterns to None, False, True, str(), int(), ..., _. These independent conditions, other than _ (or else in the if chain), can be

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread STINNER Victor
STINNER Victor added the comment: When I reproduce test_cancel_make_subprocess_transport_exec() hang, the problem is that the C signal handler is called with SIGCHLD when the child process completes, but the Python signal handler is not called. Python is "blocked" in a selector (maybe

[issue44315] [sqlite3] remove unused connection argument from pysqlite_step()

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

[issue44315] [sqlite3] remove unused connection argument from pysqlite_step()

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7459208de194db6222d7e3aa301c2b831dbe566d by Erlend Egeberg Aasland in branch 'main': bpo-44315: Remove unused connection argument from pysqlite_step() (GH-26535)

[issue44315] [sqlite3] remove unused connection argument from pysqlite_step()

2021-06-04 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +25126 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26535 ___ Python tracker

[issue44315] [sqlite3] remove unused connection argument from pysqlite_step()

2021-06-04 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : The code that used the connection argument was removed one year before pysqlite was included in CPython, as far as I can see. It can safely be removed. See also: https://github.com/ghaering/pysqlite/commit/5a009ed6fb2e90b952438f5786f93cd1e8ac8722

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

2021-06-04 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44307] date.today() is 2x slower than datetime.now().date()

2021-06-04 Thread Paul Ganssle
Paul Ganssle added the comment: Yeah, I knew this was slower and it's been on my long list to look at it (tied to this is the fact that `datetime.today()` is basically just a slow version of `datetime.now()`, in defiance of user expectations). My inclination is that we shouldn't

[issue44275] Is there a mojibake problem rendering interactive help in the REPL on Windows?

2021-06-04 Thread Andre Roberge
Andre Roberge added the comment: Terry: I just checked with Idle on Windows with Python 3.9.5 and the display works perfectly, with no incorrect characters. -- ___ Python tracker

[issue29249] Pathlib glob ** bug

2021-06-04 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44275] Is there a mojibake problem rendering interactive help in the REPL on Windows?

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jesse or Andre, please test interactive help in IDLE as pydoc then knows that it is *not* talking to Windows console. It then does not use more.com but prints the entire text at once. It should send it 'as is' and should ignore the console language and

[issue29249] Pathlib glob ** bug

2021-06-04 Thread Barney Gale
Change by Barney Gale : -- nosy: +barneygale ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44307] date.today() is 2x slower than datetime.now().date()

2021-06-04 Thread Ruairidh MacLeod
Change by Ruairidh MacLeod : -- nosy: +rkm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: > This issue is not solved. Yes, nothing was changed. After diagnosing this issue and trying some things out in a draft PR, my conclusion is that an asyncio maintainer really needs to weigh in on what to do (especially Andrew who authored the class). The

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

2021-06-04 Thread miss-islington
miss-islington added the comment: New changeset 067d6d46575b5cf30bbf7c812defee1517106a34 by Miss Islington (bot) in branch '3.10': bpo-43853: Handle sqlite3_value_text() errors (GH-25422) https://github.com/python/cpython/commit/067d6d46575b5cf30bbf7c812defee1517106a34 --

[issue44266] AttributeError: module 'sys' has no attribute 'original_stdout'

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you intend to import the stdlib sys and succeed, the original stdout is called '__stdout__'. See https://docs.python.org/3/library/sys.html#sys.__stdin__, including the note that it may be None on Windows. Also peruse that doc to see what attributes

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

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

[issue44048] test_hashlib failure for "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash" buildbot

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3f4d801bf907a5fcab50f3b64475d1410b90a80f by Miss Islington (bot) in branch '3.10': bpo-44048: Fix two hashlib test cases under FIPS mode (GH-26470) (GH-26531)

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

2021-06-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +25125 pull_request: https://github.com/python/cpython/pull/26534 ___ Python tracker

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 006fd869e4798b68e266f5de89c83ddb531a756b by Erlend Egeberg Aasland in branch 'main': bpo-43853: Handle sqlite3_value_text() errors (GH-25422) https://github.com/python/cpython/commit/006fd869e4798b68e266f5de89c83ddb531a756b --

[issue44314] [doc] SSLContext.set_ciphers() link to OpenSSL cipher list format is outdated

2021-06-04 Thread Chris Mayo
New submission from Chris Mayo : Current link is: https://www.openssl.org/docs/manmaster/man1/ciphers.html Manual page entries without the 'openssl-' prefix have been deprecated, and this link is now directed to a generic page for openssl cmd. Suggest an update to:

[issue43740] Long paths in imp.load_dynamic() lead to segfault

2021-06-04 Thread Thomas Jollans
Thomas Jollans added the comment: I cannot reproduce this on my OpenSUSE (glibc 2.33, Linux 5.12.4) or Ubuntu 20.04 (glibc 2.31, Linux 5.4.0) machines, but I can reproduce it on an old Debian Stretch VM I happened to have lying around (glibc 2.24, Linux 4.9.0). (FreeBSD 12.2 and Windows 10

[issue44041] [sqlite3] check that column count is updated correctly for cached statements

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

[issue44041] [sqlite3] check that column count is updated correctly for cached statements

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8363ac8607eca7398e568e1336154e1262a995a0 by Erlend Egeberg Aasland in branch 'main': bpo-44041: Add test for sqlite3 column count (GH-25907) https://github.com/python/cpython/commit/8363ac8607eca7398e568e1336154e1262a995a0 --

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 17c4edc4e0692fe55e185755ea8a2f5238f3ef08 by Pablo Galindo in branch 'main': bpo-43693: Revert commits 2c1e2583fdc4db6b43d163239ea42b0e8394171f and b2bf2bc1ece673d387341e06c8d3c2bc6e259747 (GH-26530)

[issue44048] test_hashlib failure for "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash" buildbot

2021-06-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +25124 pull_request: https://github.com/python/cpython/pull/26531 ___ Python tracker

[issue44048] test_hashlib failure for "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash" buildbot

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

[issue44048] test_hashlib failure for "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash" buildbot

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a46c220edc5cf716d0b71eb80ac29ecdb4ebb430 by stratakis in branch 'main': bpo-44048: Fix two hashlib test cases under FIPS mode (GH-26470) https://github.com/python/cpython/commit/a46c220edc5cf716d0b71eb80ac29ecdb4ebb430 -- nosy:

[issue44313] Generate LOAD_ATTR+CALL_FUNCTION instead of LOAD_METHOD+CALL_METHOD for imports

2021-06-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: @mark.shannon what do you think about doing this both for `import ` and `from import `. It will definitely simplify the implementation (no need to extra visitors or flags, just using the default DEF_IMPORT one

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR reverts commits 2c1e2583fdc4db6b43d163239ea42b0e8394171f and b2bf2bc1ece673d387341e06c8d3c2bc6e259747. Please, commit them back once the refleaks are resolved. I took a quick look and seems that there are several issues but there are more I could

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I was just asking if we could do anything about the multiple test failures > (especially test_asyncio failure). We don't see any failures as the ones in your logs in the buildbots or otherwise, so seems something wrong in your system or only

[issue44312] test_asyncio leaked [1533, 1531, 1533] references, sum=4597

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is caused by: https://bugs.python.org/issue43693 -- nosy: +Mark.Shannon, eric.snow ___ Python tracker ___

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

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

[issue44313] Generate LOAD_ATTR+CALL_FUNCTION instead of LOAD_METHOD+CALL_METHOD for imports

2021-06-04 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : import foo def func(): return foo.bar() The snippet above will generate the following code; 2 0 LOAD_GLOBAL 0 (foo) 2 LOAD_METHOD 1 (bar) 4 CALL_METHOD 0 6

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Please, in the future, check with the buildbots before merging these kinds of big PRs. -- ___ Python tracker ___

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, commit 2c1e2583fdc4db6b43d163239ea42b0e8394171f has broken all the refleak buildbots. Example failure: BISECTION: c1e2583fdc4db6b43d163239ea42b0e8394171f is the first bad commit commit 2c1e2583fdc4db6b43d163239ea42b0e8394171f Author:

[issue44312] test_asyncio leaked [1533, 1531, 1533] references, sum=4597

2021-06-04 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : All refleak buildbots are currently broken in master: .. test_asyncio leaked [1533, 1531, 1533] references, sum=4597 test_asyncio leaked [367, 366, 367] memory blocks, sum=1100 11 tests failed again: test_asyncgen test_asyncio test_code

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

2021-06-04 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: > Your logs don't show this error. This error is test_asyncio hanging, but in > your logs the test fails (multiple test do, actually). I didn't include this error. I was just asking if we could do anything about the multiple test failures (especially

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

2021-06-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Yes, with the commands you provided in the > https://bugs.python.org/issue38323#msg395090 I also reproduced the crash on > my WSL. And any suggestions on the other test failures in the log I attached? > I don't know if they are fixed already in the

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

2021-06-04 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: > bpo-38323 is not fixed yet, I can still easily reproduce the hang on Linux is > less than 1 minute: https://bugs.python.org/issue38323#msg395090 Yes, with the commands you provided in the https://bugs.python.org/issue38323#msg395090 I also reproduced the

[issue44308] Raw Strings lack parody

2021-06-04 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. Glad that you found a solution to your issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

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

2021-06-04 Thread STINNER Victor
STINNER Victor added the comment: Pablo: > Extending the bot time was done so we can use faulthandler to identify the > test, because buildbot was cancelling the whole build before that :) Right. I increased buildbot timeout to check if buildbots hang because of bpo-38323 or if it's a new

  1   2   >