touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #69333
[Bug 1442745] [NEW] [python3] ImportError: No module named 'cStringIO'
Public bug reported:
Line 46 of pkg_resources.py currently reads:
except NameError:
However, it should read:
except (ImportError, NameError):
Since if basestring is defined then the check will cause the error "ImportError: No module named 'cStringIO'". This issue can be reproduced with the following minimal script:
#!/usr/bin/python3
import pyqtgraph
import pkg_resources
** Affects: python-setuptools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/1442745
Title:
[python3] ImportError: No module named 'cStringIO'
Status in python-setuptools package in Ubuntu:
New
Bug description:
Line 46 of pkg_resources.py currently reads:
except NameError:
However, it should read:
except (ImportError, NameError):
Since if basestring is defined then the check will cause the error "ImportError: No module named 'cStringIO'". This issue can be reproduced with the following minimal script:
#!/usr/bin/python3
import pyqtgraph
import pkg_resources
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1442745/+subscriptions
Follow ups
References