diff options
author | Georg Brandl <georg@python.org> | 2009-09-16 20:30:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-16 20:30:09 (GMT) |
commit | 0674d3fb5fb9adde412c15ea12b6b473e8895126 (patch) | |
tree | 6e441bb57c8f1a7c90f29e2a060ca03ed57d0b80 /Misc | |
parent | 4676048b437a696b42ecd4cf2c3b050e7d5154cc (diff) | |
download | cpython-0674d3fb5fb9adde412c15ea12b6b473e8895126.zip cpython-0674d3fb5fb9adde412c15ea12b6b473e8895126.tar.gz cpython-0674d3fb5fb9adde412c15ea12b6b473e8895126.tar.bz2 |
#6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user.
This works by always setting it in __dict__, except when it's implicitly set in __init__.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 1 Core and Builtins ----------------- +- Issue #6844: Do not emit DeprecationWarnings when accessing a "message" + attribute on exceptions that was set explicitly. + - Issue #6846: Fix bug where bytearray.pop() returns negative integers. - classmethod no longer checks if its argument is callable. |