On Mon, Jun 30, 2008 at 4:53 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > FWIW, I'm fine with making these methods on float -- a class method > float.fromhex(...) echoes e.g. dict.fromkeys(...) and > datetime.fromordinal(...). The to-hex conversion could be x.hex() -- > we don't tend to use ".toxyz()" as a naming convention much in Python.
Would it be totally outrageous for the float constructor to accept hex strings directly? Mark _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com