[issue43074] Unable to use system proxy with HTTPS connection on Windows

2021-01-29 Thread 双草酸酯
New submission from 双草酸酯 : On Windows you can only set a "host:port" http proxy as system proxy. ``` PS > Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | findstr ProxyServer ProxyServer : 127.0.0.1:7890 ``` But in Python, it assumes

[issue42647] Unable to use concurrent.futures in atexit hook

2021-01-29 Thread Kyle Stanley
Kyle Stanley added the comment: Thanks for bringing attention to this, Julien. While the regression is definitely unfortunate, I'm uncertain about whether the behavior is *correct* to allow in the first place. Specifically, allowing the registration of an atexit hook which uses a

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! The loop overhead is presumably dramatic in that example. I think I measured a somewhat bigger speedup using timeit, which IIRC subtracts the cost of an empty loop. But you're right that 5% on a micro-benchmark is not very exciting. I wonder if

[issue40455] GCC 10 compiler warnings

2021-01-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 5.0 -> 6.0 pull_requests: +23200 pull_request: https://github.com/python/cpython/pull/24384 ___ Python tracker

[issue43073] Adding a ctypes.Union to a ctypes.BigEndianStructure results in an error

2021-01-29 Thread Eric Poulsen
New submission from Eric Poulsen : Placing a ctypes.Union inside of a ctypes.BigEndianStructure results in "TypeError: This type does not support other endian". I believe this is a similar problem to issue #4376 (https://bugs.python.org/issue4376) Minimum repro test case: import ctypes as

[issue43072] Memory Leak when using Thread

2021-01-29 Thread akshat goyal
New submission from akshat goyal : when using Thread and allocating memory resource usage is not down as opposed to when using Process or directly calling function as can be seen in the attached script. To replicate: start the script with the three functions one by one and see the memory

[issue43071] IDLE: Windows 7 - Trackpad two-finger vertical scrolling is not recognized

2021-01-29 Thread Greg
New submission from Greg : Up/down scrolling is not possible with a two-finger swipe on a trackpad. I'm using Lenovo's notably bad UltraNav drivers on Windows 7. Horizontal scrolling works just fine. PgUp and PgDn both behave as normal, as does ctrl + arrow keys. I'm having this issue with

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-01-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am attaching to this issue a patch with PR 23503 restricted to only classes without dict. I can measure a speedup but is super small (5%) in a function that keeps calling a method for a builtin: def foo(obj): for _ in range(1): res

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-01-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > What am I missing? Why is the hash of the name needed? To speed up the call to get the method from the dictionary using _PyDict_GetItem_KnownHash. The reason I was not caching the method is that as you mention there could still be an overriding

[issue42927] Inline cache for slots

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

[issue42927] Inline cache for slots

2021-01-29 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___

[issue42927] Inline cache for slots

2021-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 5c5a938573ce665f00e362c7766912d9b3f3b44e by Guido van Rossum in branch 'master': bpo-42927: Inline cache for attributes defined with '__slots__' (#24216) https://github.com/python/cpython/commit/5c5a938573ce665f00e362c7766912d9b3f3b44e

[issue43070] Control keys stop working after pressing Ctrl-C Escape Enter

2021-01-29 Thread Trey Hunner
Trey Hunner added the comment: Thank you Steve and Tadek for confirming that this is a readline feature and for pointing me to the readline manual. The note about an ~/.inputrc file lead me to discover (happily) that I could override this behavior by creating a ~/.inputrc file with the

[issue43070] Control keys stop working after pressing Ctrl-C Escape Enter

2021-01-29 Thread Tadek Kijkowski
Tadek Kijkowski added the comment: This is readline library feature. ESC-enter swithes it to vi mode. Press ESC-e to switch is back to emacs mode. See man readline. -- nosy: +monkeyman79 ___ Python tracker

[issue38631] Replace Py_FatalError() with regular Python exceptions

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab by Victor Stinner in branch 'master': bpo-38631: Replace compiler fatal errors with exceptions (GH-24369) https://github.com/python/cpython/commit/ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab --

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: > test_nextafter fails on PPC64 AIX 3.x (build 749). It pass again in build 788, so I close the issue: https://buildbot.python.org/all/#/builders/438/builds/788 It would be great if the AIX libm could be fixed, but I wanted to fix the AIX buildbots, to be

[issue43070] Control keys stop working after pressing Ctrl-C Escape Enter

2021-01-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: Ctrl-C is a red-herring here. Esc-Enter alone is sufficient to switch control processing. Tested in Python 2.7 and 3.9 using xfce4-terminal in Fedora: 1. Ctrl-L clears the terminal window; 2. Type Esc-Enter; 3. Ctrl-L now inserts an actual ^L (chr(12)

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: > It seems like Python no long builds on PPC64 AIX 3.x buildbot: > https://buildbot.python.org/all/#/builders/438/builds/753 Sorry, it was unrelated to this issue. I fixed it with: New changeset 0837f99d3367ecf200033bbddfa05d061ae9f483 by Victor Stinner in

[issue43070] Control keys stop working after pressing Ctrl-C Escape Enter

2021-01-29 Thread Trey Hunner
Trey Hunner added the comment: I got some help investigating via a Twitter thread on this topic: https://twitter.com/treyhunner/status/1355280273399664642 Here's more context: that combination of keys seems to put readline into vi mode, though it only does so in Python and not inside my

[issue43070] Control keys stop working after pressing Ctrl-C Escape Enter

2021-01-29 Thread Trey Hunner
New submission from Trey Hunner : On Ubuntu Linux 18.04 when I run Python from within a terminal, control keys such as Ctrl-L, Ctrl-A, Ctrl-E, and Ctrl-K work as expected. However, if I type Ctrl-C Escape Enter (^C followed by Esc followed by Return), control keys stop working as expected.

[issue43063] zipfile.Path / importlib.resources raises KeyError if a file wasn't found

2021-01-29 Thread Jason R. Coombs
Jason R. Coombs added the comment: The change to error handling for zipp.Path was added in https://github.com/jaraco/zipp/issues/46 and released as [3.1.0](https://zipp.readthedocs.io/en/latest/history.html#v3-1-0). Probably that change was incorporated into CPython shortly thereafter with

[issue43069] Python fails to read a script whose path is `/dev/fd/X`

2021-01-29 Thread Ciprian Dorin Craciun
New submission from Ciprian Dorin Craciun : Sometimes (especially from wrapper scripts) one would like to call Python with a script that should be read from a file-descriptor, like `python3 /dev/fd/9`; most likely the backing is a file in `TMPDIR` (perhaps unlinked, like `bash`'s "here

[issue43056] Use of dicts in 4.2 and 4.7 of Python tutorial a bit confusing

2021-01-29 Thread Jesse Silverman
Jesse Silverman added the comment: Agreed with the exception that I'd like to review whether the forward reference to dict in the tutorial might be better suited to people working thru the tutorial than the current forward reference to the real docs. I got to take a look at Eric Matthes'

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0837f99d3367ecf200033bbddfa05d061ae9f483 by Victor Stinner in branch 'master': bpo-42323: Fix math.nextafter() on AIX (GH-24381) https://github.com/python/cpython/commit/0837f99d3367ecf200033bbddfa05d061ae9f483 --

[issue43034] Python tutorial misleads users about floor division behavior

2021-01-29 Thread Jesse Silverman
Jesse Silverman added the comment: I understand and agree with both comments. I will confirm that a substantial number of people think -17 // 3 yields -5.0, so when I saw this I wondered if it reinforced that common misconception. I was curious enough to not just confirm in the actual docs

[issue40070] GCC crashed on AMD64 RHEL7 LTO + PGO 3.7 (compiler bug)

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the compiler bug recently, and Python 3.7 no longer accept bug fixes anymore. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: > I reopen the issue. This change caused a regression in attached > interned_bug.py. Fixed by: commit c8a87addb1fa35dec79ed8f227eba3694fc36234 Author: Mohamed Koubaa Date: Mon Jan 4 08:34:26 2021 -0600 bpo-1635741: Port pyexpat to multi-phase init

[issue43048] Printing RecursionError results in RecursionError

2021-01-29 Thread Vladimir Feinberg
Vladimir Feinberg added the comment: I agree with both the duplicate classification and am glad the fix works in 3.10. Thanks all for the responses. Given the issue can be triggered with a fairly benign setup (pandas triggers such an error, and logger.exception is idiomatic), I do think

[issue43042] Delete or merge redundant tutorial sentence.

2021-01-29 Thread Jesse Silverman
Jesse Silverman added the comment: Yes, your takeaway was what precisely what I was getting at. I sounded unsure because I was unsure. In reality, it doesn't matter whether a different function is being called or one is calling itself, the current wording suggests that it might.

[issue41013] test_os.test_memfd_create() fails on AMD64 FreeBSD Shared 3.x

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: test_os pass again on FreeBSD Shared 3.x, I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue43068] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2021-01-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41282] Deprecate and remove distutils

2021-01-29 Thread Steve Dower
Steve Dower added the comment: New changeset 62949f697fdefbf0c8bbba7a8354b9376afa35ba by Steve Dower in branch 'master': bpo-41282: Add deprecation warning and docs for distutils (PEP 632) (GH-24355) https://github.com/python/cpython/commit/62949f697fdefbf0c8bbba7a8354b9376afa35ba

[issue43068] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2021-01-29 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/483/builds/758 FAIL: test_specific_shell (test.test_subprocess.POSIXProcessTestCase) -- Traceback (most recent call last): File

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2021-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23198 pull_request: https://github.com/python/cpython/pull/24381 ___ Python tracker ___

[issue42982] Update suggested number of iterations for pbkdf2_hmac()

2021-01-29 Thread Illia Volochii
Illia Volochii added the comment: > FWIW, OnePass uses 100,000. https://support.1password.com/pbkdf2/ There is a history section on that page. And current 100,000 is ten times more than 1Password used in 2013 when the suggestion was added to the documentation. > Also, I don't think an

[issue42596] aarch64 Fedora Rawhide LTO + PGO 3.8 fails to build Python: /usr/bin/ld: error adding symbols: bad value

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: The worker is back to green: https://buildbot.python.org/all/#/builders/528/builds/299 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue42966] argparse: customizable help formatter

2021-01-29 Thread Tadek Kijkowski
Tadek Kijkowski added the comment: This is just repackaging old ideas into nice box. Instead of creating lambdas or generator function for each particular case, there is one easy to use, universal class. It will be finally written in official documentation how to change indentation.

[issue43056] Use of dicts in 4.2 and 4.7 of Python tutorial a bit confusing

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: For 4.2, the point is the '.copy()' versus the 'active_users' copy. I think a real beginner would, or should, ignore any other details not immediately familiar. 4.7.2 Keyword arguments. It is simply a fact that including the full discussion here

[issue43067] inspect.signature(bytes.hex) raises ValueError "builtin has invalid signature"

2021-01-29 Thread Борис Верховский
New submission from Борис Верховский : On Python 3.9 >>> import inspect >>> inspect.signature(bytes.hex) Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.9/inspect.py", line 3118, in signature return Signature.from_callable(obj,

[issue42982] Update suggested number of iterations for pbkdf2_hmac()

2021-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, OnePass uses 100,000. https://support.1password.com/pbkdf2/ Also, I don't think an additional time factor of 2.5x would make substantial difference in security, but it may make a noticeable difference in user authentication time. -- nosy:

[issue43048] Printing RecursionError results in RecursionError

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.9, exc.py produces for me Traceback (most recent call last): File "F:\Python\a\tem3.py", line 3, in f raise ValueError('hello') ValueError: hello During handling of the above exception, another exception occurred: Traceback (most recent call

[issue31212] datetime: min date (0001-01-01 00:00:00) can't be converted to local timestamp

2021-01-29 Thread Sam Kagan
Sam Kagan added the comment: I encountered this issue in Python 3.8. I consider it to be a bug because it's an instance of a class-defined constant (datetime.min) not working with a method of that class (timestamp) when all other values that the class could take work with the method AND the

[issue43039] tempfile.TemporaryDirectory() name string is incorrect

2021-01-29 Thread Eric V. Smith
Eric V. Smith added the comment: I've been thinking about this some more, and I agree with Terry. Changing str() seems dangerous, and __fspath__ wouldn't be backwardly compatible. If you want the name, use .name. So I'm going to close this. -- resolution: -> rejected stage: ->

[issue43042] Delete or merge redundant tutorial sentence.

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The sentence you quoted ends a paragraph that begins with a sentences saying the same thing even more clearly. "The execution of a function introduces a new symbol table used for the local variables of the function." I think the ending sentence could be

[issue43066] Zipfile with leading slashes

2021-01-29 Thread Garrison Taylor
New submission from Garrison Taylor : Currently the zipfile library allows you to create invalid zip files. The following code is an example: from zipfile import ZipFile import tempfile temporary_file = tempfile.NamedTemporaryFile() my_zip = ZipFile(temporary_file.name, 'w')

[issue43064] Cannot clear signal handler set with loop.add_signal_handler in forked process with signal.signal

2021-01-29 Thread Selim Belhaouane
Change by Selim Belhaouane : -- title: Impossible to override signal handler set with add_signal_handler in forked process -> Cannot clear signal handler set with loop.add_signal_handler in forked process with signal.signal ___ Python tracker

[issue43039] tempfile.TemporaryDirectory() name string is incorrect

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Making str(td) == td.name does not seem useful. I think this should be closed as 'Not a bug', because it isn't. If changed to an enhancement request, reject as insufficiently warranted against the likely breakage. -- nosy: +terry.reedy

[issue43034] Python tutorial misleads users about floor division behavior

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: -17/3 = -5.667 = -6.0 + .333. It is the latter fraction that gets discarded. However, this is a frequent source of confusion. How about adding >>> -17 // 3 -6 >>> -17 % 3 1 >>> -6 * 3 + 1 -17 to illustrate what we mean, without

[issue43065] 'concurrent.futures' stucks in 3.9.1

2021-01-29 Thread doublex
New submission from doublex : Works with python 3.8 Fails with 3.9.1 (tested on CentOS 7 and Ubuntu 2004) Yes, sometimes is does not stuck... Command-line: python3.9 stuck.py -- components: Interpreter Core files: stuck.py messages: 385931 nosy: doublex priority: normal severity:

[issue43029] unittest: Add assertUniqeIn

2021-01-29 Thread Denis Roussel
Denis Roussel added the comment: Of course. Wanted a shortcut. Can close it if you want. -- ___ Python tracker ___ ___

[issue43029] unittest: Add assertUniqeIn

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think you meant assertEqual(len(alist), len(set(alist))). I agree with others. -- nosy: +terry.reedy resolution: -> rejected stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.10

[issue43006] Changed behaviour of inspect.signature() in Python 3.10

2021-01-29 Thread jack1142
Change by jack1142 : -- nosy: +jack1142 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43064] Impossible to override signal handler set with add_signal_handler in forked process

2021-01-29 Thread Selim Belhaouane
New submission from Selim Belhaouane : Cannot clear signal handler set with loop.add_signal_handler in forked process with signal.signal # Context I'm running an async web server with uvicorn[1] and have background processes (using multiprocessing) doing CPU-bound work. uvicorn install

[issue42966] argparse: customizable help formatter

2021-01-29 Thread Tadek Kijkowski
Change by Tadek Kijkowski : -- keywords: +patch pull_requests: +23197 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24377 ___ Python tracker ___

[issue43060] Convert _decimal C API from pointer array to struct

2021-01-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: -rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43062] Non-integer values in collections.Counter

2021-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the report, but there isn't anything that can be done about this. The core design concept for Counter was to be a regular dictionary augmented by a few capabilities that made it suitable for counting. It isn't closed-off in any way. On the

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bf782b2636880dd634281f905ae43b8555450ee2 by Miss Islington (bot) in branch '3.9': bpo-43008: Add 'Patch by Ken Hilton' (GH-24370) (#24374) https://github.com/python/cpython/commit/bf782b2636880dd634281f905ae43b8555450ee2 --

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-29 Thread miss-islington
miss-islington added the comment: New changeset cf883827496d0fbe2c5fe39e4778cd7525f6f7bc by Miss Islington (bot) in branch '3.8': bpo-43008: Add 'Patch by Ken Hilton' (GH-24370) https://github.com/python/cpython/commit/cf883827496d0fbe2c5fe39e4778cd7525f6f7bc --

[issue42628] binascii doesn't work on some base64

2021-01-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23196 pull_request: https://github.com/python/cpython/pull/24375 ___ Python tracker ___

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 11d75ec807f05eff1148c049e38b808d11c23b8a by Terry Jan Reedy in branch 'master': bpo-43008: Add 'Patch by Ken Hilton' (GH-24370) https://github.com/python/cpython/commit/11d75ec807f05eff1148c049e38b808d11c23b8a --

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23195 pull_request: https://github.com/python/cpython/pull/24374 ___ Python tracker ___

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

2021-01-29 Thread Alexander Stepanov
Alexander Stepanov added the comment: Another victim of this change in `venv` behavior is Ray, which hangs forever because the workers fail to register as parent does not recognize their PIDs. https://github.com/ray-project/ray/issues/13794 -- nosy: +nirvana-msu

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23194 pull_request: https://github.com/python/cpython/pull/24370 ___ Python tracker ___

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: I had a simpler idea for an inline cache for LOAD_METHOD than GH-23503. The essential part goes like this (sorry for the hybrid C/Python): if : if type == lm->type and type->tp_version_tag == lm->tp_version_tag: meth = lm->meth

[issue42628] binascii doesn't work on some base64

2021-01-29 Thread Kent Watsen
Kent Watsen added the comment: I see. There are two issues: 1) my `base64` and `openssl` CLI commands were flipped, as you point out, giving a false positive - oops ;) 2) more importantly, the base64 value "ue==" is invalid (there is no binary input that could possibly generate it) and

[issue43063] zipfile.Path / importlib.resources raises KeyError if a file wasn't found

2021-01-29 Thread Florian Bruhin
Florian Bruhin added the comment: Whoops, I was mistaken about Python 3.8 not being affected. I thought it wouldn't be because importlib.resources.files was added in 3.9, but zipfile.Path was added in 3.8. With that in mind, I guess changing the behavior of 3.9 would be rather confusing,

[issue38631] Replace Py_FatalError() with regular Python exceptions

2021-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23193 pull_request: https://github.com/python/cpython/pull/24369 ___ Python tracker ___

[issue43063] zipfile.Path / importlib.resources raises KeyError if a file wasn't found

2021-01-29 Thread Florian Bruhin
New submission from Florian Bruhin : When a package is installed as an egg, importlib.resources.files returns a zipfile.Path rather than a pathlib.Path (maybe it returns other things too, seeing that it's documented to return a importlib.abc.Traversable - I didn't check). However, those two

[issue42380] Build windows binaries with MS VS2019 16.8+ / MSVC 19.28+

2021-01-29 Thread h-vetinari
h-vetinari added the comment: PPS. Also, the compiler implementation reference uses 19.x for MSVC: https://en.cppreference.com/w/cpp/compiler_support, which was the link I was trying to make, now that I'm looking at it. -- ___ Python tracker

[issue42380] Build windows binaries with MS VS2019 16.8+ / MSVC 19.28+

2021-01-29 Thread h-vetinari
h-vetinari added the comment: PS. > Judging from the link you posted to version numbering https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering the first line should have 'MSVC 14.28' the middle column title should be 'MS Visual Studio'. The wiki page was

[issue42974] tokenize reports incorrect end col offset and line string when input ends without explicit newline

2021-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: Do you still need my opinion? I can't say that I have one ATM. -- ___ Python tracker ___ ___

[issue43062] Non-integer values in collections.Counter

2021-01-29 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30744] Local variable assignment is broken when combined with threads + tracing + closures

2021-01-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42979] _zoneinfo: zoneinfomodule_exec() doesn't check for PyDateTime_IMPORT failure

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset a6192635f1e62af2bb8a435487ebb51800edd671 by Victor Stinner in branch 'master': bpo-42979: Use _Py_CheckSlotResult() to check slots result (GH-24356) https://github.com/python/cpython/commit/a6192635f1e62af2bb8a435487ebb51800edd671 --

[issue39232] asyncio crashes when tearing down the proactor event loop

2021-01-29 Thread Pandu E POLUAN
Change by Pandu E POLUAN : -- nosy: +pepoluan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36470] dataclasses.replace raises an exception if InitVar with default argument is not provided.

2021-01-29 Thread Cosimo Lupo
Cosimo Lupo added the comment: any updates on this? Would be great if any of the two candidate PRs was merged. It's basically impossible to use replace() with default InitVars.. Thank you in advace -- nosy: +anthrotype ___ Python tracker

[issue43062] Non-integer values in collections.Counter

2021-01-29 Thread HuangFuSL
Change by HuangFuSL : -- components: +Library (Lib) -Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43062] Non-integer values in collections.Counter

2021-01-29 Thread HuangFuSL
New submission from HuangFuSL : When I am creating a counter object provided by `collections.Counter` using a mapping object like a dictionary, it seems that Python will not check the validity of the values in the mapping object. I've checked the following Python script could be successfully

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread R. David Murray
R. David Murray added the comment: This has nothing to do with python other than the fact that you are using it to capture stdout. You have to figure out how to get the output you want to be what shows up on stdout, python has no knowledge of what commands you put in your shell script, and

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread Christian Heimes
Change by Christian Heimes : -- components: +Library (Lib) versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread Christian Heimes
Christian Heimes added the comment: Please provide all information for your feature request in this ticket. We like to keep and archive all steps of the decision process in the same place. We also don't do stackoverflow-driven development. -- nosy: +christian.heimes

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread Kyle Altendorf
Kyle Altendorf added the comment: I'm not sure why I got added... but as mentioned in the SO response, this isn't how stuff works. Python isn't monitoring what subprocesses are created in the tree below the one Python itself creates nor does it have any way to know which line of which

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-01-29 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +23192 pull_request: https://github.com/python/cpython/pull/24368 ___ Python tracker ___

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread Riccardo La Marca
Change by Riccardo La Marca : -- nosy: +altendky, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware ___ Python tracker ___

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread Riccardo La Marca
Change by Riccardo La Marca : -- nosy: +monkeyman79, paul.j3, r.david.murray, v+python ___ Python tracker ___ ___ Python-bugs-list

[issue43061] subprocess: feature request: Get only the stdout of the last shell command

2021-01-29 Thread Riccardo La Marca
New submission from Riccardo La Marca : This is a link with some examples of the required functionality: https://stackoverflow.com/questions/65952314 -- messages: 385909 nosy: Riccardo La Marca priority: normal severity: normal status: open title: subprocess: feature request: Get only

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-29 Thread Tadek Kijkowski
Change by Tadek Kijkowski : -- pull_requests: +23190 pull_request: https://github.com/python/cpython/pull/24367 ___ Python tracker ___

[issue14191] argparse doesn't allow optionals within positionals

2021-01-29 Thread Tadek Kijkowski
Change by Tadek Kijkowski : -- pull_requests: +23191 pull_request: https://github.com/python/cpython/pull/24367 ___ Python tracker ___

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-01-29 Thread Mark Shannon
Mark Shannon added the comment: New changeset d6c33fbd346765c6a8654dccacb2338006bf2b47 by Mark Shannon in branch 'master': bpo-42990: Introduce 'frame constructor' struct to simplify API for PyEval_CodeEval and friends (GH-24298)

[issue25166] Windows AllUsers installation places uninstaller in user profile

2021-01-29 Thread James Russell
James Russell added the comment: I have been reviewing the Install process as we need to start installing / patching Python and I have seen the same issue as mentioned below however the difference for me is I am running the install on a Silent command line. I cannot seem to override

[issue43060] Convert _decimal C API from pointer array to struct

2021-01-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +facundobatista, mark.dickinson, rhettinger, skrah ___ Python tracker ___ ___

[issue43020] str.lower method with "İ" character

2021-01-29 Thread Emir
Emir added the comment: Thanks for the answer. I will keep that in mind when posting another "issue" instead of naming them as "bug". Steven D'Aprano , 25 Oca 2021 Pzt, 13:22 tarihinde şunu yazdı: > > Steven D'Aprano added the comment: > > This is not a bug, but an issue with the way the

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2021-01-29 Thread robbiecares
Change by robbiecares : -- nosy: +robbiecares ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43029] unittest: Add assertUniqeIn

2021-01-29 Thread Denis Roussel
Denis Roussel added the comment: Indeed, can do assertNotEquals(len(the_list), len(set(the_list)) -- ___ Python tracker ___ ___

[issue42380] Build windows binaries with MS VS2019 16.8+ / MSVC 19.28+

2021-01-29 Thread h-vetinari
h-vetinari added the comment: Hey Terry I had asked about this on discuss (https://discuss.python.org/t/toolchain-upgrade-on-windows/6377/2), and Steve provided some very valuable input. In particular, building with the newer VS (that supports C11) should stay ABI-compatible with

[issue43009] Port curses capi pointer array to a struct

2021-01-29 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: FYI: I've opened bpo-43060 for the decimal module. -- ___ Python tracker ___ ___

[issue43009] Port curses capi pointer array to a struct

2021-01-29 Thread hai shi
hai shi added the comment: > The _decimal API is also just an array of pointers. Should we change that to > a struct as well? Hi, victor. Do you have suggestion about it :) -- ___ Python tracker

[issue43060] Convert _decimal C API from pointer array to struct

2021-01-29 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >