Staging
v0.5.1
https://github.com/python/cpython
Revision 20cc6be1aada880f0267eaca39ebb70d0e790692 authored by Andrew M. Kuchling on 05 October 2006, 19:32:52 UTC, committed by Andrew M. Kuchling on 05 October 2006, 19:32:52 UTC
 you find that Python does print "MemoryError".  There's no traceback
 and no indication of which line of code is responsible, but it's
 better than a segfault.]

Handle NULL nodes while parsing.  I'm not entirely sure this is correct.
There might be something else that needs to be done to setup the error.

Klocwork #295.
1 parent 6d0bc3e
Raw File
Tip revision: 20cc6be1aada880f0267eaca39ebb70d0e790692 authored by Andrew M. Kuchling on 05 October 2006, 19:32:52 UTC
[Backport r51222 | neal.norwitz -- if you hack the code to set r=NULL,
Tip revision: 20cc6be
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