[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Investigation of this issue is complicated by the fact that the editor test widgets are wrapped by multicall.MulticallCreator. It intercepts bind and event method calls (other than event_generate) for user pseudoevents. It keeps its own map of pseudoevent

[issue33164] Blake 2 module update

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset 05429c917c23f735b07ac4c60af20e57aad742fc by Miss Islington (bot) in branch '3.9': bpo-33164: blake2: Fix Coverity scan (GH-25060) https://github.com/python/cpython/commit/05429c917c23f735b07ac4c60af20e57aad742fc --

[issue43664] Long computations in pdb.run() lead to segfault

2021-03-29 Thread Xinmeng Xia
New submission from Xinmeng Xia : Long computations in pdb.run() lead to interpreter crashes. Crash example === Python 3.9.2 (default, Mar 12 2021, 15:08:35) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more

[issue43663] Python interpreter works abnormally after interrupting logging.config.fileConfig()

2021-03-29 Thread Xinmeng Xia
New submission from Xinmeng Xia : Python interpreter cannot work well and report errors after interrupting logging.config.fileConfig() Reproduce step: 1. type python3 in console 2. type import logging.config; logging.config.fileConfig({2,2,'sdf'},'') 3. ctrl C 4. type 1/0

[issue33164] Blake 2 module update

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23837 pull_request: https://github.com/python/cpython/pull/25092 ___ Python tracker ___

[issue33164] Blake 2 module update

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset 6af3a940ca827d9a59e34271e4c97d7ec7b56584 by Miss Islington (bot) in branch '3.8': bpo-33164: blake2: Fix Coverity scan (GH-25060) https://github.com/python/cpython/commit/6af3a940ca827d9a59e34271e4c97d7ec7b56584 --

[issue33164] Blake 2 module update

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

[issue33164] Blake 2 module update

2021-03-29 Thread Inada Naoki
Inada Naoki added the comment: New changeset 068ebf9729d440cef03e4c57e3db83c851146172 by Inada Naoki in branch 'master': bpo-33164: blake2: Fix Coverity scan (GH-25060) https://github.com/python/cpython/commit/068ebf9729d440cef03e4c57e3db83c851146172 --

[issue37368] test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception

2021-03-29 Thread Neil Schemenauer
Neil Schemenauer added the comment: Seems this failure might be back. At least, the traceback looks quite similar to me. The buildbot failed with this: heads/master:85b6b70589, Mar 29 2021, 22:53:15 0:05:26 load avg: 3.95 [426/427] test_tokenize passed (56.0 sec) -- running: test_asyncio

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-29 Thread Doug Richardson
Change by Doug Richardson : -- nosy: -drichardson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-29 Thread David Bolen
David Bolen added the comment: I don't have much of a horse in the race, but since the test has historically been skipped on Windows, and the test hasn't and doesn't work on Windows, modifications to restore the skip behavior seem reasonable to me. The trigger for this issue was Windows

[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-03-29 Thread Neil Schemenauer
Neil Schemenauer added the comment: I've merged PR 14474 so you can just test with an up-to-date "main" branch and see if that fixes the problem. I would expect it should fix the problem since with the radix tree arena tracking, no memory unsanitary behaviour remains. -- nosy:

[issue37448] obmalloc: radix tree for tracking arena address ranges

2021-03-29 Thread Neil Schemenauer
Change by Neil Schemenauer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37448] obmalloc: radix tree for tracking arena address ranges

2021-03-29 Thread Neil Schemenauer
Neil Schemenauer added the comment: New changeset 85b6b70589c187639aeebc560d67e9cc04abb4d8 by Neil Schemenauer in branch 'master': bpo-37448: Use radix tree for pymalloc address_in_range(). (GH-14474) https://github.com/python/cpython/commit/85b6b70589c187639aeebc560d67e9cc04abb4d8

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread Jiaxin Peng
Jiaxin Peng added the comment: I did: - modified Grammar/python.gram - added new operator to compare_op_bitwise_or_pair - added corresponding token to Grammer/Tokens - build.bar --regen - not having Include/Python-ast.h and Python/Python-ast.c I agree that a regen.bat that using a system

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Ned Deily
Ned Deily added the comment: "Those releases are in their" -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Ned Deily
Ned Deily added the comment: @jcea, I see you have created backports for 3.7 and 3.6 as well. Those release as in their security-fix-only phase of their life cycles. This doesn't seem like a security issue but am I missing something? -- nosy: +ned.deily

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread Guido van Rossum
Guido van Rossum added the comment: Workaround: For opcode.py changes, I can probably use the following strategy: - build.bat - Add new opcode to opcode.py - build.bat --regen - build.bat - Make changes to compile.c and ceval.c to implement new opcode - build.bat For the parser perhaps you

[issue43661] api-ms-win-core-path-l1-1.0.dll, redux of 40740 (which has since been closed)

2021-03-29 Thread William Pickard
William Pickard added the comment: Python 3.9 does not support Windows 7, it's explicitly stated in the release notes of 3.9.0 -- nosy: +WildCard65 ___ Python tracker ___

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Steve Dower
Steve Dower added the comment: Turns out I did get it done, so you should be able to update the references you find in the PCbuild directory and get a build. -- ___ Python tracker

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +23835 pull_request: https://github.com/python/cpython/pull/25089 ___ Python tracker ___

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +23834 pull_request: https://github.com/python/cpython/pull/25088 ___ Python tracker ___

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset a54fc683f237d8f0b6e999a63aa9b8c0a45b7fef by Christian Heimes in branch 'master': bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) https://github.com/python/cpython/commit/a54fc683f237d8f0b6e999a63aa9b8c0a45b7fef -- nosy: +miss-islington

[issue43660] Segmentation fault when overriding sys.stderr

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

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Steve Dower
Steve Dower added the comment: I also need to pull the Tcl and Tk sources into our cpython-source-deps repository, run a signed build, and put the binaries into the cpython-bin-deps repository. I'll get that started tonight, but probably won't finish it until tomorrow. --

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Christian Heimes
Christian Heimes added the comment: Thanks! All tests are passing, but macOS is still using OpenSSL 1.1.1j. -- ___ Python tracker ___

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2f01c562be913004e1d46fc02705c51b81638d67 by Pablo Galindo in branch '3.7': [3.7] bpo-43660: Fix crash when displaying exceptions with custom values for sys.stderr (GH-25075). (GH-25085)

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ff4715a7332123713de9920e724bb6c412d8ccef by Miss Islington (bot) in branch '3.9': bpo-43660: Fix crash when displaying exceptions with custom values for sys.stderr (GH-25075) (GH-25083)

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread Guido van Rossum
Guido van Rossum added the comment: I've found build.bat --regen unreliable myself. I went over it with Steve and one issue that came up is that it uses the python.exe that is built to run the code generation scripts; OTOH on Linux/Mac these scripts are run using a suitable pre-existing

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23833 pull_request: https://github.com/python/cpython/pull/25085 ___ Python tracker ___

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset ba7f8638f93b5d999b25d8556ca19bdc2e12f359 by Miss Islington (bot) in branch '3.8': bpo-43660: Fix crash when displaying exceptions with custom values for sys.stderr (GH-25075)

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2021-03-29 Thread Steve Dower
Steve Dower added the comment: > "__pypackages__" doesn't seem like a drop-in replacement for virtual > environments. Right, it's not. But if enough people adapt their workflows to use [something like] it rather than relying on having a local copy of python.exe in order to launch, apps that

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-29 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Steve Dower
Steve Dower added the comment: I published the Windows OpenSSL builds and retriggered your PR builds, Christian. It looks like we should probably bring up the next release for this, if only because that will cause server users to do rebuilds/updates that they may otherwise not. I doubt

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: By the way, it would be nice if someone could review my change in this project related to pycore_ast.h ;-) (commit 94faa0724f8cbae6867c491c8e465e35f4fdbfbb) I mean checking if pycore_ast.h is updated as expected. -- nosy: +vstinner

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > regen.vcxproj is now not capable for the new PEG parse Hu, that file should handle the peg parser already: https://github.com/python/cpython/blob/09b90a037d18f5d4acdf1b14082e57bda78e85d3/PCbuild/regen.vcxproj#L156-L163 --

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23832 pull_request: https://github.com/python/cpython/pull/25084 ___ Python tracker ___

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23831 pull_request: https://github.com/python/cpython/pull/25083 ___ Python tracker

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 09b90a037d18f5d4acdf1b14082e57bda78e85d3 by Pablo Galindo in branch 'master': bpo-43660: Fix crash when displaying exceptions with custom values for sys.stderr (GH-25075)

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 on x86-64 and s390x with GCC 4.8.5 and LTO

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: It's a buffer overflow, or at least a crash related to uninitialized bytes. See: https://github.com/python/cpython/pull/25080#issuecomment-809752737 -- ___ Python tracker

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread Terry Davis
Terry Davis added the comment: Current behavior: >>> format(1234.1234, '_f') '1_234.123400' >>> format(1234.1234, ',f') '1,234.123400' New behavior: >>> format(1234.1234, ',._f') '1,234.123_400' >>> format(1234.1234, '_._f') '1_234.123_400' >>> format(1234.1234, '._f') '1234.123_400' >>>

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2021-03-29 Thread Eryk Sun
Eryk Sun added the comment: > "C:\Program Files\WindowsApps\venvlauncher.exe" The above was supposed to be "C:\Program Files\WindowsApps\Python...\venvlauncher.exe", where "Python..." is the elided name of the package directory. -- ___ Python

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2021-03-29 Thread Eryk Sun
Eryk Sun added the comment: > the Store package, which can only be *executed* from outside its > container (we can't load the DLL directly). The idea I was pondering was to create "python.exe" in the virtual environment as an appexec link to "C:\Program Files\WindowsApps\venvlauncher.exe"

[issue25643] Python tokenizer rewriting

2021-03-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23830 pull_request: https://github.com/python/cpython/pull/25080 ___ Python tracker ___

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 on x86-64 and s390x with GCC 4.8.5 and LTO

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: vstinner@python-builder-rhel7$ echo|PYTHONMALLOC=malloc valgrind ./python Tools/scripts/reindent.py ==26374== Memcheck, a memory error detector ==26374== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==26374== Using Valgrind-3.15.0 and

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 on x86-64 and s390x with GCC 4.8.5 and LTO

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: s390x RHEL7 LTO 3.x: builds 921, 924 and 925 failed with test_reindent_file_with_bad_encoding(). -- title: test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 with LTO -> test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 on

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 with LTO

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: AMD64 RHEL7 LTO 3.x: builds 896 and 900 failed with test_reindent_file_with_bad_encoding(). This worker only uses LTO, it doesn't use PGO. -- title: test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x ->

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: We have 4 buildbot workers running RHEL7 and using LTO+PGO optimizations: aarch64, amd64, ppc64le, s390x. I saw random failures on amd64 and s390x. amd64 failed builds: * 910: test_reindent_file_with_bad_encoding() failed * 911:

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-03-29 Thread Kartik Subbarao
Kartik Subbarao added the comment: I'm seeing the same error with Python 3.9.2 on Fedora 33, with a script that uses ProcessPoolExecutor. -- nosy: +kartiksubbarao ___ Python tracker

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: I'm now confused. Would you mind to give examples of all proposed formats and the expected output? -- ___ Python tracker ___

[issue34932] Add macOS TCP_KEEPALIVE to available socket options

2021-03-29 Thread Shane Harvey
Change by Shane Harvey : -- nosy: +ShaneHarvey nosy_count: 3.0 -> 4.0 pull_requests: +23829 pull_request: https://github.com/python/cpython/pull/25079 ___ Python tracker ___

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Oh. The failure is random: * 934 green * 933 red: test_reindent_file_with_bad_encoding failed * 932 green * 931 red: test_reindent_file_with_bad_encoding failed * 930 green * 929 red: test_reindent_file_with_bad_encoding failed * 928 green * (... older builds

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: test_tools.test_reindent_file_with_bad_encoding() runs Tools/scripts/reindent.py. The check() function of this script calls: with open(file, 'rb') as f: try: encoding, _ = tokenize.detect_encoding(f.readline) except

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: > SyntaxError: encoding problem: encoding This "encoding problem: %s" error message comes from check_coding_spec() of Parser/tokenizer.c. The "%s" argument is the cs variable which is initialized by get_coding_spec().

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Christian Heimes
Christian Heimes added the comment: Thanks! My mail https://mail.python.org/archives/list/python-...@python.org/thread/2GULUR43MNEW3IJM44LS5ZY2TOUANPNT/ contains a first analysis of the CVEs. I'm pretty sure any server application with server-side TLS socket is vulnerable to CVE-2021-3449.

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Steve Dower
Steve Dower added the comment: Assume it'll be the next scheduled release (though I haven't looked at the details of the vulnerabilities yet, so we may decide that they're more urgent for CPython users). I'm starting the Windows build process now, but that only gets us far enough to do the

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Brad Warren
Brad Warren added the comment: When do you expect there will be new macOS and Windows downloads available at https://www.python.org/downloads/ that use OpenSSL 1.1.1k? One of my projects is relying on these files and I wasn't sure the ETA here. --

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: > https://buildbot.python.org/all/#/builders/244/builds/931 test.pythoninfo: config[filesystem_encoding]: 'utf-8' config[filesystem_errors]: 'surrogateescape' config[stdio_encoding]: 'utf-8' config[stdio_errors]: 'strict' config[use_environment]: 1

[issue37745] 3.8b3 - windows install gui/ inconsistent options

2021-03-29 Thread Steve Dower
Steve Dower added the comment: The main problem with adding Python to PATH is interfering with other application's DLL and executable resolution order, as well as the inevitable confusion when multiple PATH updates do not play well together (which they don't). The best thing you can do

[issue43312] Interface to select preferred "user" or "home" sysconfig scheme for an environment

2021-03-29 Thread Tzu-ping Chung
Tzu-ping Chung added the comment: Gentle ping again :) I’ve also created a PR for this. > The Debian/Ubuntu packages have a local patch for distutils/setuptools > introducing an --install-layout option. Maybe have the same for pip? Pip already has a similar mechanism. The default layout is

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread Terry Davis
Terry Davis added the comment: Victor, > '_.f' would be the same as '_f'? No, the example in my original post is wrong, '_.f' isn't allowed now. The proposal should use '_f' to describe the current behavior. > Should "._f" be allowed to only add underscores in the fractional part? (for >

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread Guido van Rossum
Guido van Rossum added the comment: Steve: let's talk about this in person today. -- ___ Python tracker ___ ___ Python-bugs-list

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Oh. Or maybe it's related to: commit 4827483f47906fecee6b5d9097df2a69a293a85c Author: Inada Naoki Date: Mon Mar 29 12:28:14 2021 +0900 bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481) See [PEP

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: It seems like the issue is now fixed. Thanks Serhiy for the fix and thanks OndrejPtak for the report! > This change will go into a future 3.9 release? Yes, sure. Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596/ Next expected release:

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2021-03-29 Thread Steve Dower
Steve Dower added the comment: The main motivator for the redirector was to support the Store package, which can only be *executed* from outside its container (we can't load the DLL directly). Given we want the two distributions to be interchangeable from a code POV, it made the most sense

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 LTO + PGO 3.x

2021-03-29 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/244/builds/931 At commit 9b999479c0022edfc9835a8a1f06e046f3881048 (...) test_reindent_file_with_bad_encoding (test.test_tools.test_reindent.ReindentTests) ... FAIL (...)

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-29 Thread Steve Dower
Change by Steve Dower : -- nosy: +anthonypjshaw, gvanrossum, lys.nikolaou, pablogsal ___ Python tracker ___ ___ Python-bugs-list

[issue26300] "unpacked" bytecode

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: > The "peephole" optimizer now operates on the internal IR, not the bytecode. Python/ast_opt.c is cool ;-) Thanks INADA-san for creating it! -- ___ Python tracker

[issue19124] os.execv executes in background on Windows

2021-03-29 Thread Steve Dower
Steve Dower added the comment: > nt.spawnv[e](), nt.waitpid(), and nt.system() could also be implemented with > subprocess. I like the idea, but we shouldn't invert the dependencies like that. nt/os is a lower-level library, and should provide its own implementation (that perhaps

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +23828 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/25078 ___ Python tracker

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Raymond: > I prefer Terry's original proposal which is backwards compatible (...) Well ok, that's what I expected. Backward compatibility usually wins all other arguments in Python :-) But I had to ask the question :-) --

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: '_.f' would be the same as '_f'? Should "._f" be allowed to only add underscores in the fractional part? (for consistency?) -- ___ Python tracker

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

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

[issue43562] test_ssl.NetworkedTests.test_timeout_connect_ex fails if network is unreachable

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

[issue43562] test_ssl.NetworkedTests.test_timeout_connect_ex fails if network is unreachable

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 20b2f2bfc2e72c6d9ed983d1f0aa7a141e9b3fc3 by Miss Islington (bot) in branch '3.8': bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH-25047) https://github.com/python/cpython/commit/20b2f2bfc2e72c6d9ed983d1f0aa7a141e9b3fc3

[issue43562] test_ssl.NetworkedTests.test_timeout_connect_ex fails if network is unreachable

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset acb584958e215aff8fc8f5e2eb3fef481b662f69 by Miss Islington (bot) in branch '3.9': bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH-25046) https://github.com/python/cpython/commit/acb584958e215aff8fc8f5e2eb3fef481b662f69

[issue35883] Python startup fails with a fatal error if a command line argument contains an invalid Unicode character

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3b6e61ee0812359029cac176042d9c835c60f185 by Miss Islington (bot) in branch '3.8': bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843) (GH-24906)

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset f1d53bcd536036c0a0c39962fbc0f465b5865492 by Miss Islington (bot) in branch '3.9': bpo-43659: Fix test_curses on AIX (GH-25074) https://github.com/python/cpython/commit/f1d53bcd536036c0a0c39962fbc0f465b5865492 --

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset e9092b221d4951609827e437178a557fd07353af by Miss Islington (bot) in branch '3.8': bpo-43659: Fix test_curses on AIX (GH-25074) https://github.com/python/cpython/commit/e9092b221d4951609827e437178a557fd07353af --

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread frathgeber
frathgeber added the comment: Thanks Serhiy for the very quick fix! I believe handling these corner cases is not worth the effort and I really hope no one relies on these being differentiated. This change will go into a future 3.9 release? -- ___

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Minor correction. update_lines_cols() is not provided by the underlying curses library, it is a helper defined in Python wrapper. But it is optional, snd skipping test is the correct solution. Thank you. As for the core dump, could you please run the test

[issue43661] api-ms-win-core-path-l1-1.0.dll, redux of 40740 (which has since been closed)

2021-03-29 Thread Tom Kacvinsky
New submission from Tom Kacvinsky : Even though bpo#40740 has been closed, I wanted to re-raise the issue as this affects me. There are only two functions that come from this missing DLL: PathCchCombineEx PathCchCanonicalizeEx Would there be a way of rewriting join/canonicalize in

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23826 pull_request: https://github.com/python/cpython/pull/25076 ___ Python tracker

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23827 pull_request: https://github.com/python/cpython/pull/25077 ___ Python tracker ___

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c8b5738810516df5722caf049003e9b319427bec by Michael Felt in branch 'master': bpo-43659: Fix test_curses on AIX (GH-25074) https://github.com/python/cpython/commit/c8b5738810516df5722caf049003e9b319427bec -- nosy: +serhiy.storchaka

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Brad Warren
Change by Brad Warren : -- nosy: +bmw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43636] test_descr fails randomly when executed with -R :

2021-03-29 Thread Dino Viehland
Dino Viehland added the comment: @vstinner - The fix doesn't change the behavior of _PyType_Lookup and instead just fixes a previous unrelated bug. The condition will typically ever be hit once (at startup) as it's very unlikely that versions will wrap, so there should be no performance

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23825 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25075 ___ Python tracker

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Eryk Sun
Eryk Sun added the comment: > The doc on rmtree states > Exceptions raised by onerror will not be caught. > Does this mean I can't use try/exept inside of onerro rmtree() does not call onerror() in a try/except statement. An exception raised in onerror() will propagate to the scope that

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The problem is that https://github.com/python/cpython/blob/master/Python/pythonrun.c#L1074 doesn't take a strong reference to sys.stderr but code underneath can potentially release the GIL and remove the reference that keeps the object alive.

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : This code crashes (reported by the one and only Matt Wozniski): import sys class MyStderr: def write(self, s): sys.stderr = None sys.stderr = MyStderr() 1/0 [1]34112 segmentation fault ./python.exe lel.py -- components:

[issue41906] logging.config.dictConfig does not work with callable filters

2021-03-29 Thread László Kiss Kollár
Change by László Kiss Kollár : -- nosy: +lkollar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38794] Setup: support linking openssl statically

2021-03-29 Thread William Woodruff
William Woodruff added the comment: Cheers! No promises about not using the hack, but I *will* promise not to complain if it doesn't work for me :-) -- ___ Python tracker

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
Michael Felt added the comment: backports needed for 3.8 and 3.9 -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +23824 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25074 ___ Python tracker ___

[issue38794] Setup: support linking openssl statically

2021-03-29 Thread Christian Heimes
Christian Heimes added the comment: I introduced several build improvements for better support of custom OpenSSL builds in bpo-43466. The issue mentions a new, undocumented, and unsupported hack to create a shared extension modules with statically linked OpenSSL. The Modules/Setup.local

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Change by Jesús Cea Avión : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: New changeset d914813a7a9cee3b42e9c91f91ac491f3bbfe118 by Miss Islington (bot) in branch '3.9': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25070)

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: New changeset dae1963cf38f730291126b7dadfda89ffb21cefd by Miss Islington (bot) in branch '3.8': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25071)

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
New submission from Michael Felt : Since issue42789 the AIX bot's have crashed - to the extent that the bot's did not even return results. Part of this has been resolved, for now, by using: $ export TERM=unknown $ buildbot start buildarea However, the test still crash because AIX default

  1   2   >