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

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

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

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

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

[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

[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

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

[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

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

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

[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

[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 Inada Naoki
Inada Naoki added the comment: > On the other hand, GH-22479 is affect to all index API() whether the number > is large or small. Then, no need to revert GH-22479 for consistency. Thanks. > p.s by the way, Naoki is the last name or first name? ;) It is difficult to say what is first name.

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

2020-10-25 Thread Dong-hee Na
Dong-hee Na added the comment: @pablogsal, @serhiy.storchaka > I would advise against having more branching, especially for code that is > rare: About bpo-41902, I believe those patches affect all range objects which is created with step is one . I believe the usage of creation of range

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

2020-10-25 Thread Dong-hee Na
Dong-hee Na added the comment: s / will not effort / will not be affected -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2020-10-25 Thread Dong-hee Na
Dong-hee Na added the comment: @methane To be more precise, [[] for _ in range(1)] will not effort this patch because range(1) does not create longrangeiter object. This patch will affect to if the number is veeery large. On the other hand, GH-22479 is affect to all index API()

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

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: I had not noticed that there are rangeobject and longrangeobject. It doesn't affect to range(1) definitely. -- ___ Python tracker ___

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2020-10-25 Thread Guido van Rossum
Guido van Rossum added the comment: Are you sure? Running Ezio's titletest.py, I get this output (note that the UCD major version is in the double digits so the test for that misfires :-). titletest.py: Please set your PYTHONIOENCODING envariable to utf8 WARNING: Your old UCD is out of date,

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

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: My particular opinion is that I would advise against having more branching, especially for code that is rare: it augments the possibilities of branch mispredictions, the changes of untested code paths, and the possibilities of unknown interactions.

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

2020-10-25 Thread Inada Naoki
Inada Naoki added the comment: I agree that 1<<1000 is artificial example. But isn't this patch affects more regular patterns like [[] for _ in range(1)]? If we reject this, shouldn't we revert GH-22479 too? I believe iterating range object is much more common use case than range.index.

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread miss-islington
miss-islington added the comment: New changeset c12afa92b0db6f017e479b41f95d75bac7b59850 by Miss Skeleton (bot) in branch '3.9': [3.9] bpo-42146: Fix memory leak in subprocess.Popen() in case of uid/gid overflow (GH-22966) (GH-22980)

[issue42148] floating point representation issues

2020-10-25 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for double-checking the other languages, Steven. -- ___ Python tracker ___ ___

[issue42148] floating point representation issues

2020-10-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: It looks like Python is correct and the other languages may be just truncating the output. In the Lua interpreter: > =277*0.1 27.7 > = 277*0.1 == 27.7 false Perl: $ perl -e "use feature qw(say); say 277*0.1" 27.7 $ perl -e "use feature qw(say); if

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +21897 pull_request: https://github.com/python/cpython/pull/22980 ___ Python tracker

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset c0590c0033e86f98cdf5f2ca6898656f98ab4053 by Alexey Izbyshev in branch 'master': bpo-42146: Fix memory leak in subprocess.Popen() in case of uid/gid overflow (GH-22966)

[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds

2020-10-25 Thread Dima Tisnek
Dima Tisnek added the comment: Indeed, this issue can be closed, when the mac build update is confirmed to be included in a specific upcoming Python version. -- ___ Python tracker

[issue12930] reindent.py inserts spaces in multiline literals

2020-10-25 Thread Dima Tisnek
Dima Tisnek added the comment: Given the trajectory of this bug, would it be easier to remove `reindent.py` from cpython code base entirely? -- ___ Python tracker ___

[issue42148] floating point representation issues

2020-10-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: Eric I would normally agree with you but the only thing which gives me pause is the statement that this doesn't occur with C, Lua and Perl. That alone doesn't mean much. Different interpreters can use different algorithms for printing floats, Python

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread miss-islington
miss-islington added the comment: New changeset 0b290dd2171e745d94f48298cafb2327eb2de17c by Miss Skeleton (bot) in branch '3.9': bpo-42150: Avoid buffer overflow in the new parser (GH-22978) https://github.com/python/cpython/commit/0b290dd2171e745d94f48298cafb2327eb2de17c --

[issue2679] email.feedparser regex duplicate

2020-10-25 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2020-10-25 Thread Irit Katriel
Irit Katriel added the comment: The code in urllib is different now but I see that a test very similar to the one in the patch exists, so was this fixed? https://github.com/python/cpython/blob/e68c67805e6a4c4ec80bea64be0e8373cc02d322/Lib/test/test_urllib.py#L813 -- nosy:

[issue12930] reindent.py inserts spaces in multiline literals

2020-10-25 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21896 pull_request: https://github.com/python/cpython/pull/22979 ___ Python tracker

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e68c67805e6a4c4ec80bea64be0e8373cc02d322 by Pablo Galindo in branch 'master': bpo-42150: Avoid buffer overflow in the new parser (GH-22978) https://github.com/python/cpython/commit/e68c67805e6a4c4ec80bea64be0e8373cc02d322 --

[issue36207] robotsparser deny all with some rules

2020-10-25 Thread Nicolas
Nicolas added the comment: Sorry, I meant https://www.meridigital.com -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12832] The documentation for the print function should explain/point to how to control the sys.stdout encoding

2020-10-25 Thread Irit Katriel
Change by Irit Katriel : -- type: -> enhancement versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue36207] robotsparser deny all with some rules

2020-10-25 Thread Nicolas
Nicolas added the comment: Seems like we have the same issue with http://meridigital.com/robots.txt -- nosy: +nico702 -matthieuhemea ___ Python tracker ___

[issue4246] doc: execution model - clear and complete example in documentation

2020-10-25 Thread Irit Katriel
Change by Irit Katriel : -- title: execution model - clear and complete example in documentation -> doc: execution model - clear and complete example in documentation versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python

[issue5149] syntactic sugar: type coercion on pointer assignment

2020-10-25 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2020-10-25 Thread Irit Katriel
Irit Katriel added the comment: Of the examples given two seem ok now, but the Istanbul one is still wrong: >>> "déme un café".title() 'Déme Un Café' >>> "ᾲ στο διάολο".title() 'Ὰͅ Στο Διάολο' >>> >>> "i̇stanbul".title() 'İStanbul' -- nosy: +iritkatriel versions: +Python 3.10,

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

2020-10-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: Are you suggesting this is a bug, or is it just a suggested code cleanup? I ask because the docs suggest that a set should be passed: https://docs.python.org/3/library/asyncio-task.html#asyncio.wait And the docstring says it should be a sequence:

[issue30181] Correct the parsing of a test case docstring.

2020-10-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: I'm closing this as a duplicate of issue 39450, which has been resolved. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> unittest TestCase shortDescription does not strip whitespace

[issue33962] IDLE: use ttk.spinbox with configdialog

2020-10-25 Thread Mark Roseman
Mark Roseman added the comment: Just as a side note for Terry and anyone else testing on macOS... the recent updates in Tk have smoothed out many of the appearance issues for the classic widgets. See the attached screen shot tkversions.png comparing 8.6.9 with the current trunk of the Tk

[issue42141] Speedup various dict inits

2020-10-25 Thread Marco Sulla
Marco Sulla added the comment: Well, after a second thought I think you're right, there's no significant advantage and too much duplicated code. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Check the errors in this new builder I have prepared: https://buildbot.python.org/all/#/builders/582/builds/200/steps/5/logs/stdio -- stage: patch review -> ___ Python tracker

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21895 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22978 ___ Python tracker

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The problem seems to be that when we do const char *cur = strchr(p->tok->buf, '\n'); ... *(cur - 1) == '\\' we don't check if "cur" is before at p->tok->buf (and therefore we cannot check the previous char) --

[issue42150] Buffer overflow in bad_single_statement (Parser/pegen.c)

2020-10-25 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Building Python with the address sanitizer and executing ./python -m test test_repl -v shows this: === ==26216==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6023990f at pc

[issue42144] A missing "goto" in the _ssl module!

2020-10-25 Thread Christian Heimes
Christian Heimes added the comment: Thanks, excellent finding. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

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

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I concur with Serhiy -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list

[issue27495] Pretty printing sorting for set and frozenset instances

2020-10-25 Thread Ben Bonenfant
Change by Ben Bonenfant : -- nosy: +bbonenfant nosy_count: 6.0 -> 7.0 pull_requests: +21894 pull_request: https://github.com/python/cpython/pull/22977 ___ Python tracker ___

[issue42149] Python 'make test' failed inside ssh+tmux

2020-10-25 Thread Kostiantyn Mashukov
Kostiantyn Mashukov added the comment: Does it mean that running python script inside ssh+tmux session could fail if it uses functionality that fails those tests? -- ___ Python tracker

[issue42149] Python 'make test' failed inside ssh+tmux

2020-10-25 Thread Kostiantyn Mashukov
New submission from Kostiantyn Mashukov : Short version: When building python from source code on linux (Debian10 amd64) inside ssh+tmux session 'make test' ends up with some tests failed. Long version: Build environment - freshly installed Debian10-amd64 os. Added build dependency

[issue41916] cxx pthread check is not overrideable

2020-10-25 Thread Dustin Spicuzza
Dustin Spicuzza added the comment: FWIW, I've been using the patch in my PR and it seems to work. -- ___ Python tracker ___ ___

[issue42090] zipfile.Path.joinpath API inconsistent with pathlib.Path.joinpath

2020-10-25 Thread Jason R. Coombs
Change by Jason R. Coombs : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42090] zipfile.Path.joinpath API inconsistent with pathlib.Path.joinpath

2020-10-25 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +21893 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/22976 ___ Python tracker

[issue42043] zipfile.Path should support inheritance

2020-10-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset d1a0a960ee493262fb95a0f5b795b5b6d75cecb8 by Jason R. Coombs in branch 'master': bpo-42043: Add support for zipfile.Path subclasses (#22716) https://github.com/python/cpython/commit/d1a0a960ee493262fb95a0f5b795b5b6d75cecb8 --

[issue41919] Modify test_codecs to use the new codecs.unregister() function

2020-10-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42090] zipfile.Path.joinpath API inconsistent with pathlib.Path.joinpath

2020-10-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: This issue is fixed in zipp 3.4.0. -- assignee: -> jaraco stage: -> backport needed ___ Python tracker ___

[issue42145] test_io is leaking references

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the quick fix, hai shi -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42145] test_io is leaking references

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Fixed by https://github.com/python/cpython/pull/22973 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue41919] Modify test_codecs to use the new codecs.unregister() function

2020-10-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 14cdc215aa952d280c18626005d3aff967901d92 by Hai Shi in branch 'master': bpo-41919: Avoid resource leak in test_io (GH-22973) https://github.com/python/cpython/commit/14cdc215aa952d280c18626005d3aff967901d92 --

[issue42144] A missing "goto" in the _ssl module!

2020-10-25 Thread miss-islington
miss-islington added the comment: New changeset 83c86cf54b36a7325f615f5adf22b28e48f0e72d by Miss Skeleton (bot) in branch '3.9': bpo-42144: Add a missing "goto error;" in the _ssl module (GH-22959) https://github.com/python/cpython/commit/83c86cf54b36a7325f615f5adf22b28e48f0e72d --

[issue42144] A missing "goto" in the _ssl module!

2020-10-25 Thread miss-islington
miss-islington added the comment: New changeset 8e980ecfb7b42063ed41d665288aff69f0ed7fdc by Miss Skeleton (bot) in branch '3.8': bpo-42144: Add a missing "goto error;" in the _ssl module (GH-22959) https://github.com/python/cpython/commit/8e980ecfb7b42063ed41d665288aff69f0ed7fdc --

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset df8d4c83a6e1727e766191896aeabde886979587 by Jason R. Coombs in branch 'master': bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) https://github.com/python/cpython/commit/df8d4c83a6e1727e766191896aeabde886979587

[issue42144] A missing "goto" in the _ssl module!

2020-10-25 Thread miss-islington
miss-islington added the comment: New changeset c32f2976b8f4034724c3270397aa16f38daf470f by Zackery Spytz in branch 'master': bpo-42144: Add a missing "goto error;" in the _ssl module (GH-22959) https://github.com/python/cpython/commit/c32f2976b8f4034724c3270397aa16f38daf470f --

[issue42144] A missing "goto" in the _ssl module!

2020-10-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +21892 pull_request: https://github.com/python/cpython/pull/22975 ___ Python tracker ___

[issue42144] A missing "goto" in the _ssl module!

2020-10-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +21891 pull_request: https://github.com/python/cpython/pull/22974 ___ Python tracker ___

[issue42148] floating point representation issues

2020-10-25 Thread Eric V. Smith
Eric V. Smith added the comment: This isn't a bug. It's due to the base 2 representation of floating point numbers. See for example: See https://docs.python.org/3/tutorial/floatingpoint.html It's possible, depending on your use case, you might want to use the decimal module. But that has

[issue42145] test_io is leaking references

2020-10-25 Thread hai shi
hai shi added the comment: I created a possible fix PR: PR-22973 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2020-10-25 Thread Dong-hee Na
Dong-hee Na added the comment: if somebody try to sum very large value with range. sum(range(1 << 1000, (1 << 1000) + 100)) it can be affected by this patch. -- ___ Python tracker

[issue42145] test_io is leaking references

2020-10-25 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42148] floating point representation issues

2020-10-25 Thread Andrea Tuccia
New submission from Andrea Tuccia : I'm noticing some floating point representation precision issues that occurs on all versions and platforms: >>> 277*0.1 27.703 >>> 1.2-1.0 0.19996 >>> import numpy as np >>> np.double(277*0.1) 27.703 >>>

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

2020-10-25 Thread Dong-hee Na
Dong-hee Na added the comment: s/ I approach as same case that step=1 is quite a lot usecase until user designate step value. /My assumtion is that step=1 is quite often usecase until user designate step value. -- ___ 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: At bpo-41092, we decide not to optimize mulitply operation itself. I approach as same case that step=1 is quite a lot usecase until user designate step value. If range with longobject is not that much use case, I can agree with your opinion --

[issue7175] Define a standard location and API for configuration files

2020-10-25 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: -ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41052] Opt out serialization/deserialization for heap type

2020-10-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2020-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, but I do not think it is worth. If there are any issues with multiplying by 1, it may be worth to optimize multiplication of integers in general. But iterating range(1 << 1000, (1 << 1000) + 100) looks a pretty artificial example. -- nosy:

[issue41052] Opt out serialization/deserialization for heap type

2020-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0aaecb30483e98fc29c1f4253967d05da092f0c5 by Serhiy Storchaka in branch '3.9': [3.9] bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870). (GH-22963)

[issue38865] [subinterpreters] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2020-10-25 Thread Lewis Gaul
Change by Lewis Gaul : -- pull_requests: +21889 pull_request: https://github.com/python/cpython/pull/17575 ___ Python tracker ___

[issue37776] [subinterpreters] Test Py_Finalize() from a subinterpreter

2020-10-25 Thread Lewis Gaul
Change by Lewis Gaul : -- keywords: +patch pull_requests: +21890 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17575 ___ Python tracker

[issue41919] Modify test_codecs to use the new codecs.unregister() function

2020-10-25 Thread hai shi
hai shi added the comment: > AS this is masking other issues in the build bots, we need to revert the > commit unless is fixed in 24 hours per the buildbot workflow Thanks, Pablo. I checked that only test_io.py have resource leak. I create PR-22973, pls take a look if you have free time,

[issue41919] Modify test_codecs to use the new codecs.unregister() function

2020-10-25 Thread hai shi
Change by hai shi : -- pull_requests: +21888 pull_request: https://github.com/python/cpython/pull/22973 ___ Python tracker ___ ___

[issue39108] random needs doc for "gauss" versus "normalvariate"

2020-10-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39108] random needs doc for "gauss" versus "normalvariate"

2020-10-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset af891a962b62268d76ace0d4768ab0e1934a2cd1 by Miss Skeleton (bot) in branch '3.9': bpo-39108: Document threading issues for random.gauss() (GH-22928) (GH-22972) https://github.com/python/cpython/commit/af891a962b62268d76ace0d4768ab0e1934a2cd1

[issue33962] IDLE: use ttk.spinbox with configdialog

2020-10-25 Thread Mark Roseman
Mark Roseman added the comment: Whoops, sorry... there's a "readonly" state flag that disables direct editing of the entry (like with combobox) and just allows manipulation of the arrows. I've updated the PR to set that. I've also changed it so that the contents of the entry part isn't

[issue42141] Speedup various dict inits

2020-10-25 Thread Marco Sulla
Marco Sulla added the comment: The fact is that, IMHO, PGO will "false" the results, since it's quite improbable that in the test battery there's a test of creation of a dict from another dict with an hole. It seems to me that the comparison between the normal builds are more significant.

[issue38233] datetime.datetime.fromtimestamp have different behaviour on windows and mac

2020-10-25 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39108] random needs doc for "gauss" versus "normalvariate"

2020-10-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21887 pull_request: https://github.com/python/cpython/pull/22972 ___ Python tracker

[issue39108] random needs doc for "gauss" versus "normalvariate"

2020-10-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 3cde3788b68bce7deee1e6d31e265bbfce337731 by Raymond Hettinger in branch 'master': bpo-39108: Document threading issues for random.gauss() (GH-22928) https://github.com/python/cpython/commit/3cde3788b68bce7deee1e6d31e265bbfce337731

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- type: behavior -> resource usage ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2020-10-25 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +21886 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22971 ___ Python tracker ___

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2020-10-25 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: I've submitted both PRs. Regarding PR 22970: * I made it a draft since we'd probably want to fix the leak first, but then it will have to be rebased. * It fixes a bug with _enable_gc(): if it failed after fork(), we'd raise OSError instead.

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

2020-10-25 Thread Dong-hee Na
New submission from Dong-hee Na : This is a similar case with https://bugs.python.org/issue41902 A quite possible usecase when the user use range with big number ./python -m pyperf compare_to longrange_master.json longrange_opt.json Mean +- std dev: [longrange_master] 6.45 us +- 0.09 us ->

[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow

2020-10-25 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- pull_requests: +21885 pull_request: https://github.com/python/cpython/pull/22970 ___ Python tracker ___

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2020-10-25 Thread daniel hahler
Change by daniel hahler : -- nosy: +blueyed nosy_count: 18.0 -> 19.0 pull_requests: +21884 pull_request: https://github.com/python/cpython/pull/22968 ___ Python tracker ___

  1   2   >