Staging
v0.8.1
https://github.com/python/cpython
Revision 174548d65495bc6465fddc356a094020e2561e13 authored by Kurt B. Kaiser on 30 March 2004, 04:07:00 UTC, committed by Kurt B. Kaiser on 30 March 2004, 04:07:00 UTC
which use the Space key.  Limit unmodified user keybindings to the
function keys.
Python Bug 775353, IDLEfork Bugs 755647, 761557

Improve error handling during startup if there's no Tkinter.

M NEWS.txt
M PyShell.py
M config-keys.def
M configHandler.py
M keybindingDialog.py
1 parent 61525be
Raw File
Tip revision: 174548d65495bc6465fddc356a094020e2561e13 authored by Kurt B. Kaiser on 30 March 2004, 04:07:00 UTC
Keybindings with the Shift modifier now work correctly. So do bindings
Tip revision: 174548d
getmtime.c

/* Subroutine to get the last modification time of a file */

/* (A separate file because this may be OS dependent) */

#include "Python.h"
#include "pyconfig.h"

time_t
PyOS_GetLastModificationTime(char *path, FILE *fp)
{
	struct stat st;
	if (fstat(fileno(fp), &st) != 0)
		return -1;
	else
		return st.st_mtime;
}
back to top