Issue #11391: Writing to a mmap object created with

`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.
This commit is contained in:
Antoine Pitrou 2011-03-06 02:03:34 +01:00
parent 414596ae8d
commit d6f3a3e3a8
3 changed files with 22 additions and 5 deletions

View file

@ -40,6 +40,10 @@ Core and Builtins
Library
-------
- Issue #11391: Writing to a mmap object created with
``mmap.PROT_READ|mmap.PROT_EXEC`` would segfault instead of raising a
TypeError. Patch by Charles-François Natali.
- Issue #11306: mailbox in certain cases adapts to an inability to open
certain files in read-write mode. Previously it detected this by
checking for EACCES, now it also checks for EROFS.