[issue44283] Add jump table for certain safe match-case statements

2021-06-02 Thread Kshitiz Arya
Change by Kshitiz Arya : -- nosy: +Kshitiz17 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Matt Billenstein
Matt Billenstein added the comment: So, I'd been trying various things before the master restart and I was using python3 supplied by homebrew - I decided I didn't like that dependency and switched it back to /usr/bin/python3 as supplied by the system [1]. I did a rebuild on 325 a couple more

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread Ned Deily
Ned Deily added the comment: New changeset 1b6f4e5e13ebd1f957b47f7415b53d0869bdbac6 by Miss Islington (bot) in branch '3.6': bpo-44022: Improve the regression test. (GH-26503) (GH-26508) https://github.com/python/cpython/commit/1b6f4e5e13ebd1f957b47f7415b53d0869bdbac6 --

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread Ned Deily
Ned Deily added the comment: New changeset fee96422e6f0056561cf74fef2012cc066c9db86 by Miss Islington (bot) in branch '3.7': bpo-44022: Improve the regression test. (GH-26503) (GH-26507) https://github.com/python/cpython/commit/fee96422e6f0056561cf74fef2012cc066c9db86 --

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Ned Deily
Ned Deily added the comment: Alas, it looks like build 325 failed in the same way as build 322: https://buildbot.python.org/all/#/builders/366/builds/325 I wonder if there might be a Makefile race condition. -- resolution: out of date -> stage: resolved -> status: closed -> open

[issue43776] Popen with shell=True yield mangled repr output

2021-06-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___

[issue43776] Popen with shell=True yield mangled repr output

2021-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 5a8ddcc4524dca3880d7fc2818814ffae1cfb8a2 by Gregory P. Smith in branch '3.9': [3.9] bpo-43776: Remove list call from args in Popen repr (GH-25338) (GH-26510) https://github.com/python/cpython/commit/5a8ddcc4524dca3880d7fc2818814ffae1cfb8a2

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
miss-islington added the comment: New changeset 5df4abd6b033a5f1e48945c6988b45e35e76f647 by Miss Islington (bot) in branch '3.9': bpo-44022: Improve the regression test. (GH-26503) https://github.com/python/cpython/commit/5df4abd6b033a5f1e48945c6988b45e35e76f647 --

[issue42914] pprint numbers with underscore

2021-06-02 Thread miss-islington
miss-islington added the comment: New changeset 41317801a95c758c3fc04c4fb332ac453c9e3ad3 by Miss Islington (bot) in branch '3.10': Add bpo-42914 to What's New (GH-25124) https://github.com/python/cpython/commit/41317801a95c758c3fc04c4fb332ac453c9e3ad3 --

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
miss-islington added the comment: New changeset 98e5a7975d99b58d511f171816ecdfb13d5cca18 by Miss Islington (bot) in branch '3.10': bpo-44022: Improve the regression test. (GH-26503) https://github.com/python/cpython/commit/98e5a7975d99b58d511f171816ecdfb13d5cca18 --

[issue43776] Popen with shell=True yield mangled repr output

2021-06-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +25106 pull_request: https://github.com/python/cpython/pull/26510 ___ Python tracker ___

[issue42914] pprint numbers with underscore

2021-06-02 Thread miss-islington
miss-islington added the comment: New changeset 4846ea95d1a121df5e8081e2a290f63d1419cad8 by Wm. Keith van der Meulen in branch 'main': Add bpo-42914 to What's New (GH-25124) https://github.com/python/cpython/commit/4846ea95d1a121df5e8081e2a290f63d1419cad8 -- nosy: +miss-islington

[issue42914] pprint numbers with underscore

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25105 pull_request: https://github.com/python/cpython/pull/26509 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25104 pull_request: https://github.com/python/cpython/pull/26508 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset e60ab843cbb016fb6ff8b4f418641ac05a9b2fcc by Gregory P. Smith in branch 'main': bpo-44022: Improve the regression test. (GH-26503) https://github.com/python/cpython/commit/e60ab843cbb016fb6ff8b4f418641ac05a9b2fcc --

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25103 pull_request: https://github.com/python/cpython/pull/26507 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25102 pull_request: https://github.com/python/cpython/pull/26506 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25100 pull_request: https://github.com/python/cpython/pull/26504 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25101 pull_request: https://github.com/python/cpython/pull/26505 ___ Python tracker ___

[issue44283] Add jump table for certain safe match-case statements

2021-06-02 Thread Dennis Sweeney
Dennis Sweeney added the comment: Very interesting -- that is shorter than I thought also! If we really wanted to optimize the tar out of this, we could probably find a way to re-use just the PyDictKeysObject to find the index into a C-array of integer jump targets and not have to worry

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

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

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: Great catch! The new PR should address that. -- ___ Python tracker ___ ___ Python-bugs-list

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-06-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +25099 pull_request: https://github.com/python/cpython/pull/26503 ___ Python tracker ___

[issue44283] Add jump table for certain safe match-case statements

2021-06-02 Thread Brandt Bucher
Brandt Bucher added the comment: For anyone curious, I had some free time today and took a stab at creating a minimal _frozendict type (sharing as much implementation with dict as possible) to see how difficult it would be. It was actually much simpler than I thought... just a few dozen

[issue37224] [subinterpreters] test__xxsubinterpreters fails randomly

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: Recent test_still_running() failure on AMD64 Windows8.1 Refleaks 3.10: https://buildbot.python.org/all/#/builders/638/builds/19 1:22:17 load avg: 3.00 [393/427/2] test__xxsubinterpreters failed -- running: test_pydoc (9 min 7 sec), test_venv (2 min 54 sec),

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: The 12 latest build on https://buildbot.python.org/all/#/builders/464 are green (success). Can this issue be closed now? We can reopen it later if the issue strikes back. -- ___ Python tracker

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: The 2 latest builds are green (success), so I close the issue. https://buildbot.python.org/all/#/builders/366 Thanks for the help! -- resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-06-02 Thread Dong-hee Na
Dong-hee Na added the comment: > So I propose again to convert Py_TYPE and Py_SIZE macros to static inline > functions +1 -- ___ Python tracker ___

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

2021-06-02 Thread STINNER Victor
Change by STINNER Victor : -- title: Intermittent connection errors in ssl tests on macOS CI -> test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI ___ Python tracker

[issue44288] unittest: _is_relevant_tb_level() fails because tb.tb_frame.f_globals=None

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: Oops, I wanted to ping Mark Shannon, not Mark Dickinson. -- nosy: +Mark.Shannon -mark.dickinson ___ Python tracker ___

[issue44297] Frame with -1 line number

2021-06-02 Thread STINNER Victor
New submission from STINNER Victor : While debugging https://bugs.python.org/issue43921 on Windows, I got a traceback with a single frame and the frame line number is -1. It looks like a Python 3.11 regression. Mark, Guido: can it be related to recent optimization work done in the main

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: In Python 3.9, test_pha_required_nocert() looks more strict, it requires read() to fail with the 'tlsv13 alert certificate required' error message: # receive alert with self.assertRaisesRegex( ssl.SSLError,

[issue43921] test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows

2021-06-02 Thread STINNER Victor
Change by STINNER Victor : -- title: test_ssl fails on Windows buildbots -> test_ssl: test_wrong_cert_tls13() and test_pha_required_nocert() fail randomly on Windows ___ Python tracker

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: See my comparison of read() and write() errors on Linux vs Windows: https://github.com/python/cpython/pull/26501#issuecomment-853489167 I wrote PR 26502 to fix test_wrong_cert_tls13() on Windows (currently, the test is skipped). On Linux, read() always

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +25098 pull_request: https://github.com/python/cpython/pull/26502 ___ Python tracker ___

[issue44293] PEP 585 breaks inspect.isclass

2021-06-02 Thread Guido van Rossum
Guido van Rossum added the comment: Since these are new forms (list[int] previously was an error), does it actually matter? Especially since these are primarily used in annotations. @Joseph Perez, is there a specific library or pattern that is broken by this? FWIW I did think rather

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Matt Billenstein
Matt Billenstein added the comment: Hmm, yeah, it did seem to me like the server was wedged or something... glad to see it going. M -- Matt Billenstein m...@vazor.com > On Jun 2, 2021, at 6:13 PM, STINNER Victor wrote: > >  > STINNER Victor added the comment: > >> Hmm, I just tried to

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +25097 pull_request: https://github.com/python/cpython/pull/26501 ___ Python tracker ___

[issue37741] importlib.metadata docs not showing up in the module index

2021-06-02 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +25096 pull_request: https://github.com/python/cpython/pull/26500 ___ Python tracker ___

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-06-02 Thread Ned Deily
Ned Deily added the comment: New changeset 991693a217363243b0bd33887852d6b3959b99a1 by Joshua Root in branch '3.9': [3.9] bpo-43568: Relax distutils MACOSX_DEPLOYMENT_TARGET check (GH-25827) (GH-26001) https://github.com/python/cpython/commit/991693a217363243b0bd33887852d6b3959b99a1

[issue44293] PEP 585 breaks inspect.isclass

2021-06-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: The reason for this is that types.GenericAlias.__getattribute__ delegates to the alias's origin (in the `ga_getattro` function). As a result, `list[int].__class__` calls `list.__class__` and returns `type`. And the implementation of `isinstance(obj, type)`

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9c89d62073fa0bcfe68e59add5b55fbcbf7672ab by Miss Islington (bot) in branch '3.10': bpo-44282: Fix occasional test_incremental_editing failures on buildbots (GH-26491) (GH-26499)

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: > Hmm, I just tried to restart it from the builbot page but the build request > is just sitting there ATM. > https://buildbot.python.org/all/#/builders/366 Not sure what happened. I restarted the buildbot server manually. I cancelled the old manual build

[issue44296] Should warnings.warn default to stacklevel=2?

2021-06-02 Thread Anthony Sottile
New submission from Anthony Sottile : I have yet to come across a usecase where `stacklevel=1` makes sense -- usually it is more helpful to point at the calling code than the function which is itself warning my proposal is to update the default for `stacklevel=` from `1` to `2` an example

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25095 pull_request: https://github.com/python/cpython/pull/26499 ___ Python tracker

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset adef445dc34685648bd0ea1c125df2ef143912ed by Tal Einat in branch 'main': bpo-44282: Fix occasional test_incremental_editing failures on buildbots (GH-26491) https://github.com/python/cpython/commit/adef445dc34685648bd0ea1c125df2ef143912ed

[issue44285] Coverity scan: Modules/getpath.c. "calculate_open_pyenv" allocates memory that is stored into "env_file".

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: Thanks Charalampos, it's now fixed in 3.9, 3.10 and main branches. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44285] Coverity scan: Modules/getpath.c. "calculate_open_pyenv" allocates memory that is stored into "env_file".

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 85b587a38dcf5d0ef1e275510001e22425d65977 by Miss Islington (bot) in branch '3.9': bpo-44285: getpath.c: Assert that env_file is NULL during an error check (GH-26486) (GH-26496)

[issue44285] Coverity scan: Modules/getpath.c. "calculate_open_pyenv" allocates memory that is stored into "env_file".

2021-06-02 Thread miss-islington
miss-islington added the comment: New changeset 0e9af8cae314e4b0e770fe48d5f7b5f540c0b257 by Miss Islington (bot) in branch '3.10': bpo-44285: getpath.c: Assert that env_file is NULL during an error check (GH-26486)

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread miss-islington
miss-islington added the comment: New changeset e5e93e6145090a636e67766a53b758d7ac78e3ad by Miss Islington (bot) in branch '3.10': bpo-43921: Fix test_ssl.test_pha_required_nocert() (GH-26489) https://github.com/python/cpython/commit/e5e93e6145090a636e67766a53b758d7ac78e3ad --

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25094 pull_request: https://github.com/python/cpython/pull/26498 ___ Python tracker ___

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: Most projects broken by Py_TYPE and Py_SIZE changes have been fixed since last year. I succeeded to use my new pythoncapi_compat project on multiple C extensions. So I propose again to convert Py_TYPE and Py_SIZE macros to static inline functions:

[issue44295] self.assertDictContainsSubset warning is unhelpful

2021-06-02 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +25093 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26497 ___ Python tracker ___

[issue44295] self.assertDictContainsSubset warning is unhelpful

2021-06-02 Thread Anthony Sottile
New submission from Anthony Sottile : it's missing stacklevel= -- mostly creating a bpo issue to link to -- messages: 394953 nosy: Anthony Sottile priority: normal severity: normal status: open title: self.assertDictContainsSubset warning is unhelpful versions: Python 3.11

[issue44285] Coverity scan: Modules/getpath.c. "calculate_open_pyenv" allocates memory that is stored into "env_file".

2021-06-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +25092 pull_request: https://github.com/python/cpython/pull/26496 ___ Python tracker ___

[issue44285] Coverity scan: Modules/getpath.c. "calculate_open_pyenv" allocates memory that is stored into "env_file".

2021-06-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25091 pull_request: https://github.com/python/cpython/pull/26495 ___ Python tracker

[issue43921] test_ssl fails on Windows buildbots

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

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-06-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +25089 pull_request: https://github.com/python/cpython/pull/26493 ___ Python tracker ___

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I don't see anything relevant in the logs. These are the last messages regarding this worker: 2021-06-02 18:38:26+ [-] Worker billenstein-macos detached from x86-64 macOS 3.7 2021-06-02 18:38:26+ [-] Worker billenstein-macos detached from

[issue44294] 3.9.5 Windows 64-bit installer says v3.8.10 in startup window.

2021-06-02 Thread Sunny Jamshedji
New submission from Sunny Jamshedji : Downloaded Windows 64 bit installer from: https://www.python.org/downloads/windows/ Link said: https://www.python.org/ftp/python/3.9.5/python-3.9.5-amd64.exe It downloaded what appears to be 3.8.10 installer. I launched it and I got the attached

[issue44293] PEP 585 breaks inspect.isclass

2021-06-02 Thread Joseph Perez
New submission from Joseph Perez : PEP 585 has the side-effect of making `list[int]` an instance of `type`. This is not the case for other generic aliases. It also implies that `inspect.isclass(list[int]) is True`, while `list[int]` is not a class; as a proof of this statement

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-02 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +25088 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/26492 ___ Python tracker ___

[issue44279] doc: contextlib.suppress documentation is imprecise

2021-06-02 Thread Eric V. Smith
Eric V. Smith added the comment: I'm not sure the original version needs improving. This sounds like a problem understanding how warnings work. Do you really want to say that for warnings, they're sometimes handled by the warning machinery and therefore don't get passed along to the calling

[issue44292] contextmanager + ExitStack.pop_all()

2021-06-02 Thread Luca Mattiello
New submission from Luca Mattiello : Reading the contextlib documentation, one might assume the following to be functionally equivalent, when used in a with statement: @contextlib.contextmanager def managed_resource(): resource = acquire() try: yield resource finally:

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

2021-06-02 Thread jakirkham
jakirkham added the comment: Would it be possible to check for these newer OpenSSL symbols during the builds of Python 3.8 & 3.9 (using them when available and otherwise falling back to the older API otherwise)? This would allow people to build Python 3.8 & 3.9 with the newer OpenSSL

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-06-02 Thread Brandon Weeks
Change by Brandon Weeks : -- nosy: +bweeks ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Ned Deily
Ned Deily added the comment: Perhaps one of the buildbot experts can help? Zach? Pablo? Victor? -- nosy: +pablogsal, zach.ware ___ Python tracker ___

[issue44277] cpython forks are spammed with dependabot PRs

2021-06-02 Thread Zachary Ware
Zachary Ware added the comment: In that case, closing as third-party. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 320eaa7f42b413cd5e5436ec92d4dc5ba150395f by Victor Stinner in branch 'main': bpo-43921: Fix test_ssl.test_pha_required_nocert() (GH-26489) https://github.com/python/cpython/commit/320eaa7f42b413cd5e5436ec92d4dc5ba150395f --

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Matt Billenstein
Matt Billenstein added the comment: Probably at 321 where it lost connection - I would have shut it down and wiped the buildarea. I'm not sure what's going on now, I'm walking back versions of buildbot-worker and they seem to never connect to the master... m On Wed, Jun 02, 2021 at

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: See PR GH-26491. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +25087 pull_request: https://github.com/python/cpython/pull/26491 ___ Python tracker ___

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: On my machine it running the test many times with parallelization no longer causes any failures with this change. Also, running other tests which us the @run_in_tk_mainloop decorator, with the same 1ms delay as before, doesn't cause any such failures. PR

[issue44277] cpython forks are spammed with dependabot PRs

2021-06-02 Thread Dominic Davis-Foster
Dominic Davis-Foster added the comment: There's an open issue on GitHub, but it hasn't gone anywhere. https://github.com/dependabot/dependabot-core/issues/2804 -- nosy: +domdfcoding ___ Python tracker

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: > Running 12 duplicate tests in parallel on Windows on a 6 core (12 CPU) > machine with [...] resulted in nearly all failing. Yes, running test_idle in parallel with itself usually causes some failures due to UI focus being stolen from one instance by another.

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Ned Deily
Ned Deily added the comment: Can you say at what point you did the upgrade, i.e. between which two builds here? https://buildbot.python.org/all/#/builders/366 -- ___ Python tracker

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The other thing I thought is parameterizing the decorator to pass in a delay only for this test, but that require another layer of wrapping, which I cannot do right now. So I think we should just add skiptest for now. In fact, we only need to run it when

[issue44291] Unify logging.handlers.SysLogHandler behavior with SocketHandlers

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

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The confusion is my fault: PR-26404 is where I first saw this failure, for the previously added tests, not where the test was added. I unlinked the erroneous message. Running 12 duplicate tests in parallel on Windows on a 6 core (12 CPU) machine with

[issue44291] Unify logging.handlers.SysLogHandler behavior with SocketHandlers

2021-06-02 Thread Kirill Pinchuk
Kirill Pinchuk added the comment: UPD: right now it has reconnection logic for unixsocket but not for tcp/udp -- ___ Python tracker ___

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Matt Billenstein
Matt Billenstein added the comment: Hmm, digging, afaict the buildbot-worker is up and running - something on the master? I just updated my setup to use python3 instead of python2... On Wed, Jun 02, 2021 at 06:24:23PM +, Ned Deily wrote: > > Ned Deily added the comment: > > Hmm, I just

[issue40199] Invalid escape sequence DeprecationWarnings don't trigger by default

2021-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, there is a difference between debug and regular builds. I tested with the debug build. -- components: +Interpreter Core -Windows nosy: +ncoghlan, vstinner -paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.10, Python 3.11,

[issue44291] Unify logging.handlers.SysLogHandler behavior with SocketHandlers

2021-06-02 Thread Kirill Pinchuk
New submission from Kirill Pinchuk : Probably we should make the behavior of SysLogHandler consistent with other Socket handlers. Right now SocketHandler and DatagramHandler implement such behavior: 1) on `close` set `self.socket = None` 2) when trying to send - make socket when it is None

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Ned Deily
Ned Deily added the comment: Hmm, I just tried to restart it from the builbot page but the build request is just sitting there ATM. https://buildbot.python.org/all/#/builders/366 -- ___ Python tracker

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Matt Billenstein
Matt Billenstein added the comment: I rebuilt it a while ago which could have caused this - can you re-run the affected build? thx m On Wed, Jun 02, 2021 at 06:08:16PM +, Ned Deily wrote: > > Ned Deily added the comment: > > I can't reproduce that failure with that checkout and I'm

[issue44286] venv activate script would be good to show failure.

2021-06-02 Thread Ned Deily
Change by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Ned Deily
Ned Deily added the comment: I can't reproduce that failure with that checkout and I'm not even entirely sure where that error is coming from. My guess it that something went wrong during the previous build that resulted in the connection lost (a system crash perhaps?) that left the build

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg394871 ___ Python tracker ___ ___ Python-bugs-list

[issue28937] str.split(): allow removing empty strings (when sep is not None)

2021-06-02 Thread Andrei Kulakov
Andrei Kulakov added the comment: I'm not sure I understand why the discussion was focused on removing *all* empty values. Consider this in a context of a cvs-like string: 1. 'a,b,c' => [a,b,c]# of course 2. ',,'=> ['','',''] # follows naturally from above 3. '' => [] #

[issue41611] IDLE: problems with completions on Mac

2021-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -25083 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44276] Replace if-elif-else structure with match-case (PEP634)

2021-06-02 Thread Brandt Bucher
Brandt Bucher added the comment: Hm, that benchmark seems really noisy. Looking at your code, it appears that you aren't actually iterating over the results. I've attached a version of your benchmark rewritten to use pyperf. Here are the results on a system with a fresh PGO/LTO build of

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44290] x86-64 macOS 3.x buildbot build failed with: No such file or directory: '/Users/buildbot/buildarea/3.x.billenstein-macos/build/target/include/python3.11d/pyconfig.h'

2021-06-02 Thread STINNER Victor
New submission from STINNER Victor : x86-64 macOS 3.x: https://buildbot.python.org/all/#/builders/366/builds/322 The build 322 is the first error. Build 320 was fine, 321 failed with "retry lost connection test (retry)". (...) gcc -c -Wno-unused-result -Wsign-compare -g -O0 -Wall

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Tal Einat
Tal Einat added the comment: On Ubuntu 20.04, I've managed to occasionally get this issue to reproduce locally by running the test many times in parallel, repeatedly: parallel -n8 -N0 './python -m test -ugui test_idle -m test_colorizer' ::: $(seq 20) This appears to be an issue with our

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: > FAIL: test_pha_required_nocert (test.test_ssl.TestPostHandshakeAuth) When this bug occurs, s.recv(1024) returns an empty byte string (b''). I wrote PR 26489 to handle this case. -- ___ Python tracker

[issue43921] test_ssl fails on Windows buildbots

2021-06-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +25085 pull_request: https://github.com/python/cpython/pull/26489 ___ Python tracker ___

[issue44112] [buildbot] test_asyncio hangs (killed after 3 hours) on Refleak buildbots

2021-06-02 Thread STINNER Victor
STINNER Victor added the comment: > Refleak buildbots should get a longer timeout for the "test" step. I changed buildbot Test step timeout from 3 hours to 4 hours: * https://github.com/python/buildmaster-config/commit/9e0c812694d6fa599b4c8890045ed006fe7c1f6b *

[issue44289] tarfile.is_tarfile() modifies file object's current position

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

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-06-02 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44289] tarfile.is_tarfile() modifies file object's current position

2021-06-02 Thread Andrzej Mateja
New submission from Andrzej Mateja : Since Python 3.9 tarfile.is_tarfile accepts not only paths but also files and file-like objects (bpo-29435). Verification if a file or file-like object is a tar file modifies file object's current position. Imagine a function listing names of all tar

  1   2   >