Message137315
The patch looks good to me.
In your test, you don't explicitely close the mmap object: it's not a problem with CPython since it will get unmmapped, and the file descriptor - if it's a file-backed mapping - will get closed, as soon as it gets out of scope, but it would be cleaner to close it explicitely with something like self.addCleanup(m.close). |
|
Date |
User |
Action |
Args |
2011-05-30 18:02:06 | neologix | set | recipients:
+ neologix, pitrou, nadeem.vawda, jcon, rich-noir, petri.lehtinen |
2011-05-30 18:02:05 | neologix | set | messageid: <1306778525.99.0.947802293794.issue12021@psf.upfronthosting.co.za> |
2011-05-30 18:02:05 | neologix | link | issue12021 messages |
2011-05-30 18:02:05 | neologix | create | |
|