[issue42405] Add distutils mvsccompiler support for Windows ARM64 build

2020-11-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: As I reviewed the PR, I do realize how tricky this change is going to be. In addition to the three MSVC implementations in distutils, Setuptools has its own (https://github.com/pypa/setuptools/blob/master/setuptools/msvc.py). Interestingly, that file

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2020-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Multiline string literals were added recently in Java (https://openjdk.java.net/jeps/378). The semantic is similar to Julia: autodedent and ignoring the first blank line. Multiline string literals have similar semantic in Swift

[issue42427] Use the errno attribute of OSError instead of args[0]

2020-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c4d45ee670c09d4f6da709df072ec80cb7dfad22 by Serhiy Storchaka in branch 'master': bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449) https://github.com/python/cpython/commit/c4d45ee670c09d4f6da709df072ec80cb7dfad22

[issue42427] Use the errno attribute of OSError instead of args[0]

2020-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue14527] How to link with a non-system libffi?

2020-11-22 Thread pmp-p
pmp-p added the comment: I think the actual PR20451 with its proper use of pkgconfig could close https://bugs.python.org/issue31710 ( fixing at once android and wasm/wasi compilation ) -- ___ Python tracker

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2020-11-22 Thread Inada Naoki
Inada Naoki added the comment: > I don't think we need two algorithms here. I'm +1 to add str.dedent() which > mirroring only inspect.cleandoc(). I withdraw this. If we add str.dedent(), it must not be optimized for triple-quote literal. Auto dedenting is very nice to have. It can be

[issue42433] mailbox.mbox fails on non ASCII characters

2020-11-22 Thread Florian Klink
New submission from Florian Klink : I'm importing some mbox archives into my maildirs, and use `mailbox.mbox` to parse archives created by pipermail. Some of these archives seem to contain non-ascii characters, and python just throws a `UnicodeDecodeError` and refuses to process the archive.

[issue42423] Support passing single class to PyType_FromSpecWithBases and PyType_FromModuleAndSpec

2020-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 686c203cd4355be5b7809a9d24b4aa3566d9371f by Serhiy Storchaka in branch 'master': bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441) https://github.com/python/cpython/commit/686c203cd4355be5b7809a9d24b4aa3566d9371f

[issue42423] Support passing single class to PyType_FromSpecWithBases and PyType_FromModuleAndSpec

2020-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42435] Spped up comparison of bytes and bytearray object with objects of different types

2020-11-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR speeds up comparison of bytes and bytearray object with objects of different types, especially if use the -b option. Before: $ ./python -m timeit -s "x = b''" "x == None" 1000 loops, best of 5: 29.5 nsec per loop $ ./python -b -m

[issue42438] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-11-22 Thread Vuyyuru Sai Nithish
New submission from Vuyyuru Sai Nithish : Im using django on an virtual env, when im trying to use pandas it was giving me and error message(IDE: VScode) i.e, module error: pandas was not found. I reinstalled python from 3.8.2 to 3.9 and now in my virtual environment it was giving an error

[issue42431] Fix outdated bytes comments

2020-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22350 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23458 ___ Python tracker

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset e8b1c038b14b5fc8120aab62c9bf5fb840274cb6 by Ronald Oussoren in branch '3.9': [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295) https://github.com/python/cpython/commit/e8b1c038b14b5fc8120aab62c9bf5fb840274cb6

[issue42422] Py_Decref on value crash the interpreter in Python/ceval.c:1104

2020-11-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I'm sorry to interrupt but what is the exact reasoning behind adding a new, (I presume) redundant crasher? There are tons of different ways to crash the interpreter with malformed bytecode, how would adding only one of them bring any good? --

[issue42434] Library json, file json/encoder.py: Function floatstr should be a class-level function.

2020-11-22 Thread David Salač
New submission from David Salač : The logic as it is implemented now does not allow to user to override floatstr function. That makes things enormously inconvenient for people who need any different of behaviour (for example return string values defining Infinity, NaN or -Infinity). If it was

[issue42435] Speed up comparison of bytes and bytearray object with objects of different types

2020-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Spped up comparison of bytes and bytearray object with objects of different types -> Speed up comparison of bytes and bytearray object with objects of different types ___ Python tracker

[issue42436] Google use wrong "hightlight" argument

2020-11-22 Thread Amirouche Boubekki
New submission from Amirouche Boubekki : At the moment when I search for the following: https://www.google.com/search?q=ast+transformer+python+3.10 I have as second result this url: https://docs.python.org/dev/library/ast.html?highlight=s I do not understand the purpose in the query

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22354 pull_request: https://github.com/python/cpython/pull/23462 ___ Python tracker ___

[issue42437] crypt produces wrong hashes for passwords containing dollar sign

2020-11-22 Thread Christian Heimes
Christian Heimes added the comment: PS: Don't use crypt or SSHA512 format for passowrd hashing. You should use PBKDF2-HMAC, bcrypt, scrypt, or argon2 instead. SSHA512 is a dated algorithm and considered insecure. -- ___ Python tracker

[issue42432] Http client, Bad Status Line triggered for no reason

2020-11-22 Thread sicarius noidea
New submission from sicarius noidea : Hey, BadStatusLine triggered when protocol version is in lowercase. I've encountered a server that answers "Http/1.0 404 Not Found\r\n" instead of "HTTP/1.0 404 Not Found\r\n" ## Expected Result Requests understanding the status line. ## Actual

[issue4657] Doctest gets line numbers wrongs with <> in name

2020-11-22 Thread Irit Katriel
Irit Katriel added the comment: I tested on 3.10 (macos) and can confirm that it is fixed. Details: I changed _run_object_doctest as Nick explained, and made it display the output of the finder.find() call - the line number was the same with and without the <>s. -- nosy:

[issue42434] Library json, file json/encoder.py: Function floatstr should be a class-level function.

2020-11-22 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +22351 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23459 ___ Python tracker

[issue13907] test_pprint relies on set/dictionary repr() ordering

2020-11-22 Thread Irit Katriel
Irit Katriel added the comment: This test was since renamed to test_set_of_sets_reprs and is currently marked as @expectedFailure: https://github.com/python/cpython/commit/51844384f4b225d214e122edd8af65c75e50a150 -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9

[issue42436] Google use wrong "hightlight" argument

2020-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: This seems to be a question for Google. -- nosy: +eric.smith ___ Python tracker ___ ___

[issue42431] Fix outdated bytes comments

2020-11-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Some comments in C code still refer to bytearray object as bytes object and to bytes object as string object. The proposed PR fixes outdated comments. It also moves the definition of macros F_LJUST etc from public header to private header. They are

[issue42435] Speed up comparison of bytes and bytearray object with objects of different types

2020-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22353 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23461 ___ Python tracker

[issue42437] crypt produces wrong hashes for passwords containing dollar sign

2020-11-22 Thread Микаела Стоичкова
New submission from Микаела Стоичкова : I am having an issue with crypt library (Lib/crypt.py) when hashing passwords containing dolalr sign ("$") . I am using python 3.8.5 on Linux. To compare hashed passwords produced by crypt, I used openssl utilities. When generating hashes for password

[issue42437] crypt produces wrong hashes for passwords containing dollar sign

2020-11-22 Thread Christian Heimes
Christian Heimes added the comment: I assume that you called openssl from a shell. You did not use single quotes around in the first example: $ echo "cash$money" cash $ echo 'cash$money' cash$money $ openssl passwd -6 -salt 'C0UG33RcHmBVAjQ/' 'cash$money'

[issue42438] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-11-22 Thread Vuyyuru Sai Nithish
Change by Vuyyuru Sai Nithish : -- nosy: nithish priority: normal severity: normal status: open title: Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding type: crash versions: Python 3.9 ___ Python

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-22 Thread Ned Deily
Change by Ned Deily : -- pull_requests: -21922 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)

2020-11-22 Thread Brett Cannon
Change by Brett Cannon : -- title: PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie) -> PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie) ___ Python tracker

[issue42432] Http client, Bad Status Line triggered for no reason

2020-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: requests is a third-party library, and this isn't the right place to report issues with it. It looks like the requests issue tracker is at https://github.com/psf/requests/issues If you can duplicate this problem with only using the python standard library,

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docs lie)

2020-11-22 Thread Brett Cannon
Brett Cannon added the comment: I think operator.index() should be brought to be inline with PyNumber_Index(): - If the argument is a subclass of int then return it. - Otherwise call type(obj).__index__(obj) - If not an int, raise TypeError - If not a direct int, raise a DeprecationWarning

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-22 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > (probably can't even limit that to the case when `text` is used, since it was > added in 3.7) Well, actually, we can, since we probably don't need to preserve compatibility with the AttributeError currently caused by `text=True` with `input=None`.

[issue40791] hmac.compare_digest could try harder to be constant-time.

2020-11-22 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42433] mailbox.mbox fails on non ASCII characters

2020-11-22 Thread R. David Murray
R. David Murray added the comment: The problem with that archive is that it is not in proper mbox format. It contains the following line (5689): From here I was hoping to run something like “dbus-send –system –dest=Test.Me –print-reply /Japan Japan.Reset.Test string:”Hello”” You will

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-22 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +22357 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23467 ___ Python tracker

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: It was a mere oversight that this didn't handle text= the same as universal_newlines=. I made a PR to keep their behavior consistent and match the documentation. -- ___ Python tracker

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-22 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42439] Use of ternary operator instead of if and else in month calculation function

2020-11-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: Why do you care what the implementation of the private methods are? Does it make them faster or fix a bug? How is it "convenient" to change the implementation to ternary if? Without some better justification, this strikes me as just code churn for no

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-11-22 Thread Brett Cannon
Change by Brett Cannon : -- pull_requests: +22359 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/23469 ___ Python tracker ___

[issue42439] Use of ternary operator instead of if and else in month calculation function

2020-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Steven. We usually reject pure cosmetic changes. And I do not see any advantages of the new code. -- nosy: +serhiy.storchaka resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue42435] Speed up comparison of bytes and bytearray object with objects of different types

2020-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29207] make install fails on ARM

2020-11-22 Thread Irit Katriel
Irit Katriel added the comment: Python 2-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue40934] Default RLock does not work well for Manager Condition

2020-11-22 Thread Irit Katriel
Irit Katriel added the comment: I tried this script on Windows 10, MacOs and Linux and it blocked in all cases. If you are still seeing this issue please create a new issue with full system and env information. -- resolution: -> works for me stage: -> resolved status: open ->

[issue42440] MACBOOK Python launcher

2020-11-22 Thread Rawad Bader
New submission from Rawad Bader : I would like to know why when I run my script from python3.8 for the VideoCapture which it was working before the new update for MacBook. Now it runs and the camera lights green but the python launcher, not apple to opens the camera no idea why. --

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-22 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: It seems that allowing `input=None` to mean "redirect stdin to a pipe and send an empty string there" in `subprocess.check_output` was an accident(?), and this behavior is inconsistent with `subprocess.run` and `communicate`, where `input=None` has the same

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2020-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +22355 pull_request: https://github.com/python/cpython/pull/23465 ___ Python tracker ___

[issue42438] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-11-22 Thread Eryk Sun
Change by Eryk Sun : -- stage: backport needed -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13907] test_pprint relies on set/dictionary repr() ordering

2020-11-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42439] Use of ternary operator instead of if and else in month calculation function

2020-11-22 Thread Elian Mariano Gabriel
Change by Elian Mariano Gabriel : -- keywords: +patch pull_requests: +22358 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23468 ___ Python tracker

[issue42433] mailbox.mbox fails on non ASCII characters

2020-11-22 Thread Florian Klink
Florian Klink added the comment: Yeah, not questioning here this might be badly formatted, but given these files are out there, and the parser is somewhat forgiving in other cases, it should be tolerant there as well. -- ___ Python tracker

[issue40791] hmac.compare_digest could try harder to be constant-time.

2020-11-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe by Miss Islington (bot) in branch '3.7': bpo-40791: Make compare_digest more constant-time. (GH-23438) https://github.com/python/cpython/commit/db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe --

[issue32068] textpad from curses package isn't handling backspace key

2020-11-22 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +22356 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23466 ___ Python tracker

[issue16784] Int tests enhancement and refactoring

2020-11-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___

[issue32317] sys.exc_clear() clears exception in other stack frames

2020-11-22 Thread Irit Katriel
Irit Katriel added the comment: sys.exc_clear was removed in Python 3: https://docs.python.org/3/whatsnew/3.0.html#index-22 -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +22360 pull_request: https://github.com/python/cpython/pull/23470 ___ Python tracker

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dd844a2916fb3a8f481ec7c732802c13c3375691 by Serhiy Storchaka in branch 'master': bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300) https://github.com/python/cpython/commit/dd844a2916fb3a8f481ec7c732802c13c3375691 --

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +22361 pull_request: https://github.com/python/cpython/pull/23471 ___ Python tracker ___

[issue42438] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

2020-11-22 Thread Eryk Sun
Eryk Sun added the comment: > I reinstalled python from 3.8.2 to 3.9 Going from 3.8 to 3.9 is not an in-place upgrade. You need to create a new virtual environment that references the base 3.9 installation. -- nosy: +eryksun resolution: -> not a bug stage: -> backport needed

[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2020-11-22 Thread Irit Katriel
Change by Irit Katriel : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2020-11-22 Thread miss-islington
miss-islington added the comment: New changeset 85720596f1baf8db2cd456c8c2bd07dc03c6beca by Miss Islington (bot) in branch '3.9': bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS (GH-23293)

[issue42439] Use of ternary operator instead of if and else in month calculation function

2020-11-22 Thread Elian Mariano Gabriel
New submission from Elian Mariano Gabriel : Inside the file calendar.py, there are two functions which are supposed to calculate the previous and next month relative to the actual year and month. def _prevmonth(year, month): if month == 1: return year-1, 12 else:

[issue42435] Speed up comparison of bytes and bytearray object with objects of different types

2020-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 313467efdc23a1ec8662b77d2001642be598f80a by Serhiy Storchaka in branch 'master': bpo-42435: Speed up comparison of bytes and bytearray object (GH--23461) https://github.com/python/cpython/commit/313467efdc23a1ec8662b77d2001642be598f80a

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-22 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +22362 pull_request: https://github.com/python/cpython/pull/23472 ___ Python tracker ___

[issue42102] Make builtins.callable "generic"

2020-11-22 Thread Guido van Rossum
Guido van Rossum added the comment: Hm. Shantanu's list shows that the next thing we should make usable without importing typing is Any. (I haven't any idea how to do that other than just making it a builtin.) But after that we should definitely tackle Callable, and the obvious way to do it

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-22 Thread Ken Jin
Ken Jin added the comment: @guido, Aesthetics-wise, I agree that ((int, int), str) looks by far the best. My gripe with it lies with the implementation - almost every function in typing currently assumes that every object in __args__ is a type, having (int, int) - the tuple object -

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-22 Thread Ken Jin
Ken Jin added the comment: A possible workaround for _PosArgs in collections.abc without depending on typing could be like this: _PosArgs = type('_PosArgs', (tuple, ), {}) This would help out the future type proposals too, because GenericAlias accepts non-type args. __args__ of Callable

[issue42432] Http client, Bad Status Line triggered for no reason

2020-11-22 Thread Christian Heimes
Christian Heimes added the comment: https://tools.ietf.org/html/rfc2616#section-3.1 defines HTTP version indicator as HTTP-Version = "HTTP" "/" 1*DIGIT "." 1*DIGIT so the check version.startswith("HTTP/") is correct. -- nosy: +christian.heimes

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-22 Thread Guido van Rossum
Guido van Rossum added the comment: I'm still not sold on __args__ == (Tuple[int, int], str); it looks too weird. However if we introduced a new private type for this purpose that might work? I see that the definition of Tuple in typing.py is Tuple = _TupleType(tuple, -1, inst=False,

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-11-22 Thread Shantanu
Shantanu added the comment: I think ((int, int), str) is superior to the others and if it can be made to work, that's what we should do. Note that if variadic type proposals go anywhere (https://docs.google.com/document/d/1oXWyAtnv0-pbyJud8H5wkpIk8aajbkX-leJ8JXsE318/edit#), my

[issue42432] Http client, Bad Status Line triggered for no reason

2020-11-22 Thread sicarius noidea
sicarius noidea added the comment: Hi, Here I'm using requests to show the behavior because it relies on python's http lib, and it is faster/simplier to use. The Exception "BadStatusLine" is a part or the http/client.py library. As per the RFC2616 section 6.1

[issue42432] Http client, Bad Status Line triggered for no reason

2020-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the reproducer and the research! https://tools.ietf.org/html/rfc2616#section-3.1 says the result header is "HTTP", and doesn't say anything else is acceptable. I'd be interested in what other frameworks (probably in other languages) support. I'll

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-22 Thread Ned Deily
Ned Deily added the comment: New changeset 5aa6c99da1087ded0ccb99bb12591e5ab31d75c3 by Ned Deily in branch '3.9': bpo-41100: Update Whatsnew and installer ReadME for 3.9.1 (GH-23472) https://github.com/python/cpython/commit/5aa6c99da1087ded0ccb99bb12591e5ab31d75c3 --

[issue31904] Python should support VxWorks RTOS

2020-11-22 Thread Peixing Xin
Change by Peixing Xin : -- pull_requests: +22363 pull_request: https://github.com/python/cpython/pull/23473 ___ Python tracker ___

[issue42432] Http client, Bad Status Line triggered for no reason

2020-11-22 Thread sicarius noidea
sicarius noidea added the comment: Here is the poc for this error with http.client only (for the server: use the same nc command as my first message): ```python import http.client >>> h1 = http.client.HTTPConnection("127.0.0.1:80") >>> h1.request("GET", "/") >>> r1 = h1.getresponse()