[Python-Dev] mknod for posixmodule
Guido van Rossum
Sat, 13 Apr 2002 10:21:46 -0400
> > mknod(filename, mode, major, minor)
> > But the mode parameter, like in the C interface, may be or'ed with
> > S_IFREG, S_IFCHR, S_IFBLK, S_IFIFO. That seems unpythonic.
Not to me.
> Generally, I think we wrap this sort of function as thinly as
> possible. That way you can use the man page as help. And this isn't
> the sort of function that fragile newbies are likely to trip over is
--Guido van Rossum (home page: http://www.python.org/~guido/)