Björn Karge added the comment:
I strongly disagree. The constants are just useless as they are (so this bug
can hardly be considered a feature). The behaviour is not matching the 2.7
docs, so fixing it certainly won't be adding a new feature, and the python 3
behaviour can easily be pres
New submission from Björn Karge:
expat.errors should expose the enum values and NOT the associated message
strings, so they can be tested against ExpatError.code
--
components: Library (Lib)
messages: 232348
nosy: bkarge
priority: normal
severity: normal
status: open
title