[Python-Dev] PEP 485 review (isclose())
Ethan Furman
ethan at stoneleaf.us
Tue Mar 3 17:43:06 CET 2015
More information about the Python-Dev mailing list
Tue Mar 3 17:43:06 CET 2015
- Previous message (by thread): [Python-Dev] PEP 485 review (isclose())
- Next message (by thread): [Python-Dev] PEP 485 review (isclose())
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/03/2015 01:17 AM, Victor Stinner wrote: > 2015-03-03 6:25 GMT+01:00 Chris Barker : >> >> As far as I can tell, the math module is entirely a C extension. So I can: >> 2) Write it in Python, and monkey-patch it in to the math module -- I >> honestly have no idea how to do that, but as I can add a new name to the >> math module after importing it, it should be doable --but I have no idea >> where the code would go. > Maybe it's time to rename the math module to _math and create a > math.py module, like _decimal/decimal? math.py should end with "from > _math import *". +1 -- ~Ethan~ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <http://mail.python.org/pipermail/python-dev/attachments/20150303/ee0ad859/attachment.sig>
- Previous message (by thread): [Python-Dev] PEP 485 review (isclose())
- Next message (by thread): [Python-Dev] PEP 485 review (isclose())
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list