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 gvanrossum
Recipients gvanrossum
Date 2015-05-18.21:37:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431985055.48.0.760233282847.issue24234@psf.upfronthosting.co.za>
In-reply-to
Content
The special methods __complex__ and __bytes__ are not present on the corresponding builtin types.  Compare this to __int__ and __float__, which do exist on int and float, respectively.  Should we add the eponymous methods to complex and bytes?

(This came up in the context of PEP 484: https://github.com/ambv/typehinting/issues/68#issuecomment-88130156 )
History
Date User Action Args
2015-05-18 21:37:35gvanrossumsetrecipients: + gvanrossum
2015-05-18 21:37:35gvanrossumsetmessageid: <1431985055.48.0.760233282847.issue24234@psf.upfronthosting.co.za>
2015-05-18 21:37:35gvanrossumlinkissue24234 messages
2015-05-18 21:37:35gvanrossumcreate