[Python-checkins] CVS: python/dist/src/Modules fcntlmodule.c,2.28,2.29

Michael Hudson mwh@python.net
09 May 2001 23:28:12 +0100


"Fred L. Drake" <fdrake@users.sourceforge.net> writes:

> Update of /cvsroot/python/python/dist/src/Modules
> In directory usw-pr-cvs1:/tmp/cvs-serv23294/Modules
> 
> Modified Files:
> 	fcntlmodule.c 
> Log Message:
> 
> Modify to allow file objects wherever file descriptors are needed.
[...]
> ! 	if (!PyArg_ParseTuple(args, "O&i|i;ioctl requires 2 integers and optionally a third integer or a string",
> ! 			      conv_descriptor, &fd, &code, &arg)) {

The error message is now out of date!  You did the fcntl one, so I'm
assuming you just forgot this one?

Cheers,
M.


-- 
  Considering that this thread is completely on-topic in the way only
  c.l.py threads can be, I think I can say that you should replace
  "Oblivion" with "Gravity", and increase your Radiohead quotient.
                                      -- Ben Wolfson, comp.lang.python