[issue41876] Add __repr__ for Tkinter Font objects

2020-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b4d895336a4692c95b4533adcc5c63a489e5e4e4 by Anatoliy Platonov in branch 'master': bpo-41876: Overload __repr__ for tkinter Font objects (GH-22450) https://github.com/python/cpython/commit/b4d895336a4692c95b4533adcc5c63a489e5e4e4 --

[issue41876] Add __repr__ for Tkinter Font objects

2020-10-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41876] Add __repr__ for Tkinter Font objects

2020-09-29 Thread Anatoliy Platonov
Change by Anatoliy Platonov : -- keywords: +patch nosy: +p4m.dev nosy_count: 3.0 -> 4.0 pull_requests: +21479 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22450 ___ Python tracker

[issue41876] Add __repr__ for Tkinter Font objects

2020-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a new feature. We do not backport new features to old versions unless they fix some design bug. Nothing bad will happen if we DO NOT backport it. -- ___ Python tracker

[issue41876] Add __repr__ for Tkinter Font objects

2020-09-29 Thread E. Paine
E. Paine added the comment: Serhiy, while I agree this is an enhancement, I don't see that it would break *anyone's* code (this will mostly just affect the REPL output) so is it worth considering a backport? Diohabara, the Python devguide (https://devguide.python.org/) is a very good place

[issue41876] Add __repr__ for Tkinter Font objects

2020-09-29 Thread diohabara
diohabara added the comment: Hi, Storchaka!. I would like to tackle this issue. Because I am new to Python bug tracking, I am unsure that this is the right approach to bug fixing. -- nosy: +diohabara ___ Python tracker

[issue41876] Add __repr__ for Tkinter Font objects

2020-09-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently Font objects have default repr: Since Font is just an object oriented wrapper for font name, and Font objects with the same name are equal, it is worth to show the font name in the repr and do not show an id. -- components: