]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-39416: Document some restrictions on the default string representations...
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Oct 2020 18:56:20 +0000 (11:56 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 18:56:20 +0000 (11:56 -0700)
commit89fac4c3748aa7eb23d09922331e90a62ce782fd
treef61c790d9ca495e9f64ecd8638052319eab1b5ba
parentf3982d666c1df290373a4810edd501b2176b45c7
[3.8] bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111) (GH-22861)

[[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/
(cherry picked from commit c60394c7fc9cc09b16e9675a3eeb5844b6d8523f)

Co-authored-by: kpinc <kop@karlpinc.com>
Automerge-Triggered-By: GH:merwok
Doc/reference/datamodel.rst
Misc/NEWS.d/next/Documentation/2020-01-22-05-14-53.bpo-39416.uYjhEm.rst [new file with mode: 0644]