Greg Ewing schrieb: > Nick Coghlan wrote: >> I believe the list of incompatibilities and kludges and the subsequent >> comments in the following file give the gist of the problems: >> http://svn.python.org/projects/sandbox/trunk/decimal-c/_decimal.c > > It sounds like some aspects of the API weren't thought > through very well when the Python version was designed. > > The question now is whether to fix the API design, or > leave it to become entrenched and lose all hope of > ever having a fully C-coded implementation.
As Nick said, a drop-in replacement in C isn't feasible But probably users of decimal won't really care if they have to slightly adapt their code if they get the speed increase instead. We had a SOC student working on decimal-c in the past, so it shouldn't be totally dead. What about this year's SOC? Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ 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