[Python-bugs-list] [ python-Bugs-490399 ] ConfigParser and nonexistent file

noreply@sourceforge.net noreply@sourceforge.net
Fri, 07 Dec 2001 13:04:50 -0800


Bugs item #490399, was opened at 2001-12-07 13:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490399&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Cowles (mdcowles)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: ConfigParser and nonexistent file

Initial Comment:
If you give ConfigParser's read() method the name of a
file that doesn't exist, you get back an empty
database.

That may be reasonable but since other modules from the
standard library generally don't work that way (dbm,
netrc), it may be worth emphasizing in the
documentation that that's what happens.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490399&group_id=5470