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

2021-03-28 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch nosy: +methane nosy_count: 13.0 -> 14.0 pull_requests: +23809 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19481 ___ Python tracker

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2021-03-28 Thread Kevin Geller
Kevin Geller added the comment: I was also facing the similar issue. But I got it fixed by following the steps provided on https://enhau.com/ -- nosy: +kevingeller ___ Python tracker

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

2021-03-28 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-03-28 Thread David Bolen
David Bolen added the comment: The test has also begun failing on the Win10 buildbot (after updating to 20H2 from an older 1803). -- nosy: +db3l ___ Python tracker ___

[issue43651] PEP 597: Fix EncodingError

2021-03-28 Thread Inada Naoki
Change by Inada Naoki : -- nosy: methane priority: normal severity: normal status: open title: PEP 597: Fix EncodingError versions: Python 3.10 ___ Python tracker ___

[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-03-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset 4827483f47906fecee6b5d9097df2a69a293a85c by Inada Naoki in branch 'master': bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481) https://github.com/python/cpython/commit/4827483f47906fecee6b5d9097df2a69a293a85c --

[issue33164] Blake 2 module update

2021-03-28 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +23808 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25060 ___ Python tracker ___

[issue26702] A better assert statement

2021-03-28 Thread Ammar Askar
Ammar Askar added the comment: Just a note and possible design inspiration, pytest has pretty assertions like this to allowing you to write unit tests purely with the assert statement and not unittest's special `assert...` methods:

[issue31956] Add start and stop parameters to the array.index()

2021-03-28 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz nosy_count: 8.0 -> 9.0 pull_requests: +23807 pull_request: https://github.com/python/cpython/pull/25059 ___ Python tracker ___

[issue21254] doc: PropertyMock refuses to raise AttributeErrror as a side effect

2021-03-28 Thread Irit Katriel
Change by Irit Katriel : -- components: +Documentation, Library (Lib) stage: test needed -> needs patch title: PropertyMock refuses to raise AttributeErrror as a side effect -> doc: PropertyMock refuses to raise AttributeErrror as a side effect versions: +Python 3.10, Python 3.8,

[issue25643] Python tokenizer rewriting

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

[issue25643] Python tokenizer rewriting

2021-03-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 261a452a1300eeeae1428ffd6e6623329c085e2c by Pablo Galindo in branch 'master': bpo-25643: Refactor the C tokenizer into smaller, logical units (GH-25050) https://github.com/python/cpython/commit/261a452a1300eeeae1428ffd6e6623329c085e2c

[issue26702] A better assert statement

2021-03-28 Thread Irit Katriel
Irit Katriel added the comment: Maybe we could use the walrus operator for this: make assert display the reprs of all named sub-expressions. -- nosy: +iritkatriel type: -> enhancement versions: +Python 3.10 -Python 3.6 ___ Python tracker

[issue43650] MemoryError on zip.read in shutil._unpack_zipfile

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

[issue43650] MemoryError on zip.read in shutil._unpack_zipfile

2021-03-28 Thread igor voltaic
New submission from igor voltaic : MemoryError: null ... File "", line 13, in repack__file shutil.unpack_archive(local_file_path, local_dir) File "python3.6/shutil.py", line 983, in unpack_archive func(filename, extract_dir, **kwargs) File "python3.6/shutil.py", line 901, in

[issue43094] sqlite3 signature discrepancies between documentation and implementation

2021-03-28 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > Of course! I may be not be able to respond to you quickly in the next few > weeks, though. Thank you! I'll send you a preliminary version sometime this week. -- ___ Python tracker

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 9a8e0780247acb256dd8b04c15b3dd0f59ef2fe1 by Miss Islington (bot) in branch '3.9': bpo-31907: [doc] clarify that str.format() does not support arbitrary expressions (GH-25053) (GH-25055)

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread miss-islington
miss-islington added the comment: New changeset 24ba0ea9e0160cc85e0fa24f32b1651c8b3a24b0 by Miss Islington (bot) in branch '3.8': [3.8] bpo-31907: [doc] clarify that str.format() does not support arbitrary expressions (GH-25053) (GH-25056)

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

2021-03-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +23804 pull_request: https://github.com/python/cpython/pull/25057 ___ Python tracker ___

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +23803 pull_request: https://github.com/python/cpython/pull/25056 ___ Python tracker ___

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset fb1d01b9630b5069fe975f16e07a027d90b89434 by Irit Katriel in branch 'master': bpo-31907: [doc] clarify that str.format() does not support arbitrary expressions (#25053)

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +23802 pull_request: https://github.com/python/cpython/pull/25055 ___ Python tracker

[issue43647] Sudden crash on print() of some characters

2021-03-28 Thread Christian Heimes
Christian Heimes added the comment: Excellent investigation! Idle automatically picked Dejavu Sans Mono as default font. I have also several fonts for e.g. unicode symbols and emojis installed. Noto Sans Mono CJK fonts are working fine, too. However when I select the Noto Emoji font in the

[issue43647] Sudden crash on print() of some characters

2021-03-28 Thread Mikhail
Mikhail added the comment: I checked the behavior, and found out that it depends on the font. I have "Noto Sans Mono", and if I enter, for example, '\u2709', IDLE crashes. But if I put another font, for example 'Dejavu Mono', just a blank line is displayed. Also, if I output the characters

[issue43649] time.strftime('%z') doesn't return UTC offset in the form ±HHMM

2021-03-28 Thread Eryk Sun
Eryk Sun added the comment: I closed bpo-20010 because the official PSF distributions of Python 3.5+ for Windows use the Universal CRT (ucrt), the system C runtime library for applications. ucrt does not have this problem with the "%z" format code. For example, using ctypes: >>> import

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +23801 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25053 ___ Python tracker ___

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread Eric V. Smith
Eric V. Smith added the comment: > The syntax is related to that of formatted string literals, but it is less > sophisticated and, in particular, does not support arbitrary expressions. That seems fine to me. -- ___ Python tracker

[issue43646] ForwardRef name conflict during evaluation

2021-03-28 Thread Ken Jin
Ken Jin added the comment: Wow, thank you for the excellent bug report! Surprisingly, issue42904 's patch fixes this problem as well. I've spent a few hours trying to debug this, and here's some findings: TLDR: 3.9.1 - 3.10 added ForwardRef recursive evaluation. A guess is that since

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread mickey695
Change by mickey695 : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31907] doc: Clarify error message when attempting to call function via str.format()

2021-03-28 Thread mickey695
mickey695 added the comment: Happy passover Irit(and/or anyone else celebrating)! While your suggestion is accurate, I can't say whether it's enough or not. This is up to you and the other python language development forum to decide :) -- versions: -Python 3.10

[issue43649] time.strftime('%z') doesn't return UTC offset in the form ±HHMM

2021-03-28 Thread Patrick Storz
Change by Patrick Storz : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43649] time.strftime('%z') doesn't return UTC offset in the form ±HHMM

2021-03-28 Thread Patrick Storz
New submission from Patrick Storz : This is a follow-up to https://bugs.python.org/issue20010 I'm seeing this very issue in a recent gcc build of Python 3.8 (mingw-w64-x86_64-python 3.8.8-2 from MSYS2 project): Python 3.8.8 (default, Feb 20 2021, 07:16:03) [GCC 10.2.0 64 bit (AMD64)] on

[issue17519] unittest should not try to run abstract classes

2021-03-28 Thread Nathaniel Manista
Nathaniel Manista added the comment: michael.foord: I am now persuaded that the feature requested here ought be reconsidered (since my last comment there's been a lot of chatter about it behind closed doors at work, but I can at least cite https://github.com/abseil/abseil-py/issues/166 as a

[issue42938] [security][CVE-2021-3177] ctypes double representation BoF

2021-03-28 Thread Monix
Monix added the comment: Hope everyone has a nice day -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42938] [security][CVE-2021-3177] ctypes double representation BoF

2021-03-28 Thread Monix
Monix added the comment: Hope everyone has a nice day -- nosy: +milanjugessur1404 ___ Python tracker ___ ___ Python-bugs-list

[issue43648] Remove redundant datefmt option in logging file config

2021-03-28 Thread Harry
Change by Harry : -- keywords: +patch pull_requests: +23800 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25051 ___ Python tracker ___

[issue43648] Remove redundant datefmt option in logging file config

2021-03-28 Thread Harry
New submission from Harry : In the logging.conf section of the docs, there is a redundant datefmt option https://docs.python.org/3.10/howto/logging.html#configuring-logging -- assignee: docs@python components: Documentation messages: 389637 nosy: Harry-Lees, docs@python priority:

[issue43647] Sudden crash on print() of some characters

2021-03-28 Thread Christian Heimes
Christian Heimes added the comment: I cannot reproduce the issue on Fedora 33 with KDE 5 and libX11-1.6.12: Python 3.9.2 (default, Feb 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux Type "help", "copyright", "credits" or "license()" for more information. >>> '\u2705' '✅'

[issue43647] Sudden crash on print() of some characters

2021-03-28 Thread Mikhail
New submission from Mikhail : Hi! I'm not sure if it's an IDLE, library, Xserver or font error, but either way, IDLE is behaving incorrectly. I have installed 3.8 and 3.9 versions, and on both it works, I do not know about the others, but I suspect that on the others, this error also occurs.

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

2021-03-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue43646] ForwardRef name conflict during evaluation

2021-03-28 Thread Christodoulos Tsoulloftas
New submission from Christodoulos Tsoulloftas : Consider two modules with the same name forward references with the same type construct ./a.py ``` from typing import Optional class Root: a: Optional["Person"] class Person: value: str ``` ./b.py ``` from typing import

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

2021-03-28 Thread frathgeber
Change by frathgeber : -- nosy: +kynan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43645] xmlrpc.client.ServerProxy silently drops query string from URI

2021-03-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9 ___ Python tracker

[issue38038] Remove urllib.parse._splittype from xmlrpc.client

2021-03-28 Thread frathgeber
frathgeber added the comment: Filed bpo-43645 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43645] xmlrpc.client.ServerProxy silently drops query string from URI

2021-03-28 Thread frathgeber
New submission from frathgeber : The change introduced in https://github.com/python/cpython/pull/15703 (bpo-38038) caused an (I presume unintended) behavior change that breaks some xmlrpc users: previously, the XLMRPC handler was everything after the host part of the URI

[issue35144] TemporaryDirectory clean-up fails with unsearchable directories

2021-03-28 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue22121] Start IDLE from icon in a better place.

2021-03-28 Thread Eryk Sun
Eryk Sun added the comment: > blacklisting directories Ensure that filepaths in sys.argv are resolved before changing out of a blacklisted directory. Also, for file open/save dialogs, as opposed to the working directory of the Python subprocess (e.g. os.getcwd() in the REPL), it's typical