]> granicus.if.org Git - python/commit
Several changes to support inclusion of filename in relevent
authorBarry Warsaw <barry@python.org>
Thu, 23 Jul 1998 16:14:40 +0000 (16:14 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 23 Jul 1998 16:14:40 +0000 (16:14 +0000)
commitd58d7647f333f149da0263df7529c9130469b68b
tree1bd60dfc5cd0e57adceae4a922452e56a3bf68a0
parent52ddc0e7567fb927ca3a5cd1ed4243c3450a552e
Several changes to support inclusion of filename in relevent
exceptions:

posix_error_with_filename(): New function which calls
PyErr_SetFromErrnoWithFilename()

The following methods have been changed to call
posix_error_with_filename():

    posix_1str()
    posix_strint()
    posix_strintint()
    posix_do_stat()
    posix_mkdir()
    posix_utime()
    posix_readlink()
    posix_open()

INITFUNC(): os.error (nee PosixError) is PyExc_OSError
Modules/posixmodule.c