iso8601 is not properly ported to Python3

Bug #1260428 reported by Torsten Bronger on 2013-12-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-iso8601 (Ubuntu)

Bug Description

Python 3.3.2+ (default, Oct 9 2013, 14:50:09)
[GCC 4.8.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from iso8601 import iso8601
>>> iso8601.parse_date("2007-01-25T12:00:00Z")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/iso8601/", line 89, in parse_date
    if not isinstance(datestring, basestring):
NameError: global name 'basestring' is not defined

Yolanda Robla (yolanda.robla) wrote :

Thanks for reporting this. Please can you confirm Ubuntu release and version of the package?

Changed in python-iso8601 (Ubuntu):
status: New → Incomplete
Torsten Bronger (bronger) wrote :

It is the current version of the package on Ubuntu 13.10.

Changed in python-iso8601 (Ubuntu):
status: Incomplete → New
Changed in python-iso8601 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Jackson Doak (noskcaj) wrote :

It's fairly likely this was fixed in the version in trusty. Could you please check that?
I tried this and it works fine, but i also had lp:1283857 appear

Torsten Bronger (bronger) wrote :

I cannot reproduce it on 14.04 server. I had also no trouble installing the package.

tags: added: saucy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers