Ticket #6198 defect closed fixed
'in' operator support not implemented for twisted.python.modules.PythonPath
| Reported by: | itamar | Owned by: | exarkun |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | fs@… | Branch: | branches/modules-contains-6198 |
| Author: | exarkun | Launchpad Bug: |
Description
>>> from twisted.python.modules import theSystemPath
>>> theSystemPath["os"]
PythonModule<'os'>
>>> "os" in theSystemPath
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "twisted/python/modules.py", line 699, in __getitem__
if '.' in modname:
TypeError: argument of type 'int' is not iterable
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

