[Python-Dev] Expect in python

Martin v. Loewis martin@v.loewis.de
23 Nov 2002 21:11:48 +0100


Zack Weinberg <zack@codesourcery.com> writes:

> It does do what I thought it might.  That is pretty much what I would
> do to it, except that I am tempted to yank it all out of posixmodule
> into its own thing, assuming compatibility can be arranged.

I don't think that's worth it. The posix module collects "such things".

Of course, if you can expose enough functions (grantpt, unlockpt),
you might be able to implement the entire thing in pure Python.

Regards,
Martin