[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7e19dbc92ec06a987eaae72f7cdfd32006aa4960 by Serhiy Storchaka in branch 'master': bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506) https://github.com/python/cpython/commit/7e19dbc92ec06a987eaae72f7cdfd32006aa4960 -

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Eric V. Smith
Eric V. Smith added the comment: I'm okay with this change. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What are your thoughts about this Eric? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue28974] Make default __format__ be equivalent to __str__

2017-03-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28974] Make default __format__ be equivalent to __str__

2017-03-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +415 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue28974] Make default __format__ be equivalent to __str__

2016-12-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Originally PEP 3101 defined the default __format__ implementation, object.__format__ as def __format__(self, format_spec): return format(str(self), format_spec) After few changes (issue7994, issue28385) it now looks as def __format__(se