[Python-Dev] C extension import time (original) (raw)
Stefan Krah stefan at bytereef.org
Fri Oct 11 21:41:00 CEST 2013
- Previous message: [Python-Dev] C extension [PEP 399] import time
- Next message: [Python-Dev] C extension import time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Antoine Pitrou <solipsis at pitrou.net> wrote:
Just create a pydecimal module (like pyio).
That's very fast indeed. There's one minor problem: For backwards compatibility and pickling [1] I'd need to add
__module__ = 'decimal'
to every class of the Python version. Are there any reasons not to do that?
Stefan Krah
[1] _decimal has always set the module name to 'decimal' because of that.
- Previous message: [Python-Dev] C extension [PEP 399] import time
- Next message: [Python-Dev] C extension import time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]