[issue11694] xdrlib raises ConversionError in inconsistent way

Claudiu Popa report at bugs.python.org
Thu Oct 9 21:16:06 CEST 2014


Claudiu Popa added the comment:

Here's a refreshed patch:

- raising_conversion_error is now raise_conversion_error
- the decorator uses functools.wraps
- the ConversionError is instantiated with the first argument of the caught expression
- the reraising of ConversionError has the exception context supressed.

----------
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
Added file: http://bugs.python.org/file36854/issue11694.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11694>
_______________________________________


More information about the Python-bugs-list mailing list