I get

> 
> ValueError: year is out of range
> 
> 
> 

When my `psycopg2` **cursor.fetchall** encounters a date value with a weird year, such as 0001.

Is there any way to make psycopg2 compatible with any year and avoid this exception?