[issue35753] Importing call from unittest.mock directly causes ValueError

2020-10-25 Thread Alfred Perlstein
Change by Alfred Perlstein : -- pull_requests: +21898 pull_request: https://github.com/python/cpython/pull/22981 ___ Python tracker ___

[issue42147] Micro optimization for longrange iteration if step is 1

2020-10-25 Thread Dong-hee Na
Dong-hee Na added the comment: Sorry for the offtopic @methane Looks like Inada san is the right expression. ;) > But China and Korea don't reverse name. This is a very intereting fact, the national system of Korea are using surname-given name order or printing with a distinc section. A g

[issue42147] Micro optimization for longrange iteration if step is 1

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: Oh, I didn't know that. Thank you. I thought Chinese and Korean use surname-given name order because of "Xí Jìnpíng", "Moon Jae-in", and "Kim Jong-un". Japanese previous P.M. used "Shinzo Abe" English notation, but changed it to "Abe Shinzo" recently. -

[issue42151] Pure Python xml.etree.ElementTree is missing default attribute values

2020-10-25 Thread Felix C. Stegerman
New submission from Felix C. Stegerman : I originally reported this as a bug in PyPy, but it turns out that CPython's C implementation (_elementtree) behaves differently than the pure Python version (b/c it sets specified_attributes = 1). PyPy issue with example code: https://foss.heptapod.ne

[issue42151] Pure Python xml.etree.ElementTree is missing default attribute values

2020-10-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eli.bendersky, scoder, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list m

[issue32122] Improve -x option documentation

2020-10-25 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +newcomer friendly versions: +Python 3.10 -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ __

[issue42140] asyncio.wait function creates futures set two times

2020-10-25 Thread Denis S. Otkidach
Denis S. Otkidach added the comment: The current error message is way too cryptic anyway. And restricting it to the set type only, as in docs, will certainly break a lot of code (passing a list is quite common). -- ___ Python tracker

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2020-10-25 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue33557] Windows multiprocessing doesn't propagate tabcheck to children

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: Python 2.7 became EOL. -- nosy: +methane resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue42151] Pure Python xml.etree.ElementTree is missing default attribute values

2020-10-25 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue39871] math.copysign raises SystemError with non-float x and custom y

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: New changeset f6255a2ccb55a63194caf698f471c803c08be359 by Zackery Spytz in branch '3.8': bpo-39871: Fix an error in a news entry (GH-21749) https://github.com/python/cpython/commit/f6255a2ccb55a63194caf698f471c803c08be359 -- __

[issue41662] Bugs in binding parameters in sqlite3

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: New changeset a053a7ecfef006b834a9957468fa461dafb332db by Miss Skeleton (bot) in branch '3.8': bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998) https://github.com/python/cpython/commit/a053a7ecfef006b834a9957468fa461dafb332db -- nosy: +m

[issue41100] Build failure on macOS 11 (beta)

2020-10-25 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +21899 pull_request: https://github.com/python/cpython/pull/21115 ___ Python tracker ___ _

[issue39189] Use io.DEFAULT_BUFFER_SIZE for filecmp BUFSIZE variable

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: I concur with Benjamin. Although two variables are similar, they are used in the different layer. -- nosy: +methane resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue42006] Stop using PyDict_GetItem, PyDict_GetItemString and _PyDict_GetItemId

2020-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fb5db7ec58624cab0797b4050735be865d380823 by Serhiy Storchaka in branch 'master': bpo-42006: Stop using PyDict_GetItem, PyDict_GetItemString and _PyDict_GetItemId. (GH-22648) https://github.com/python/cpython/commit/fb5db7ec58624cab0797b405073

[issue40255] Fixing Copy on Writes from reference counting

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: I'm big -1 too. But I am interested in Instagram usage. * How % of heap are CoW-ed with gc.freeze()? * When CoW happen? in execution time, or shutdown? * Which type cause CoW? I have two ideas to reduce CoW: * Fast shutdown option Currently Python try to free

[issue40255] Fixing Copy on Writes from reference counting

2020-10-25 Thread Inada Naoki
Change by Inada Naoki : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42130] AsyncIO's wait_for can hide cancellation in a rare race condition

2020-10-25 Thread Denis S. Otkidach
Change by Denis S. Otkidach : -- nosy: +ods ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

<    1   2