[New-bugs-announce] [issue2112] mmap.error should be a subclass of EnvironmentError and not a direct EnvironmentError
Thomas Herve
report at bugs.python.org
Thu Feb 14 15:57:50 CET 2008
New submission from Thomas Herve:
mmap.error in mmapmodule is a direct reference to
PyExc_EnvironmentError, whereas it should be a subclass. It makes it
provide a specific string representation, and allows to be more specific
when catching exceptions.
The attached patch tries to provide that.
----------
components: Library (Lib)
files: mmap2.diff
messages: 62391
nosy: therve
severity: normal
status: open
title: mmap.error should be a subclass of EnvironmentError and not a direct EnvironmentError
type: rfe
versions: Python 2.6
Added file: http://bugs.python.org/file9430/mmap2.diff
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2112>
__________________________________
More information about the New-bugs-announce
mailing list