[New-bugs-announce] [issue22033] Subclass friendly reprs

Serhiy Storchaka report at bugs.python.org
Tue Jul 22 11:08:04 CEST 2014

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list