[Python-Dev] mknod for posixmodule (original) (raw)
Guido van Rossum guido@python.org
Sat, 13 Apr 2002 10:21:46 -0400
- Previous message: [Python-Dev] mknod for posixmodule
- Next message: [Python-Dev] mknod for posixmodule
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> mknod(filename, mode, major, minor) > > But the mode parameter, like in the C interface, may be or'ed with > SIFREG, SIFCHR, SIFBLK, SIFIFO. 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 it?
Agreed.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] mknod for posixmodule
- Next message: [Python-Dev] mknod for posixmodule
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]