homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eltoder
Recipients Andrew.Lutomirski, belopolsky, eddygeek, eltoder, r.david.murray, serhiy.storchaka, yselivanov
Date 2016年05月15日.17:02:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463331776.63.0.0336527338341.issue20371@psf.upfronthosting.co.za>
In-reply-to
Content
This seems like it can lead to even more subtle bugs when replace() is not overriden. Currently, any extra state in the subclass is left uninitialized, which usually leads to obvious breakage and is relatively easy to trace back to replace(). (I've done it before.) If we call the constructor passing only base class values, the extra state may get initialized with default values. This is probably not what anyone wants, and is probably harder to debug, because there's no obvious breakage.
History
Date User Action Args
2016年05月15日 17:02:56eltodersetrecipients: + eltoder, belopolsky, r.david.murray, serhiy.storchaka, yselivanov, Andrew.Lutomirski, eddygeek
2016年05月15日 17:02:56eltodersetmessageid: <1463331776.63.0.0336527338341.issue20371@psf.upfronthosting.co.za>
2016年05月15日 17:02:56eltoderlinkissue20371 messages
2016年05月15日 17:02:56eltodercreate

AltStyle によって変換されたページ (->オリジナル) /