[issue45057] Simplify RegressionTestResult

2021-08-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45060] Do not use the equality operators with None

2021-08-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e09dd8aafd6f9aef03945c417267806d47084a5d by Serhiy Storchaka in branch '3.9': [3.9] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28093) https://github.com/python/cpython/commit/e09dd8aafd6f9aef03945c41726

[issue45057] Simplify RegressionTestResult

2021-08-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3d56272e4ecaef9f38c1f48430364701d34b3ee4 by Miss Islington (bot) in branch '3.10': bpo-45057: Simplify RegressionTestResult (GH-28081) (GH-28101) https://github.com/python/cpython/commit/3d56272e4ecaef9f38c1f48430364701d34b3ee4 -- _

[issue45057] Simplify RegressionTestResult

2021-08-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e527f79fa8b472dd534fc360e998fe8213e6471e by Serhiy Storchaka in branch '3.9': [3.9] bpo-45057: Simplify RegressionTestResult (GH-28081) (GH-28103) https://github.com/python/cpython/commit/e527f79fa8b472dd534fc360e998fe8213e6471e --

[issue45053] MD5SumTests.test_checksum_fodder fails on Windows

2021-08-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ touch тест $ ./python Tools/scripts/md5sum.py тест d41d8cd98f00b204e9800998ecf8427e тест $ LC_ALL=uk_UA.koi8u PYTHONIOENCODING=koi8-u ./python Tools/scripts/md5sum.py тест d41d8cd98f00b204e9800998ecf8427e тест $ LC_ALL=uk_UA.koi8u PYTHONIOENCODING=utf-8 ./p

[issue45073] windows installer quiet installation targetdir escapes "quote"-symbol

2021-08-31 Thread Eryk Sun
Eryk Sun added the comment: A literal backlash has to be escaped by doubling it if it precedes a double quote, else it escapes the double quote character. This is how typical command-line argument parsing handles backslash in Windows [1]: * 2n backslashes followed by a quotation mark pr

[issue45074] asyncio hang in subprocess wait_closed() on Windows, BrokenPipeError

2021-08-31 Thread William Fisher
New submission from William Fisher : I have a reproducible case where stdin.wait_closed() is hanging on Windows. This happens in response to a BrokenPipeError. The same code works fine on Linux and MacOS. Please see the attached code for the demo. I believe the hang is related to this debug m

[issue45073] windows installer quiet installation targetdir escapes "quote"-symbol

2021-08-31 Thread DMI-1407
New submission from DMI-1407 : If the windows installer (Python 3.8.9 64bit exe) is run in quiet mode and the TargetDir option is used, then the last quote (") symbol gets escaped if the path ends with an backslash (\). Example: /quiet TargetDir="D:\pyt hon\" AssociateFiles=0 Result: TargetDi

[issue45020] Freeze all modules imported during startup.

2021-08-31 Thread Inada Naoki
Inada Naoki added the comment: I don't want all frozen header files to be committed in git repository. Can't we just build them during build process? -- ___ Python tracker ___

[issue45071] python 3.9.2 contains _bz2.pyd associates CVE-2019-12900 and CVE-2016-3189 of bzip2-1.0.6

2021-08-31 Thread Zachary Ware
Zachary Ware added the comment: This is a duplicate of bpo-44549. For future reports, please first check for existing issues, and also ensure that you are looking at the latest release of the version you are reporting against. -- nosy: +zach.ware resolution: -> duplicate stage: ->

[issue45070] python 3.9.2 contains wininst-10.0-amd64.exe. wininst-10.0.exe.wininst-7.1.exe. wininst-8.0.exe.wininst-9.0.exe.wininst-9.0-amd64.exe.wininst-14.0-amd64.exe and wininst-14.0.exe associate

2021-08-31 Thread Zachary Ware
Zachary Ware added the comment: As noted in bpo-45068, these executables are helpers for deprecated functionality. It is safe to delete them if they concern you and you don't need the deprecated functionality. They will not be updated except to remove them. -- components: +Distuti

[issue45072] python 3.9.2 contains ensurepip and pip associates CVE-2021-3572 of pip-20.2.3

2021-08-31 Thread Zachary Ware
Zachary Ware added the comment: As noted in bpo-45068, v3.9.2 is out of date. v3.9.7 includes pip v21.2.3. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue45068] python 3.9.2 contains libcrypto-1_1.dll and libssl-1_1.dll associates CVE-2021-23840\CVE-2021-3450\CVE-2021-3711\CVE-2021-3712\CVE-2021-23841\CVE-2021-3449 of openssl-1.1.1i

2021-08-31 Thread Zachary Ware
Zachary Ware added the comment: v3.9.2 is rather out of date at this point; v3.9.7 was released just yesterday and includes OpenSSL v1.1.1l. If you're concerned about issues in the version of OpenSSL included with Python v3.9.2, you are encouraged to update to the latest v3.9.7, or replace t

[issue34561] Replace list sorting merge_collapse()?

2021-08-31 Thread Tim Peters
Change by Tim Peters : -- keywords: +patch pull_requests: +26550 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28108 ___ Python tracker __

[issue45072] python 3.9.2 contains ensurepip and pip associates CVE-2021-3572 of pip-20.2.3

2021-08-31 Thread xcl-1
New submission from xcl-1 <1318683...@qq.com>: python 3.9.2 contains ensurepip and pip associates CVE-2021-3572 of pip-20.2.3 -- messages: 400803 nosy: xcl123 priority: normal severity: normal status: open title: python 3.9.2 contains ensurepip and pip associates CVE-2021-3572 of pip-2

[issue45071] python 3.9.2 contains _bz2.pyd associates CVE-2019-12900 and CVE-2016-3189 of bzip2-1.0.6

2021-08-31 Thread xcl-1
New submission from xcl-1 <1318683...@qq.com>: python 3.9.2 contains _bz2.pyd associates CVE-2019-12900 and CVE-2016-3189 of bzip2-1.0.6 -- messages: 400802 nosy: xcl123 priority: normal severity: normal status: open title: python 3.9.2 contains _bz2.pyd associates CVE-2019-12900 and

[issue45070] python 3.9.2 contains wininst-10.0-amd64.exe. wininst-10.0.exe.wininst-7.1.exe. wininst-8.0.exe.wininst-9.0.exe.wininst-9.0-amd64.exe.wininst-14.0-amd64.exe and wininst-14.0.exe associate

2021-08-31 Thread xcl-1
New submission from xcl-1 <1318683...@qq.com>: python 3.9.2 contains wininst-10.0-amd64.exe. wininst-10.0.exe.wininst-7.1.exe. wininst-8.0.exe.wininst-9.0.exe.wininst-9.0-amd64.exe.wininst-14.0-amd64.exe and wininst-14.0.exe associates CVE-2016-9843、CVE-2016-9841、CVE-2016-9840 and CVE-2016-984

[issue45069] python 3.9.2 contains libcrypto-1_1.dll and libssl-1_1.dll associates CVE-2021-23840\CVE-2021-3450\CVE-2021-3711\CVE-2021-3712\CVE-2021-23841\CVE-2021-3449 of openssl-1.1.1i

2021-08-31 Thread xcl-1
New submission from xcl-1 <1318683...@qq.com>: python 3.9.2 contains libcrypto-1_1.dll and libssl-1_1.dll associates CVE-2021-23840\CVE-2021-3450\CVE-2021-3711\CVE-2021-3712\CVE-2021-23841\CVE-2021-3449 of openssl-1.1.1i -- messages: 400800 nosy: xcl123 priority: normal severity: norm

[issue45068] python 3.9.2 contains wininst-10.0-amd64.exe. wininst-10.0.exe.wininst-7.1.exe. wininst-8.0.exe.wininst-9.0.exe.wininst-9.0-amd64.exe.wininst-14.0-amd64.exe and wininst-14.0.exe associate

2021-08-31 Thread xcl-1
xcl-1 <1318683...@qq.com> added the comment: python 3.9.2 contains wininst-10.0-amd64.exe. wininst-10.0.exe.wininst-7.1.exe. wininst-8.0.exe.wininst-9.0.exe.wininst-9.0-amd64.exe.wininst-14.0-amd64.exe and wininst-14.0.exe associates CVE-2016-9843、CVE-2016-9841、CVE-2016-9840 and CVE-2016-9842

[issue45068] python 3.9.2 contains libcrypto-1_1.dll and libssl-1_1.dll associates CVE-2021-23840\CVE-2021-3450\CVE-2021-3711\CVE-2021-3712\CVE-2021-23841\CVE-2021-3449 of openssl-1.1.1i

2021-08-31 Thread xcl-1
New submission from xcl-1 <1318683...@qq.com>: Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return va

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-08-31 Thread Gregory Szorc
Gregory Szorc added the comment: I think patch broke building on macOS < 11 when building with a 11.0+ SDK and targeting macOS < 11? This build configuration previously used to work with 3.9.6. clang -Wno-unused-result -Wsign-compare -g -O0 -Wall -arch x86_64 -mmacosx-version-min=10.9 -Wno-

[issue44450] Generator expressions trace differently on Windows than on Mac

2021-08-31 Thread Ned Batchelder
Ned Batchelder added the comment: Looks like this is fixed with 3.10.0rc1, thanks. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue44359] test_ftplib fails as "env changes" if a socket operation times out in a thread: TimeoutError is not catched

2021-08-31 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue45062] test_asyncio: test_huge_content_recvinto() failed on PPC64LE RHEL8 Refleaks 3.9

2021-08-31 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue45020] Freeze all modules imported during startup.

2021-08-31 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +26549 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28107 ___ Python tracker ___

[issue45067] Failed to build _curses on CentOS 7

2021-08-31 Thread Senthil Kumaran
New submission from Senthil Kumaran : I verified that ncurses-devel is installed. ./configure is able to verify ncurses checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes check

[issue44895] refleak test failure in test_exceptions

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: Oh, I see now what you meant. I think you're right that it's cleanup. I changed dash_R_cleanup to put the sys._clear_type_cache() after clear_caches() and the leak is gone: @@ -166,9 +166,6 @@ def dash_R_cleanup(fs, ps, pic, zdc, abcs): zipimport._zi

[issue39452] Improve the __main__ module documentation

2021-08-31 Thread Géry
Géry added the comment: No worries, it was almost twenty years ago. > But it's probably better to raise a dedicated exception in that case and > catch it in main(), rather than just calling sys.exit() deep inside the other > code. Yes I agree, and I think you explained very clearly why it is

[issue45064] Raising AttributeError in descriptor decorator causing searching attribute in __mro__

2021-08-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: To get a better insight into what is going on, see https://docs.python.org/3/howto/descriptor.html#invocation-from-an-instance The relevant text is, "So if __getattr__() exists, it is called whenever __getattribute__() raises AttributeError (either direc

[issue39452] Improve the __main__ module documentation

2021-08-31 Thread Jack DeVries
Jack DeVries added the comment: > Your docs seem to promote the second, whereas I've usually preferred the > former. Was this a considered choice on your part? First and foremost, stupid GitHub is not letting the permalink load for some reason, but yes; this was discussed in the conversation wi

[issue27334] [sqlite3] context manager leaves db locked if commit fails in __exit__

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: Nice! -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue45064] Raising AttributeError in descriptor decorator causing searching attribute in __mro__

2021-08-31 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: Hi Mateusz, It's not a bug, it's expected behavior. __getattr__ called when the default attribute access fails with an AttributeError (either __getattribute__() raises an AttributeError because name is not an instance attribute or an at

[issue45025] Reliance on C bit fields in C API is undefined behavior

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: > My use case for these low-level APIs is to write tests for low-level > string/encoding handling in my custom use of the PyPreConfig and PyConfig > structs. I wanted to verify that exact byte sequences were turned into > specific representations inside of P

[issue14088] sys.executable generating canonical path

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-20443 "__code__. co_filename should always be an absolute path". I had a revert a change which affected sys.argv[0]: commit a1a99b4bb7cbe2dbc55a1d92c3c509b4466d3c3b Author: Victor Stinner Date: Mon Dec 9 17:34:02 2019 +0100 bpo-20443: No

[issue44019] operator.call/operator.__call__

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: > `call(f, *args, **kwargs) == f(*args, **kwargs)` So you can want to reintroduce the Python 2 apply() function which was removed in Python 3. You can reimplement it in 2 lines, no? def call(func, *args, **kwargs): return func(*args, **kwargs) --

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45053] MD5SumTests.test_checksum_fodder fails on Windows

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: > But there is also an issue in the script itself. It fails or produces a > mojibake when the filesystem encoding and the stdout encoding do not match. I don't know Tools/scripts/md5sum.py. Can you show an example which currently fails? --

[issue45063] PEP 657 Fine Grained Error Locations: omit indicators if they are one the whole line, to make tracebacks shorter

2021-08-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Python 3.11 makes it worse: up to 1.5x longer Sound like you likely want to use the environment variable to deactivate the extra information ;) -- ___ Python tracker

[issue45063] PEP 657 Fine Grained Error Locations: omit indicators if they are one the whole line, to make tracebacks shorter

2021-08-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >In my example, there are 6 frames. The indicators cover the whole line of 3 >frames: 50%. It's a common case, it's not special. Special is not uncommon, is just some different behaviour rather than the default one. I am not arguing that is a rare sce

[issue39452] Improve the __main__ module documentation

2021-08-31 Thread Guido van Rossum
Guido van Rossum added the comment: You're right, I'm being inconsistent. :-( I withdraw my objection. There are cases where sys.exit() is easier than returning an exit code, e.g. when the error is discovered deep inside some other code. But it's probably better to raise a dedicated excepti

[issue39452] Improve the __main__ module documentation

2021-08-31 Thread Géry
Géry added the comment: @jack__d Thanks for the rewrite! This is a great expansion. Unfortunately I didn’t have the time to review it before the merge. If I find something to be improved I will let you know. @gvanrossum > Your docs seem to promote the second, whereas I've usually preferred

[issue45063] PEP 657 Fine Grained Error Locations: omit indicators if they are one the whole line, to make tracebacks shorter

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: > I don't follow what you want to change in 3.10.0 final, PEP 657 is for Python > 3.11. Can you clarify? Ah, I thaught that the PEP was implemented in 3.10, I didn't notice that it's a new feature of Python 3.11 :-) > Regarding the issue: I understand what

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-08-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue44895] refleak test failure in test_exceptions

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: > It could be a problem with the way _Py_RefTotal is incremented/decremented. It can be a cache which is kept alive and then clear the following iteration. See my previous comment: test leaked [-4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4, 4, -

[issue42414] unable to document fields of dataclass

2021-08-31 Thread Andrei Kulakov
Andrei Kulakov added the comment: Laurie: thanks for linking that, it seems like there isn't that much enthusiasm. -- ___ Python tracker ___ __

[issue31299] Add "ignore_modules" option to TracebackException.format()

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: New changeset 863154c9292e70c5a8a1a3f22ef4ee42e2304281 by Irit Katriel in branch 'main': bpo-31299: make it possible to filter out frames from tracebacks (GH-28067) https://github.com/python/cpython/commit/863154c9292e70c5a8a1a3f22ef4ee42e2304281 --

[issue42791] There is no way to json encode object to str.

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: See also Issue35111. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42791] There is no way to json encode object to str.

2021-08-31 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +ezio.melotti, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue24981] Add a test which uses the ast module to compile the stdlib

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: I think there is something like this here: https://github.com/python/cpython/blob/22fe0eb13c3441b71b60aaea0e7fe289a29783da/Lib/test/test_ast.py#L1498 -- nosy: +iritkatriel ___ Python tracker

[issue21736] Add __file__ attribute to frozen modules

2021-08-31 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-08-31 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: >> Would it be sufficient to hold a reference to the connection object? > > Yes Good, that simplifies things. I'll wait with this until we've resolved PR 27940 though. -- ___ Python tracker

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset 2280bc116301d45efc4d69cea452d272fdcd05b1 by Miss Islington (bot) in branch '3.9': bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102) https://github.com/python/cpython/commit/2280bc116301d45efc4d69cea452d272fdcd05b1 -- __

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset 0f274cb2d78f71073e9d7295df3b9006e7bf1097 by Miss Islington (bot) in branch '3.10': bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102) https://github.com/python/cpython/commit/0f274cb2d78f71073e9d7295df3b9006e7bf1097 -- _

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +26548 pull_request: https://github.com/python/cpython/pull/28105 ___ Python tracker ___ __

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +26547 pull_request: https://github.com/python/cpython/pull/28104 ___ Python tracker ___ __

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22fe0eb13c3441b71b60aaea0e7fe289a29783da by Terry Jan Reedy in branch 'main': bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102) https://github.com/python/cpython/commit/22fe0eb13c3441b71b60aaea0e7fe289a29783da -- __

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Guido van Rossum
Guido van Rossum added the comment: I've seen it a few times. I don't do this that often, but since I've discovered "git worktree" this has occurred to me a few times (can't recall if it was every time, but today wasn't the first). I'm totally happy to be the human in the retry loop. :-) --

[issue45020] Freeze all modules imported during startup.

2021-08-31 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 31.08.2021 20:14, Brett Cannon wrote: > > Brett Cannon added the comment: > >> set __file__ (and __path__) on frozen modules? > > See https://bugs.python.org/issue21736 The patch on that ticket is straight from PyRun, where the __file__ location is

[issue33426] [doc] Behavior of os.path.join does not match documentation

2021-08-31 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue44188] ThreadPoolExecutor unbalanced semaphore count

2021-08-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: To be clear, this probably doesn't have any actual consequence, since the right number of threads is launched anyway (at least in the example). But it's probably worth making the implementation less quirky (also, the semaphore's internal counter *might* over

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45066] email parser fails to decode quoted-printable rfc822 message attachemnt

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45066] email parser fails to decode quoted-printable rfc822 message attachemnt

2021-08-31 Thread anarcat
anarcat added the comment: looking at email.feedparser.FeedParser._parse_gen(), it looks like this is going to be really hard to fix, because the parser just happily recurses into the sub-part without ever checking the CTE (content-transfer-encoding). that's typically only done on "get_paylo

[issue45020] Freeze all modules imported during startup.

2021-08-31 Thread Brett Cannon
Brett Cannon added the comment: > set __file__ (and __path__) on frozen modules? See https://bugs.python.org/issue21736 -- ___ Python tracker ___

[issue44188] ThreadPoolExecutor unbalanced semaphore count

2021-08-31 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset ebbd0ac5d8850a1630090c210b2454b4b26c7daa by Miss Islington (bot) in branch '3.10': bpo-45039: Consistently use ADDOP_LOAD_CONST in compiler rather than ADDOP_O(c, LOAD_CONST,...) (GH-28015) https://github.com/python/cpython/commit/ebbd0ac5d8850

[issue45066] email parser fails to decode quoted-printable rfc822 message attachemnt

2021-08-31 Thread anarcat
New submission from anarcat : If an email message has a message/rfc822 part *and* that part is quoted-printable encoded, Python freaks out. Consider this code: import email.parser import email.policy # python 3.9.2 cannot decode this message, it fails with # "email.errors.StartBoundaryNotFoun

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset c1db7598790d037e58cd99c06d5c166433d63322 by Miss Islington (bot) in branch '3.9': bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086) https://github.com/python/cpython/commit/c1db7598790d037e58cd99c06d5c166433d63322 --

[issue45057] Simplify RegressionTestResult

2021-08-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26546 pull_request: https://github.com/python/cpython/pull/28103 ___ Python tracker ___

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset 337c8adf31c46b688a5f82bcb64dc6f1ad56703d by Miss Islington (bot) in branch '3.10': bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086) https://github.com/python/cpython/commit/337c8adf31c46b688a5f82bcb64dc6f1ad56703d --

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +26545 pull_request: https://github.com/python/cpython/pull/28102 ___ Python tracker ___ __

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker ___ _

[issue45057] Simplify RegressionTestResult

2021-08-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2b76a5322fdf71d62b531fd765085f96f981c244 by Serhiy Storchaka in branch 'main': bpo-45057: Simplify RegressionTestResult (GH-28081) https://github.com/python/cpython/commit/2b76a5322fdf71d62b531fd765085f96f981c244 --

[issue45057] Simplify RegressionTestResult

2021-08-31 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +26544 pull_request: https://github.com/python/cpython/pull/28101 ___ Python tracker _

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26543 pull_request: https://github.com/python/cpython/pull/28100 ___ Python tracker _

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Definitely a typo. Will apply fix and backport. The first import of macosx initializes _tk_type to None. The line in question intends to re-initialize it so that the subsequent assert can only pass if _init_tk_type changes it to something required. Many o

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 70ccee418d1f9d34ed15cfe7104221f9cfd27d03 by Irit Katriel in branch 'main': bpo-45039: Consistently use ADDOP_LOAD_CONST in compiler rather than ADDOP_O(c, LOAD_CONST,...) (GH-28015) https://github.com/python/cpython/commit/70ccee418d1f9d34ed1

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 54f100514b02f6628450043e21ccfe39350d7ac7 by Serhiy Storchaka in branch 'main': bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086) https://github.com/python/cpython/commit/54f100514b02f6628450043e21ccfe39350d7ac7 -- mes

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +26542 pull_request: https://github.com/python/cpython/pull/28099 ___ Python tracker ___ __

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-08-31 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue44895] refleak test failure in test_exceptions

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: Victor - I am also getting a feeling that this may not be a real leak but rather a bug in the refleaks test bookkeeping. It could be a problem with the way _Py_RefTotal is incremented/decremented. -- ___ Python tra

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset 8711b3d0ac89599fcd16edcb107169bb19a00737 by Miss Islington (bot) in branch '3.10': bpo-44135: [docs] Fix inline markup (GH-28095) https://github.com/python/cpython/commit/8711b3d0ac89599fcd16edcb107169bb19a00737 -- ___

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-08-31 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 51999c960e7fc45feebd629421dec6524a5fc803 by Brandt Bucher in branch 'main': bpo-37596: Clean up the set/frozenset marshalling code (GH-28068) https://github.com/python/cpython/commit/51999c960e7fc45feebd629421dec6524a5fc803 --

[issue45063] PEP 657 Fine Grained Error Locations: make the traceback less verbose when possible

2021-08-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Regarding the issue: I understand what you mean but I don't think we should get into suppressing the indicators in special situations. Some people may say that in a line that assigns to a call: x = foo(x) ^^ highlighting foo() is also not ver

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-08-31 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9a7ec2fcdee2da9e080ca459d4c240776df72567 by Ken Jin in branch 'main': bpo-44135: [docs] Fix inline markup (GH-28095) https://github.com/python/cpython/commit/9a7ec2fcdee2da9e080ca459d4c240776df72567 -- ___

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-08-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +26540 pull_request: https://github.com/python/cpython/pull/28097 ___ Python tracker ___ __

[issue45061] [C API] Detect refcount bugs on True/False in C extensions

2021-08-31 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36560] test_functools leaks randomly 1 memory block

2021-08-31 Thread Ken Jin
Ken Jin added the comment: @Victor, with your patch applied, for test_typing (locally, Windows x64): $ ./python -m test test_typing -R 3:20 Different result on every run (race condition maybe?) $ ./python -m test test_typing -R 1:20 Same result as yours on every run. -- nosy: +kj __

[issue45061] [C API] Detect refcount bugs on True/False in C extensions

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4300352000beed22fb525ec45fd331918d206528 by Victor Stinner in branch 'main': bpo-45061: Detect Py_DECREF(Py_True) bug (GH-28089) https://github.com/python/cpython/commit/4300352000beed22fb525ec45fd331918d206528 --

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-08-31 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5f66ad09ff2c51521e1512888cac84e0cc0907d4 by Łukasz Langa in branch '3.9': bpo-44135: Refine explanation of how passing tuples to issubclass() behaves (GH-26193) (GH-28094) https://github.com/python/cpython/commit/5f66ad09ff2c51521e1512888cac84e0cc

[issue45063] PEP 657 Fine Grained Error Locations: make the traceback less verbose when possible

2021-08-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > In term of release process, can we change the traceback after Python 3.10.0 > final? Or can we only change it in Python 3.11? I don't follow what you want to change in 3.10.0 final, PEP 657 is for Python 3.11. Can you clarify? -- _

[issue45061] [C API] Detect refcount bugs on True/False in C extensions

2021-08-31 Thread miss-islington
miss-islington added the comment: New changeset c4c57e5c0eb79795d4fd1d9d8292455567c60070 by Miss Islington (bot) in branch '3.10': bpo-45061: Enhance faulthandler traceback wit no Python frame (GH-28090) https://github.com/python/cpython/commit/c4c57e5c0eb79795d4fd1d9d8292455567c60070 -

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: > If we go in this direction we should add a DeprecationWarning for __str__() > returning not direct str. I saw str subclass being used for translation. Example: class Message(str): """A Message object is a unicode object that can be translated. Tran

[issue45061] [C API] Detect refcount bugs on True/False in C extensions

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 888d4cc06b887e77f281ba4d640e281cb4c61b7b by Victor Stinner in branch 'main': bpo-45061: Enhance faulthandler traceback wit no Python frame (GH-28090) https://github.com/python/cpython/commit/888d4cc06b887e77f281ba4d640e281cb4c61b7b --

[issue45061] [C API] Detect refcount bugs on True/False in C extensions

2021-08-31 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +26539 pull_request: https://github.com/python/cpython/pull/28096 ___ Python tracker _

[issue45065] test_asyncio failed (env changed) on s390x RHEL8 Refleaks 3.10: RuntimeError('Event loop is closed') in _SSLProtocolTransport.__del__

2021-08-31 Thread STINNER Victor
STINNER Victor added the comment: PPC64LE RHEL8 LTO 3.10: https://buildbot.python.org/all/#/builders/680/builds/279 0:01:14 load avg: 8.67 [236/427/1] test_asyncio failed (env changed) (1 min 5 sec) -- running: test_gdb (1 min 2 sec), test_tokenize (47.0 sec) Warning -- Unraisable exception E

[issue45065] test_asyncio failed (env changed) on s390x RHEL8 Refleaks 3.10: RuntimeError('Event loop is closed') in _SSLProtocolTransport.__del__

2021-08-31 Thread STINNER Victor
New submission from STINNER Victor : s390x RHEL8 Refleaks 3.10: https://buildbot.python.org/all/#/builders/669/builds/121 Reformatted output: 0:19:31 load avg: 2.74 [316/427/1] test_asyncio failed (env changed) (14 min 36 sec) -- running: test_statistics (37.6 sec), test_signal (16 min 51 sec

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-08-31 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +26538 pull_request: https://github.com/python/cpython/pull/28095 ___ Python tracker ___ ___ P

  1   2   >