[Python-Dev] IO implementation: in C and Python?
Lie Ryan
lie.1296 at gmail.com
Fri Feb 20 14:33:59 CET 2009
On Thu, 19 Feb 2009 21:41:51 -0600, Benjamin Peterson wrote:
> As we prepare to merge the io-c branch, the question has come up [1]
> about the original Python implementation. Should it just be deleted in
> favor C version? The wish to maintain the two implementations together
> has been raised on the basis that Python is easier to experiment on and
> read (for other vm implementors).
>
> Thoughts?
>
> http://bugs.python.org/issue4565
How about making it an optional module instead, a compile flag when
compiling python would determine whether the python or C or both versions
of the libraries would be included with C-only as the default.
Alternatively, if the compile flag was turned off and you want access to
the python version, provide a downloadable pure python library (OS
package manager could have something like python-lib-purepy or something
similar). This would streamline python, and only people who want to mess
around would download the purepy version.
More information about the Python-Dev
mailing list