[Python-Dev] [Python-checkins] r87299 - in python/branches/py3k: Doc/library/configparser.rst Lib/configparser.py Lib/test/test_cfgparser.py (original) (raw)

Éric Araujo merwok at netwok.org
Thu Dec 16 02:36:12 CET 2010


Author: lukasz.langa New Revision: 87299

Log: Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser. Life is beatiful once again. IIIUC, this change makes bugs requesting use of SafeConfigParser in distutils and logging obsolete.

@@ -1139,6 +1122,6 @@

if name == "main": if "-c" in sys.argv: - testcoverage('/tmp/cmd.cover') + testcoverage('/tmp/configparser.cover') else: testmain()

Consider using the tempfile module. You need to print the filename on stderr, I think. Alternatively, remove this custom functionality entirely and move it to regrtest or unittest.

Cheers



More information about the Python-Dev mailing list