[Python-Dev] IO implementation: in C and Python?

Antoine Pitrou solipsis at pitrou.net
Fri Feb 20 16:50:45 CET 2009


Guido van Rossum <guido <at> python.org> writes:
> 
> I worry that with your proposal people are once again going to import
> the pure Python version where they shouldn't. Maybe _pyio.py would
> work though?

I'm ok with _pyio.py.

> Hoping that modules won't evolve is futile. The concern for divergence
> is real. Unit-testing both with the same tests might be the solution.

Yes, the same tests should be applied to both (modulo the few ones that test for
implementation-specific behaviour, e.g. the max_buffer_size stuff).

Regards

Antoine.




More information about the Python-Dev mailing list