Shared Memory Modules

Bengt Richter bokr at
Tue Dec 2 20:08:45 CET 2003

On Tue, 02 Dec 2003 10:54:19 +0100, Thomas Heller <theller at> wrote:

>Irmen de Jong <irmen at> 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.
Wouldn't passing None be more pythonic for a python interface?

>As I said, read the source (and MSDN).  And then submit a documentation
>patch <wink>.
How does one do that? (being lazy, I guess I could find out via

Bengt Richter

More information about the Python-list mailing list