Closed twisted-trac closed 19 years ago
Automation removed owner |
---|
@jml commented |
---|
#!html
<pre>
_All_ classes inheriting from t.p.components were producing DeprecationWarnings,
saying that they should use only interface.Attributes and functions. This was
because __module__ and sometimes __doc__ were in the attrs dict passed to
MetaInterface.
Attached is a patch that retrieves and deletes __module__ and __doc__ from
attrs, and passes them to InterfaceClass.
This removes a significant number of DeprecationWarnings.
Tested successfully in Python 2.3 under Windows, against subversion HEAD of June
30, 1:22PM UTC.
</pre>
Attachments:
Searchable metadata
``` trac-id__646 646 type__defect defect reporter__jml jml priority__high high milestone__ branch__ branch_author__ status__closed closed resolution__fixed fixed component__ keywords__ time__1088623408000000 1088623408000000 changetime__1088628065000000 1088628065000000 version__ owner__ cc__itamarst cc__jml ```