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 ethan.furman
Recipients barry, eli.bendersky, ethan.furman, killerrex
Date 2018-05-07.19:12:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525720348.73.0.682650639539.issue33437@psf.upfronthosting.co.za>
In-reply-to
Content
Setting _value_ needs to happen in __new__ for those cases where another data type, such as str or int, is mixed in.

I'll look at adding an example to the docs.

Thanks for the report!
History
Date User Action Args
2018-05-07 19:12:28ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, killerrex
2018-05-07 19:12:28ethan.furmansetmessageid: <1525720348.73.0.682650639539.issue33437@psf.upfronthosting.co.za>
2018-05-07 19:12:28ethan.furmanlinkissue33437 messages
2018-05-07 19:12:28ethan.furmancreate