[issue44297] Frame with -1 line number

2021-06-24 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Found the culprit - https://github.com/python/cpython/blob/769d7d0c66c5b86e2dd29b9ce67ac2daaab1bb38/Python/compile.c#L5268 Same goes for async with - https://github.com/python/cpython/blob/769d7d0c66c5b86e2dd29b9ce67ac2daaab1bb38/Python/compile.c#L5171 (Did

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-06-24 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +25465 pull_request: https://github.com/python/cpython/pull/26888 ___ Python tracker _

[issue43988] Add test.support.check_disallow_instantiation()

2021-06-24 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +25466 pull_request: https://github.com/python/cpython/pull/26889 ___ Python tracker ___ ___

[issue43988] Add test.support.check_disallow_instantiation()

2021-06-24 Thread miss-islington
miss-islington added the comment: New changeset 9049ea51eca081984c8ae37dfeb68b75d624e90d by Erlend Egeberg Aasland in branch 'main': bpo-43988: Fix test.support.check_disallow_instantiation version added (GH-26889) https://github.com/python/cpython/commit/9049ea51eca081984c8ae37dfeb68b75d624

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread Inada Naoki
Inada Naoki added the comment: Because this is SSL issue. HTTPS is not the only user of SSL. So we should try to fix SSL issue before reverting GH-12698. -- ___ Python tracker ___

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread Christian Heimes
Christian Heimes added the comment: The ssl module supports sending or receiving buffers of more than 2GB in Python 3.10. It cannot be reliable fixed in Python 3.9 and earlier. -- ___ Python tracker ___

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread Inada Naoki
Inada Naoki added the comment: I see. But Python 3.8 is now security fix mode. Let's revert the optimization in the 3.9 branch. -- ___ Python tracker ___ _

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread jakirkham
jakirkham added the comment: Right with this change ( https://github.com/python/cpython/pull/25468 ). Thanks for adding that Christian :) I guess what I'm wondering is if in older Python versions we could do an `#ifdef` check to try and use `SSL_read_ex` & `SSL_write_ex` if the symbols are

[issue44441] Malformed PyImport_Inittab after re-initialization

2021-06-24 Thread kryheb
kryheb added the comment: Thanks vstinner for your help and for taking care of this case! -- ___ Python tracker ___ ___ Python-bugs

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread Christian Heimes
Christian Heimes added the comment: No, it would be a backwards incompatible change and introduce inconsistent behavior. SSL_read_ex() is not available in LibreSSL, OpenSSL 1.0.2, and OpenSSL 1.1.0. Your code would work on CentOS 8, Debian 10, and Ubuntu 20.04, but break on CentOS 7, Debian

[issue44297] Frame with -1 line number

2021-06-24 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25467 pull_request: https://github.com/python/cpython/pull/26890 ___ Python tracker ___

[issue44297] Frame with -1 line number

2021-06-24 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +25468 pull_request: https://github.com/python/cpython/pull/26891 ___ Python tracker ___

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Using this patch, I'm (so far) no longer able to reproduce these test failures: diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index cee97a8302..c9c1546467 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -2443,9 +2443,13 @@ def wra

[issue44502] bla in cpython/Lib/test/test_sys_settrace.py

2021-06-24 Thread zcpara
New submission from zcpara : In cpython/Lib/test/test_sys_settrace.py, there is a function: 1 def no_pop_blocks(): 2y = 1 3while not y: 4bla 5x = 1 what does bla mean? bla is not defined anywhere. But the function can pass the compilation. bla is treated as a global name in

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: ... should perhaps also return True in that case, but it does not seem to have any thing to say. -- ___ Python tracker ___ __

[issue44502] bla in cpython/Lib/test/test_sys_settrace.py

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: y = 1, so the body of the while loop will never execute and the name will never need to be resolved. The bug tracker is not an appropriate place to ask questions about the code, it is for reporting bugs in python. -- nosy: +iritkatriel resolution: ->

[issue27086] Add closefd argument to os.listdir

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: I agree with Serhiy and David. The responsibility for closing the file is with whoever opened it, and adding an option in a function for it to also close the fd after doing what it was designed to do makes the API unnecessarily over-complicated. -- no

[issue44503] Hide __enter__ calls in mock_open

2021-06-24 Thread Pierre Ossman
New submission from Pierre Ossman : I'd like to write this test case: with patch('builtins.open') as pyopen: mock_open(pyopen, read_data="foo") run() pyopen.assert_has_calls([call("filename", "wt"), call().write("gazonk"),

[issue44503] Hide __enter__ calls in mock_open

2021-06-24 Thread Pierre Ossman
Pierre Ossman added the comment: Also see Issue44185 for __exit__. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I can reproduce these issues easily on 3.7, 3.8, and 3.9: $ python3.7 -m test test_ssl -u all -F -m test_get_server_certificate -v [...] test_get_server_certificate (test.test_ssl.SimpleBackgroundTests) ... server: new connection from ('127.0.0.1', 57294

[issue40471] Grammar typo in issubclass docstring

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ _

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +25469 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26893 ___ Python tracker __

[issue36991] zipfile: AttributeError on extract

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: This seems resolved, can we close? -- nosy: +iritkatriel resolution: -> fixed status: open -> pending ___ Python tracker ___ _

[issue43553] [sqlite3] Improve test coverage

2021-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2c1ae09764446beda5248759fb99c859e14f1b25 by Erlend Egeberg Aasland in branch 'main': bpo-43553: Improve `sqlite3` test coverage (GH-26886) https://github.com/python/cpython/commit/2c1ae09764446beda5248759fb99c859e14f1b25 -- nosy

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b5a52eef67997246b4235b5407e52a01e822ce56 by Erlend Egeberg Aasland in branch 'main': bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893) https://github.com/python/cpython/commit/b5a52eef67997246b4235b5407e52a01e822ce56

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +25470 pull_request: https://github.com/python/cpython/pull/26894 ___ Python tracker _

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +25471 pull_request: https://github.com/python/cpython/pull/26895 ___ Python tracker ___ __

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +25472 pull_request: https://github.com/python/cpython/pull/26896 ___ Python tracker ___ __

[issue44297] Frame with -1 line number

2021-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0b6b2865187bca7ed7f1f511a02fc8bd13ee38ca by Mark Shannon in branch '3.10': bpo-44297: Add a regression test for line numbers in with statements (GH-26891) https://github.com/python/cpython/commit/0b6b2865187bca7ed7f1f511a02fc8bd13ee38ca

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-06-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 733587011dbb47c2e461188f0574e1cc5288062a by Miss Islington (bot) in branch '3.10': bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412) (GH-26888) https://github.com/python/cpython/commit/733587011dbb47c2e461188f057

[issue40528] Improve / Clear ASDL generator

2021-06-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 6c76df2b86d742cc294beae7f9b6bafabb946ad5 by Batuhan Taskaya in branch 'main': bpo-40528: move asdl identifier collection to the new metadata system (GH-26858) https://github.com/python/cpython/commit/6c76df2b86d742cc294beae7f9b6bafabb946ad5 -

[issue44504] Typo in the docstring of Mapping.get method

2021-06-24 Thread Yevhen Kuzmovych
New submission from Yevhen Kuzmovych : The comment of `Mapping.get` method should state 'D.get(k[,d]) -> D[k] if k in D else d. d defaults to None.' instead of 'D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.' (note the comma before `else`. -- components: Library (Lib

[issue44504] Typo in the docstring of Mapping.get method

2021-06-24 Thread Yevhen Kuzmovych
Change by Yevhen Kuzmovych : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44504] Typo in the docstring of Mapping.get method

2021-06-24 Thread Yevhen Kuzmovych
Change by Yevhen Kuzmovych : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread miss-islington
miss-islington added the comment: New changeset 0796e21fea31fe7b697d84c8d03186817792c458 by Miss Islington (bot) in branch '3.9': bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893) https://github.com/python/cpython/commit/0796e21fea31fe7b697d84c8d03186817792c458 -

[issue44504] Typo in the docstring of Mapping.get method

2021-06-24 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +25473 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/26897 ___ Python tracker

[issue43855] test_ssl: test_msg_callback_deadlock_bpo43577() failed on macOS of GitHub Action

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Closing as a duplicate of bpo-44229. Please revert if you disagree. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail rando

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread miss-islington
miss-islington added the comment: New changeset b3fac2926b23b4f1342099e591aa3fed7f16876d by Miss Islington (bot) in branch '3.10': bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893) https://github.com/python/cpython/commit/b3fac2926b23b4f1342099e591aa3fed7f16876d

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Marking bpo-43855 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Marking bpo-44237 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue44237] test_ssl randomly fails on macOS GH Action: test_get_server_certificate_sni() and test_get_server_certificate_timeout()

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Marking this as a duplicate of bpo-44229. Please revert if you disagree. -- dependencies: -test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI resolution: -> duplicate stage: -> resolve

[issue33450] unexpected EPROTOTYPE returned by sendto on MAC OSX

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: See also bpo-44229. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43553] [sqlite3] Improve test coverage

2021-06-24 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22543] -W option cannot use non-standard categories

2021-06-24 Thread Omer Ozarslan
Change by Omer Ozarslan : -- nosy: +ozars ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FYI, here's a CI failure against 3.9: https://github.com/python/cpython/runs/2894813367?check_suite_focus=true -- ___ Python tracker ___ _

[issue40939] Remove the old parser

2021-06-24 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 29987f72650b7cccee4df216c8297e8484a44e6a by Petr Viktorin in branch 'main': bpo-40939: Remove documentation for `PyParser_*` & add porting notes (GH-26855) https://github.com/python/cpython/commit/29987f72650b7cccee4df216c8297e8484a44e6a --

[issue40939] Remove the old parser

2021-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +25474 pull_request: https://github.com/python/cpython/pull/26898 ___ Python tracker ___ __

[issue44504] Make docstring quotes consistent in Lib/_collections_abc.py

2021-06-24 Thread Yevhen Kuzmovych
Change by Yevhen Kuzmovych : -- title: Typo in the docstring of Mapping.get method -> Make docstring quotes consistent in Lib/_collections_abc.py ___ Python tracker ___ __

[issue24203] Deprecate threading.Thread.isDaemon etc

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Deprecate camelCase aliases from threading.py ___ Python tracker __

[issue43066] Zipfile with leading slashes

2021-06-24 Thread Garrison Taylor
Garrison Taylor added the comment: That addition to the documentation sounds appropriate to me. Thanks! -- ___ Python tracker ___ _

[issue44504] Make docstring quotes consistent in Lib

2021-06-24 Thread Yevhen Kuzmovych
Change by Yevhen Kuzmovych : -- title: Make docstring quotes consistent in Lib/_collections_abc.py -> Make docstring quotes consistent in Lib ___ Python tracker ___ __

[issue43066] Zipfile with leading slashes

2021-06-24 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch pull_requests: +25475 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26899 ___ Python tracker ___ _

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 71ba16b21cb35923098026117b5e6d823c5f5707 by Miss Islington (bot) in branch '3.8': bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893) (GH-26895) https://github.com/python/cpython/commit/71ba16b21cb35923098026117b5e6d823c

[issue44491] [sqlite3] allow clearing the authoriser callback

2021-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b19f45533942e4ad7ddf9d2d94f8b87c6f746bce by Erlend Egeberg Aasland in branch 'main': bpo-44491: Allow clearing the sqlite3 authoriser callback (GH-26863) https://github.com/python/cpython/commit/b19f45533942e4ad7ddf9d2d94f8b87c6f746bce

[issue26724] Serialize dict with non-string keys to JSON — unexpected result

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: This is documented, was added here: https://github.com/python/cpython/commit/f2123d2db54d661a016f02c5a1a02484d6d79e0d If nobody objects I will close as won't fix. -- nosy: +iritkatriel resolution: -> wont fix status: open -> pending _

[issue44456] Improve syntax error for mixing keyword/positional in max patterns

2021-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0acc258fe6f0ec200ca2f6f9294adbf52a244802 by Pablo Galindo in branch 'main': bpo-44456: Improve the syntax error when mixing keyword and positional patterns (GH-26793) https://github.com/python/cpython/commit/0acc258fe6f0ec200ca2f6f9294ad

[issue44456] Improve syntax error for mixing keyword/positional in max patterns

2021-06-24 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25476 pull_request: https://github.com/python/cpython/pull/26900 ___ Python tracker _

[issue44501] Packing constant call arguments

2021-06-24 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +25477 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26901 ___ Python tracker ___

[issue44501] Packing constant call arguments

2021-06-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I've tested this with pyperformance, and no significant (1.02 faster on some, 1.01x slower on others, nothing significant) change on those so this is a targeted optimization. -- ___ Python tracker

[issue44491] [sqlite3] allow clearing the authoriser callback

2021-06-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44504] Make docstring quotes consistent in Lib/_collections_abc.py

2021-06-24 Thread Yevhen Kuzmovych
Change by Yevhen Kuzmovych : -- title: Make docstring quotes consistent in Lib -> Make docstring quotes consistent in Lib/_collections_abc.py ___ Python tracker ___ __

[issue44456] Improve syntax error for mixing keyword/positional in max patterns

2021-06-24 Thread miss-islington
miss-islington added the comment: New changeset 11f1a30cdb59f9da0209798d2057f7afacbd9547 by Miss Islington (bot) in branch '3.10': bpo-44456: Improve the syntax error when mixing keyword and positional patterns (GH-26793) https://github.com/python/cpython/commit/11f1a30cdb59f9da0209798d2057f

[issue44505] loop invariant code motion

2021-06-24 Thread zcpara
New submission from zcpara : It is a common scenario to call functions in loop, such as def foo(): for i in range(10): len("abc") Currently, we generate bytecode like this; 2 0 SETUP_LOOP 24 (to 26) 2 LOAD_GLOBAL 0 (range) 4 L

[issue44456] Improve syntax error for mixing keyword/positional in max patterns

2021-06-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue44456] Improve syntax error for mixing keyword/positional in max patterns

2021-06-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue39254] python shebang in python3 tarball files

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> port shebang of tools from python2 to python3 ___ Python tracker __

[issue42892] AttributeError in email.message.get_body()

2021-06-24 Thread Andrei Kulakov
Andrei Kulakov added the comment: I'll try to fix the unit test today. -- nosy: +andrei.avk ___ Python tracker ___ ___ Python-bugs-

[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

2021-06-24 Thread Patrick Reader
Patrick Reader added the comment: I would like to note that syntax like this is in heavy use in the Code Golf community (a sport in which the aim is to write the shortest code possible to complete a particular task). It will be disappointing if it becomes an error and break many past program

[issue44497] distutil findall can choke with recursive symlinks (performance)

2021-06-24 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue44497] distutil findall can choke with recursive symlinks (performance)

2021-06-24 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue44321] os.EX_OK for Windows

2021-06-24 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44321] os.EX_OK for Windows

2021-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 19459f8ce63cc7f905e3c1a55d09d4d10d245343 by Samuel Marks in branch 'main': bpo-44321: Adds `os.EX_OK` for Windows (GH-26559) https://github.com/python/cpython/commit/19459f8ce63cc7f905e3c1a55d09d4d10d245343 -- ___

[issue44497] distutil findall can choke with recursive symlinks (performance)

2021-06-24 Thread Dong-hee Na
Dong-hee Na added the comment: Since the distutils is deprecated at PEP632, I would like to suggest changing the implementation to use setuptools. -- nosy: +corona10 ___ Python tracker _

[issue44506] test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving fails on Windows x64 and x86

2021-06-24 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : https://github.com/python/cpython/runs/2905621215: 2021-06-24T14:18:23.3772681Z == 2021-06-24T14:18:23.3773622Z FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyn

[issue44506] test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving fails on Windows x64 and x86

2021-06-24 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure ___ Python tracker

[issue41682] [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure

2021-06-24 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Two new failures today: https://github.com/python/cpython/runs/2905621215: 2021-06-24T14:18:23.3772681Z == 2021-06-24T14:18:23.3773622Z FAIL: test_sendfile_close_peer_in_the_middle_of_rec

[issue44505] loop invariant code motion

2021-06-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: There are multiple issues with doing 'static' loop invariant code motion in python, but the most obvious one is how would you detect if anything in the body is related to the loop or not? The trivial way that the compiled languages do this optimization is g

[issue44505] loop invariant code motion

2021-06-24 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue24339] iso6937 encoding missing

2021-06-24 Thread Maarten Derickx
Maarten Derickx added the comment: Hi Marc-Andre Lemburg, Thanks for your reply. I tried using gencodec.py as could be downloaded from https://github.com/python/cpython/blob/main/Tools/unicode/gencodec.py as you mentioned. However the code in gencodec.py seems to be in a much worse shape th

[issue44185] mock_open file handle __exit__ does not call close

2021-06-24 Thread Samet Yaslan
Change by Samet Yaslan : -- keywords: +patch nosy: +sametyaslan nosy_count: 3.0 -> 4.0 pull_requests: +25478 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26902 ___ Python tracker _

[issue42892] AttributeError in email.message.get_body()

2021-06-24 Thread Andrei Kulakov
Change by Andrei Kulakov : -- pull_requests: +25479 pull_request: https://github.com/python/cpython/pull/26903 ___ Python tracker ___ __

[issue42892] AttributeError in email.message.get_body()

2021-06-24 Thread Andrei Kulakov
Andrei Kulakov added the comment: Put up the PR here: https://github.com/python/cpython/pull/26903 -- ___ Python tracker ___ ___ Py

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +25480 pull_request: https://github.com/python/cpython/pull/26904 ___ Python tracker _

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 8488b85c6397fe58f17fc00e047044c959ac0b04 by Barry Warsaw in branch 'main': bpo-44498: Issue a deprecation warning on asynchat, asyncore and smtpd import (#26882) https://github.com/python/cpython/commit/8488b85c6397fe58f17fc00e047044c959ac0b04

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread miss-islington
miss-islington added the comment: New changeset a80a38ee9a7b2e26dba848793cc298d8435fddd5 by Miss Islington (bot) in branch '3.10': [3.10] bpo-44498: Issue a deprecation warning on asynchat, asyncore and smtpd import (GH-26882) (GH-26904) https://github.com/python/cpython/commit/a80a38ee9a7b2

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread jakirkham
jakirkham added the comment: Not following. Why would it break? Presumably once one builds Python for a particular OS they keep there (like system package managers for example). Or alternatively they build on a much older OS and then deploy to newer ones. The latter case is what we do in con

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-06-24 Thread Christian Heimes
Christian Heimes added the comment: Right now sending and receiving buffers >2 GB over TLS consistently fails on all platforms with Python 3.9. A backport of bf624032c12c763b72594e5f41ff8af309b85264 to Python 3.9 would make the behavior inconsistent. Your code would work on your laptop with

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +25481 pull_request: https://github.com/python/cpython/pull/26905 ___ Python tracker ___

[issue44507] Favor needed ASAP

2021-06-24 Thread Glenn Travis
New submission from Glenn Travis : - This mail is in HTML. Some elements may be ommited in plain text. - Hi to you! Need a favor from you, do you have an account with Amazon? Glenn Travis -- messages: 396511 nosy: Old Sub Sailor priority: normal severity: normal status: open title: Fav

[issue44507] Favor needed ASAP

2021-06-24 Thread Steven D'Aprano
Change by Steven D'Aprano : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue44475] Dataclass Causes Infinite Recursion when using type of bytes

2021-06-24 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue24132] Direct sub-classing of pathlib.Path

2021-06-24 Thread Kevin Follstad
Change by Kevin Follstad : -- pull_requests: +25482 pull_request: https://github.com/python/cpython/pull/26906 ___ Python tracker ___ __

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +25483 pull_request: https://github.com/python/cpython/pull/26907 ___ Python tracker ___ __

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: New changeset 22e7effad571f8e524d2f71ff55bbf2a25306753 by Irit Katriel in branch 'main': bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) https://github.com/python/cpython/commit/22e7effad571f8e524d2f71ff55bbf2a25306

[issue36438] Python 3.5.7 import error on Cross compile

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: Closing as there has been no followup for over two years. Please create a new issue if you are still seeing an issue with a current (3.9+) version of Python. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed _

[issue44447] Syntax Error not as detailed as shown

2021-06-24 Thread Eesa Ibrahim Khokhar
Eesa Ibrahim Khokhar added the comment: OK, Thanks for letting me know! On Fri, Jun 18, 2021 at 3:09 PM Pablo Galindo Salgado < rep...@bugs.python.org> wrote: > > Pablo Galindo Salgado added the comment: > > Indeed, as Andre mentions your example is different because in you case > the call i

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: New changeset 8bec9fb92f09d02c24611ebd0a90103a1a414a40 by Miss Islington (bot) in branch '3.10': bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) https://github.com/python/cpython/commit/8bec9fb92f09d02c24

[issue41825] os.waitid() documentation needs TLC

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-lis

[issue41825] os.waitid() documentation needs TLC

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: See also issue38802, issue34278, issue27808. -- nosy: +iritkatriel ___ Python tracker ___ ___ Pytho

[issue38802] Clearer wording of os.WNOHANG documentation to avoid misinterpretation

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: see also issue41825, issue34278, issue27808. -- components: +Library (Lib) nosy: +iritkatriel ___ Python tracker ___ __

  1   2   >