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

2020-06-27 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-27 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

[issue41144] IDLE: raises ImportError when opening special modules

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

[issue29882] Add an efficient popcount method for integers

2020-06-27 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 ___

[issue31082] reduce takes iterable, not just sequence

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

[issue31082] reduce takes iterable, not just sequence

2020-06-27 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 -

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-27 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 -- __

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-27 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-27 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-27 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-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +20348 pull_request: https://github.com/python/cpython/pull/21194 ___ Python tracker ___ __

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-27 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20346 pull_request: https://github.com/python/cpython/pull/21192 ___ Python tracker ___ _

[issue31590] CSV module incorrectly treats escaped newlines as new records if unquoted

2020-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, the status quo won ;-). Sebastian, if you think a doc fix is still needed for current versions, please open a new issue with a specific suggestion and explanation for changing the 3.9 doc. -- resolution: -> wont fix stage: -> resolved status

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem is that there is no file os/path.py. When I try to load os.path, nothing happens, not even a "Module not found" message, as with idlelib.rrr, for instance. If I try 'os.pathx', I get "Error: __path__ attribute not found on 'os' while trying to

[issue38870] Expose ast.unparse in the ast module

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6e3a246a019a356e1befcdfd3d54a52cb7b5 by Pablo Galindo in branch '3.9': [3.9] bpo-38870: Extend subject of ast.unparse warnings (GH-21053) (GH-21191) https://github.com/python/cpython/commit/6e3a246a019a356e1befcdfd3d54a52cb7b5 -

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-27 Thread Inada Naoki
Inada Naoki added the comment: APIs have /* Py_DEPRECATED(3.3) */ * PyUnicode_EncodeDecimal It is used in PyLong_FromUnicode. Deprecate in 3.10 and remove in 3.12 * PyUnicode_TransformDecimalToASCII While PEP 393 deprecate this too, its document doesn't has ``deprecated``. Deprecate in

[issue38870] Expose ast.unparse in the ast module

2020-06-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +20345 pull_request: https://github.com/python/cpython/pull/21191 ___ Python tracker ___ ___

[issue38870] Expose ast.unparse in the ast module

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8df1016e2ef8c0a9f4d15bf7894c284295c99d9f by Batuhan Taskaya in branch 'master': bpo-38870: Extend subject of ast.unparse warnings (GH-21053) https://github.com/python/cpython/commit/8df1016e2ef8c0a9f4d15bf7894c284295c99d9f -- _

[issue39151] Simplify the deep-first-search of the assembler

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 60eb9f1ab59a59ddf81d3da3513cfa3251169b5c by Pablo Galindo in branch 'master': bpo-39151: Simplify DFS in the assembler (GH-17733) https://github.com/python/cpython/commit/60eb9f1ab59a59ddf81d3da3513cfa3251169b5c --

[issue39151] Simplify the deep-first-search of the assembler

2020-06-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35975] Put back the ability to parse files where async/await aren't keywords

2020-06-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset e653369e76d7da6bcbcf1f09a141f47fb77df6c3 by Guido van Rossum in branch '3.8': [3.8] bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21023) https://github.com/python/cpython/commit/e653369e76d7da6bcbcf1f09a141f47fb77df6c3

[issue35975] Put back the ability to parse files where async/await aren't keywords

2020-06-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 2a1ee1d970460047bd88da9638f8c1789431d9ab by Guido van Rossum in branch '3.9': [3.9] bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21022) https://github.com/python/cpython/commit/2a1ee1d970460047bd88da9638f8c1789431d9ab

[issue35975] Put back the ability to parse files where async/await aren't keywords

2020-06-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 9d197c7d48147a9ea2f7f7be917f35514a16524b by Guido van Rossum in branch 'master': bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021) https://github.com/python/cpython/commit/9d197c7d48147a9ea2f7f7be917f35514a16524b -

[issue41076] Pre-feed the parser with the f-string expression location

2020-06-27 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-27 Thread Kyle Stanley
Kyle Stanley added the comment: > With beta 4 coming in 2 days it would perhaps good to choose now whether this > must be done for 3.9 or 3.10 Agreed. I'm definitely leaning towards 3.10 with it being decently well into the beta, but I'll try to bring this to Yury's attention to make a final

[issue41076] Pre-feed the parser with the f-string expression location

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset dab533d0ee067159812d4ea51f6fbbb1bd37d8b7 by Pablo Galindo in branch '3.9': [3.9] bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) (GH-21190) https://github.com/python/cpython/commit/dab533d0ee067159812d4ea5

[issue41076] Pre-feed the parser with the f-string expression location

2020-06-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +20344 pull_request: https://github.com/python/cpython/pull/21190 ___ Python tracker ___ ___

[issue41076] Pre-feed the parser with the f-string expression location

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1f0f4abb110b9fbade6175842b6a26ab0b8df6dd by Lysandros Nikolaou in branch 'master': bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) https://github.com/python/cpython/commit/1f0f4abb110b9fbade6175842b6a26ab0b

[issue41131] Augment random.choices() with the alias method

2020-06-27 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49270/choices_proposal.py ___ Python tracker ___ ___ Python-bugs-list

[issue41131] Augment random.choices() with the alias method

2020-06-27 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49267/choices_proposal.py ___ Python tracker ___ ___ Python-bugs-lis

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 102ca529ef5d45b9ef70a341705ddf2577914135 by Pablo Galindo in branch '3.9': [3.9] bpo-40769: Allow extra surrounding parentheses for invalid annotated assignment rule (GH-20387) (GH-21186) https://github.com/python/cpython/commit/102ca529

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-06-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

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

2020-06-27 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 15.0 -> 16.0 pull_requests: +20343 pull_request: https://github.com/python/cpython/pull/21189 ___ Python tracker __

[issue31590] CSV module incorrectly treats escaped newlines as new records if unquoted

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

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-27 Thread miss-islington
miss-islington added the comment: New changeset cb0dc52d37a5cc561ad39bc034afe7db9c461768 by Miss Islington (bot) in branch '3.9': bpo-41084: Adjust message when an f-string expression causes a SyntaxError (GH-21084) https://github.com/python/cpython/commit/cb0dc52d37a5cc561ad39bc034afe7db9c4

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20342 pull_request: https://github.com/python/cpython/pull/21188 ___ Python tracker _

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-27 Thread Eric V. Smith
Eric V. Smith added the comment: AFAIK, we don't guarantee the stability of error messages, so I think backporting is fine. It's all the better that this is just prefixing something to an existing error message. -- ___ Python tracker

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread miss-islington
miss-islington added the comment: New changeset 749d3bc04177ff9e2ddfd58d919b84cb4f6cf894 by Lysandros Nikolaou in branch '3.8': [3.8] bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) (GH-21184) https://github.com/python/cpython/commit/749d3bc04177ff9e2ddfd58d919b84cb4f6cf8

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-06-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +20341 pull_request: https://github.com/python/cpython/pull/21186 ___ Python tracker ___ ___

[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-27 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: With beta 4 coming in 2 days it would perhaps good to choose now whether this must be done for 3.9 or 3.10 -- ___ Python tracker ___ __

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread miss-islington
miss-islington added the comment: New changeset 5193d0a665eb0944faae9fb20e2062cea0dc02e7 by Lysandros Nikolaou in branch '3.9': [3.9] bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) (GH-21183) https://github.com/python/cpython/commit/5193d0a665eb0944faae9fb20e2062cea0dc02

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c8f29ad986f8274fc5fbf889bdd2a211878856b9 by Batuhan Taskaya in branch 'master': bpo-40769: Allow extra surrounding parentheses for invalid annotated assignment rule (GH-20387) https://github.com/python/cpython/commit/c8f29ad986f8274fc5fb

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I would say yes unless someone sees an obvious impediment -- ___ Python tracker ___ ___ Py

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +20340 pull_request: https://github.com/python/cpython/pull/21184 ___ Python tracker ___ __

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +20339 pull_request: https://github.com/python/cpython/pull/21183 ___ Python tracker ___ __

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-27 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Should we maybe backport this to 3.9 as well? -- ___ Python tracker ___ ___ Python-bugs-list

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6dcbc2422de9e2a7ff89a4689572d84001e230b2 by Lysandros Nikolaou in branch 'master': bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) https://github.com/python/cpython/commit/6dcbc2422de9e2a7ff89a4689572d84001e230b2 ---

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-27 Thread E. Paine
Change by E. Paine : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___ __

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-27 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +20338 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21182 ___ Python tracker ___ ___

[issue41144] IDLE: raises ImportError when opening special modules

2020-06-27 Thread E. Paine
New submission from E. Paine : When opening special modules (such as os.path) through the "Open Module" dialog, an ImportError is raised. The fix is to catch this error and retry the loader call without the "name" argument (hence opening the true file). -- messages: 372469 nosy: epain

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-27 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +20337 pull_request: https://github.com/python/cpython/pull/21181 ___ Python tracker ___ _

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-27 Thread Inada Naoki
Inada Naoki added the comment: > a) Can we replace 4.0 with 3.10 and remove them in 3.10? > b) Or should we replace 4.0 with 3.11 and wait one more year? I chose this because they are deprecated since 3.3, and Py_DEPRECATED is used since 3.6. -- _

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

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +distutils uses the locale encoding for the .pypirc file ___ Python tracker ___ ___ Py

[issue41143] distutils uses the locale encoding for the .pypirc file

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : I have not found any mention about the encoding of .pypirc files. Currently distutils uses the locale encoding for reading and writing them. It makes them potentially nonportable if they contain non-ASCII data (not sure if it is possible) and depending o

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

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There are several problems with _msi.FCICreate() used to create the CAB file. It encodes the CAB names and added file names to UTF-8 and then use them as encoded with the local encoding. So you cannot create a CAB file in a directory with non-ASCII name

[issue41141] remove unneeded handling of '.' and '..' from patlib.Path.iterdir()

2020-06-27 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +20336 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21179 ___ Python tracker ___

[issue41141] remove unneeded handling of '.' and '..' from patlib.Path.iterdir()

2020-06-27 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : Currently patlib.Path.iterdir() filters out '.' and '..'. It's unneeded since patlib.Path.iterdir() uses os.listdir() under the hood, which returns neither '.' nor '..'. https://docs.python.org/3/library/os.html#os.listdir -- components: Library (

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Eric V. Smith
Eric V. Smith added the comment: I think backporting to 3.8 would be okay. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +cgi uses the locale encoding for log files, cgitb uses the locale encoding for log files ___ Python tracker ___

[issue41140] cgitb uses the locale encoding for log files

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : If logdir is not None the exception handler in cgitb tries to save the description of an error in that directory using the locale encoding. It will fail if the description contains non-encodable characters. We should either use corresponding error handle

[issue41139] cgi uses the locale encoding for log files

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The cgi module provides undocumented feasibility for logging. cgi.log() formats log message and appends it to the log file with name specified by cgi.logfile if it was not empty before the first use of cgi.log(). One of problems is that it uses the local

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

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +trace CLI reads source files using the locale encoding ___ Python tracker ___ ___ Pyt

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

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

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

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The command line interface of the trace module reads source files using the locale encoding. The following file fixes this by reading a file in binary mode (compile() detects the encoding). It fixes also a resource warning when save counts to a file. -

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-27 Thread Inada Naoki
Inada Naoki added the comment: New changeset 20a79021753ab26a5989e6d3397160e52973870e by Inada Naoki in branch 'master': bpo-41123: Remove Py_UNICODE_str* functions (GH-21164) https://github.com/python/cpython/commit/20a79021753ab26a5989e6d3397160e52973870e -- _

[issue41137] pdb uses the locale encoding for .pdbrc

2020-06-27 Thread Inada Naoki
Inada Naoki added the comment: +1 for UTF-8 always. -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41100] Build failure on macOS 11 (beta)

2020-06-27 Thread miss-islington
miss-islington added the comment: New changeset 027bba2eada175358a7f34cad155b25e1b805082 by Miss Islington (bot) in branch '3.8': bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) https://github.com/python/cpython/commit/027bba2eada175358a7f34cad155b25e1b805082 --

[issue41100] Build failure on macOS 11 (beta)

2020-06-27 Thread miss-islington
miss-islington added the comment: New changeset 1a0c581a94892fbd8fa70905130776ef7a059d97 by Miss Islington (bot) in branch '3.9': bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) https://github.com/python/cpython/commit/1a0c581a94892fbd8fa70905130776ef7a059d97 --

[issue41100] Build failure on macOS 11 (beta)

2020-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +20333 pull_request: https://github.com/python/cpython/pull/21175 ___ Python tracker ___ __

[issue41100] Build failure on macOS 11 (beta)

2020-06-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +20334 pull_request: https://github.com/python/cpython/pull/21176 ___ Python tracker ___ __

[issue41100] Build failure on macOS 11 (beta)

2020-06-27 Thread Ned Deily
Ned Deily added the comment: New changeset 2f168c6356f92c38ae7751d2faf2b266a9356229 by Ned Deily in branch 'master': bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) https://github.com/python/cpython/commit/2f168c6356f92c38ae7751d2faf2b266a9356229 -- _

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

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +pdb uses the locale encoding for .pdbrc ___ Python tracker ___ ___ Python-bugs-list m

[issue41100] Build failure on macOS 11 (beta)

2020-06-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +20332 pull_request: https://github.com/python/cpython/pull/21174 ___ Python tracker ___ ___

[issue41131] Augment random.choices() with the alias method

2020-06-27 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49268/choices_binomial.py ___ Python tracker ___ ___ Python-bugs-lis

[issue41131] Augment random.choices() with the alias method

2020-06-27 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49269/choices_binomial.py ___ Python tracker ___ ___ Python-bugs-list

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Ok, I've opened a PR. Should be backport this to previous versions as well? -- ___ Python tracker ___ ___

[issue41132] F-String parser uses raw allocator

2020-06-27 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +20331 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21173 ___ Python tracker _

[issue41137] pdb uses the locale encoding for .pdbrc

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : pdb uses the locale encoding when read the .pdbrc file. It means that the current locale of the debugged program affects it. It also makes .pdbrc not portable between different platforms. It is usually not an issue, because the .pdbrc file usually contai

[issue41129] Python extension modules fail to build on Mac 10.15.1 (Catalina)

2020-06-27 Thread Ned Deily
Ned Deily added the comment: To be honest, I've never seen a failure quite like that before so thanks for that! A couple of observations: you appear to be using an old version of Xcode (11.0.0) that may not be fully supported on 10.15.x. So I would try upgrading to the latest released Xcode

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

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +argparse uses default encoding when read arguments from file ___ Python tracker ___ _

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

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The fromfile_prefix_chars option allows you to read arguments from file. But open() without explicit encoding is used for this. Therefore the result is depending on the current locale or the PYTHONIOENCODING environment variable. On Linux this is rare a