fcntl in windows

Michael Hudson mwh at python.net
Thu May 1 08:21:33 EDT 2003


Afanasiy <abelikov72 at hotmail.com> writes:

> On Wed, 30 Apr 2003 17:29:46 GMT, Michael Hudson <mwh at python.net> wrote:
> 
> >Alex Martelli <aleax at aleax.it> writes:
> >
> >> Jp Calderone wrote:
> >> 
> >> > On Wed, Apr 30, 2003 at 03:26:29PM +0000, Afanasiy wrote:
> >> >> Is there an fcntl in Windows? A stub, a wrapper, etc?
> 
> >Indeed, it would seem to me that implementing a version of fcntl on
> >Windows would be flat out insane -- surely the sensible thing to do
> >would be provide two implementations of whatever it is you need, the
> >unix one of which calls fcntl.
> 
> Insane? I strongly disagree.
> 
> Sensible thing? I strongly disagree.
> 
> The sensible thing would provide the functionality
> in a well designed platform independent module.

That's what I was trying (muddily, I concede) to suggest :-)

Cheers,
M.

-- 
  Well, you pretty much need Microsoft stuff to get misbehaviours
  bad enough to actually tear the time-space continuum.  Luckily 
  for you, MS Internet Explorer is available for Solaris.
                              -- Calle Dybedahl, alt.sysadmin.recovery




More information about the Python-list mailing list