[issue12102] mmap requires file to be synced

2011-05-18 Thread rion
rion added the comment: okay guys I'm not going to read all this stuff. just document it or fix. thanks for quick reply -- ___ Python tracker <http://bugs.python.org/is

[issue12102] mmap requires file to be synced

2011-05-18 Thread rion
New submission from rion : Not flushed file gives next results: rion@rionhost ~/temp $ python2 test.py Traceback (most recent call last): File "test.py", line 10, in m = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) mmap.error: [Errno 22] Invalid argument rion@rionh