Python: importing pytz triggers warning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This problem occurs on a fresh update of Ibex. It did not occur in Hardy.
Importing the pytz module after the vobject module triggers the following warning:
>>> import vobject, pytz
/usr/lib/
from pkg_resources import resource_stream
/usr/lib/
from pkg_resources import resource_stream
Importing the modules in the opposite order does not print a warning. Perhaps there is a problem in the pytz module that it does not check for modules that have already been imported?
I can confirm that this happens in Intrepid Ibex, and does not occur in Hardy Heron. This issue is encountered when importing matplotlib, as it apparently loads those two modules in that order.