Index: Doc/c-api/sys.rst =================================================================== --- Doc/c-api/sys.rst (revision 68175) +++ Doc/c-api/sys.rst (working copy) @@ -15,13 +15,6 @@ one of the strings ``''`` or ``'???'``. -.. cfunction:: long PyOS_GetLastModificationTime(char *filename) - - Return the time of last modification of the file *filename*. The result is - encoded in the same way as the timestamp returned by the standard C library - function :cfunc:`time`. - - .. cfunction:: void PyOS_AfterFork() Function to update some internal state after a process fork; this should be Index: Doc/data/refcounts.dat =================================================================== --- Doc/data/refcounts.dat (revision 68175) +++ Doc/data/refcounts.dat (working copy) @@ -841,9 +841,6 @@ PyNumber_Xor:PyObject*:o1:0: PyNumber_Xor:PyObject*:o2:0: -PyOS_GetLastModificationTime:long::: -PyOS_GetLastModificationTime:char*:filename:: - PyObject_AsFileDescriptor:int::: PyObject_AsFileDescriptor:PyObject*:o:0: Index: Makefile.pre.in =================================================================== --- Makefile.pre.in (revision 68175) +++ Makefile.pre.in (working copy) @@ -264,7 +264,6 @@ Python/getargs.o \ Python/getcompiler.o \ Python/getcopyright.o \ - Python/getmtime.o \ Python/getplatform.o \ Python/getversion.o \ Python/graminit.o \ Index: PC/os2emx/Makefile =================================================================== --- PC/os2emx/Makefile (revision 68175) +++ PC/os2emx/Makefile (working copy) @@ -351,7 +351,6 @@ Python/getargs.c \ Python/getcompiler.c \ Python/getcopyright.c \ - Python/getmtime.c \ Python/getplatform.c \ Python/getversion.c \ Python/graminit.c \ Index: PC/os2emx/python27.def =================================================================== --- PC/os2emx/python27.def (revision 68175) +++ PC/os2emx/python27.def (working copy) @@ -931,9 +931,6 @@ ; From python27_s.lib(getcopyright) "Py_GetCopyright" -; From python27_s.lib(getmtime) - "PyOS_GetLastModificationTime" - ; From python27_s.lib(getplatform) "Py_GetPlatform" Index: PC/os2vacpp/makefile =================================================================== --- PC/os2vacpp/makefile (revision 68175) +++ PC/os2vacpp/makefile (working copy) @@ -1693,8 +1693,6 @@ $(PY_INCLUDE)\stringobject.h $(PY_INCLUDE)\sysmodule.h $(PY_INCLUDE)\traceback.h \ $(PY_INCLUDE)\tupleobject.h -getmtime.obj: pyconfig.h - getplatform.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h \ $(PY_INCLUDE)\classobject.h $(PY_INCLUDE)\cobject.h $(PY_INCLUDE)\complexobject.h \ pyconfig.h $(PY_INCLUDE)\dictobject.h $(PY_INCLUDE)\fileobject.h \ Index: PC/os2vacpp/makefile.omk =================================================================== --- PC/os2vacpp/makefile.omk (revision 68175) +++ PC/os2vacpp/makefile.omk (working copy) @@ -1155,8 +1155,6 @@ pystate.h python.h pythonrun.h rangeobject.h sliceobject.h \ stringobject.h sysmodule.h traceback.h tupleobject.h -getmtime.obj: pyconfig.h - getplatform.obj: abstract.h ceval.h classobject.h cobject.h complexobject.h \ pyconfig.h dictobject.h fileobject.h floatobject.h funcobject.h \ import.h intobject.h intrcheck.h listobject.h longobject.h \ Index: PC/os2vacpp/python.def =================================================================== --- PC/os2vacpp/python.def (revision 68175) +++ PC/os2vacpp/python.def (working copy) @@ -284,7 +284,6 @@ PyNumber_Xor PyOS_AfterFork PyOS_FiniInterrupts - PyOS_GetLastModificationTime PyOS_InitInterrupts PyOS_InterruptOccurred PyOS_Readline Index: PC/VC6/pythoncore.dsp =================================================================== --- PC/VC6/pythoncore.dsp (revision 68175) +++ PC/VC6/pythoncore.dsp (working copy) @@ -410,10 +410,6 @@ # End Source File # Begin Source File -SOURCE=..\..\Python\getmtime.c -# End Source File -# Begin Source File - SOURCE=..\..\Python\getopt.c # End Source File # Begin Source File Index: PC/VS7.1/pythoncore.vcproj =================================================================== --- PC/VS7.1/pythoncore.vcproj (revision 68175) +++ PC/VS7.1/pythoncore.vcproj (working copy) @@ -569,9 +569,6 @@ RelativePath="..\..\Python\getcopyright.c"> - - - - Index: PCbuild/pythoncore.vcproj =================================================================== --- PCbuild/pythoncore.vcproj (revision 68175) +++ PCbuild/pythoncore.vcproj (working copy) @@ -1687,10 +1687,6 @@ > - - Index: Python/import.c =================================================================== --- Python/import.c (revision 68175) +++ Python/import.c (working copy) @@ -27,8 +27,6 @@ typedef unsigned short mode_t; #endif -extern time_t PyOS_GetLastModificationTime(char *, FILE *); - /* In getmtime.c */ /* Magic word to reject .pyc files generated by other Python versions. It should change for each incompatible change to the bytecode. Index: RISCOS/Makefile =================================================================== --- RISCOS/Makefile (revision 68175) +++ RISCOS/Makefile (working copy) @@ -135,7 +135,6 @@ OBJECTS_RISCOS = \ @.Python.o.dynload_riscos\ @.Python.o.getcwd_riscos\ - @.Python.o.getmtime_riscos\ @.o.unixstuff