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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11694>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to