[issue36793] Do not define unneeded __str__ equal to __repr__

2019-08-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36793] Do not define unneeded __str__ equal to __repr__

2019-07-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: Serhiy: Did you plan to do any further work, or can this issue be closed? -- ___ Python tracker ___ _

[issue36793] Do not define unneeded __str__ equal to __repr__

2019-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 96aeaec64738b730c719562125070a52ed570210 by Serhiy Storchaka in branch 'master': bpo-36793: Remove unneeded __str__ definitions. (GH-13081) https://github.com/python/cpython/commit/96aeaec64738b730c719562125070a52ed570210 -- ___

[issue36793] Do not define unneeded __str__ equal to __repr__

2019-05-05 Thread Josh Rosenberg
Josh Rosenberg added the comment: I like this. Always annoying to explicitly override both __repr__ and __str__ on subclasses of stuff like int when they should be the same. Patch looks good to me; I was originally wondering why some classes were replacing: __str__ = __repr__ with: __str__

[issue36793] Do not define unneeded __str__ equal to __repr__

2019-05-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36793] Do not define unneeded __str__ equal to __repr__

2019-05-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36793] Do not define unneeded __str__ equal to __repr__

2019-05-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Do not set tp_str -> Do not define unneeded __str__ equal to __repr__ ___ Python tracker ___