Shared Memory Modules
Thomas Heller
theller at python.net
Tue Dec 2 04:54:19 EST 2003
Irmen de Jong <irmen at -NOSPAM-REMOVETHIS-xs4all.nl> writes:
> Bengt Richter wrote:
>> What's that first zero argument?
> [...]
>> Does that mean you are trying to use stdin as the open file handle?
>
> No it doesn't, according to Thomas Heller's post in this thread.
> Thomas said 0 means "not associated with a file" on windows...
mmapmodule.c internally uses INVALID_HANDLE_VALUE of a file handle of 0
is used.
As I said, read the source (and MSDN). And then submit a documentation
patch <wink>.
Thomas
More information about the Python-list
mailing list