FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` by serhiy-storchaka · Pull Request #506 · python/cpython · GitHub

Repository navigation

bpo-28974: object.__format__(x, '') is now equivalent to str(x) - #506

Merged
serhiy-storchaka merged 7 commits into
python:masterfrom
serhiy-storchaka:bpo-28974-simpler-object-__format__
May 13, 2017
Merged

serhiy-storchaka merged 7 commits into
python:masterfrom
serhiy-storchaka:bpo-28974-simpler-object-__format__

Conversation

Copy link
Copy Markdown
Member

rather of format(str(self), '').

Copy link
Copy Markdown

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjaminp, @Haypo, @tim-one, @birkenfeld and @larryhastings to be potential reviewers.

Comment thread Doc/reference/datamodel.rst Outdated
if passed any non-empty string.

.. versionchanged:: 3.7
``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather of

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

rather than (not rather of)

Comment thread Doc/whatsnew/3.7.rst Outdated
``from ... import ...`` fails.
(Contributed by Matthias Bussonnier in :issue:`29546`.)

* ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather of

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

“Rather of” also needs fixing here and in NEWS :)

serhiy-storchaka merged commit 7e19dbc into python:master May 13, 2017
serhiy-storchaka deleted the bpo-28974-simpler-object-__format__ branch May 13, 2017 09:40
jaraco pushed a commit that referenced this pull request Dec 2, 2022
* Bump celery from 5.1.2 to 5.2.3

Bumps [celery](https://github.com/celery/celery) from 5.1.2 to 5.2.3.
- [Release notes](https://github.com/celery/celery/releases)
- [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst)
- [Commits](celery/celery@v5.1.2...v5.2.3)

---
updated-dependencies:
- dependency-name: celery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update requirements.txt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL