def _parse_date_asctime(dt):
 parts = dt.split()
 if (len(parts) == 5):
  parts.insert(4, '+0000')
 if (len(parts) != 6):
  return None
 return _parse_date_rfc822(' '.join([parts[0], parts[2], parts[1], parts[5], parts[3], parts[4]]))

def _parse_date_asctime ( dt ) : parts = dt . split ( ) if ( len ( parts ) == 5 ) : parts . insert ( 4 , '+0000' ) if ( len ( parts ) != 6 ) : return None return _parse_date_rfc822 ( ' ' . join ( [ parts [ 0 ] , parts [ 2 ] , parts [ 1 ] , parts [ 5 ] , parts [ 3 ] , parts [ 4 ] ] ) )
parse asctime-style dates .