Staging
v0.8.1
https://github.com/python/cpython
Revision f9952b2083e2e122838d67c8061b3ddf69b25d8d authored by Thomas Wouters on 27 June 2001, 14:02:14 UTC, committed by Thomas Wouters on 27 June 2001, 14:02:14 UTC
SF bug 430991: wrong co_lnotab
Armin Rigo pointed out that the way the line-# table got built didn't work
for lines generating more than 255 bytes of bytecode.  Fixed as he
suggested, plus corresponding changes to pyassem.py, plus added some long
overdue docs about this subtle table to compile.c.
1 parent 5829456
Raw File
Tip revision: f9952b2083e2e122838d67c8061b3ddf69b25d8d authored by Thomas Wouters on 27 June 2001, 14:02:14 UTC
Backport Tim's checkin 1.97:
Tip revision: f9952b2
unixstuff.h
/* Fudge unix isatty and fileno for RISCOS */

#include <stdio.h>

int fileno(FILE *f);
int isatty(int fn);
unsigned int unixtime(unsigned int ld,unsigned int ex);
/*long PyOS_GetLastModificationTime(char *name);*/
int unlink(char *fname);
int isdir(char *fn);
int isfile(char *fn);
int exists(char *fn);

back to top