Jesse Noller <jnoller <at> gmail.com> writes: > > So far, fiddling with the PEP, I'm on the fence - adding a method to a > built-in object type is sort of a grey area (at least in my mind). It > depends on if doing so significantly alters the language/syntax.
We have recently added things like float.fromhex() which IMHO shouldn't be blocked by the moratorium (*), although they technically add a method to a built-in. (*) it is a minor new feature aimed at catching up with some established standard for an exact, non-ambiguous string representation of floats Regards Antoine. _______________________________________________ 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