Twisted import warnings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Medium
|
Brian Granger |
Bug Description
Foolscap added a level to it's module hierarchy and is throwing warnings.
Debian Testing as of Feb. 19:
Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
IPython 0.10
twisted.version Version('twisted', 9, 0, 0)
On importing I get the warnings:
____________
from IPython.kernel import client
...:
/usr/lib/
DeprecationWarning: Importing class Tub directly from 'foolscap' is
deprecated since Foolscap 0.4.3. Please import foolscap.api.Tub
instead
self.tub = Tub()
__________
On instantiation of a task client I get:
____________
In [7]: tc = client.TaskClient()
/usr/lib/
DeprecationWarning: Importing class Referenceable1 directly from
'foolscap' is deprecated since Foolscap 0.4.3. Please import
foolscap.
class FCTaskControlle
____________
Something similar for a multiengine client:
______________
In [8]: mec = client.
/usr/lib/
DeprecationWarning: Importing class Referenceable1 directly from
'foolscap' is deprecated since Foolscap 0.4.3. Please import
foolscap.
class FCSynchronousMu
_____________
Changed in ipython: | |
assignee: | nobody → Brian Granger (ellisonbg) |
milestone: | none → 0.11 |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Thanks, I will fix this in trunk.
Brian
On Mon, Feb 22, 2010 at 7:21 AM, drewm1980 <email address hidden> wrote: pymodules/ python2. 5/IPython/ kernel/ clientconnector .py:43: pymodules/ python2. 5/IPython/ kernel/ taskfc. py:79: api.Referenceab le instead rFromTaskContro ller(Referencea ble): MultiEngineClie nt() pymodules/ python2. 5/IPython/ kernel/ multienginefc. py:86: api.Referenceab le instead ltiEngineFromMu ltiEngine( Referenceable) : /bugs.launchpad .net/bugs/ 525805 pymodules/ python2. 5/IPython/ kernel/ clientconnector .py:43: pymodules/ python2. 5/IPython/ kernel/ taskfc. py:79: api.Referenceab le instead rFromTaskContro ller(Referencea ble): MultiEngineClie nt() pymodules/ python2. 5/IPython/ kernel/ multienginefc. py:86:
> Public bug reported:
>
> Foolscap added a level to it's module hierarchy and is throwing
> warnings.
>
> Debian Testing as of Feb. 19:
> Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
> IPython 0.10
> twisted.version Version('twisted', 9, 0, 0)
>
> On importing I get the warnings:
> ____________
> from IPython.kernel import client
> ...:
>
> /usr/lib/
> DeprecationWarning: Importing class Tub directly from 'foolscap' is
> deprecated since Foolscap 0.4.3. Please import foolscap.api.Tub
> instead
> self.tub = Tub()
> __________
>
> On instantiation of a task client I get:
>
> ____________
> In [7]: tc = client.TaskClient()
> /usr/lib/
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.
> class FCTaskControlle
> ____________
>
> Something similar for a multiengine client:
>
> ______________
> In [8]: mec = client.
> /usr/lib/
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.
> class FCSynchronousMu
> _____________
>
> ** Affects: ipython
> Importance: Undecided
> Status: New
>
>
> ** Tags: import twisted warnings
>
> --
> Twisted import warnings
> https:/
> You received this bug notification because you are a member of IPython
> Developers, which is subscribed to IPython.
>
> Status in IPython - Enhanced Interactive Python: New
>
> Bug description:
> Foolscap added a level to it's module hierarchy and is throwing warnings.
>
> Debian Testing as of Feb. 19:
> Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40)
> IPython 0.10
> twisted.version Version('twisted', 9, 0, 0)
>
> On importing I get the warnings:
> ____________
> from IPython.kernel import client
> ...:
>
> /usr/lib/
> DeprecationWarning: Importing class Tub directly from 'foolscap' is
> deprecated since Foolscap 0.4.3. Please import foolscap.api.Tub
> instead
> self.tub = Tub()
> __________
>
> On instantiation of a task client I get:
>
> ____________
> In [7]: tc = client.TaskClient()
> /usr/lib/
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.
> class FCTaskControlle
> ____________
>
> Something similar for a multiengine client:
>
> ______________
> In [8]: mec = client.
> /usr/lib/
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> fools...