unable to resize mmap object

Fabiano Sidler fabianosidler at gmail.com
Tue May 2 20:35:05 CEST 2006


On Sunday 30 April 2006 21:06, Serge Orlov wrote:
> Fabiano Sidler wrote:
>> Now, when I try to resize mm to 10 byte
>> --- snip ---
>> mm.resize(10)
>> --- snap ---
>> I get an EnvironmentError:[Errno 22] Invalid argument.
>
> Just a guess: try a new size argument that is multiple of page size.

No, doesn't work neitzer. :(

Thank you anyway for the idea!



More information about the Python-list mailing list