On 9/5/2009 5:50 PM, Alan G Isaac wrote:
I've filed a bug report:
http://bugs.python.org/issue6844
This is now an accepted bug with a patch request.
Can someone on this list please assist with a patch?
Thanks,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
I've filed a bug report:
http://bugs.python.org/issue6844
Sadly the Twisted developers apparently did not file
a bug report when they were bitten by this ...
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
On 02:28 pm, alan.is...@gmail.com wrote:
I am not sure how best to deprecate dependence on the
Python 2.5 mistake, but this is not it. And I know at
least one important library that is affected.
I'll agree that it's not great. I certainly would have preferred it not
to have been done. It i
exar...@twistedmatrix.com wrote:
On 12:20 pm, alan.is...@gmail.com wrote:
I think you are missing my point.
I understand it is just a DeprecationWarning.
But **why** should I receive a deprecation warning
when I am **not** using the deprecated practice?
Since I am **not** using the deprecated
On 9/5/2009 9:07 AM, exar...@twistedmatrix.com wrote:
You are using the deprecated practice.
Clearly not, or it would fail in Python 3,
which it does not.
Attributes are not scoped to a
particular class. There is only one "message" attribute on your
"MyError" instance. It does not belong just
On 12:20 pm, alan.is...@gmail.com wrote:
Alan G Isaac wrote:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
class MyError(Exception):
... def __init__(self, message):
... Exception.__
Alan G Isaac wrote:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
class MyError(Exception):
... def __init__(self, message):
... Exception.__init__(self)
... self.message = message
...
Alan G Isaac wrote:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
class MyError(Exception):
... def __init__(self, message):
... Exception.__init__(self)
... self.
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
class MyError(Exception):
... def __init__(self, message):
... Exception.__init__(self)
... self.message = message
...