This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients akuchling, christian.heimes, pitrou
Date 2010-07-18.13:44:22
SpamBayes Score 0.0831375
Marked as misclassified No
Message-id <>
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) {
                return NULL;

There might be similar situations in other methods.
Date User Action Args
2010-07-18 13:44:26pitrousetrecipients: + pitrou, akuchling, christian.heimes
2010-07-18 13:44:25pitrousetmessageid: <>
2010-07-18 13:44:23pitroulinkissue9292 messages
2010-07-18 13:44:22pitroucreate