[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread Inada Naoki
Inada Naoki added the comment: I confirmed PyUnicode_GetMax is not used in top4000 packages. -- ___ Python tracker ___ ___

[issue41152] IDLE: revise setting of iomenu.encoding and .errors

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The main use for the iomenu settings is for the socket-transport file classes, in run.py. The default encoding='utf-8' and errors='strict' are not used but are overriden with the iomenu values, or for stderr, 'backslashreplace'. Since user code can print

[issue41151] Support for new Windows pseudoterminals in the subprocess module

2020-06-28 Thread Eryk Sun
Eryk Sun added the comment: > However, the API is a bit weird. Unlike Unix, when you create a > Windows pty, there's no way to directly get access to the "slave" > handle. Instead, you first call CreatePseudoConsole to get a > special "HPCON" object, which is similar to a Unix pty master.

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20359 pull_request: https://github.com/python/cpython/pull/21204 ___ Python tracker ___

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20360 pull_request: https://github.com/python/cpython/pull/21205 ___ Python tracker ___

[issue41152] IDLE: revise setting of iomenu.encoding and .errors

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The PR is for 1. The *nix code is a bit clearer without the Windows code in the middle. Is there a good reason why when encoding is 'utf-8', errors should be 'surrogateescape' on Windows and 'strict' elsewhere? Surrogateescape seems like it is made for

[issue40874] Update to libmpdec-2.5.0

2020-06-28 Thread Stefan Krah
Stefan Krah added the comment: A very brief guide for all users of --with-system-libmpdec: Python 3.7 and Python 3.8 both require the release with this sha256sum: 83c628b90f009470981cf084c5418329c88b19835d8af3691b930afccb7d79c7 mpdecimal-2.4.2.tar.gz Python 3.9 requires the release

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset e4f1fe6edb216e04da03ae80b462ca273f00255b by Inada Naoki in branch 'master': bpo-41123: Remove PyLong_FromUnicode() (GH-21204) https://github.com/python/cpython/commit/e4f1fe6edb216e04da03ae80b462ca273f00255b --

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset 02134dae448c7885c9c07adfc6970f878db33372 by Inada Naoki in branch '3.9': bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205) https://github.com/python/cpython/commit/02134dae448c7885c9c07adfc6970f878db33372 --

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +20362 pull_request: https://github.com/python/cpython/pull/21207 ___ Python tracker

[issue19335] codeop misclassifies incomplete code with 'nonlocal'

2020-06-28 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- nosy: +mbussonn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread Inada Naoki
Inada Naoki added the comment: New changeset d9f2a13106254c53550583adca70aeb3979f2993 by Inada Naoki in branch 'master': bpo-41123: Remove PyUnicode_GetMax() (GH-21192) https://github.com/python/cpython/commit/d9f2a13106254c53550583adca70aeb3979f2993 --

[issue27154] Regression in file.writelines behavior

2020-06-28 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue41152] IDLE: revise setting of iomenu.encoding and .errors

2020-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +20361 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21206 ___ Python tracker

[issue41073] [C API] PyType_GetSlot() should accept static types

2020-06-28 Thread hai shi
hai shi added the comment: I create a PR in: https://github.com/shihai1991/cpython/pull/13/commits. Looks like It works. If we extend PyType_GetSlot() to accept non-heaptype, we need find a way to judge the max slot of non-heaptype. -- ___ Python

[issue41073] [C API] PyType_GetSlot() should accept static types

2020-06-28 Thread hai shi
hai shi added the comment: historical discuss: bpo17162 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41152] IDLE: revise setting of iomenu.encoding and .errors

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I got the 'within iomenu' part a bit wrong. To open a file to edit, iomenu.IOBinging('IO').open tells filelist to use IO.loadfile. This reads bytes 'so that we can handle end-of-line convention ourselves'. (I suspect that this predates 3.x and might not

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-28 Thread miss-islington
miss-islington added the comment: New changeset ea164309dea4e7f92aeda6daa9e9679290c68827 by Miss Islington (bot) in branch '3.8': bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205) https://github.com/python/cpython/commit/ea164309dea4e7f92aeda6daa9e9679290c68827

[issue31082] reduce takes iterable, not just sequence

2020-06-28 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset cd3c2bdd5d53db7fe1d546543d3270916552 by Zackery Spytz in branch 'master': bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796) https://github.com/python/cpython/commit/cd3c2bdd5d53db7fe1d546543d3270916552

[issue31082] reduce takes iterable, not just sequence

2020-06-28 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Belatedly clearing the issue assignment here - while I do still sometimes ponder this problem, I haven't been actively working on it since the 2017 core sprint where Greg & I made our last serious attempt at trying to improve the situation. Mark's PR at

[issue34206] Move and clarify Py_Main documentation

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Added 3.8 back in to the target versions. However, if the automatic backport doesn't work for that branch, I'll probably skip it rather than fixing any conflicts. -- versions: +Python 3.8 ___ Python tracker

[issue34206] Move and clarify Py_Main documentation

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Adjusted target versions, as I never previously got around to merging this PR. -- versions: +Python 3.10, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker

[issue32002] test_c_locale_coercion fails when the default LC_CTYPE != "C"

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Removing issue assignment, as I'm no longer actively investigating this. -- assignee: ncoghlan -> ___ Python tracker ___

[issue30672] PEP 538: Unexpected locale behaviour on *BSD (including Mac OS X)

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Removing issue assignment, as I'm not actively investigating this. -- assignee: ncoghlan -> ___ Python tracker ___

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20347 pull_request: https://github.com/python/cpython/pull/21193 ___ Python tracker

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +20348 pull_request: https://github.com/python/cpython/pull/21194 ___ Python tracker ___

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-28 Thread miss-islington
miss-islington added the comment: New changeset 86ef6fe2b64360a1a55a913a09b12f0a80e8c06d by Miss Islington (bot) in branch '3.8': bpo-41144: Fix IDLE open module error (GH-21182) https://github.com/python/cpython/commit/86ef6fe2b64360a1a55a913a09b12f0a80e8c06d --

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0 by E-Paine in branch 'master': bpo-41144: Fix IDLE open module error (#21182) https://github.com/python/cpython/commit/8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0 --

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue24048] remove_module() needs to save/restore exception state

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Belatedly marking this as resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41144] IDLE: make Load Module load os.path (posixpath.py, ntpath.py)

2020-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: raises ImportError when opening special modules -> IDLE: make Load Module load os.path (posixpath.py, ntpath.py) ___ Python tracker

[issue31898] Add a `recommended-packages.txt` file

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Removing the issue assignment, as I'm not actively working on this (although I still think it's a reasonable idea). -- assignee: ncoghlan -> ___ Python tracker

[issue31899] Ensure backwards compatibility with recommended packages

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Removing the issue assignment, as I'm not actively working on this (although I still think it's a reasonable idea). -- assignee: ncoghlan -> ___ Python tracker

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-28 Thread miss-islington
miss-islington added the comment: New changeset 1497bf66f9b043e6db3801b1512cfbde6650 by Miss Islington (bot) in branch '3.9': bpo-41144: Fix IDLE open module error (GH-21182) https://github.com/python/cpython/commit/1497bf66f9b043e6db3801b1512cfbde6650 --

[issue29882] Add an efficient popcount method for integers

2020-06-28 Thread Vedran Čačić
Vedran Čačić added the comment: Well, bit_sum is what it really is. But I agree it's a terrible name. :-) -- nosy: +veky ___ Python tracker ___

[issue17490] Improve ast.literal_eval test suite coverage

2020-06-28 Thread Nick Coghlan
Nick Coghlan added the comment: Belatedly removing the issue assignment here, as I'm not actively working on this. I've also marked this as an easy newcomer friendly task, as all that's involved is taking the `test_ast.py` changes from

[issue41147] Document that redirect_std{out, err} yield the new stream as the context variable

2020-06-28 Thread Peter Law
Change by Peter Law : -- keywords: +patch pull_requests: +20352 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21199 ___ Python tracker ___

[issue37706] IDLE: fix sidebar click-drag bug and macOS test failures

2020-06-28 Thread Tal Einat
Tal Einat added the comment: I had been running the GUI tests, apparently until the change Ned mentioned whereby they are only run on framework builds of Python. With Ned's help, I've finally managed to create a framework build on macOS where the GUI tests run properly. Indeed, running

[issue41147] Document that redirect_std{out, err} yield the new stream as the context variable

2020-06-28 Thread Peter Law
New submission from Peter Law : In `contextlib`, `_RedirectStream` (the class behind `redirect_stdout` and `redirect_stderr`) returns the current stream target as its context variable, which allows code like this: ``` python with redirect_stdout(io.StringIO()) as buffer: do_stuff()

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-28 Thread Ravi Teja P
Ravi Teja P added the comment: Hi My CLA has been approved. Can someone review the PR. -- ___ Python tracker ___ ___

[issue41138] trace CLI reads source files using the locale encoding

2020-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +20354 pull_request: https://github.com/python/cpython/pull/21200 ___ Python tracker ___

[issue41068] zipfile: read after write fails for non-ascii files

2020-06-28 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41058] pdb reads source files using the locale encoding

2020-06-28 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37706] IDLE: fix sidebar click-drag bug and macOS test failures

2020-06-28 Thread Tal Einat
Tal Einat added the comment: While we're on the topic, it seems wise to have our macOS buildbot workers create proper framework builds and run the GUI tests, if possible. We should also try to get a macOS 10.15 ("Catalina") machine into our buildbot fleet. Perhaps there's a company with

[issue37706] IDLE: fix sidebar click-drag bug and macOS test failures

2020-06-28 Thread Ned Deily
Ned Deily added the comment: Running the GUI test on macOS buildbots is not straightforward, AFAIK. We'd need to have either the console logged in to the username that the tests are running under or, better, the buildbot would need to run in a virtual machine. We have had a chronic shortage

[issue41138] trace CLI reads source files using the locale encoding

2020-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset cb53b8ce9c8660465b816f4d577720305b1283fa by Serhiy Storchaka in branch '3.8': [3.8] bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) (GH-21200) https://github.com/python/cpython/commit/cb53b8ce9c8660465b816f4d577720305b1283fa

[issue17490] Improve ast.literal_eval test suite coverage

2020-06-28 Thread Rahul Jha
Rahul Jha added the comment: Nick, hello! I'd like to take it onwards from here. -- nosy: +RJ722 ___ Python tracker ___ ___

[issue17490] Improve ast.literal_eval test suite coverage

2020-06-28 Thread Rahul Jha
Rahul Jha added the comment: Some of the test cases from Nick's patch are not passing on master: ast.literal_eval('') # raises SyntaxError; expected: ValueError ast.literal_eval('6j--3') # expected: 3+6j ast.literal_eval('(2j+4j)+(1+2)') # expected: 3+6j

[issue41146] Convert signal.default_int_handler() to Argument Clinic

2020-06-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : It adds a signature to signal.default_int_handler(). -- components: Argument Clinic, Extension Modules messages: 372511 nosy: larry, serhiy.storchaka priority: normal severity: normal status: open title: Convert signal.default_int_handler() to

[issue41146] Convert signal.default_int_handler() to Argument Clinic

2020-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20351 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21197 ___ Python tracker

[issue23325] Turn SIG_DFL and SIG_IGN into functions

2020-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41138] trace CLI reads source files using the locale encoding

2020-06-28 Thread miss-islington
miss-islington added the comment: New changeset d1e05e78a3995fd7e5a79c5c6e4c8160aa48af22 by Miss Islington (bot) in branch '3.9': bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) https://github.com/python/cpython/commit/d1e05e78a3995fd7e5a79c5c6e4c8160aa48af22 --

[issue33553] Documentation improvement proposal for multiprocessing

2020-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-28 Thread Gustavo J. A. M. Carneiro
Change by Gustavo J. A. M. Carneiro : -- nosy: +gustavo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41145] EmailMessage.as_string is altering the message state and actually fix bugs

2020-06-28 Thread Guillaume Gauvrit
New submission from Guillaume Gauvrit : I am currently refactoring code and use the EmailMessage api to build message. I encountered weird behavior while building an email. The `as_string()` method is fixing the `make_alternative` method. So, to me their is two bug here: a `as_string` method

[issue41142] msilib.CAB doesnot support non-ASCII files

2020-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20349 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21195 ___ Python tracker

[issue41138] trace CLI reads source files using the locale encoding

2020-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 04cdeb7a5617c48102f45b965e683b12cdf934f8 by Serhiy Storchaka in branch 'master': bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) https://github.com/python/cpython/commit/04cdeb7a5617c48102f45b965e683b12cdf934f8 --

[issue41138] trace CLI reads source files using the locale encoding

2020-06-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +20350 pull_request: https://github.com/python/cpython/pull/21196 ___ Python tracker

[issue19335] codeop misclassifies incomplete code with 'nonlocal'

2020-06-28 Thread Rahul Jha
Change by Rahul Jha : -- nosy: +RJ722 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41152] IDLE: revise setting of iomenu.encoding and .errors

2020-06-28 Thread Terry J. Reedy
New submission from Terry J. Reedy : When testing and on Windows, iomenu.encoding and .errors are set to utf-8 and surrogateescape*. When running otherwise, these are set with baroque code I don't understand. (Currently lines 31 to 61.) 1. Combine the two conditional statements for testing

[issue41152] IDLE: revise setting of iomenu.encoding and .errors

2020-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it makes sense if we want to use the locale encoding for IO streams. But on other hand, it may be worth to drop support of locale-depending and configurable IO encoding and always use UTF-8. It is the IO encoding always used on Windows and the

[issue19335] codeop misclassifies incomplete code with 'nonlocal'

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo and Lysandros: this issue is about a corner-case bug in either compile(,,'single') or its use by REPL and codeop._maybe_compile (comc). What do either of you think? Can the new parser handle it better? Should we just add the hack suggested by Nick

[issue41149] Threads can fail to start

2020-06-28 Thread Barney Stratford
New submission from Barney Stratford : >>> import threading >>> class foo (object): ... def __bool__ (self): ... return False ... def __call__ (self): ... print ("Running") ... >>> threading.Thread (target = foo ()).start () The expected result of these commands would

[issue19335] codeop misclassifies incomplete code with 'nonlocal'

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Note: Recently in #40807, Cheryl and I patched codeop._maybecompile to only emits warnings once in a given call. I don't know if 3 calls (2 '\n' additions) to compile are really needed today. The logic that handles the results is not clear to me either.

[issue41150] pipes uses text files and the locale encodig

2020-06-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The pipes module was designed as a Python interface to Unix shell pipelines. In Python 2 it works with binary streams (on Unix). But in Python 3 it opens all files and pipes in text mode with the locale encoding. It makes it unapplicable for processing

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +pipes uses text files and the locale encodig ___ Python tracker ___ ___

[issue37706] IDLE: fix sidebar click-drag bug and macOS test failures

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The htests are for manual testing and they include one for sidebar, with instructions to click and drag. We just need to remember to run them occasionally on the various systems. -- ___ Python tracker

[issue41151] Support for new Windows pseudoterminals in the subprocess module

2020-06-28 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41148] IDLE uses the locale encoding for config files

2020-06-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : IDLE uses the locale encoding for reading and writing config files. Default config files are ASCII-only, but if user config files contain non-ASCII data, it makes them non-portable and depending on the environment of IDLE. Could they contain file paths?

[issue41151] Support for new Windows pseudoterminals in the subprocess module

2020-06-28 Thread Nathaniel Smith
New submission from Nathaniel Smith : So Windows finally has pty support: https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/ However, the API is a bit weird. Unlike Unix, when you create a Windows pty, there's no way to directly get

[issue41148] IDLE uses the locale encoding for config files

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I opened # 41152 to revise the iomenu code setting encoding and errors. The encoding is always 'utf-8' when testing and running on Windows and, I believe, macOS. So that and this issues are about finding and using locale on *nix, and would require testing

[issue40874] Update to libmpdec-2.5.0

2020-06-28 Thread Stefan Krah
Change by Stefan Krah : -- pull_requests: +20355 pull_request: https://github.com/python/cpython/pull/21202 ___ Python tracker ___

[issue41149] Threads can fail to start

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

[issue40874] Update to libmpdec-2.5.0

2020-06-28 Thread Stefan Krah
Stefan Krah added the comment: New changeset 8bea91b5e9ea07ca93958e131b436024f0b1b1cf by Stefan Krah in branch 'master': bpo-40874 Update the required libmpdec version for the decimal module (GH-21202) https://github.com/python/cpython/commit/8bea91b5e9ea07ca93958e131b436024f0b1b1cf

[issue40874] Update to libmpdec-2.5.0

2020-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +20357 pull_request: https://github.com/python/cpython/pull/21203 ___ Python tracker ___

[issue41136] argparse uses default encoding when read arguments from file

2020-06-28 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41153] [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given opposite documentation.

2020-06-28 Thread William Pickard
New submission from William Pickard : The initconfig API functions "PyPreConfig_InitPythonConfig" and "PyPreConfig_InitIsolatedConfig" are mistakenly documented for the other method. -- assignee: docs@python components: Documentation messages: 372531 nosy: WildCard65, docs@python

[issue41153] [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given the opposite's documentation.

2020-06-28 Thread William Pickard
Change by William Pickard : -- title: [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given opposite documentation. -> [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given the opposite's documentation.

[issue40874] Update to libmpdec-2.5.0

2020-06-28 Thread Stefan Krah
Stefan Krah added the comment: New changeset 119de0eba839993cf6a909dba5d60202ad5566d6 by Miss Islington (bot) in branch '3.9': bpo-40874 Update the required libmpdec version for the decimal module (GH-21202) https://github.com/python/cpython/commit/119de0eba839993cf6a909dba5d60202ad5566d6

[issue41148] IDLE uses the locale encoding for config files

2020-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: After writing the above, I discovered that IDLE *itself* does not use any particular encoding for config files. Its configparser.Configparser subclasses load function calls .read(filename), which in turn calls open(filename, encoding=None), which calls