[issue8002] on OSX the file creation date not available in os.stat

Ronald Oussoren report at bugs.python.org
Sun Mar 7 13:08:05 CET 2010


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I've done some research: the st_birthtime field is available when the python executable is build using MACOSX_DEPLOYMENT_TARGET=10.5 (or later), not for 10.4.

Adding support for st_birthtime for MACOSX_DEPLOYMENT_TARGET=10.4 is possible but requires significant code duplication in posixmodule.c. 

IMO it adding this support is not worth the effort or the additional code complexity.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8002>
_______________________________________


More information about the Python-bugs-list mailing list