Skip to content

Commit e4ae947

Browse files
author
martin.v.loewis
committed
Merged revisions 68203 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68203 | martin.v.loewis | 2009-01-03 18:19:26 +0100 (Sa, 03 Jan 2009) | 2 lines Issue #4817: Remove unused function PyOS_GetLastModificationTime. ........ git-svn-id: http://svn.python.org/projects/python/branches/py3k@68204 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent d74a2df commit e4ae947

15 files changed

Lines changed: 2 additions & 63 deletions

File tree

Doc/c-api/sys.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ Operating System Utilities
1515
one of the strings ``'<stdin>'`` or ``'???'``.
1616

1717

18-
.. cfunction:: long PyOS_GetLastModificationTime(char *filename)
19-
20-
Return the time of last modification of the file *filename*. The result is
21-
encoded in the same way as the timestamp returned by the standard C library
22-
function :cfunc:`time`.
23-
24-
2518
.. cfunction:: void PyOS_AfterFork()
2619

2720
Function to update some internal state after a process fork; this should be

Doc/data/refcounts.dat

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -841,9 +841,6 @@ PyNumber_Xor:PyObject*::+1:
841841
PyNumber_Xor:PyObject*:o1:0:
842842
PyNumber_Xor:PyObject*:o2:0:
843843

844-
PyOS_GetLastModificationTime:long:::
845-
PyOS_GetLastModificationTime:char*:filename::
846-
847844
PyObject_AsFileDescriptor:int:::
848845
PyObject_AsFileDescriptor:PyObject*:o:0:
849846

Makefile.pre.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ PYTHON_OBJS= \
263263
Python/getargs.o \
264264
Python/getcompiler.o \
265265
Python/getcopyright.o \
266-
Python/getmtime.o \
267266
Python/getplatform.o \
268267
Python/getversion.o \
269268
Python/graminit.o \

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ What's New in Python 3.1 alpha 0
1212
Core and Builtins
1313
-----------------
1414

15+
- Issue #4817: Remove unused function PyOS_GetLastModificationTime.
16+
1517
- Issue #4580: Fix slicing of memoryviews when the item size is greater than
1618
one byte. Also fixes the meaning of len() so that it returns the number of
1719
items, rather than the size in bytes.

PC/VC6/pythoncore.dsp

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PC/VS7.1/pythoncore.vcproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,6 @@
556556
<File
557557
RelativePath="..\..\Python\getcopyright.c">
558558
</File>
559-
<File
560-
RelativePath="..\..\Python\getmtime.c">
561-
</File>
562559
<File
563560
RelativePath="..\..\Python\getopt.c">
564561
</File>

PC/VS8.0/pythoncore.vcproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,10 +1650,6 @@
16501650
RelativePath="..\..\Python\getcopyright.c"
16511651
>
16521652
</File>
1653-
<File
1654-
RelativePath="..\..\Python\getmtime.c"
1655-
>
1656-
</File>
16571653
<File
16581654
RelativePath="..\..\Python\getopt.c"
16591655
>

PC/os2emx/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ SRC.PYTHON= $(addprefix $(TOP), \
339339
Python/getargs.c \
340340
Python/getcompiler.c \
341341
Python/getcopyright.c \
342-
Python/getmtime.c \
343342
Python/getplatform.c \
344343
Python/getversion.c \
345344
Python/graminit.c \

PC/os2emx/python27.def

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -930,9 +930,6 @@ EXPORTS
930930
; From python26_s.lib(getcopyright)
931931
"Py_GetCopyright"
932932

933-
; From python26_s.lib(getmtime)
934-
"PyOS_GetLastModificationTime"
935-
936933
; From python26_s.lib(getplatform)
937934
"Py_GetPlatform"
938935

PC/os2vacpp/makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,8 +1377,6 @@ getcopyright.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h \
13771377
$(PY_INCLUDE)\stringobject.h $(PY_INCLUDE)\sysmodule.h $(PY_INCLUDE)\traceback.h \
13781378
$(PY_INCLUDE)\tupleobject.h
13791379

1380-
getmtime.obj: pyconfig.h
1381-
13821380
getplatform.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h \
13831381
$(PY_INCLUDE)\classobject.h $(PY_INCLUDE)\cobject.h $(PY_INCLUDE)\complexobject.h \
13841382
pyconfig.h $(PY_INCLUDE)\dictobject.h $(PY_INCLUDE)\fileobject.h \

0 commit comments

Comments
 (0)