[issue22033] Subclass friendly reprs

2014-07-25 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1 These all look worthwhile and correct.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22033
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22033] Subclass friendly reprs

2014-07-25 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 42276ad3acef by Serhiy Storchaka in branch 'default':
Issue #22033: Reprs of most Python implemened classes now contain actual
http://hg.python.org/cpython/rev/42276ad3acef

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22033
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22033] Subclass friendly reprs

2014-07-25 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks Raymond for the review.

--
assignee:  - serhiy.storchaka
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22033
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22033] Subclass friendly reprs

2014-07-22 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Some reprs in stdlib are subclass friendly. They contains class name or even 
fully qualified class name and substitute appropriate subclass name in 
subclasses. But some reprs contains hardcoded either class name, or module 
name, or fully qualified class name. Proposed patch makes multiple reprs in 
stdlib more subclass friendly.

See also issue22032.

--
components: Library (Lib)
files: repr_subclass_friendly.diff
keywords: patch
messages: 223650
nosy: rhettinger, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Subclass friendly reprs
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file36027/repr_subclass_friendly.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22033
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22033] Subclass friendly reprs

2014-07-22 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22033
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com