From Python-2.7.6/Lib/test/test_time.py: def test_asctime(self): time.asctime(time.gmtime(self.t)) self.assertRaises(TypeError, time.asctime, 0) On Sat, Apr 19, 2014 at 6:46 PM, John Mudd wrote: > It looks like asctime(0) should return 0 instead of Segmentation fault. > >