[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 Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

[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
Change by miss-islington : -- pull_requests: +20465 pull_request: https://github.com/python/cpython/pull/21313 ___ 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:

[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

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

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

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

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

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

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

[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

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

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

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

[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

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

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

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

[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 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 ___ 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 : -- pull_requests: -20453 ___ 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 : -- keywords: +newcomer friendly -patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

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

[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

[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

[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

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

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

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

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

[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 daa0fe03a517d335d48e65ace8e5da636e265a8f by Konge in branch 'master': bpo-41162: Clear audit hooks later during finalization (GH-21222) https://github.com/python/cpython/commit/daa0fe03a517d335d48e65ace8e5da636e265a8f --

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

[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

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

[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

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

[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

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

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

[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

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

[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

[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

[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

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

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

[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

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

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

[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

[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

[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

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

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

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

[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

[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

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

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

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: > both 3.8 and 3.9 have to be available on the systems for the transition > period. If sonames can be incremented for libraries even if they are ABI compatible, how about using up as many as you need for the Debian package? Next time when I release mpdecimal,

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

2020-07-03 Thread tomaszdrozdz
New submission from tomaszdrozdz : I wish we had: asyncio.run(coro, *, debug=False, excepton_handler=None) so we could provide custome exception handler function for the loop. -- components: asyncio messages: 372934 nosy: asvetlov, tomaszdrozdz, yselivanov priority: normal

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

2020-07-03 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +20443 pull_request: https://github.com/python/cpython/pull/21294 ___ Python tracker ___

[issue38731] bad input crashes py_compile library

2020-07-03 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: The regression is tracked here: https://bugs.python.org/issue40456 And a PR is under review here: https://github.com/python/cpython/pull/17134 Also, this issue is a duplicate to this: https://bugs.python.org/issue40456 One of these should be closed.

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: > In the mean time may I request that you follow our protocol for code review. Ah, who reviews libffi? It is just updated. Not counting the thousands of other cases people commit unreviewed, like in changing the C-API. And no, Christian, that isn't

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: Matthias, to tell the truth, I was never sure about the soname. I read this: https://www.debian.org/doc/debian-policy/ch-sharedlibs.html """ The SONAME and binary package name need not, and indeed normally should not, change if new interfaces are added but

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: Since this issue has been brought to the attention of the CoC committee. Here is how *I* report issues: https://bugs.python.org/issue40223#msg372578 https://bugs.python.org/issue40223#msg372637 https://github.com/google/sanitizers/issues/1257 Note

[issue41201] Long integer arithmetic

2020-07-03 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41201] Long integer arithmetic

2020-07-03 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: This is because you used the floating point division operator `/` instead of the integer division `//`: def digitsum(num): digsum = 0 tnum = num while tnum > 0: print("tnum = %d, digsum = %d" % (tnum,digsum)) digsum += (tnum

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Matthias Klose
Matthias Klose added the comment: I'm +-0 on if that should be integrated into 3.9. Only a few people are using --with-system-libmpdec. However the way that mpdecimal 2.4 and 2.5 are released, they are not usable for Debian or Ubuntu for the transition from 3.8 to 3.9. For that, both 3.8

[issue38113] Remove statics from ast.c

2020-07-03 Thread STINNER Victor
STINNER Victor added the comment: > New changeset ac46eb4ad6662cf6d771b20d8963658b2186c48c by Eric Snow (Dino > Viehland) in branch 'master': > bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957) This change introduced a subtle regression: bpo-41194. I modified the _ast module

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: > backwards incompatible changes. It is not a backwards incompatible change. Slamming a 3.9 into a nightly build has never been supported. -- ___ Python tracker

[issue41201] Long integer arithmetic

2020-07-03 Thread David Srebnick
New submission from David Srebnick : The following program is one way of computing the sum of digits in a number. It works properly for the first case, but fails for the second one. def digitsum(num): digsum = 0 tnum = num while tnum > 0: print("tnum = %d, digsum = %d" %

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: Raymond, Mark, Antoine: If you think this should be reverted, I'll revert it. -- nosy: +mark.dickinson, pitrou, rhettinger ___ 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
Change by STINNER Victor : -- pull_requests: +20442 pull_request: https://github.com/python/cpython/pull/21293 ___ 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 Arcadiy Ivanov
Change by Arcadiy Ivanov : -- nosy: -Digital India ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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
Change by STINNER Victor : -- pull_requests: +20441 pull_request: https://github.com/python/cpython/pull/21292 ___ 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: New changeset 91e1bc18bd467a13bceb62e16fbc435b33381c82 by Victor Stinner in branch 'master': bpo-41194: The _ast module cannot be loaded more than once (GH-21290) https://github.com/python/cpython/commit/91e1bc18bd467a13bceb62e16fbc435b33381c82 --

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Stefan Krah added the comment: I was accused of breaking the release, which is false. It is outside of a release manager's authority to claim that an *experimental* and *nightly* build that uses a flag in an unintended manner needs counts as breakage. --

[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

[issue40874] Update to libmpdec-2.5.0

2020-07-03 Thread Stefan Krah
Change by Stefan Krah : -- components: +Extension Modules resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

  1   2   >