diff options
author | Guido van Rossum <guido@python.org> | 1999-10-04 18:57:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-10-04 18:57:27 (GMT) |
commit | 6a8d84b0c1508d0a3f10f716f3faf3863b41f758 (patch) | |
tree | eb9c723300fd2312dc0b070a0c012ff02a02c912 /Lib/builtin.py | |
parent | 2438a485c84bd52a72ae11502bd21e89f1048be6 (diff) | |
download | cpython-6a8d84b0c1508d0a3f10f716f3faf3863b41f758.zip cpython-6a8d84b0c1508d0a3f10f716f3faf3863b41f758.tar.gz cpython-6a8d84b0c1508d0a3f10f716f3faf3863b41f758.tar.bz2 |
Urmpfh!
Withdraw the change that Fred just checked in -- it was a poorly
documented feature, not a bug, to ignore I/O errors in read().
The new docstring explains the reason for the feature:
"""
this is designed so that you can specifiy a list of potential
configuration file locations (e.g. current directory, user's home
directory, systemwide directory), and all existing configuration files
in the list will be read.
"""
Also add a lower-level function, readfp(), which takes an open file
object (and optionally a filename).
XXX There are some other problems with this module, but I don't have
time to dig into these; in particular, there are complaints that the
%(name)s substitution from the [DEFAULTS] section doesn't work
correctly.
Diffstat (limited to 'Lib/builtin.py')
0 files changed, 0 insertions, 0 deletions