[issue46852] Remove the float.__setformat__() method

2022-02-27 Thread Mark Dickinson
Mark Dickinson added the comment: > I reopen the issue for the second part of my plan Hmm. That sounds like it should be a separate issue, or at the least, this issue should be retitled. It's helpful to keep issue titles accurate. -- ___ Python

[issue46852] Remove the float.__setformat__() method

2022-02-27 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue for the second part of my plan: "Once they will be removed, it will become possible to move the detection of the IEEE 754 format in the build step (./configure script) rather than doing the detection at runtime (slower). It would remove

[issue46852] Remove the float.__setformat__() method

2022-02-27 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Victor. I think this can be closed now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue46852] Remove the float.__setformat__() method

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5a1c637ec6264790d3cfeef46815c62c32b510f3 by Victor Stinner in branch 'main': bpo-46852: Restore test_getformat() test (GH-31601) https://github.com/python/cpython/commit/5a1c637ec6264790d3cfeef46815c62c32b510f3 --

[issue46852] Remove the float.__setformat__() method

2022-02-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29724 pull_request: https://github.com/python/cpython/pull/31601 ___ Python tracker ___

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29715 pull_request: https://github.com/python/cpython/pull/31592 ___ Python tracker ___

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5ab745fc51e159ead28b523414e52f0bcc1ef353 by Victor Stinner in branch 'main': bpo-46852: Remove the float.__set_format__() method (GH-31585) https://github.com/python/cpython/commit/5ab745fc51e159ead28b523414e52f0bcc1ef353 --

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: Mark Dickinson: > I'd be happy to see `float.__setformat__` go, if it's not still needed for > Python's test suite (which was its entire raison d'ĂȘtre). If no-one noticed > the accidental misnaming, then it's pretty clear no-one's been using it. Nobody

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread Mark Dickinson
Mark Dickinson added the comment: I'd be happy to see `float.__setformat__` go, if it's not still needed for Python's test suite (which was its entire raison d'ĂȘtre). If no-one noticed the accidental misnaming, then it's pretty clear no-one's been using it. I'd like to bet that there are at

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29708 pull_request: https://github.com/python/cpython/pull/31585 ___ Python tracker ___

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset a549cd1fc55888e2e287714b25e2cb2251913909 by Victor Stinner in branch '3.9': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31581)

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29704 pull_request: https://github.com/python/cpython/pull/31581 ___ Python tracker ___

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0848da19ce8ea037ab1cfc569778e94bf8e3b24a by Victor Stinner in branch '3.10': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) (GH-31578)

[issue46852] Remove the float.__setformat__() method

2022-02-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29700 pull_request: https://github.com/python/cpython/pull/31578 ___ Python tracker ___

[issue46852] Remove the float.__setformat__() method

2022-02-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7d03c8be5af2f1559dbc35b775b3116dfd63cfb6 by Victor Stinner in branch 'main': bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) https://github.com/python/cpython/commit/7d03c8be5af2f1559dbc35b775b3116dfd63cfb6

[issue46852] Remove the float.__setformat__() method

2022-02-24 Thread STINNER Victor
STINNER Victor added the comment: We can keep the float.__getformat__() method, it doesn't harm. I change the issue title to only propose to remove the float.__setformat__() method. -- title: Remove float.__get_format__() and float.__set_format__() -> Remove the