datetime failure on py3k, string type issue.

4 May
2010
4 May
'10
12:15 a.m.
The following fails after fixing datetime_data
assert_equal(datetime_data(a.dtype), ('us', 1, 1, 1))
The problem is that 'us' is unicode and the function call yields bytes. The question is: should datetime units use unicode when compiled on python >= 3k?
Chuck
4891
Age (days ago)
4891
Last active (days ago)
0 comments
1 participants
participants (1)
-
Charles R Harris