[issue43760] The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 55576893b31452ba739e01189424cd62cf11ed20 by Miss Islington (bot) in branch '3.10': bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) (GH-28529) https://github.com/python/cpython/commit/55576893b31452ba739e01189424cd

[issue45238] Fix debug() in IsolatedAsyncioTestCase

2021-09-22 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Serhiy! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45238] Fix debug() in IsolatedAsyncioTestCase

2021-09-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e06b0fddf69b933fe82f60d78a0f6248ca36a0a3 by Łukasz Langa in branch '3.9': [3.9] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) (GH-28522) https://github.com/python/cpython/commit/e06b0fddf69b933fe82f60d78a0f62

[issue45238] Fix debug() in IsolatedAsyncioTestCase

2021-09-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 44396aaba9b92b3a38a4b422a000d1a8eb05185a by Łukasz Langa in branch '3.10': [3.10] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) (GH-28521) https://github.com/python/cpython/commit/44396aaba9b92b3a38a4b422a000d1

[issue45238] Fix debug() in IsolatedAsyncioTestCase

2021-09-22 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26913 pull_request: https://github.com/python/cpython/pull/28522 ___ Python tracker <https://bugs.python.org/issue45

[issue45026] More compact range iterator

2021-09-22 Thread Łukasz Langa
Łukasz Langa added the comment: Since len timings for ranges of 100 items are negligible anyway, I personally still favor GH-28176 which is clearly faster during iteration. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45238] Fix debug() in IsolatedAsyncioTestCase

2021-09-22 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26912 pull_request: https://github.com/python/cpython/pull/28521 ___ Python tracker <https://bugs.python.org/issue45

[issue45238] Fix debug() in IsolatedAsyncioTestCase

2021-09-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ecb6922ff2d56476a6cfb0941ae55aca5e7fae3d by Serhiy Storchaka in branch 'main': bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) https://github.com/python/cpython/commit/ecb6922ff2d56476a6cfb0941ae55aca5e7fae3d -

[issue45234] copy_file raises FileNotFoundError when src is a directory

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 09390c837a0bf73e213db2fbde34d756fa77a837 by Miss Islington (bot) in branch '3.9': bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28507) https://github.com/python/cpyt

[issue43219] shutil.copy raises IsADirectoryError when the directory does not actually exist

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 09390c837a0bf73e213db2fbde34d756fa77a837 by Miss Islington (bot) in branch '3.9': bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28507) https://github.com/python/cpyt

[issue45234] copy_file raises FileNotFoundError when src is a directory

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: Pablo, this regression was fixed in GH-28508 which should go into 3.10.0. -- nosy: +pablogsal priority: normal -> release blocker ___ Python tracker <https://bugs.python.org/issu

[issue45234] copy_file raises FileNotFoundError when src is a directory

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 41d48bc038b254cc4a78a2d840097196b9545a84 by Miss Islington (bot) in branch '3.10': bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28508) https://github.com/python/cpyt

[issue43219] shutil.copy raises IsADirectoryError when the directory does not actually exist

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 41d48bc038b254cc4a78a2d840097196b9545a84 by Miss Islington (bot) in branch '3.10': bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28508) https://github.com/python/cpyt

[issue44807] typing.Protocol silently overrides __init__ method of delivered class

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: Marking issue as "pending" until we figure out how PEP 544 should be amended. -- status: open -> pending ___ Python tracker <https://bugs.pytho

[issue45216] Remove redundant information from difflib docstrings

2021-09-21 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue45216] Remove redundant information from difflib docstrings

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset df1006b561f9dca5a15af98d54f0337a75b69445 by Miss Islington (bot) in branch '3.9': bpo-45216: Remove extraneous method docs from `difflib` (GH-28445) (GH-28506) https://github.com/python/cpython/commit/df1006b561f9dca5a15af98d54f033

[issue45216] Remove redundant information from difflib docstrings

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e6b6c1d23b3702052637f70551451d12695403a1 by Miss Islington (bot) in branch '3.10': bpo-45216: Remove extraneous method docs from `difflib` (GH-28445) (GH-28505) https://github.com/python/cpython/commit/e6b6c1d23b3702052637f70551451d

[issue45234] copy_file raises FileNotFoundError when src is a directory

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b7eac52b466f697d3e89f47508e0df0196a98970 by andrei kulakov in branch 'main': bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) https://github.com/python/cpyt

[issue43219] shutil.copy raises IsADirectoryError when the directory does not actually exist

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b7eac52b466f697d3e89f47508e0df0196a98970 by andrei kulakov in branch 'main': bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) https://github.com/python/cpyt

[issue45215] Add docs for Mock name and parent args and deprecation warning when wrong args are passed

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: Have you encountered misuse of Mock's `name` and `parent` in the wild? As you're saying, since `str()` and `repr()` will error out anyway, it's unlikely users were doing this in the first place. I'm a little hesitant to accept the depreca

[issue45216] Remove redundant information from difflib docstrings

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 06e1773c8d8fe375423bb7fcf5922b49bc737b75 by Nikita Sobolev in branch 'main': bpo-45216: Remove extraneous method docs from `difflib` (GH-28445) https://github.com/python/cpython/commit/06e1773c8d8fe375423bb7fcf5922b49bc737b75 -

[issue45246] the sorted() documentation should refer to operator

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0d41bf15702832540afc1b1c078bc4fde5baebd6 by Łukasz Langa in branch '3.10': [3.10] bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494) (GH-28502) https://github.com/python/cpython/commit/0d41bf15702832540

[issue44807] typing.Protocol silently overrides __init__ method of delivered class

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: Yurri, is the issue you reported your original finding? If you haven't found this issue in the wild, we might want to let this be as-is until we specify exactly whether `__init__()` should be considered part of a pro

[issue45246] the sorted() documentation should refer to operator

2021-09-21 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 5.0 -> 6.0 pull_requests: +26897 pull_request: https://github.com/python/cpython/pull/28502 ___ Python tracker <https://bugs.python.org/issu

[issue45209] multiprocessing tests log: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f604cf1c377a7648e0686044e6e49900bfc9feef by Nikita Sobolev in branch 'main': bpo-45209: fix `UserWarning: resource_tracker` in test_multiprocessing (GH-28377) https://github.com/python/cpython/commit/f604cf1c377a7648e0686044e6e499

[issue45026] More compact range iterator

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like GH-28176 is faster across the board. One missing benchmark here is comparing `len()` speed as this was where the results will be reversed. It would be interesting to see to what extent. -- ___ Python

[issue44807] typing.Protocol silently overrides __init__ method of delivered class

2021-09-21 Thread Łukasz Langa
Łukasz Langa added the comment: I'm not sure whether we should downright reject `__init__()` methods. Sadly, they aren't usable at the moment anyway, but they could. Hear me out. There seems to be a gap in the PEP 544 definition of protocols, i.e. whether `__init__` should be de

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 04dea46dde25d58f242171181805f0e71a042963 by Miss Islington (bot) in branch '3.9': bpo-45229: Make pickle tests discoverable (GH-28467) (GH-28479) https://github.com/python/cpython/commit/04dea46dde25d58f242171181805f0e71a042963 -

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 74c6acc76fa00f1b80e96c8d4608ba1487387949 by Miss Islington (bot) in branch '3.10': bpo-45229: Make pickle tests discoverable (GH-28467) (GH-28478) https://github.com/python/cpython/commit/74c6acc76fa00f1b80e96c8d4608ba1487387949 -

[issue40413] Py_RunMain() crashes on subsequence call

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 29e431419a0c23340099a9cd8cf23ec9c7788879 by Miss Islington (bot) in branch '3.9': bpo-40413: test_embed tests calling Py_RunMain() multiple times (GH-28466) (GH-28471) https://github.com/python/cpyt

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

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like we can lose this with fixes merged for 3.9 - 3.11. -- nosy: +lukasz.langa resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue1514420] Traceback display code can attempt to open a file named ""

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: Fixed for Python 3.11. Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/

[issue1514420] Traceback display code can attempt to open a file named ""

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f71300cb0442f16ee9abc938e12537aec1eb5979 by Irit Katriel in branch 'main': bpo-1514420: Do not attempt to open files with names in <>s when formatting an exception (GH-28143) https://github.com/pytho

[issue40497] subprocess.check_output() accept the check keyword argument

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: Fixed with GH-19897 for Python 3.11. Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9 ___ Python tracke

[issue40497] subprocess.check_output() accept the check keyword argument

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4d2957c1b9a915f76da418e89bf9b5add141ca3e by Rémi Lapeyre in branch 'main': bpo-40497: Fix handling of check in subprocess.check_output() (GH-19897) https://github.com/python/cpython/commit/4d2957c1b9a915f76da418e89bf9b5add141ca3e -

[issue44640] Fix punctuation in isinstance() error message

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f4813388b4506b2fafb0089848c5b11cd503758c by wyz23x2 in branch 'main': bpo-44640: Improve punctuation consistency in isinstance/issubclass error messages (GH-27144) https://github.com/python/cpython/commit/f4813388b4506b2fafb0089848c5b1

[issue42038] Tracemalloc's format() doc contradictory

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42038] Tracemalloc's format() doc contradictory

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6302701179c458da637d669d7e88734fabb79cf6 by Miss Islington (bot) in branch '3.9': bpo-42038: fix description of returned list of lines (GH-27529) (GH-28429) https://github.com/python/cpython/commit/6302701179c458da637d669d7e8873

[issue42038] Tracemalloc's format() doc contradictory

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bba2332303c60d7326f08aa639ff03a6b5d44d04 by Miss Islington (bot) in branch '3.10': bpo-42038: fix description of returned list of lines (GH-27529) (GH-28428) https://github.com/python/cpython/commit/bba2332303c60d7326f08aa639ff03

[issue42038] Tracemalloc's format() doc contradictory

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset aca0e08c5dcc11a8011697331931cde0b21270f2 by andrei kulakov in branch 'main': bpo-42038: fix description of returned list of lines (GH-27529) https://github.com/python/cpython/commit/aca0e08c5dcc11a8011697331931cde0b21270f2 -

[issue45217] ConfigParser does not accept "No value" reversely to the doc

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the patch, Nikita! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45217] ConfigParser does not accept "No value" reversely to the doc

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a10726d3141d8f52a108c4daf70eefa29401e2fc by Miss Islington (bot) in branch '3.10': bpo-45217: adds note that `allow_no_value` in `configparser` is optional (GH-28396) (GH-28418) https://github.com/python/cpyt

[issue45217] ConfigParser does not accept "No value" reversely to the doc

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3ea1c4b66887e7ca920db487f6ffc5f1db3c873f by Miss Islington (bot) in branch '3.9': bpo-45217: adds note that `allow_no_value` in `configparser` is optional (GH-28396) (GH-28416) https://github.com/python/cpyt

[issue45217] ConfigParser does not accept "No value" reversely to the doc

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cb07838ab756564988b1ffd23871f1222a832446 by Nikita Sobolev in branch 'main': bpo-45217: adds note that `allow_no_value` in `configparser` is optional (GH-28396) https://github.com/python/cpython/commit/cb07838ab756564988b1ffd23871f1

[issue45187] Some tests in test_socket are not run

2021-09-17 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26825 pull_request: https://github.com/python/cpython/pull/28413 ___ Python tracker <https://bugs.python.org/issue45

[issue45187] Some tests in test_socket are not run

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0361335b80b435ca3694981b41f8269e390eb892 by Serhiy Storchaka in branch 'main': bpo-45187: Collect test_socket tests using unittest (GH-28317) https://github.com/python/cpython/commit/0361335b80b435ca3694981b41f8269e390eb892 -

[issue45212] Dangling threads in skipped tests in test_socket

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: Haha, which you just did. Cool. -- ___ Python tracker <https://bugs.python.org/issue45212> ___ ___ Python-bugs-list mailin

[issue45212] Dangling threads in skipped tests in test_socket

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: We can add a comment to the effect that "the wait here needs to be longer than the client-side (0.01s)". Since you already merged the change to `main`, it will be easiest to merge the backports as well and add the comment in a follow

[issue45217] ConfigParser does not accept "No value" reversely to the doc

2021-09-17 Thread Łukasz Langa
Łukasz Langa added the comment: No, it shouldn't be the default. It never was before (this is a library that we've maintained for 20+ years now) and changing it now would mean that existing applications would stop validating their configuration in the way they did up to now. .ini

[issue39710] "will be returned as unicode" reminiscent from Python 2

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the patch, Hubert Badocha! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39710] "will be returned as unicode" reminiscent from Python 2

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a75a2577259a55d816de24a4cca16aad74e02aa5 by Hubert Badocha in branch 'main': bpo-39710: Remove Python 2-specific sentence from calendar documentation (GH-26985) https://github.com/python/cpython/commit/a75a2577259a55d816de24a4cca16a

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Serhiy! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9443ce4eedbcaffb3262e7ede1dd100678e85506 by Miss Islington (bot) in branch '3.9': bpo-45205: Make test_compileall quiet (GH-28356) (GH-28364) https://github.com/python/cpython/commit/9443ce4eedbcaffb3262e7ede1dd10

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 17000b5a80e6ec071ea5007dcc6792e9daaaf0f2 by Miss Islington (bot) in branch '3.10': bpo-45205: Make test_compileall quiet (GH-28356) (GH-28370) https://github.com/python/cpython/commit/17000b5a80e6ec071ea5007dcc6792

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2746045a37e0d56ffdd8bb79f961bd7df0d1afba by Miss Islington (bot) in branch '3.9': bpo-45167: Fix deepcopying of GenericAlias (GH-28324) (GH-28368) https://github.com/python/cpython/commit/2746045a37e0d56ffdd8bb79f961bd

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset de4c9c0bdc9b62e68dacd0c4bac20d7f4c527511 by Miss Islington (bot) in branch '3.10': bpo-45167: Fix deepcopying of GenericAlias (GH-28324) (GH-28367) https://github.com/python/cpython/commit/de4c9c0bdc9b62e68dacd0c4bac20d

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Victor! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Change by Łukasz Langa : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue45089> ___ ___ Pyth

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Victor! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1c70efcbb57ab4eb65ca604b39606fceff6db4f5 by Miss Islington (bot) in branch '3.9': bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28366) https://github.com/python/cpython/commit/1c70efcbb57ab4eb65ca604b39606f

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bbaf5c27e659cf372c34a6fe7ca31a2f5cb20a50 by Miss Islington (bot) in branch '3.10': bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28365) https://github.com/python/cpython/commit/bbaf5c27e659cf372c34a6fe7ca31a

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Erlend! ✨ 🍰 ✨ -- ___ Python tracker <https://bugs.python.org/issue45089> ___ ___ Python-bugs-list mailing list Unsub

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 97802a8edb3f15aef9ecc1cac97c4c1b4ed3fdfc by Miss Islington (bot) in branch '3.9': bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28372) https://github.com/python/cpython/commit/97802a8edb3f15aef9ecc1cac97c4c

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 87f0ac8c1de83ac63447b9fe799dfb1657a5a9db by Miss Islington (bot) in branch '3.10': bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28371) https://github.com/python/cpython/commit/87f0ac8c1de83ac63447b9fe799dfb

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0e4f913da88791644150282e38ba21d1fca5fd91 by Miss Islington (bot) in branch '3.10': bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) (GH-28363) https://github.com/python/cpyt

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 51056b40e711d84692d099ac8970077b33c7fafd by Erlend Egeberg Aasland in branch 'main': bpo-45089: Improve sqlite3 trace callback docs (GH-28238) https://github.com/python/cpython/commit/51056b40e711d84692d099ac8970077b33c7fafd -

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2563dd2d0a1cf793afca328ae9e195b72bd2b391 by Łukasz Langa in branch '3.10': [3.10] bpo-34602: Quadruple stack size on macOS when compiling with UBSAN (GH-27309) (GH-28280) https://github.com/python/cpyt

[issue5846] Deprecate obsolete functions in unittest

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ff6d2cc55aac5cc53e331cae145d0cf35ec647b0 by Erlend Egeberg Aasland in branch 'main': bpo-5846: Deprecate obsolete methods in `unittest` (GH-28299) https://github.com/python/cpython/commit/ff6d2cc55aac5cc53e331cae145d0cf35ec647b0 -

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5dce51a8875d9639786741e962b3cb208596b096 by Serhiy Storchaka in branch 'main': bpo-45167: Fix deepcopying of GenericAlias (GH-28324) https://github.com/python/cpython/commit/5dce51a8875d9639786741e962b3cb

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 84a6061e29e9dc13909bdf6f541f48c2a4f1d410 by Victor Stinner in branch 'main': bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) https://github.com/python/cpython/commit/84a6061e29e9dc13909bdf6f541f48c2a4f1d410 -

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cc057ff5227b3a4ded637caa7ba51b67b06abaaa by Victor Stinner in branch 'main': bpo-45205: Make test_compileall quiet (GH-28356) https://github.com/python/cpython/commit/cc057ff5227b3a4ded637caa7ba51b67b06abaaa -- nosy: +lu

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e08e491a6ceea8ca105612df10147418c4e105b8 by Victor Stinner in branch 'main': bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) https://github.com/python/cpython/commit/e08e491a6ceea8ca105612df101474

[issue45204] test_peg_generator: test_soft_keyword() logs many messages into stdout

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 764e6823a7632c2091db93da04c15900350ad524 by Pablo Galindo Salgado in branch 'main': bpo-45204: Reduce verbosity of test_peg_generator (GH-28360) https://github.com/python/cpython/commit/764e6823a7632c2091db93da04c15900350ad524 -

[issue35474] mimetypes.guess_all_extensions potentially mutates list

2021-09-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Serhiy! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35474] mimetypes.guess_all_extensions potentially mutates list

2021-09-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 06c26f4d2909eae196ac81c9ed9b41e747e42685 by Miss Islington (bot) in branch '3.10': bpo-35474: Fix mimetypes.guess_all_extensions() potentially mutating list (GH-28286) (GH-28289) https://github.com/python/cpyt

[issue35474] mimetypes.guess_all_extensions potentially mutates list

2021-09-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9cd8fb8d6356c17dafa1be727cab3d438f6df53f by Miss Islington (bot) in branch '3.9': bpo-35474: Fix mimetypes.guess_all_extensions() potentially mutating list (GH-28286) (GH-28290) https://github.com/python/cpyt

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-13 Thread Łukasz Langa
Łukasz Langa added the comment: Serhiy, can you elaborate how GH-28306 can break protocols using other special methods? I can't come up with an example. -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/is

[issue45173] Remove configparser deprecations

2021-09-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1fc41ae8709e20d741bd86c2345173688a5e84b0 by Hugo van Kemenade in branch 'main': bpo-45173 Remove configparser deprecations (GH-28292) https://github.com/python/cpython/commit/1fc41ae8709e20d741bd86c2345173688a5e84b0 -

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2021-09-10 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26698 pull_request: https://github.com/python/cpython/pull/28280 ___ Python tracker <https://bugs.python.org/issue34

[issue9811] strftime strips '%' from unknown format codes on OS X

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: Is there anything else you wanted to do here, Irit? -- ___ Python tracker <https://bugs.python.org/issue9811> ___ ___ Python-bug

[issue9811] strftime strips '%' from unknown format codes on OS X

2021-09-10 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue9811] strftime strips '%' from unknown format codes on OS X

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset baeaaecb8a97033bc2d07d51442cc8b1f89d410d by Miss Islington (bot) in branch '3.9': bpo-9811: [doc] strftime handling of unsupported format specifiers is platform dependent (GH-28264) (GH-28278) https://github.com/python/cpyt

[issue9811] strftime strips '%' from unknown format codes on OS X

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 897e5aae748180acf8d546d14aeacaf02600fff9 by Miss Islington (bot) in branch '3.10': bpo-9811: [doc] strftime handling of unsupported format specifiers is platform dependent (GH-28264) (GH-28277) https://github.com/python/cpyt

[issue45144] Use subtests in test_peepholer

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: We can refactor the tests to your new functionality once it's ready, Serhiy. In the mean time, this is fixed! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python t

[issue45144] Use subtests in test_peepholer

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f8d624d6a571d6e773f53ad80aa93face7e8395b by Irit Katriel in branch 'main': bpo-45144: use subTests in test_peepholer (GH-28247) https://github.com/python/cpython/commit/f8d624d6a571d6e773f53ad80aa93face7e8395b -- nosy: +lu

[issue9811] strftime strips '%' from unknown format codes on OS X

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e86bcfa58080f152f242c756f625f4015671f168 by Irit Katriel in branch 'main': bpo-9811: [doc] strftime handling of unsupported format specifiers is platform dependent (GH-28264) https://github.com/python/cpyt

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 314de5326f8b687a3fa7b19ea8faaa449f59b8fe by Miss Islington (bot) in branch '3.9': bpo-44219: Mention GH-28250 is a deadlock bugfix (GH-28261) (GH-28275) https://github.com/python/cpython/commit/314de5326f8b687a3fa7b19ea8faaa

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b045174a6dbf1060f092265853f0c78f0704a21a by Miss Islington (bot) in branch '3.10': bpo-44964: Correct the note about the f_lasti field (GH-28208) (GH-28276) https://github.com/python/cpython/commit/b045174a6dbf1060f092265853f0c7

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 60ddf499e14cc7daba3804e5a3460e4224dacc5c by Miss Islington (bot) in branch '3.10': bpo-44219: Mention GH-28250 is a deadlock bugfix (GH-28261) (GH-28274) https://github.com/python/cpython/commit/60ddf499e14cc7daba3804e5a3460e

[issue25894] unittest subTest failure causes result to be omitted from listing

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: > Any suggestions for the format of output? Currently PR 28082 formats lines > for subtest skipping, failure or error with a 2-space identation. Lines for > skipping, failure or error in tearDown() or functions registered with > addCallback() d

[issue25894] unittest subTest failure causes result to be omitted from listing

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f0f29f328d8b4568e8c0d4c55c7d120d96f80911 by Serhiy Storchaka in branch 'main': bpo-25894: Always report skipped and failed subtests separately (GH-28082) https://github.com/python/cpython/commit/f0f29f328d8b4568e8c0d4c55c7d12

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ab327f2929589407595a3de95727c8ab34ddd4af by Pablo Galindo Salgado in branch 'main': bpo-44964: Correct the note about the f_lasti field (GH-28208) https://github.com/python/cpython/commit/ab327f2929589407595a3de95727c8ab34ddd4af -

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 296b7100705ef52aece3378b0ae42c33a58526e1 by Łukasz Langa in branch 'main': bpo-44219: Mention GH-28250 is a deadlock bugfix (GH-28261) https://github.com/python/cpython/commit/296b7100705ef52aece3378b0ae42c

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: I agree with Serhiy, I consider this a bugfix. Let's raise it to "release blocker" to let Pablo decide if this should wait for 3.10.1 or get bumped up to 3.10.0. -- nosy: +pablogsal priority: normal -&g

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26681 pull_request: https://github.com/python/cpython/pull/28261 ___ Python tracker <https://bugs.python.org/issue44

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 23c46778d65870784cb6d4de30f43aac62d71e73 by Miss Islington (bot) in branch '3.10': bpo-44219: Release the GIL during isatty syscalls (GH-28250) (GH-28255) https://github.com/python/cpython/commit/23c46778d65870784cb6d4de30f43a

[issue44340] Add support for building cpython with clang thin lto

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 84ca5fcd31541929f0031e974a434b95d8e78aab by Dong-hee Na in branch 'main': bpo-44340: Update whatsnews for ThinLTO (GH-28229) https://github.com/python/cpython/commit/84ca5fcd31541929f0031e974a434b95d8e78aab -- nosy: +lu

[issue41082] Error handling and documentation of Path.home()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Behavior is fixed in Python 3.10+. For Python 3.9 the docs are updated to list possible exceptions. Since this was reported with 3.9 in mind, I'm marking this one as wontfix. Thanks for picking this up, Andrei! ✨ 🍰 ✨ -- resolution: -> wont f

[issue41082] Error handling and documentation of Path.home()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dc2e11ed5a5a8083db1d8b5e2396c9238999568c by andrei kulakov in branch '3.9': [3.9] bpo-41082: Add note on errors that may be raised by home() and expanduser() (GH-28186) https://github.com/python/cpyt

[issue45026] More compact range iterator

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: I like Dennis' idea and Serhiy's implementation in GH-28176. It's a bit of a larger change compared to GH-27986 but I think it's worth it: I expect iteration speed is more important than `len()` spe

<    1   2   3   4   5   6   7   8   9   10   >