Shared Memory Modules

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


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

>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.
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 www.python.org)

Regards,
Bengt Richter




More information about the Python-list mailing list