Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue22033

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Subclass friendly reprs
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.5
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: python-dev, rhettinger, serhiy.storchaka, vstinner
Priority:normalKeywords:patch

Created on2014-07-22 09:08 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
repr_subclass_friendly.diffserhiy.storchaka,2014-07-22 09:08review
Messages (4)
msg223650 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-07-22 09:08
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 alsoissue22032.
msg223988 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2014-07-25 19:26
+1 These all look worthwhile and correct.
msg223997 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2014-07-25 20:36
New changeset42276ad3acef by Serhiy Storchaka in branch 'default':Issue#22033: Reprs of most Python implemened classes now contain actualhttp://hg.python.org/cpython/rev/42276ad3acef
msg223999 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-07-25 20:40
Thanks Raymond for the review.
History
DateUserActionArgs
2022-04-11 14:58:06adminsetgithub: 66232
2014-07-25 20:40:49serhiy.storchakasetstatus: open -> closed
messages: +msg223999

assignee:serhiy.storchaka
resolution: fixed
stage: patch review -> resolved
2014-07-25 20:36:16python-devsetnosy: +python-dev
messages: +msg223997
2014-07-25 19:26:20rhettingersetmessages: +msg223988
2014-07-22 12:32:31vstinnersetnosy: +vstinner
2014-07-22 09:08:04serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp