[Review]: Clean up `parse_time` API

I added the small ability to parse international time seconds(time elapsed in seconds from 1958,1,1) to time.parse_time function ,Please provide feedback

Thank You

what is basestring? should this not default to 'string' or something as most of the time we are parsing strings into date times?