Message110646
There's some dead code in xmlparse_ParseFile() in Modules/pyexpat.c: the file pointer "fp" is always NULL, and as such the following code can never get entered into:
if (fp) {
bytes_read = fread(buf, sizeof(char), BUF_SIZE, fp);
if (bytes_read < 0) {
PyErr_SetFromErrno(PyExc_IOError);
return NULL;
}
}
There might be similar situations in other methods. |
|
Date |
User |
Action |
Args |
2010-07-18 13:44:26 | pitrou | set | recipients:
+ pitrou, akuchling, christian.heimes |
2010-07-18 13:44:25 | pitrou | set | messageid: <1279460665.67.0.339124626695.issue9292@psf.upfronthosting.co.za> |
2010-07-18 13:44:23 | pitrou | link | issue9292 messages |
2010-07-18 13:44:22 | pitrou | create | |
|