Re: [Python-Dev] C extension import time

2013年10月11日 12:42:26 -0700

Antoine Pitrou <[email protected]> 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.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to