Staging
v0.8.1
https://github.com/python/cpython
Revision ae0c1cb0de0a6c03d57ba1aff57cd55b9cb220a8 authored by Jack Jansen on 25 March 2002, 10:41:18 UTC, committed by Jack Jansen on 25 March 2002, 10:41:18 UTC
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
1 parent a0c5e54
Raw File
Tip revision: ae0c1cb0de0a6c03d57ba1aff57cd55b9cb220a8 authored by Jack Jansen on 25 March 2002, 10:41:18 UTC
Backport of _TEmodule.c 1.8, tesupport.py 1.10:
Tip revision: ae0c1cb
unixstuff.h
/* Fudge unix isatty and fileno for RISCOS */

#include <stdio.h>
#include <time.h>

int fileno(FILE *f);
int isatty(int fn);
unsigned int unixtime(unsigned int ld,unsigned int ex);
int acorntime(unsigned int *ex, unsigned int *ld, time_t ut);

int isdir(char *fn);
int isfile(char *fn);
int object_exists(char *fn);

back to top