Dave Challis <sui...@gmail.com> added the comment:

My mistake, it appears to be related to the OS it's running on rather than the 
version (I just happened to test with different versions on different OSes).

On Mac OS X (with 3.6.2):

    >>> import datetime
    >>> datetime.datetime.min.strftime('%Y')
    '0001'

On Linux (with 3.6.2 again):

    >>> import datetime
    >>> datetime.datetime.min.strftime('%Y')
    '1

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to