Opened 16 years ago

Closed 16 years ago

#1748 defect closed fixed (fixed)

Using twisted.cred.credentials results in deprecation warnings in Twisted 2.4

Reported by: szumo Owned by:
Priority: normal Milestone:
Component: core Keywords: cred, interfaces
Cc: Branch:

Description (last modified by Jean-Paul Calderone)

twisted.cred.credentials imports and uses deprecated twisted.python.components.Interface instead of zope.interface.Interface.

This results in annoying warnings under Twisted 2.4:

>>> import twisted.cred.credentials
>>> class Test(twisted.cred.credentials.ICredentials):
...   pass
__main__:1: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).

(This is actually a special case of #1636)

Attachments (1)

twisted-credentials.patch (504 bytes) - added by zaheerm 16 years ago.
patch to fix this issue

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 years ago by Glyph

Description: modified (diff)

comment:2 Changed 16 years ago by Jean-Paul Calderone

Description: modified (diff)

Changed 16 years ago by zaheerm

Attachment: twisted-credentials.patch added

patch to fix this issue

comment:3 Changed 16 years ago by jknight

Resolution: fixed
Status: newclosed

It's actually a special case of #1599, but is also fixed by #1636.

comment:4 Changed 11 years ago by <automation>

Owner: Glyph deleted
Note: See TracTickets for help on using tickets.