Comment 1 for bug 525805

Revision history for this message
Brian Granger (ellisonbg) wrote : Re: [Bug 525805] [NEW] Twisted import warnings

Thanks, I will fix this in trunk.

Brian

On Mon, Feb 22, 2010 at 7:21 AM, drewm1980 <email address hidden> wrote:
> 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/pymodules/python2.5/IPython/kernel/clientconnector.py:43:
> 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/pymodules/python2.5/IPython/kernel/taskfc.py:79:
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.api.Referenceable instead
>  class FCTaskControllerFromTaskController(Referenceable):
> ____________
>
> Something similar for a multiengine client:
>
> ______________
> In [8]: mec = client.MultiEngineClient()
> /usr/lib/pymodules/python2.5/IPython/kernel/multienginefc.py:86:
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.api.Referenceable instead
>  class FCSynchronousMultiEngineFromMultiEngine(Referenceable):
> _____________
>
> ** Affects: ipython
>     Importance: Undecided
>         Status: New
>
>
> ** Tags: import twisted warnings
>
> --
> Twisted import warnings
> https://bugs.launchpad.net/bugs/525805
> 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/pymodules/python2.5/IPython/kernel/clientconnector.py:43:
> 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/pymodules/python2.5/IPython/kernel/taskfc.py:79:
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.api.Referenceable instead
>  class FCTaskControllerFromTaskController(Referenceable):
> ____________
>
> Something similar for a multiengine client:
>
> ______________
> In [8]: mec = client.MultiEngineClient()
> /usr/lib/pymodules/python2.5/IPython/kernel/multienginefc.py:86:
> DeprecationWarning: Importing class Referenceable1 directly from
> 'foolscap' is deprecated since Foolscap 0.4.3. Please import
> foolscap.api.Referenceable instead
>  class FCSynchronousMultiEngineFromMultiEngine(Referenceable):
> _____________
>
>
>

--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
<email address hidden>
<email address hidden>