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
dynload_dl.c

/* Support for dynamic loading of extension modules */

#include "dl.h"

#include "Python.h"
#include "importdl.h"


extern char *Py_GetProgramName(void);

const struct filedescr _PyImport_DynLoadFiletab[] = {
	{".o", "rb", C_EXTENSION},
	{"module.o", "rb", C_EXTENSION},
	{0, 0}
};


dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
				    const char *pathname, FILE *fp)
{
	char funcname[258];

	PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname);
	return dl_loadmod(Py_GetProgramName(), pathname, funcname);
}
back to top