|
126.
|
|
|
The Zope Interface package was chosen over PyProtocols because of its greater conceptual similarity to twisted.python.components.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:35
|
|
127.
|
|
|
Will this affect my deployment?
|
|
|
type: Content of: <html><body><h3>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:39
|
|
128.
|
|
|
No. Releases of Twisted Core will include Zope Interfaces.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:42
|
|
129.
|
|
|
How can I update my own code?
|
|
|
type: Content of: <html><body><h3>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:45
|
|
130.
|
|
|
Classes written using twisted.python.components declare which interfaces they implement in this style:
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:48
|
|
131.
|
|
|
<code> class C: __implements__ = IFoo, </code>
|
|
|
type: Content of: <html><body>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:52
|
|
132.
|
|
|
This should be changed to:
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:58
|
|
133.
|
|
|
<code> class C: zope.interface.implements(IFoo) </code>
|
|
|
type: Content of: <html><body>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:61
|
|
134.
|
|
|
What about third party classes dependant on the old style of implements declarations?
|
|
|
type: Content of: <html><body><h3>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:68
|
|
135.
|
|
|
Use <code class="API" base="twisted.python.components">backwardsCompatImplements</code> to fix this.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
upgrades/2.0/components.xhtml:74
|