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

a bit feedback for JSON documents

2020-07-03 Thread 황병희
There is some comment for https://docs.python.org/3.10/library/json.html. The latest RFC number is 8259. Thanks, Sincerely, JSON fan Byung-Hee -- ^고맙습니다 _白衣從軍_ 감사합니다_^))// -- https://mail.python.org/mailman/listinfo/python-list

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

[RELEASE] Python 3.9.0b4 is now ready for testing

2020-07-03 Thread Łukasz Langa
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.9.0b4. Get it here: https://www.python.org/downloads/release/python-390b4/

[RELEASE] Python 3.9.0b4 is now ready for testing

2020-07-03 Thread Łukasz Langa
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.9.0b4. Get it here: https://www.python.org/downloads/release/python-390b4/

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

Re: New to python - Just a question

2020-07-03 Thread Tim Chase
On 2020-07-03 10:09, Daley Okuwa via Python-list wrote: > Write an algorithm (choose the language you prefer) that given a > character string, for instance {‘c’,’a’,’i’,’o’,’p’,’a’}, will > print out the list of characters appearing at least 2 times. In > this specific example, it would return

[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

Making and seeing mistakes [was: Formal Question to Steering Council]

2020-07-03 Thread Ethan Furman
On 07/03/2020 11:57 AM, Jon Ribbens via Python-list wrote: On 2020-07-03, Michael Torrie wrote: All you needed to say was, "No, she did not conflate 'White' with race." To say "[I] did," is a very odd thing, and certainly inaccurate. I definitely did not conflate White with race. Why do

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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Jon Ribbens via Python-list
On 2020-07-03, Michael Torrie wrote: > On 7/3/20 10:57 AM, Jon Ribbens via Python-list wrote: >> On 2020-07-03, Ethan Furman wrote: >>> On 07/02/2020 07:42 PM, Jon Ribbens via Python-list wrote: She didn't - you did. >>> >>> Please keep the discourse civil. Petty taunts are not helpful. >>

[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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Terry Reedy
On 7/2/2020 6:46 PM, Random832 wrote: how much of that discussion you've actually read), but the point is that the *whole idea* of "standard English" is tied to white supremacy, not any particular standard whether via its authors or otherwise. France has the French Academy to protect the

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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Dieter Maurer
Random832 wrote at 2020-7-2 18:46 -0400: > ... the *whole idea* of "standard English" is tied to white supremacy, not > any particular standard whether via its authors or otherwise. PEP 8 was initially designed as a style specification for Python's runtime library. I hope we can agree that all

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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Michael Torrie
On 7/3/20 10:57 AM, Jon Ribbens via Python-list wrote: > On 2020-07-03, Ethan Furman wrote: >> On 07/02/2020 07:42 PM, Jon Ribbens via Python-list wrote: >>> She didn't - you did. >> >> Please keep the discourse civil. Petty taunts are not helpful. > > Sorry, I don't understand what you are

[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

Re: New to python - Just a question

2020-07-03 Thread Rhodri James
On 03/07/2020 11:09, Daley Okuwa via Python-list wrote: Please can someone help Write an algorithm (choose the language you prefer) that given a character string, for instance {‘c’,’a’,’i’,’o’,’p’,’a’}, will print out the list of characters appearing at least 2 times. In this specific

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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Jon Ribbens via Python-list
On 2020-07-03, Ethan Furman wrote: > On 07/02/2020 07:42 PM, Jon Ribbens via Python-list wrote: >> She didn't - you did. > > Please keep the discourse civil. Petty taunts are not helpful. Sorry, I don't understand what you are getting at. My comment was not a "petty taunt", it was an important

[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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Ethan Furman
On 07/02/2020 07:42 PM, Jon Ribbens via Python-list wrote: She didn't - you did. Please keep the discourse civil. Petty taunts are not helpful. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

[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

Re: New to python - Just a question

2020-07-03 Thread David Lowry-Duda
Hello! > Please can someone help > > Write an algorithm (choose the language you prefer) that given a > character string, for instance {‘c’,’a’,’i’,’o’,’p’,’a’}, will print > out the list of characters appearing at least 2 times. In this > specific example, it would return {‘a’}. Afterwards,

[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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Rhodri James
On 03/07/2020 15:28, Jon Ribbens via Python-list wrote: On 2020-07-03, Rhodri James wrote: On 02/07/2020 23:46, Random832 wrote: On Thu, Jul 2, 2020, at 18:29, Michael Torrie wrote: Come again? I can see no other link in the verbage with the "relics of white supremacy" that she referred to.

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Bev In TX
> On Jul 3, 2020, at 10:23 AM, o1bigtenor wrote: > > I decry the present hypersensitivity to any hint of culture that was > present some 200 years ago especially when such sensitivity is used > to block a wider group from participating. IMO such hypersensitive > individuals might be better

[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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Jon Ribbens via Python-list
On 2020-07-02, Michael Torrie wrote: > On 7/2/20 1:26 PM, Jon Ribbens via Python-list wrote: >> On 2020-07-02, Michael Torrie wrote: >>> Agreed. She just needs to fix her commit message to remove the sentence >>> about the relics of white supremacy. The fact she would conflate an >>> author's

New to python - Just a question

2020-07-03 Thread Daley Okuwa via Python-list
Please can someone help Write an algorithm (choose the language you prefer) that given a character string, for instance {‘c’,’a’,’i’,’o’,’p’,’a’}, will print out the list of characters appearing at least 2 times. In this specific example, it would return {‘a’}. Afterwards, comment out the

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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread o1bigtenor
On Thu, Jul 2, 2020 at 7:05 PM Michael Torrie wrote: > > On 7/2/20 4:46 PM, Random832 wrote: > > It's possible that this wasn't explained clearly enough in the commit > > message itself (though I would argue it was definitely adequately > > explained in the ensuing on-list discussion, and wonder

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

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Jon Ribbens via Python-list
On 2020-07-03, Rhodri James wrote: > On 02/07/2020 23:46, Random832 wrote: >> On Thu, Jul 2, 2020, at 18:29, Michael Torrie wrote: >>> Come again? I can see no other link in the verbage with the >>> "relics of white supremacy" that she referred to. If there are >>> other links, they should be

[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

  1   2   >