Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.9] bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558)#31581

Merged
vstinner merged 1 commit into
python:3.9python/cpython:3.9from
vstinner:float_setformat_typo39Copy head branch name to clipboard
Feb 25, 2022
Merged

[3.9] bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558)#31581
vstinner merged 1 commit into
python:3.9python/cpython:3.9from
vstinner:float_setformat_typo39Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Feb 25, 2022

Copy link
Copy Markdown
Member

Rename the private undocumented float.set_format() method to
float.setformat() to fix a typo introduced in Python 3.7. The
method is only used by test_float.

The change enables again test_float tests on the float format which
were previously skipped because of the typo.

The typo was introduced in Python 3.7 by bpo-20185
in commit b5c51d3.

(cherry picked from commit 7d03c8b)

…-31558)

Rename the private undocumented float.__set_format__() method to
float.__setformat__() to fix a typo introduced in Python 3.7. The
method is only used by test_float.

The change enables again test_float tests on the float format which
were previously skipped because of the typo.

The typo was introduced in Python 3.7 by bpo-20185
in commit b5c51d3.

(cherry picked from commit 7d03c8b)
@vstinner vstinner merged commit a549cd1 into python:3.9 Feb 25, 2022
@vstinner vstinner deleted the float_setformat_typo39 branch February 25, 2022 15:13
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…thonGH-31558) (pythonGH-31581)

Rename the private undocumented float.__set_format__() method to
float.__setformat__() to fix a typo introduced in Python 3.7. The
method is only used by test_float.

The change enables again test_float tests on the float format which
were previously skipped because of the typo.

The typo was introduced in Python 3.7 by bpo-20185
in commit b5c51d3.

(cherry picked from commit 7d03c8b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.