]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39416: Document some restrictions on the default string representations of numeri...
authorkpinc <kop@karlpinc.com>
Wed, 21 Oct 2020 17:13:50 +0000 (12:13 -0500)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 17:13:50 +0000 (10:13 -0700)
commitc60394c7fc9cc09b16e9675a3eeb5844b6d8523f
tree9f1da18368e736ff1dd1c3380786f146342ca441
parentc7437e2c0216e05fbf17bf96294cb20954e36e48
bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111)

[bpo-39416](): Document string representations of the Numeric classes

This is a change to the specification of the Python language.

The idea here is to put sane minimal limits on the Python language's default
representations of its Numeric classes.  That way "Marty's Robotic Massage Parlor
and Python Interpreter" implementation of Python won't do anything too
crazy.

Some discussion in the email thread:
Subject: Documenting Python's float.__str__()
https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/
Doc/reference/datamodel.rst
Misc/NEWS.d/next/Documentation/2020-01-22-05-14-53.bpo-39416.uYjhEm.rst [new file with mode: 0644]