Author lorenz
Recipients SilentGhost, eric.araujo, facundobatista, georg.brandl, josiahcarlson, lorenz, pitrou
Date 2011-01-12.20:21:57
SpamBayes Score 0.000762657
Marked as misclassified No
Message-id <>
Thanks SilentGhost, you were much faster than me :)

I agree with Antoine, that the dup() is unexpected: It cost me some time to figure out where these additonal file descriptors originated from. One of the powers of mmap() is, that you do not need one, so it would really be great if this feature could be saved into the python abstraction.

As for the example: I think this could be cured by removing the close(m_obj->fd); statement, again shifing the responsibility for that to the creator of the intial file handle - see my attached patch.
(This time against the py3k patch)

BTW: It is a great experience for a python user to see just how fast you guys react to an issue here! Thanks!
Date User Action Args
2011-01-12 20:22:13lorenzsetrecipients: + lorenz, georg.brandl, facundobatista, josiahcarlson, pitrou, eric.araujo, SilentGhost
2011-01-12 20:22:13lorenzsetmessageid: <>
2011-01-12 20:21:58lorenzlinkissue10897 messages
2011-01-12 20:21:58lorenzcreate