Message 218335 - Python tracker

Message218335

Author joshtriplett
Recipients joshtriplett, neologix, rngadam, rosslagerwall, schmir, superbobry, vstinner
Date 2014-05-12.16:45:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399913117.73.0.123490724498.issue12556@psf.upfronthosting.co.za>
In-reply-to
Content
This rejection is indeed problematic.  If mmap.mmap receives an explicit size, checking that size against stat will break on devices or special files.  It's perfectly reasonable that mmap.mmap's automatic logic when passed length=0 (to map the entire file) won't work if stat says the file has length 0, but the mmap syscall works fine on special files with length 0 (or devices), and mmap.mmap should work in that case as well.
History
Date User Action Args
2014-05-12 16:45:17joshtriplettsetrecipients: + joshtriplett, vstinner, schmir, neologix, rosslagerwall, superbobry, rngadam
2014-05-12 16:45:17joshtriplettsetmessageid: <1399913117.73.0.123490724498.issue12556@psf.upfronthosting.co.za>
2014-05-12 16:45:17joshtriplettlinkissue12556 messages
2014-05-12 16:45:17joshtriplettcreate