commit | 52ddc0e7567fb927ca3a5cd1ed4243c3450a552e | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Jul 23 16:07:02 1998 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Jul 23 16:07:02 1998 +0000 |
tree | 20a0705240c69bfe874cc03bd03fb345d62037ea | |
parent | 97d951533e71b74a1a2502feda4a587eb9fb7d98 [diff] |
PyFile_FromString(): If an exception occurs, pass in the filename that was used so it's reflected in the IOError. Call PyErr_SetFromErrnoWithFilename().