• Guido van Rossum's avatar
    Urmpfh! · 6a8d84b0
    Guido van Rossum yazdı
    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.
    6a8d84b0
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...