[issue24888] FileNotFoundException raised by subprocess.call

2021-08-29 Thread Padmashree Jha
Padmashree Jha added the comment: You have to add shell=True to execute a shell command. check_output is trying to find an executable. Try this -- nosy: +padmashreejha717 versions: -Python 3.4 ___ Python tracker

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26467 pull_request: https://github.com/python/cpython/pull/28021 ___ Python tracker ___

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 07d3d54f4e84b1259b800884b202701f69e408d8 by Serhiy Storchaka in branch 'main': bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) https://github.com/python/cpython/commit/07d3d54f4e84b1259b800884b202701f69e408d8 -- __

[issue25130] Make tests more PyPy compatible

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

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26469 pull_request: https://github.com/python/cpython/pull/28023 ___ Python tracker ___

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread miss-islington
miss-islington added the comment: New changeset a49398b643b3a2e6f9cc39729c528eb1e4385b1a by Miss Islington (bot) in branch '3.10': bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) https://github.com/python/cpython/commit/a49398b643b3a2e6f9cc39729c528eb1e4385b1a --

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Here is a list of multiprocessing tests which are run in 3.8 but are not found in 3.9+: OtherTest.test_answer_challenge_auth_failure OtherTest.test_deliver_challenge_auth_failure TestInitializers.test_manager_initializer TestInitializers.test_pool_initial

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dab74d68e3f8391cb4b404b397ab80e2e0188d1f by Serhiy Storchaka in branch '3.9': [3.9] bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) (GH-28023) https://github.com/python/cpython/commit/dab74d68e3f8391cb4b404b397ab80e2e0188d1f

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2a8127cafe1d196f858a3ecabf5f1df3eebf9a12 by Serhiy Storchaka in branch 'main': bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) https://github.com/python/cpython/commit/2a8127cafe1d196f858a3ecabf5f1df3eebf9a12 ---

[issue42278] Remove usage of tempfile.mktemp in stdlib

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

[issue42278] Remove usage of tempfile.mktemp in stdlib

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

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c9227df5a9d8e958a2324cf0deba8524d1ded26a by E-Paine in branch 'main': bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) https://github.com/python/cpython/commit/c9227df5a9d8e958a2324cf0deba8524d1ded26a --

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-08-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +26470 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/28024 ___ Python tracker ___

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26473 pull_request: https://github.com/python/cpython/pull/28027 ___ Python tracker ___

[issue45043] Typo (change 'two' to 'three')

2021-08-29 Thread Matt Schuster
New submission from Matt Schuster : Reference https://docs.python.org/3/library/time.html?highlight=time%20time#module-time in 3.8, 3.9, 3.10, 3.11 (previous versions do not have same issue). Specifically under time.asctime([t]) and time.ctime([secs]) Change "day field is two characters long"

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26474 pull_request: https://github.com/python/cpython/pull/28028 ___ Python tracker ___

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26475 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/28030 ___ Python tracker

[issue25130] Make tests more PyPy compatible

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 330aaee39cbc556be01534b1dbf65d20f04c by Serhiy Storchaka in branch '3.9': [3.9] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005). (GH-28028) https://github.com/python/cpython/commit/330aaee39cbc556be01534b1dbf6

[issue45044] Agreeing on error raised by large repeat value for sequences

2021-08-29 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard : There's currently a slight disagreement between some of the sequences about what is raised when the value for `repeat` is too large. Currently, `str` and `bytes` raise an `OverflowError` while `bytearray`, `tuple`, `list` and `deque` raise a `Memo

[issue45026] More compact range iterator

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Microbenchmarks show some speed up: Iterating large range: $ ./python -m timeit -s 'r = range(0, 10**20, 3**35)' 'list(r)' Before: 2000 loops, best of 5: 199 usec per loop After: 2000 loops, best of 5: 113 usec per loop Unpickling: $ ./python -m timeit -

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 45409518c1cec5ee91d49f69a2f8eb4196d242f0 by Miss Islington (bot) in branch '3.9': bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28025) https://github.com/python/cpython/commit/45409518c1cec5ee91d49f

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 193443bb708cba3a72e99e61dd6615a94f22f9e1 by Miss Islington (bot) in branch '3.8': bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28026) https://github.com/python/cpython/commit/193443bb708cba3a72e99e

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-08-29 Thread miss-islington
miss-islington added the comment: New changeset 532ebba6c8697d214a0d94514ad0b2464a59cb7c by Miss Islington (bot) in branch '3.10': bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) https://github.com/python/cpython/commit/532ebba6c8697d214a0d94514ad0b

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, E. Paine! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.7 ___ Python tracker __

[issue45043] Typo (change 'two' to 'three')

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In what case the day field is three characters long? Could you show an example? -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

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

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3fc5d84046ddbd66abac5b598956ea34605a4e5d by Victor Stinner in branch 'main': bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) https://github.com/python/cpython/commit/3fc5d84046ddbd66abac5b598956ea34605a4e5d -- ___

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

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

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

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

[issue43124] [security] smtplib multiple CRLF injection

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

[issue43124] [security] smtplib multiple CRLF injection

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0897253f426068ea6a6fbe0ada01689af9ef1019 by Miguel Brito in branch 'main': bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) https://github.com/python/cpython/commit/0897253f426068ea6a6fbe0ada01689af9ef1019 -- ___

[issue43124] [security] smtplib multiple CRLF injection

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

[issue43124] [security] smtplib multiple CRLF injection

2021-08-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +26479 pull_request: https://github.com/python/cpython/pull/28034 ___ Python tracker _

[issue43124] [security] smtplib multiple CRLF injection

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

[issue43124] [security] smtplib multiple CRLF injection

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

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d3bdbbf9a4352a24fc2bfc7a63a024b244b61aba by Steve Dower in branch 'main': bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) https://github.com/python/cpython/commit/d3bdbbf9a4352a24fc2bfc7a63a024b244b61aba -- nosy: +l

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26484 pull_request: https://github.com/python/cpython/pull/28039 ___ Python tracker ___ _

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26485 pull_request: https://github.com/python/cpython/pull/28040 ___ Python tracker ___ _

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26486 pull_request: https://github.com/python/cpython/pull/28041 ___ Python tracker ___ _

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c9c2a0bc9820f93f1020f3498f6893a3544c9b76 by Miss Islington (bot) in branch '3.8': bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28033) https://github.com/python/cpython/commit/c9c2a0bc9820f93f1020f3498f6893a3544c9b76 -- ___

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-29 Thread miss-islington
miss-islington added the comment: New changeset 270678564c16452614a8acd93763bdf64fb4d286 by Miss Islington (bot) in branch '3.10': bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) https://github.com/python/cpython/commit/270678564c16452614a8acd93763bdf64fb4d286 -- __

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 007221a43e566db08c0c5c00756d80dfd9dccafe by Miss Islington (bot) in branch '3.9': bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28032) https://github.com/python/cpython/commit/007221a43e566db08c0c5c00756d80dfd9dccafe -- ___

[issue43124] [security] smtplib multiple CRLF injection

2021-08-29 Thread miss-islington
miss-islington added the comment: New changeset 9e6c317ab133cd8fa48d5ecd8568314ef2e98634 by Miss Islington (bot) in branch '3.10': bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) https://github.com/python/cpython/commit/9e6c317ab133cd8fa48d5ecd8568314ef2e98634 --

[issue43124] [security] smtplib multiple CRLF injection

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 24416e419194f11b639146c0d8bed9df315aca5a by Miss Islington (bot) in branch '3.9': bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-28035) https://github.com/python/cpython/commit/24416e419194f11b639146c0d8bed9df315aca5a -- _

[issue45043] Typo (change 'two' to 'three')

2021-08-29 Thread Vedran Čačić
Vedran Čačić added the comment: Matt obviously meant the day of week, but in docs day is meant as day of month. -- nosy: +veky ___ Python tracker ___ __

[issue43124] [security] smtplib multiple CRLF injection

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b93aea4c7e4553950daa5d47c3ef2dc8a9c4edff by Miss Islington (bot) in branch '3.8': [3.8] bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-28036) https://github.com/python/cpython/commit/b93aea4c7e4553950daa5d47c3ef2dc8a9c4edff ---

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: I backported GH-28009 to 3.8 inclusive, given that 3.7 and 3.6 currently list older versions than 1.1.1k. -- ___ Python tracker ___ ___

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5720bcac7b08fe961835927933601da18b92bcd1 by Łukasz Langa in branch '3.9': [3.9] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH-28040) https://github.com/python/cpython/commit/5720bcac7b08fe961835927933601da18b92bcd1 -

[issue43124] [security] smtplib multiple CRLF injection

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Martin! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26487 pull_request: https://github.com/python/cpython/pull/28042 ___ Python tracker ___ _

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: 3.6 will need a separate backport because it's using expat 2.2.6 at the moment (from b2260e59ff1eaf20de4738099005ddf507b7b27d). 3.7 conflicted since it didn't include local changes to the vendored 2.2.8 that were introduced in 3.8+. I fixed that, the backport i

[issue45044] Agreeing on error raised by large repeat value for sequences

2021-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: These should be left as they are because they indicate different problems and solutions. The Overflow errors are dependent on PY_SSIZE_T_MAX. They indicate the that size is to big to store in a variable. Changing from a 32-bit build to a 64-bit build c

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Dong-hee Na
New submission from Dong-hee Na : There are optimizable points that can be achieved by removing unnecessary tuple transformation and using vector calling convention. +---++--+ | Benchmark | base | opt | +===++==

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +26488 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28043 ___ Python tracker ___

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45043] Typo (change 'two' to 'three')

2021-08-29 Thread Matt Schuster
Matt Schuster added the comment: Yes, I meant the day of week. Ok, no problem as this is 'date of month'. Closing as 'not a bug'. Thanks!! -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 803c60789b5b6566cb0b71f6b83464e61731d09b by Łukasz Langa in branch '3.8': [3.8] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH-28041) https://github.com/python/cpython/commit/803c60789b5b6566cb0b71f6b83464e61731d09b -

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26489 pull_request: https://github.com/python/cpython/pull/28044 ___ Python tracker ___ _

[issue45046] Add support of context managers in unittest

2021-08-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Methods setUp() and tearDown() of TestClass allow to add some code executed before and after every test method. In many cases addCleanup() is more convenient than tearDown() -- you do not need to keep data for cleaning up as TestCase attributes, addClean

[issue40935] Links to Python3 docs for some libs return 404

2021-08-29 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue45046] Add support of context managers in unittest

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26490 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28045 ___ Python tracker ___

[issue15351] Add to unittest.TestCase support for using context managers

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Opened issue45046 for completely different approach to this problem. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue45047] Update demo files

2021-08-29 Thread Ayush Parikh
Change by Ayush Parikh : -- nosy: Ayushparikh-code priority: normal pull_requests: 26491 severity: normal status: open title: Update demo files type: enhancement ___ Python tracker ___

[issue45047] Update demo files

2021-08-29 Thread Ayush Parikh
Change by Ayush Parikh : -- pull_requests: -26491 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue45047] Update demo files

2021-08-29 Thread Ayush Parikh
Change by Ayush Parikh : -- keywords: +patch pull_requests: +26492 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28046 ___ Python tracker ___ ___

[issue20803] doc: clarify that struct.pack_into writes 0x00 for pad bytes

2021-08-29 Thread Diana
Diana added the comment: I'm working on this -- nosy: +DonnaDia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20803] doc: clarify that struct.pack_into writes 0x00 for pad bytes

2021-08-29 Thread Diana
Change by Diana : -- keywords: +patch pull_requests: +26493 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28047 ___ Python tracker ___ __

[issue33262] Deprecate shlex.split(None) to read from stdin.

2021-08-29 Thread Andrei Kulakov
Andrei Kulakov added the comment: Can be closed as fixed (or perhaps renamed and kept open to track eventual raising of error in the future?) -- nosy: +andrei.avk ___ Python tracker

[issue45047] Update demo files

2021-08-29 Thread Irit Katriel
New submission from Irit Katriel : Please explain the issue - in what way should the demo files be updated? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue45047] Update demo files

2021-08-29 Thread Eric V. Smith
Eric V. Smith added the comment: It looks like they want to add a RatinMaze.py demo program, which solves a maze. -- nosy: +eric.smith ___ Python tracker ___ _

[issue41046] unittest: make skipTest a classmethod

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since you always can raise a SkipTest in setUpClass() and setUpModule() and changing skipTest() can break existing code (for example the code which calls cls.skipTest(None, reason) for some strange reasons), I think that it is not worth to change it.

[issue34561] Replace list sorting merge_collapse()?

2021-08-29 Thread Laurent Lyaudet
Laurent Lyaudet added the comment: My benchmarks could be improved but however I found that Shivers' sort and adaptive Shivers' sort (aka Jugé's sort) performs better than Tim's sort. it can be done easily by switching the main natural merge strategy like I did here : https://github.com/LLyaude

[issue36674] "unittest.TestCase.debug" should honour "skip" (and other test controls)

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -14706 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue34561] Replace list sorting merge_collapse()?

2021-08-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36674] "unittest.TestCase.debug" should honour "skip" (and other test controls)

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue41620 for run() returning None. -- dependencies: +Python Unittest does not return results object when the test is skipped nosy: +serhiy.storchaka ___ Python tracker

[issue45048] subprocess.run(capture_output=Bool) does the opposite of expected

2021-08-29 Thread DragonEggBedrockBreaking
New submission from DragonEggBedrockBreaking : If you run subprocess.run(capture_output=True), it doesn't show output, but if you run subprocess.run(capture_output=False) (or if you just run subprocess.run() since False is default), it does show output. In the example in the docs, it shows th

[issue45048] subprocess.run(capture_output=Bool) does the opposite of expected

2021-08-29 Thread Vedran Čačić
Vedran Čačić added the comment: I think it is exactly what "capture" means: "not allow it to escape" (to the console). Maybe you should read the documentation? -- nosy: +veky ___ Python tracker _

[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h

2021-08-29 Thread RAW
RAW added the comment: Please look at configure.ac which is used to create configure which will generate pyconfig.h from pyconfig.h.in according to what features are detected in the system. -- status: pending -> open ___ Python tracker

[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h

2021-08-29 Thread RAW
Change by RAW : -- resolution: out of date -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45048] subprocess.run(capture_output=Bool) does the opposite of expected

2021-08-29 Thread DragonEggBedrockBreaking
DragonEggBedrockBreaking added the comment: I read the documentation, and I saw in the example that when capture_output was true, command output was printed, otherwise it isn't printed. my observations directly contradict the examples given in the docs, as stated in my original issue. -

[issue45048] subprocess.run(capture_output=Bool) does the opposite of expected

2021-08-29 Thread Eryk Sun
Eryk Sun added the comment: The documentation states that "[i]f capture_output is true, stdout and stderr will be captured". This implies a container of some kind. So look to what subprocess.run() returns: "[w]ait for command to complete, then return a CompletedProcess instance". The `stdout

[issue34561] Replace list sorting merge_collapse()?

2021-08-29 Thread Tim Peters
Tim Peters added the comment: Added new runstack.py. New `shivers2()` adds the implementation of adaptive ShiversSort from Vincent's later paper. While the code is simpler, it appears to behave identically. New `shivers3()` adds, from the same paper, the new "length-adaptive ShiversSort". W

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Dong-hee Na
Dong-hee Na added the comment: With Ken Jin's suggestion +---++--+ | Benchmark | base | PR 28043 | +===++==+ | bench pattern | 482 ns | 373 ns: 1.29x faster | +---++-

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Tim Peters
Tim Peters added the comment: And another runstack.py adds `shivers4()`, which reworks `shivers3()` (length-adaptive ShiversSort) so that division, log2(), and floor() aren't used anymore. It does need a loop, though, which needs to go around a number of times `k` such that k is the smallest

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Tim Peters
Change by Tim Peters : -- Removed message: https://bugs.python.org/msg400568 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-29 Thread Tim Peters
Change by Tim Peters : Removed file: https://bugs.python.org/file50242/runstack.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34561] Replace list sorting merge_collapse()?

2021-08-29 Thread Tim Peters
Tim Peters added the comment: And another runstack.py adds `shivers4()`, which reworks `shivers3()` (length-adaptive ShiversSort) so that division, log2(), and floor() aren't used anymore. It does need a loop, though, which needs to go around a number of times `k` such that k is the smallest

[issue45021] Race condition in thread.py

2021-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-08-29 Thread Mark Lierley
Mark Lierley added the comment: I am also experiencing this issue. I have an M1 Macbook Air running MaOS Monterey Version 12.0 Beta (21A5304g) with a fresh install of Python 3.9.6. When attempting to save or open anything from either the editor or console window I get the following error me

[issue36521] Consider removing docstrings from co_consts in code objects

2021-08-29 Thread Inada Naoki
Inada Naoki added the comment: > I think that would require a change in the signature of PyFunction_New. I don't think so. For example, func_annotation don't require changing PyFunction_New(). ``` case TARGET(MAKE_FUNCTION): { PyObject *codeobj = POP(); PyFunc

[issue24444] In argparse empty choices cannot be printed in the help

2021-08-29 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 2.0 -> 3.0 pull_requests: +26494 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28050 ___ Python tracker

[issue45047] Update demo files

2021-08-29 Thread Ayush Parikh
Ayush Parikh added the comment: yes eric you're right as that demo folder already consists of some common software problems like n-queens ,etc so i also want to ratinmaze.py demo program their ! On Mon, Aug 30, 2021 at 1:50 AM Eric V. Smith wrote: > > Eric V. Smith added the comment: > > It

[issue35741] unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support") doesn't work

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +lemburg, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

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

2021-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Were not subtests proposed as a more flexible replacement of parametrized tests? I think that every subtest should be counted as a separate test case: in verbose mode it should output a separate line and in non-verbose mode it should output a separate char

[issue45047] Update demo files

2021-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This submission is somewhat similar to #45037 more promising. It at least needs more explanation as to what it contributes that is not already present. Plus see review comment. (This part of my previous answer still applies: "When responding by email, ple

[issue45007] OpenSSL 1.1.1l is released

2021-08-29 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +26495 pull_request: https://github.com/python/cpython/pull/28051 ___ Python tracker ___ ___

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-29 Thread Ned Deily
Ned Deily added the comment: New changeset 71853a73024a98aa38a3c0444fe364dbd9709134 by Tobias Bergkvist in branch 'main': bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (#27251) https://github.com/python/cpython/commit/71853a73024

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-29 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26496 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28052 ___ Python tracker

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

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

  1   2   >