[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +20446 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21297 ___ Python tracker

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: How witty! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Christian Heimes
Christian Heimes added the comment: Are you saying that you are not follow advises and guidelines of the developer guide? -- ___ Python tracker ___

[issue41180] marshal load bypass code.__new__ audit event

2020-07-03 Thread miss-islington
miss-islington added the comment: New changeset c1d916595eb6979d4d87cc3e5216e26b3c6fac25 by Miss Islington (bot) in branch '3.8': bpo-41180: Audit code.__new__ when unmarshalling (GH-21271) https://github.com/python/cpython/commit/c1d916595eb6979d4d87cc3e5216e26b3c6fac25 --

[issue41162] Clear audit hooks after destructors

2020-07-03 Thread Steve Dower
Steve Dower added the comment: New changeset e1d4fdc53347617bea1aff0d7112471453f65003 by Steve Dower in branch '3.9': bpo-41162: Clear audit hooks later during finalization (GH-21222) https://github.com/python/cpython/commit/e1d4fdc53347617bea1aff0d7112471453f65003 --

[issue41192] Some audit events are undocumented

2020-07-03 Thread Steve Dower
Steve Dower added the comment: Maybe we need to add a page for "undocumented" events? I really don't want to document the _ctypes or _winapi modules - those should remain internal-only. Maybe we can add a section to the end of the audit_events.rst file for "other events"? The generation of

[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2020-07-03 Thread Matthew Hughes
Matthew Hughes added the comment: I noticed this test was still emitting a "ResourceWarning": -- $ ./python -m test test_ssl -m TestPostHandshakeAuth 0:00:00 load avg: 0.74 Run tests sequentially 0:00:00 load avg: 0.74 [1/1]

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: Finally, about the Debian issue, of course you could also link 3.8 against the static lib. -- ___ Python tracker ___

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: Łukasz, which one is nicer? > reverting this patch passes all the tests, what's the motivation and why were > there no code reviews for this? or: > Yeah, I already felt a bit guilty about adding you -- it could be a compiler > bug or an actual overflow. My

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: > Finally, while Raymond and Antoine are welcome to voice their opinions on the > matter, your change is landing in 3.9.0b4 which I'm about to announce. So we > won't be reverting it. In the future let's make sure we stick to the release > calendar to avoid

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-07-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset b1cc6ba73a51d5cc3aeb113b5e7378fb50a0e20a by Victor Stinner in branch 'master': bpo-41194: Convert _ast extension to PEP 489 (GH-21293) https://github.com/python/cpython/commit/b1cc6ba73a51d5cc3aeb113b5e7378fb50a0e20a --

[issue41176] revise Tkinter mainloop dispatching flag behavior

2020-07-03 Thread Richard Sheridan
Change by Richard Sheridan : -- keywords: +patch pull_requests: +20448 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21299 ___ Python tracker

[issue41198] Round built-in function not shows zeros acording significant figures and calculates different numbers of odd and even

2020-07-03 Thread Tim Peters
Tim Peters added the comment: Thanks, Mark! I didn't even know __round__ had become a dunder method. For the rest, I'll follow StackOverflow - I don't have an instant answer, and the instant answers I _had_ didn't survive second thoughts ;-) --

[issue41162] Clear audit hooks after destructors

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20451 pull_request: https://github.com/python/cpython/pull/21302 ___ Python tracker ___

[issue41204] Use of unitialized variable `fields` along error path in code generated from asdl_c.py

2020-07-03 Thread Brad Larsen
New submission from Brad Larsen : In commit b1cc6ba73 from earlier today, an error-handling path can now read an uninitialized variable. https://github.com/python/cpython/commit/b1cc6ba73a51d5cc3aeb113b5e7378fb50a0e20a#diff-fa7f27df4c8df1055048e78340f904c4R695-R697 In particular, asdl_c.py

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Łukasz Langa
Łukasz Langa added the comment: > And a release manager who has no libmpdec expertise or authority took the > side of the "bug" reporter without much thought. What is this elusive "authority" you keep bringing up? > Note that I do not go straight into accusing people, especially in uncertain

[issue41198] Round built-in function not shows zeros acording significant figures and calculates different numbers of odd and even

2020-07-03 Thread Mark Dickinson
Mark Dickinson added the comment: Just for fun, I posted a Stack Overflow question: https://stackoverflow.com/q/62721186/270986 Let's close this here. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue38731] bad input crashes py_compile library

2020-07-03 Thread Hubert Pineault
Hubert Pineault added the comment: Thanks Joannah, I confirm this is a duplicate of https://bugs.python.org/issue40456 The issue is better tracked in 40456, so you can close here. -- ___ Python tracker

[issue41180] marshal load bypass code.__new__ audit event

2020-07-03 Thread Steve Dower
Steve Dower added the comment: Ah, you're right. Thanks for double checking me :) I'll merge the PR and do the backports. Thanks! -- ___ Python tracker ___

[issue41180] marshal load bypass code.__new__ audit event

2020-07-03 Thread Steve Dower
Steve Dower added the comment: New changeset d160e0f8e283d0a8737644588b38e8c6a07c134f by tkmikan in branch 'master': bpo-41180: Audit code.__new__ when unmarshalling (GH-21271) https://github.com/python/cpython/commit/d160e0f8e283d0a8737644588b38e8c6a07c134f --

[issue41180] marshal load bypass code.__new__ audit event

2020-07-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +20449 pull_request: https://github.com/python/cpython/pull/21300 ___ Python tracker

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

2020-07-03 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset c0b214bc08f0da89e5b2e4b8cc9f07783833d6b8 by Dong-hee Na in branch 'master': bpo-1635741: Port faulthandler module to multiphase initialization (GH-21294) https://github.com/python/cpython/commit/c0b214bc08f0da89e5b2e4b8cc9f07783833d6b8

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread Steve Dower
Steve Dower added the comment: Bumping to release blocker and adding RMs. Should definitely get this fix merged within the next week, and I don't want the next round of releases to go out without it. -- nosy: +lukasz.langa, ned.deily priority: normal -> release blocker versions:

[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2020-07-03 Thread Matthew Hughes
Matthew Hughes added the comment: Whoops, I realise the patch I shared contained a combination of two (independent) approaches I tried: 1. Add sleep and perform cleanup 2. Naively patch catch_threading_exception to accept a cleanup routine to be run upon exiting but before removing the

[issue41203] Replace references to OS X in documentation with macOS

2020-07-03 Thread Patrick Reader
New submission from Patrick Reader : Since 10.12 (Sierra, released in 2016), macOS is no longer called OS X. References to macOS in the documentation should be updated to reflect this. This is now especially important because macOS 11 (Big Sur) is now in preview, and the X meaning 10 in

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20447 pull_request: https://github.com/python/cpython/pull/21298 ___ Python tracker ___

[issue33327] Add a method to move messages to IMAPlib

2020-07-03 Thread Hans-Peter Jansen
Hans-Peter Jansen added the comment: If I'm not mistaken, this is applied to the openSUSE TW version of Python. For some reason, this seems to not play well with .uid('move',...) on a cyrus imap server (v2.4.19). Is that to be expected? ``` 2020-07-03 18:04:05 INFO: [imap_reorg] move

[issue41162] Clear audit hooks after destructors

2020-07-03 Thread Steve Dower
Steve Dower added the comment: New changeset daa0fe03a517d335d48e65ace8e5da636e265a8f by Konge in branch 'master': bpo-41162: Clear audit hooks later during finalization (GH-21222) https://github.com/python/cpython/commit/daa0fe03a517d335d48e65ace8e5da636e265a8f --

[issue39542] Cleanup object.h header

2020-07-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: PyTuple_Check() got slower across the board. This is problematic because the principal use case for PyTuple_Check() is as a guard for various fast paths. The direct cause of the degradation is that the inlining of PyType_Check() didn't go so well —

[issue41198] Round built-in function not shows zeros acording significant figures and calculates different numbers of odd and even

2020-07-03 Thread Mark Dickinson
Mark Dickinson added the comment: One note: in the original post, not only are the values being tested coming from NumPy's arange, but round(x[i],1) is testing *NumPy's* rounding functionality, not Python's. x[i] has type np.float64, and while np.float64 does inherit from Python's float, it

[issue41180] marshal load bypass code.__new__ audit event

2020-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +20450 pull_request: https://github.com/python/cpython/pull/21301 ___ Python tracker ___

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41199] Docstring convention not followed for dataclasses documentation page

2020-07-03 Thread Eric V. Smith
Change by Eric V. Smith : -- pull_requests: -20437 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41110] 2to3 reports some files as both not changing and having been modified

2020-07-03 Thread Ashley Whetter
Change by Ashley Whetter : -- keywords: +patch pull_requests: +20445 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21296 ___ Python tracker ___

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-07-03 Thread STINNER Victor
STINNER Victor added the comment: I cannot reproduce msg372859 crash anymore. I tested 3.9 and master branches. I close the issue. Thanks Arcadiy Ivanov for testing beta releases ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue41110] 2to3 reports some files as both not changing and having been modified

2020-07-03 Thread SilentGhost
Change by SilentGhost : -- nosy: +benjamin.peterson type: -> behavior versions: -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue41180] marshal load bypass code.__new__ audit event

2020-07-03 Thread miss-islington
miss-islington added the comment: New changeset 1c776541a8805576c0a4363ca28c1d29423f02f6 by Miss Islington (bot) in branch '3.9': bpo-41180: Audit code.__new__ when unmarshalling (GH-21271) https://github.com/python/cpython/commit/1c776541a8805576c0a4363ca28c1d29423f02f6 --

[issue41192] Some audit events are undocumented

2020-07-03 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33327] Add a method to move messages to IMAPlib

2020-07-03 Thread Matej Cepl
Matej Cepl added the comment: 1. no this has not been included anywhere, just in the unfinished PR on GitHub 2. only thing which I was fighting to get into Python (and I did) was https://bugs.python.org/issue6 but that’s another issue (without this whole discussion here would not be even

[issue41207] distutils.command.build_ext raises FileNotFoundError

2020-07-03 Thread Jason R. Coombs
New submission from Jason R. Coombs : In [pypa/setuptools#2228](https://github.com/pypa/setuptools/issues/2228), by adopting the distutils codebase from a late release of CPython, Setuptools stumbled onto an API-breaking change in distutils rooted at issue39763. Details are in the Setuptools

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-07-03 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've flagged issue41207 as a regression stemming from this effort. -- nosy: +jaraco ___ Python tracker ___

[issue41207] distutils.command.build_ext raises FileNotFoundError

2020-07-03 Thread Jason R. Coombs
Change by Jason R. Coombs : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41206] behaviour change with EmailMessage.set_content

2020-07-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is caused due to c1f1ddf30a595c2bfa3c06e54fb03fa212cd28b5 introduced as part of bpo-40597 which is reported back in the issue with https://bugs.python.org/msg370395 -- nosy: +xtreak ___ Python

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 5.0 -> 6.0 pull_requests: +20463 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21311 ___ Python tracker

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +20464 pull_request: https://github.com/python/cpython/pull/21312 ___ Python tracker ___

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread miss-islington
miss-islington added the comment: New changeset b40e434386cd94a367d4a256e3364771140160e7 by Zackery Spytz in branch 'master': bpo-33864: Clarify the docs for typing.ByteString (GH-21311) https://github.com/python/cpython/commit/b40e434386cd94a367d4a256e3364771140160e7 -- nosy:

[issue41162] Clear audit hooks after destructors

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20456 pull_request: https://github.com/python/cpython/pull/21304 ___ Python tracker ___

[issue21222] Mock create_autospec with name argument fails

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower nosy_count: 3.0 -> 4.0 pull_requests: +20455 pull_request: https://github.com/python/cpython/pull/21304 ___ Python tracker ___

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -20454 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21222] Mock create_autospec with name argument fails

2020-07-03 Thread Steve Dower
Steve Dower added the comment: New changeset 941117aaa32bf8b02c739ad848ac727292f75b05 by Steve Dower in branch '3.9': bpo-21222: Fix improperly merged change so that final hooks are called before types are cleared (GH-21304)

[issue41173] Windows ARM buildbots cannot upload results

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +20457 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21305 ___ Python tracker ___

[issue41206] behaviour change with EmailMessage.set_content

2020-07-03 Thread David Bremner
New submission from David Bremner : Works in 3.8.3, but not in 3.8.4rc1 from email.message import EmailMessage msg = EmailMessage() msg.set_content("") Apparently now at least one newline is required. -- components: email messages: 372971 nosy: barry, bremner, r.david.murray

[issue41192] Some audit events are undocumented

2020-07-03 Thread Saiyang Gou
Saiyang Gou added the comment: I've created PR 21308 for this. BTW, is issue 39567 (`os.walk`, `os.fwalk`, `pathlib.Path.glob` and `pathlib.Path.rglob`) intentionally not backported to 3.8? -- ___ Python tracker

[issue41165] [Python 3.10] Remove APIs deprecated long enough

2020-07-03 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +20461 pull_request: https://github.com/python/cpython/pull/21309 ___ Python tracker ___

[issue41192] Some audit events are undocumented

2020-07-03 Thread Saiyang Gou
Change by Saiyang Gou : -- pull_requests: +20462 pull_request: https://github.com/python/cpython/pull/21310 ___ Python tracker ___

[issue41205] Documentation Decimal power 0 to the 0 is Nan (versus 0 to the 0 which is 1)

2020-07-03 Thread Tim Peters
Tim Peters added the comment: Huh! I thought everyone in Standards World gave up by now, and agreed 0**0 should be 1. -- nosy: +tim.peters ___ Python tracker ___

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20454 pull_request: https://github.com/python/cpython/pull/21304 ___ Python tracker ___

[issue21222] Mock create_autospec with name argument fails

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -20453 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21222] Mock create_autospec with name argument fails

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- nosy: -steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +20465 pull_request: https://github.com/python/cpython/pull/21313 ___ Python tracker ___

[issue33327] Add a method to move messages to IMAPlib

2020-07-03 Thread Matej Cepl
Matej Cepl added the comment: Sorry, UIDPLUS capability. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41162] Clear audit hooks after destructors

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20452 pull_request: https://github.com/python/cpython/pull/21303 ___ Python tracker ___

[issue21222] Mock create_autospec with name argument fails

2020-07-03 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower nosy_count: 3.0 -> 4.0 pull_requests: +20453 pull_request: https://github.com/python/cpython/pull/21304 ___ Python tracker ___

[issue41199] Docstring convention not followed for dataclasses documentation page

2020-07-03 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +newcomer friendly -patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41205] Documentation Decimal power 0 to the 0 is Nan (versus 0 to the 0 which is 1)

2020-07-03 Thread JD-Veiga
New submission from JD-Veiga : Hi, I would like to propose a minor addition to `decimal` package documentation page (https://docs.python.org/3/library/decimal.html). I think that we should add a paragraph in `context.power(x, y, modulo=None)` stating that `Decimal(0) ** Decimal(0)` returns

[issue41204] Use of unitialized variable `fields` along error path in code generated from asdl_c.py

2020-07-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +20459 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21307 ___ Python tracker ___

[issue41205] Documentation Decimal power 0 to the 0 is Nan (versus 0 to the 0 which is 1)

2020-07-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +facundobatista, mark.dickinson, rhettinger, skrah ___ Python tracker ___ ___

[issue41203] Replace references to OS X in documentation with macOS

2020-07-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41162] Clear audit hooks after destructors

2020-07-03 Thread Steve Dower
Steve Dower added the comment: New changeset b9e288cc1bfd583e887f784e38d9c511b43c0c3a by Steve Dower in branch '3.8': bpo-41162: Clear audit hooks later during finalization (GH-21222) https://github.com/python/cpython/commit/b9e288cc1bfd583e887f784e38d9c511b43c0c3a --

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-07-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20458 pull_request: https://github.com/python/cpython/pull/21306 ___ Python tracker ___

[issue41192] Some audit events are undocumented

2020-07-03 Thread Saiyang Gou
Change by Saiyang Gou : -- keywords: +patch pull_requests: +20460 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21308 ___ Python tracker ___

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread miss-islington
miss-islington added the comment: New changeset 1cbcf9833f26588a16b5b69d202df727dbd09968 by Miss Islington (bot) in branch '3.9': bpo-33864: Clarify the docs for typing.ByteString (GH-21311) https://github.com/python/cpython/commit/1cbcf9833f26588a16b5b69d202df727dbd09968 --

[issue33864] collections.abc.ByteString does not register memoryview

2020-07-03 Thread miss-islington
miss-islington added the comment: New changeset 6857ebefc048e316f948091946d337b5ada807a4 by Miss Islington (bot) in branch '3.8': bpo-33864: Clarify the docs for typing.ByteString (GH-21311) https://github.com/python/cpython/commit/6857ebefc048e316f948091946d337b5ada807a4 --

[issue40213] contextlib.aclosing()

2020-07-03 Thread Alex Grönholm
Alex Grönholm added the comment: I think the most important use case for these is closing async generators deterministically, since they don't support the async context manager protocol. -- ___ Python tracker

[issue38731] bad input crashes py_compile library

2020-07-03 Thread Hubert Pineault
Hubert Pineault added the comment: The bug is still there in python 3.8.4rc1 It has nothing to do with the doc. As pointed by Kaoru, it is introduced in line 200 of commit 2e33ecd7c9b0cac3efc6fcbdd4547fd086b4e2d1 see this comment, also by Kaoru:

[issue41199] Docstring convention not followed for dataclasses documentation page

2020-07-03 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +20436 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21289 ___ Python tracker

[issue40213] contextlib.aclosing()

2020-07-03 Thread John Belmonte
John Belmonte added the comment: Given the lack of deterministic cleanup for iterators (https://www.python.org/dev/peps/pep-0533/), aclosing() is the way to ensure deterministic cleanup given any API using async iteration. -- ___ Python tracker

[issue40213] contextlib.aclosing()

2020-07-03 Thread Alex Grönholm
Alex Grönholm added the comment: They are both still useful, particularly with third party libraries. Just yesterday I found myself looking for aclosing() in contextlib, only to remember this issue. -- ___ Python tracker

[issue40213] contextlib.aclosing()

2020-07-03 Thread John Belmonte
John Belmonte added the comment: highlighting from PEP 533: > Async generators cannot do cleanup at all without some mechanism for > deterministic cleanup that people will actually use, and async generators are > particularly likely to hold resources like file descriptors. --

[issue41199] Docstring convention not followed for dataclasses documentation page

2020-07-03 Thread Ned Deily
Change by Ned Deily : -- pull_requests: -20436 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41194] SIGSEGV in Python 3.9.0b3 in Python-ast.c:1412

2020-07-03 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41194] SIGSEGV in Python 3.9.0b3 in Python-ast.c:1412

2020-07-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20439 pull_request: https://github.com/python/cpython/pull/21290 ___ Python tracker ___

[issue41199] Docstring convention not followed for dataclasses documentation page

2020-07-03 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +20437 pull_request: https://github.com/python/cpython/pull/21289 ___ Python tracker ___

[issue41194] SIGSEGV in Python 3.9.0b3 in Python-ast.c:1412

2020-07-03 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- title: Digital India -> SIGSEGV in Python 3.9.0b3 in Python-ast.c:1412 ___ Python tracker ___ ___

[issue41200] Add pickle.loads fuzz test

2020-07-03 Thread Bruce Day
New submission from Bruce Day : add pickle.loads(x) fuzz test -- components: Tests messages: 372916 nosy: Bruce Day priority: normal pull_requests: 20438 severity: normal status: open title: Add pickle.loads fuzz test type: security versions: Python 3.10

[issue35105] Document that CPython accepts "invalid" identifiers

2020-07-03 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41194] SIGSEGV in Python 3.9.0b3 in Python-ast.c:1412

2020-07-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 74419f0c64959bb8392fcf3659058410423038e1 by Victor Stinner in branch 'master': bpo-41194: Pass module state in Python-ast.c (GH-21284) https://github.com/python/cpython/commit/74419f0c64959bb8392fcf3659058410423038e1 --

[issue41194] Digital India

2020-07-03 Thread Digital India
Digital India added the comment: Digital INDIA Common Services Centre is an online portal where citizens are provided access to various government services. The CSC e-Governance is a  portal developed by the Ministry of Electronics and Information Technology, Government of India. 

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

2020-07-03 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 9d006977d7ff5a45d6e7d696c1713fdf2dd308b7 by Mohamed Koubaa in branch 'master': bpo-1635741: Port sha256 module to multiphase init (PEP 489) (GH-21189) https://github.com/python/cpython/commit/9d006977d7ff5a45d6e7d696c1713fdf2dd308b7 --

[issue41165] [Python 3.10] Remove APIs deprecated long enough

2020-07-03 Thread Inada Naoki
Inada Naoki added the comment: As we discussed in ML, PyEval_ReleaseLock is still used and removing may be not simple. Keep it as-is until Python 4.0. -- ___ Python tracker

[issue41194] SIGSEGV in Python 3.9.0b3 in Python-ast.c:1412

2020-07-03 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- Removed message: https://bugs.python.org/msg372915 ___ Python tracker ___ ___ Python-bugs-list

[issue41196] APPDATA directory is different in store installed python

2020-07-03 Thread Steve Dower
Steve Dower added the comment: > A crude workaround is to script PowerShell or CMD in a child process. I mean, that's not a *terrible* workaround: >>> import os >>> p1 = os.path.expandvars("%APPDATA%\\test.txt") >>> p1 'C:\\Users\\steve\\AppData\\Roaming\\test.txt' >>> open(p1, "w").close()

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-07-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset f8599279b6ac8c44538b608fd08c13ccf674f497 by Victor Stinner in branch '3.9': [3.9] bpo-41194: The _ast module cannot be loaded more than once (GH-21290) (GH-21292)

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

2020-07-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3549ca313a6103a3adb281ef3a849298b7d7f72c by Victor Stinner in branch 'master': bpo-1635741: Fix unicode_dealloc() for mortal interned string (GH-21270) https://github.com/python/cpython/commit/3549ca313a6103a3adb281ef3a849298b7d7f72c

[issue41202] Allow to provide custom exception handler to asyncio.run()

2020-07-03 Thread tomaszdrozdz
Change by tomaszdrozdz : -- title: Allo to provide custom exception handler to asyncio.run() -> Allow to provide custom exception handler to asyncio.run() ___ Python tracker

[issue41202] Allow to provide custom exception handler to asyncio.run()

2020-07-03 Thread tomaszdrozdz
Change by tomaszdrozdz : -- keywords: +patch pull_requests: +20444 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21295 ___ Python tracker ___

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: It is instructive that ArchLinux quietly and professionally packaged mpdecimal-2.5.0 hours after the release: https://www.archlinux.org/packages/?sort==mpdecimal== This is in stark contrast with Python-dev, where a maintainer of an *experimental* *nightly*

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Christian Heimes
Christian Heimes added the comment: > I was the one being attacked in this issue, while releasing a zero fault library whose release procedures resemble those found in avionics software. I have reported this incident to the steering council and Code of Conduct working group. I let them

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-07-03 Thread Arcadiy Ivanov
Change by Arcadiy Ivanov : -- nosy: -Digital India ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >