[Python-Dev] Interest in integrating C decimal module into Python?

Antoine Pitrou solipsis at pitrou.net
Wed Oct 21 17:05:16 CEST 2009


Mark Dickinson <dickinsm <at> gmail.com> writes:
> 
> There are certainly some open issues (e.g., what to do with
> the existing Python module;  what should other Python implementations
> do).

The existing module could be kept as a fallback. Also, the test suite should be
careful to test both implementations (like what is currently done for the io
module).

> BTW, does anyone know the current SLOC count for py3k?

Here you are, generated using David A. Wheeler's 'SLOCCount':

SLOC	Directory	SLOC-by-Language (Sorted)
261496  Lib             python=261451,sh=45
186769  Modules         ansic=173279,asm=9561,sh=3929
53258   Objects         ansic=53258
40257   Python          ansic=40229,python=28
27220   Tools           python=27117,ansic=67,sh=36
18892   Demo            python=18511,ansic=377,sh=4
9168    PC              ansic=8465,python=703
5840    Include         ansic=5840
5799    Parser          ansic=3914,python=1885
3485    Misc            lisp=2948,python=242,sh=185,ansic=110
3101    Doc             python=2306,ansic=795
3030    Mac             python=2138,objc=775,sh=109,ansic=8
1666    top_dir         python=1140,ansic=286,sh=240
349     PCbuild         python=279,ansic=70
337     build           ansic=295,python=42
0       Grammar         (none)

Totals grouped by language (dominant language first):
python:      315842 (50.89%)
ansic:       286993 (46.24%)
asm:           9561 (1.54%)
sh:            4548 (0.73%)
lisp:          2948 (0.47%)
objc:           775 (0.12%)

Total Physical Source Lines of Code (SLOC)                = 620,667




More information about the Python-Dev mailing list