[issue41933] Wording of s * n in Common Sequence Operations is not optimal

2020-10-05 Thread Chavdar Yotov
Change by Chavdar Yotov : -- keywords: +patch pull_requests: +21566 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22570 ___ Python tracker ___ __

[issue41948] Runtime error while trying to use Python3.9 with virtualenv

2020-10-05 Thread Abhi R
New submission from Abhi R : I tried to create a new virtual environment using virtualenv and the newly released Python3.9 version and I got a runtime error saying " failed to find interpreter for Builtin discover of python_spec='python3.9'". -- components: Interpreter Core files: Unt

[issue18163] Add a 'key' attribute to KeyError

2020-10-05 Thread Orian Zinger
Orian Zinger added the comment: Hi all, As a Python developer, I encountered lots of blurry exception messages in the product logs such as: Failed to do something. Exception: 'some key' I believe printing the key name without explaining the exception itself is bad (explicit is better th

[issue18163] Add a 'key' attribute to KeyError

2020-10-05 Thread Orian Zinger
Change by Orian Zinger : -- components: -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue40864] spec_set/autospec/spec seems to not be reading attributes defined in class body

2020-10-05 Thread Evan Fagerberg
Evan Fagerberg added the comment: Reflecting on it more, there should be a sensible way to retrieve the set attributes of the init method of any class without explicitly instantiating it, via the inspect module. -- ___ Python tracker

[issue35291] duplicate of memoryview from io.BufferedWriter leaks

2020-10-05 Thread Irit Katriel
Irit Katriel added the comment: I tried the script on master (windows), and the problem is not reproducible. The OP also wrote that this is a 2.7-only issue, so it seems to be out of date. -- nosy: +iritkatriel, serhiy.storchaka type: -> resource usage _

[issue41934] Add `has` method to `pathlib.Path` class.

2020-10-05 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32902] FileInput "inplace" redirects output of other threads

2020-10-05 Thread Irit Katriel
Irit Katriel added the comment: stdout is indeed shared between all threads, and it is also not guaranteed to be thread safe, so if two threads write to it simultaneously that can cause problems. It is better to have one thread in you program writing to stdout, with thread-safe communicatio

[issue32902] FileInput "inplace" redirects output of other threads

2020-10-05 Thread Irit Katriel
Irit Katriel added the comment: In general, stackoverflow is a better place for questions like this - you are likely to get a quicker response there. -- ___ Python tracker __

[issue41947] Tests When Building Python

2020-10-05 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue40864] spec_set/autospec/spec seems to not be reading attributes defined in class body

2020-10-05 Thread Evan Fagerberg
Change by Evan Fagerberg : -- keywords: +patch pull_requests: +21567 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22572 ___ Python tracker ___ _

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Gregory Szorc
New submission from Gregory Szorc : Commit 54f2898fe7e4ca1f239e96284af3cc5b34d2ae02 (bpo-40645) introduced the functions HMAC_CTX_new, HMAC_CTX_free, and HMAC_CTX_get_md. These functions share the same names as HMAC functions provided by OpenSSL/LibreSSL. If you attempt to statically link the

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Gregory Szorc
Change by Gregory Szorc : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Gregory Szorc
Change by Gregory Szorc : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Gregory Szorc
Gregory Szorc added the comment: I was going to work around this in python-build-standalone (https://github.com/indygreg/python-build-standalone) by reverting to OpenSSL for builds. But we must use LibreSSL when linking against musl libc due to some random weirdness getting OpenSSL to static

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Note these are guarded by #if (OPENSSL_VERSION_NUMBER < 0x1010L) || defined(LIBRESSL_VERSION_NUMBER) which suggests that needs to tweaked -- nosy: +benjamin.peterson ___ Python tracker

[issue35291] duplicate of memoryview from io.BufferedWriter leaks

2020-10-05 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2020-10-05 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue27321] Email parser creates a message object that can't be flattened

2020-10-05 Thread Mark Diekhans
Mark Diekhans added the comment: any chance of getting this merged? A work-around is not obvious -- nosy: +diekhans ___ Python tracker ___ ___

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Gregory Szorc
Gregory Szorc added the comment: My workaround was to remove `|| defined(LIBRESSL_VERSION_NUMBER)`. That works with LibreSSL 3.1.4. I'm unsure if the symbols were introduced in a specific version though. But since python-build-standalone pins all dependencies, this is a safe patch for me. -

[issue41950] Typo in Python 3.9 what's new page

2020-10-05 Thread Weiliang Li
New submission from Weiliang Li : CONTAINS_OP for ‘in’ and ‘is not’ tests should be CONTAINS_OP for ‘in’ and ‘not in’ tests Ref: https://bugs.python.org/issue39156 -- assignee: docs@python components: Documentation messages: 378085 nosy: docs@python, kigawas priority: normal severity

[issue41950] Typo in Python 3.9 what's new page

2020-10-05 Thread Weiliang Li
Change by Weiliang Li : -- keywords: +patch pull_requests: +21568 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22573 ___ Python tracker ___

[issue41951] python-3.6.8.exe /uninstall /quiet fails woth Exit code: 0x643

2020-10-05 Thread XIAO AN ZHENG
New submission from XIAO AN ZHENG : The issue is caused by uninstalling Python 3.8.2 which wrongly detected  core_JustForMe even API only installed Python for All users : [1E18:1B64][2020-09-30T11:16:11]i101: Detected package: core_AllUsers, state: Present, cached: Complete [1E18:1B64][2020-09-

[issue27321] Email parser creates a message object that can't be flattened

2020-10-05 Thread Mark Sapiro
Mark Sapiro added the comment: I work around it with ``` class Message(email.message.Message): def as_string(self): # Work around for https://bugs.python.org/issue27321 and # https://bugs.python.org/issue32330. try: value = email.message.Message.as_strin

[issue41951] python-3.6.8.exe /uninstall /quiet fails woth Exit code: 0x643

2020-10-05 Thread XIAO AN ZHENG
XIAO AN ZHENG added the comment: The issue is happening very randomly, and caused by uninstalling Python 3.8.2 which wrongly detected core_JustForMe even it was only installed Python for All users : [1E18:1B64][2020-09-30T11:16:11]i101: Detected package: core_AllUsers, state: Present, cache

[issue41952] Extra Space Between "Oct" and "5"

2020-10-05 Thread Steven Yan
Change by Steven Yan : -- assignee: terry.reedy components: IDLE nosy: sy, terry.reedy priority: normal severity: normal status: open title: Extra Space Between "Oct" and "5" type: enhancement versions: Python 3.9 ___ Python tracker

[issue41952] Top Sentence Had a Extra Space Between "Oct" and "5"

2020-10-05 Thread Steven Yan
Change by Steven Yan : -- title: Extra Space Between "Oct" and "5" -> Top Sentence Had a Extra Space Between "Oct" and "5" ___ Python tracker ___ _

[issue41951] python-3.8.2.exe /uninstall /quiet fails woth Exit code: 0x643

2020-10-05 Thread XIAO AN ZHENG
Change by XIAO AN ZHENG : -- title: python-3.6.8.exe /uninstall /quiet fails woth Exit code: 0x643 -> python-3.8.2.exe /uninstall /quiet fails woth Exit code: 0x643 ___ Python tracker ___

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-10-05 Thread Bug Reporter
Bug Reporter added the comment: Just tested python 3.9.0 - same issue. -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-b

[issue41953] Confusing error message of 50,*2

2020-10-05 Thread wyz23x2
New submission from wyz23x2 : >>> (50,) * 2 (50, 50) >>> 50, * 2 Traceback (most recent call last): File "", line 2, in TypeError: 'int' object is not iterable This message is confusing. It isn't clear that 50.__iter__ is called. tuple(50)*2 seems to happen, which isn't expected (at least t

[issue41953] Confusing error message of 50,*2

2020-10-05 Thread wyz23x2
wyz23x2 added the comment: >>> '1', * 2 Traceback (most recent call last): File "", line 3, in TypeError: 'int' object is not iterable Update: 2.__iter__ seems to be called. -- ___ Python tracker ___

[issue41953] Confusing error message of 50,*2

2020-10-05 Thread wyz23x2
wyz23x2 added the comment: Just updated to 3.9. Fixed. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +21569 pull_request: https://github.com/python/cpython/pull/22574 ___ Python tracker ___ __

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2020-10-05 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

<    1   2