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 r.david.murray
Recipients Andrew.Lutomirski, belopolsky, eddygeek, eltoder, r.david.murray, serhiy.storchaka
Date 2016-05-15.21:21:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463347300.82.0.985031520925.issue20371@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, when I say "again", I'm referring to the "return type of alternative constructors" thread:

  http://www.mail-archive.com/python-dev@python.org/msg92163.html

This is effectively an extension of that discussion, because replace is an alternative constructor, with the additional complication of taking an existing instance as input.

Rereading that thread, I think Guido's answer is that the subclass API needs to be clearly documented:

   http://www.mail-archive.com/python-dev@python.org/msg92191.html

Which I guess means we get to decide what it is, and then figure out how to implement it.
History
Date User Action Args
2016-05-15 21:21:40r.david.murraysetrecipients: + r.david.murray, belopolsky, eltoder, serhiy.storchaka, Andrew.Lutomirski, eddygeek
2016-05-15 21:21:40r.david.murraysetmessageid: <1463347300.82.0.985031520925.issue20371@psf.upfronthosting.co.za>
2016-05-15 21:21:40r.david.murraylinkissue20371 messages
2016-05-15 21:21:40r.david.murraycreate