A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-July/073775.html below:

[Python-Dev] Python 2.6 BaseException.message deprecation, really needed?

[Python-Dev] Python 2.6 BaseException.message deprecation, really needed? [Python-Dev] Python 2.6 BaseException.message deprecation, really needed?Gustavo Carneiro gjcarneiro at gmail.com
Sat Jul 7 16:01:33 CEST 2007
In PyGObject we want to use a 'message' attribute in an exception defined by
us.  The name 'message' comes from a C API, therefore we would like to keep
it for easier mapping between C and Python APIs.  Why does Python have to
deprecate this attribute?

.../gobject/option.py:187: DeprecationWarning: BaseException.message has
been deprecated as of Python 2.6
  gerror.message = str(error)

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20070707/c94aa2bb/attachment.html 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4