mirror of https://github.com/python/cpython
34d1928766
Completely get rid of StringIO.py and cStringIO.c. I had to fix a few tests and modules beyond what Christian did, and invent a few conventions. E.g. in elementtree, I chose to write/return Unicode strings whe no encoding is given, but bytes when an explicit encoding is given. Also mimetools was made to always assume binary files. |
||
---|---|---|
.. | ||
framer | ||
README.txt | ||
TODO.txt | ||
example.py |
README.txt
framer is a tool to generate boilerplate code for C extension types. The boilerplate is generated from a specification object written in Python. The specification uses the class statement to describe the extension module and any extension types it contains. From the specification, framer can generate all the boilerplate C code, including function definitions, argument handling code, and type objects.