[Python-Dev] SIGCHECK() in longobject.c

Nick Coghlan ncoghlan at gmail.com
Wed Oct 21 12:27:58 CEST 2009


Brett Cannon wrote:
> On Tue, Oct 20, 2009 at 07:57, Mark Dickinson <dickinsm at gmail.com
> <mailto:dickinsm at gmail.com>> wrote:
>     The Deccoeff type is very simple, though.  It would be easy to create
>     a pure Python version of it, and then do something like:
> 
>     try:
>        from _decimal import Deccoeff  # try to get C version
>     except ImportError:
>        from deccoeff import Deccoeff  # else use Python fallback code.
> 
> 
> And this is why you shouldn't have to worry. As long as the tests
> exercise both the pure Python and C versions then the other VMs are covered.

We need to worry at least a little bit, as the pure Python version
doesn't exist at this point in time.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list