[issue38307] Provide Class' end line in pyclbr module

2021-01-26 Thread Aviral
Change by Aviral : -- pull_requests: +23168 pull_request: https://github.com/python/cpython/pull/24348 ___ Python tracker ___ ___

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I hope this is not your last contribution. Another hint: if one uses issue 12643 or #12643, then the tracker makes the link -- and strikes it out if closed. -- ___ Python tracker

[issue41459] pickle.load raises SystemError on malformed input

2021-01-26 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43030] signed/unsigned mismatch in Py_UNICODE_ISSPACE macro

2021-01-26 Thread Inada Naoki
Inada Naoki added the comment: Just replacing "128U" with "128" enough? Will `ch < 128` emit warning on platforms wchar_t is unsigned? -- ___ Python tracker ___

[issue43034] Python tutorial misleads users about floor division behavior

2021-01-26 Thread Jesse Silverman
New submission from Jesse Silverman : I had never worked thru the Python tutorial, it's kind of awesome. I noticed multiple independent presenters incorrectly describe the behavior of floor division when the signs of the operands don't match. Not just sloppy ones, some who are usually

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread Ken Hilton
Ken Hilton added the comment: Oops, gotcha. Thanks for doing the tests. I'm a Python contributor! :D -- ___ Python tracker ___ ___

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ken, for next time -- there is a separate News category for IDLE. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread miss-islington
miss-islington added the comment: New changeset 6f0346d09f78180886982e070cc92425ada96144 by Miss Islington (bot) in branch '3.8': bpo-43008: Make IDLE respect sys.excepthook (GH-24302) https://github.com/python/cpython/commit/6f0346d09f78180886982e070cc92425ada96144 --

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread miss-islington
miss-islington added the comment: New changeset 68102fb9987338a70d69a0162917866e5710458d by Miss Islington (bot) in branch '3.9': bpo-43008: Make IDLE respect sys.excepthook (GH-24302) https://github.com/python/cpython/commit/68102fb9987338a70d69a0162917866e5710458d --

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +23167 pull_request: https://github.com/python/cpython/pull/24347 ___ Python tracker ___

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +23166 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/24346 ___ Python tracker

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7a34380ad76f5ad50d4175ceb2d5715b8cff by Ken in branch 'master': bpo-43008: Make IDLE respect sys.excepthook (GH-24302) https://github.com/python/cpython/commit/7a34380ad76f5ad50d4175ceb2d5715b8cff --

[issue42606] Support POSIX atomicity guarantee of O_APPEND on Windows

2021-01-26 Thread Eryk Sun
Eryk Sun added the comment: > So the idea is to delete the file for a brief period, but then > undelete it. Currently NTFS defaults to using classic delete semantics for delete-on-close. However, it supports POSIX delete semantics for delete-on-close, so the default could change in a

[issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

2021-01-26 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +23165 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24345 ___ Python tracker ___

[issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

2021-01-26 Thread Zackery Spytz
New submission from Zackery Spytz : There is a PyObject_SetAttrString() call in zoneinfo_init_subclass() which is not checked for failure. This could lead to serious bugs if an exception occurs in PyObject_SetAttrString(). -- components: Extension Modules messages: 385739 nosy:

[issue38250] enum.Flag should be more set-like

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: PPC64LE Fedora Rawhide Clang Installed 3.x is back to green, thanks for the fix ;-) https://buildbot.python.org/all/#/builders/312/builds/600 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue3353] make built-in tokenizer available via Python C API

2021-01-26 Thread Anthony Sottile
Anthony Sottile added the comment: Serhiy Storchaka is this still blocked? it's been a few years on either this or the linked issue and I'm reaching for this one :) -- nosy: +Anthony Sottile ___ Python tracker

[issue38250] enum.Flag should be more set-like

2021-01-26 Thread Ethan Furman
Ethan Furman added the comment: New changeset 01faf4542a8652adfbd3b3f897ba718e8ce43f5e by Ethan Furman in branch 'master': bpo-38250: [Enum] only include .rst test if file available (GH-24342) https://github.com/python/cpython/commit/01faf4542a8652adfbd3b3f897ba718e8ce43f5e --

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread Tadek Kijkowski
Tadek Kijkowski added the comment: Paul, > The basic logic of argparse is to accept optionals in any order, and > positionals in strict positional order. 'nargs' allows us to pair any number > of strings with each optional's flag. I started this issue because that was insufficient for my

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread Glenn Linderman
Glenn Linderman added the comment: Paul said: I haven't had a chance to study your longer posts, but it seems to me that the AddFruitAction example could just as well be implemented with parser.add_argument('--color', nargs='*', action='append') with post parsing processing to create

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread Glenn Linderman
Glenn Linderman added the comment: This sounds very good to me. Might also want action='store_capture' for a single positional definition? capture could be a string, or any iterable of strings (tuple comes to mind) capture_once have similar value as capture, but I wonder if the naming

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a178473dd6a3b527a67ab3f9dc38ef8b1a60881a by Terry Jan Reedy in branch '3.8': [3.8] bpo-41841: Prepare IDLE NEWS for 3.8.8 (GH-24344) https://github.com/python/cpython/commit/a178473dd6a3b527a67ab3f9dc38ef8b1a60881a --

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset fd668bc62b7f6de95448344b6650e1c3c2a997fa by Terry Jan Reedy in branch '3.9': [3.9] bpo-41841: Prepare IDLE NEWS for 3.9.2 (#GH-4343) https://github.com/python/cpython/commit/fd668bc62b7f6de95448344b6650e1c3c2a997fa --

[issue42825] Build libraries with "/OPT:REF" linker optimization on Windows

2021-01-26 Thread Austin Lamb
Austin Lamb added the comment: I don't know much about how ctypes exposes stuff - are these exposed as DLL exports? Or if not, how do they get exposed? The linker will remove things it can't find a callsite for, but it leaves in exported functions as of course those are by definition

[issue42997] Improve error message for missing : before suites

2021-01-26 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: > Yeah, but the cut is "absolute" (because of the syntax Error). IIRC the > normal cut only affects that rule, no? Right. -- ___ Python tracker

[issue43024] improve signature (in help, etc) for functions taking sentinel defaults

2021-01-26 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +ZackerySpytz, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23163 pull_request: https://github.com/python/cpython/pull/24344 ___ Python tracker ___

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23162 pull_request: https://github.com/python/cpython/pull/24343 ___ Python tracker ___

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread paul j3
paul j3 added the comment: I haven't had a chance to study your longer posts, but it seems to me that the AddFruitAction example could just as well be implemented with parser.add_argument('--color', nargs='*', action='append') with post parsing processing to create the 'fruits' dicts

[issue42948] bytearray.copy is undocumented

2021-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42997] Improve error message for missing : before suites

2021-01-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > It's basically a positive lookahead with a cut, but the extra feature that it > raises a SyntaxError, right? Yeah, but the cut is "absolute" (because of the syntax Error). IIRC the normal cut only affects that rule, no? --

[issue42997] Improve error message for missing : before suites

2021-01-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > See also issue1634034. The problem with issue1634034 is that is not anymore possible without manual changes to the grammar with the PEG parser (or new infrastructure). The new parser does not have a defined concept of "i expected this token and now

[issue38250] enum.Flag should be more set-like

2021-01-26 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +23161 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/24342 ___ Python tracker ___

[issue43031] aarch64 RHEL7 LTO + PGO 3.7: "make" hangs when running test_asyncio

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: I created https://github.com/python/buildmaster-config/pull/228 to skip PGO builds on Python 3.7, since test_asyncio hangs on PGO builds. -- ___ Python tracker

[issue42384] Inconsistent sys.path between python and pdb

2021-01-26 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42383] Pdb does not correclty restart the target if it changes the current directory

2021-01-26 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42383] Pdb does not correclty restart the target if it changes the current directory

2021-01-26 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset d863deeff27f00ac33e9f169d23ca56d69af3f86 by Andrey Bienkowski in branch '3.8': [3.8] bpo-42383: pdb: do not fail to restart the target if the current directory changed (GH-23412) (#24323)

[issue42383] Pdb does not correclty restart the target if it changes the current directory

2021-01-26 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset f8cfe54e5a7082edcec74a34b3d7e6afab051afd by Andrey Bienkowski in branch '3.9': [3.9] bpo-42383: pdb: do not fail to restart the target if the current directory changed (GH-23412) (#24322)

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread Ken Jin
Ken Jin added the comment: @Serhiy, While this approach solves the getfile problem, I don't think this will solve the other problem of pydoc leaking secrets stored in python files: Quoting from Marc-Andre Lemburg's message: > the tool also makes available all Python modules which can be

[issue42997] Improve error message for missing : before suites

2021-01-26 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I propose to go with the first approach. I really like that and I can see us using it in various place in the future. It's basically a positive lookahead with a cut, but the extra feature that it raises a SyntaxError, right? I'll have a look at the PR

[issue43008] IDLE ignores sys.excepthook in normal, subprocess mode

2021-01-26 Thread Ken Hilton
Ken Hilton added the comment: CLA registers as signed now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42775] __init_subclass__ should be called in __init__

2021-01-26 Thread Carlton Gibson
Change by Carlton Gibson : -- nosy: +carltongibson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-01-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: see PR 24341. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-01-26 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +23160 pull_request: https://github.com/python/cpython/pull/24341 ___ Python tracker ___

[issue40692] Adjust test_concurrent_futures to run more of its tests if multiprocessing.synchronize is missing

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: Is there any update on this issue? If not, I suggest to close it. It doesn't seem to consider enough people and nobody seems to want to implement it. See also: https://github.com/python/buildmaster-config/issues/203 --

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -23159 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43031] aarch64 RHEL7 LTO + PGO 3.7: "make" hangs when running test_asyncio

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7 no longer accept bugfixes, only security fixes: https://devguide.python.org/#status-of-python-branches Maybe we should just remove this PGO worker (but keep other Python 3.7 workers). -- ___ Python

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23159 pull_request: https://github.com/python/cpython/pull/24339 ___ Python tracker ___

[issue43031] aarch64 RHEL7 LTO + PGO 3.7: "make" hangs when running test_asyncio

2021-01-26 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +23158 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24339 ___ Python tracker ___

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-01-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: I will create a PR later today, I've already committed the work in a branch of my clone of cpython. -- ___ Python tracker ___

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -23157 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23157 pull_request: https://github.com/python/cpython/pull/24339 ___ Python tracker ___

[issue43032] Size of pie chart in matplotlib (frame affects it)

2021-01-26 Thread Mark Dickinson
Mark Dickinson added the comment: Wrong tracker, I'm afraid. This tracker is for the Python core language. Try https://github.com/matplotlib/matplotlib/issues -- nosy: +mark.dickinson resolution: -> third party stage: -> resolved status: open -> closed

[issue43032] Size of pie chart in matplotlib (frame affects it)

2021-01-26 Thread Robert
New submission from Robert : Hi all. Is it an issue or on purpose that enabling and disabling the frame in plt.pie() results in different sized pie charts? In my opinion the code below should provide identical sized charts. If it is on purpose, can you give me a reference? I am using the

[issue43031] aarch64 RHEL7 LTO + PGO 3.7: "make" hangs when running test_asyncio

2021-01-26 Thread STINNER Victor
New submission from STINNER Victor : test_asyncio hangs randomly on Python 3.7 on aarch64 RHEL7 LTO + PGO 3.7. The symptom is a failed build failing with: retry lost connection compile (retry) Full error: remoteFailed: [Failure instance: Traceback (failure with no frames): :

[issue43030] signed/unsigned mismatch in Py_UNICODE_ISSPACE macro

2021-01-26 Thread Matthias Klose
Matthias Klose added the comment: # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 1 3 4 # 321 "/usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h" 3 4 typedef int wchar_t; # 32 "/usr/include/stdlib.h" 2 3 4 [...] # 1

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 24337 uses different approach. It keeps compatibility, but checks that the argument is a file path of the source of one of modules (using the same algorithm as /search). -- ___ Python tracker

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Mark Dickinson
Mark Dickinson added the comment: [Serhiy] > Just making the parser [...] recognizing "i" as well as "j" as complex number > suffix. Okay, thanks. I doubt that that will be enough to silence the repeated requests: people are still going to complain that the value that was entered as `1i`

[issue42988] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-01-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +23156 pull_request: https://github.com/python/cpython/pull/24337 ___ Python tracker ___

[issue43030] signed/unsigned mismatch in Py_UNICODE_ISSPACE macro

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: > ‘Py_UNICODE’ {aka ‘int’} Python defines Py_UNICODE as wchar_t: typedef wchar_t Py_UNICODE; Is wchar_t signed (int type) on Debian? Which is your architecture? > [forwarded from https://bugs.debian.org/961396] It says amd64. -- nosy: +methane,

[issue43030] signed/unsigned mismatch in Py_UNICODE_ISSPACE macro

2021-01-26 Thread Matthias Klose
New submission from Matthias Klose : [forwarded from https://bugs.debian.org/961396] $ cat > foo.c #include int main(int argc, char *argv[]) { Py_UNICODE x = 0; return Py_UNICODE_ISSPACE(x); } $ gcc -Wsign-compare -Werror $(pkg-config --cflags python3) foo.c In file included

[issue42606] Support POSIX atomicity guarantee of O_APPEND on Windows

2021-01-26 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > I think truncation via TRUNCATE_EXISTING (O_TRUNC, with O_WRONLY or O_RDWR) > or overwriting with CREATE_ALWAYS (O_CREAT | O_TRUNC) is at least tolerable > because the caller doesn't care about the existing data. Yes, I had a thought that creating or

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Just making the parser (and the complex constructor) recognizing "i" as well as "j" as complex number suffix. Others already proposed more complex changes like adding options for formatting complex numbers, but I did not though about it. It is just a

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Mark Dickinson
Mark Dickinson added the comment: Serhiy: what *specific* proposal were you considering? If your proposal includes changing the complex str/repr to use "i" instead of "j", how do you propose to address the backwards compatibility problem? -- ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-26 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-26 Thread Mark Shannon
Mark Shannon added the comment: New changeset dea5bf9d15999bfcc58095b157c0678d45b00bdd by Irit Katriel in branch 'master': bpo-33387: update documentation for exception handling opcode changes (GH-24334) https://github.com/python/cpython/commit/dea5bf9d15999bfcc58095b157c0678d45b00bdd

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Only yesterday I thought about proposing this idea. I used to think using "i" or "j" was a type of local feature, like using a comma or a period as a decimal separator, or different writing for less-or-equal, but it looks like even in the English-speaking

[issue12734] Request for property support in Python re lib

2021-01-26 Thread John Mark Vandenberg
Change by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43029] unittest: Add assertUniqeIn

2021-01-26 Thread Denis Roussel
Change by Denis Roussel : -- keywords: +patch pull_requests: +23154 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24336 ___ Python tracker ___

[issue38250] enum.Flag should be more set-like

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: test_enum fails when Python is installed: PPC64LE Fedora Rawhide Clang Installed 3.x: https://buildbot.python.org/all/#builders/312/builds/597 0:01:37 load avg: 8.99 [232/426/1] test_enum failed -- running: test_tokenize (1 min 37 sec), test_unparse (31.7

[issue43029] unittest: Add assertUniqeIn

2021-01-26 Thread Denis Roussel
New submission from Denis Roussel : Allows to test uniqueness of members of a list -- components: Tests messages: 385700 nosy: rousseldenis priority: normal severity: normal status: open title: unittest: Add assertUniqeIn ___ Python tracker

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread Tadek Kijkowski
Tadek Kijkowski added the comment: >> In the docs fruits example, though, I think the input and output are >> inconsistent: you have a brown banana reported as yellow? Yeah, I noticed that and fixed already :) I agree with your ideas. My goal was just to provide bare minimum that would

[issue42985] AMD64 Arch Linux Asan 3.x fails: command timed out: 1200 seconds without output

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: > The AMD64 Arch Linux Asan 3.x buildbot worker started to fail at build 262: > https://buildbot.python.org/all/#/builders/582/builds/262 It no longer fails, so I close the issue: https://buildbot.python.org/all/#/builders/582/builds/278 --

[issue42985] AMD64 Arch Linux Asan 3.x fails: command timed out: 1200 seconds without output

2021-01-26 Thread STINNER Victor
STINNER Victor added the comment: Pablo added ASAN_OPTIONS=handle_segv=0 env var to his buildbot worker: https://github.com/python/buildmaster-config/commit/3ae3e1b21a20a06628a225579174e2aa46830583 -- ___ Python tracker

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Mark Dickinson
Mark Dickinson added the comment: > cmath.nanj That should be cmath.nani, of course. Sorry. -- ___ Python tracker ___ ___

[issue43025] Use normal 'i' character to denote imaginary part of complex numbers

2021-01-26 Thread Mark Dickinson
Mark Dickinson added the comment: See also #10562. Conceivably, we could add support for `i` on parsing (along with adding `cmath.infi` and `cmath.nanj`). We can probably also find a way to extend the format specification to allow use of `i` in place of `j` on output. The harder problem