A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-December/106819.html below:

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

[Python-Dev] [Python-checkins] r87299 - in python/branches/py3k: Doc/library/configparser.rst Lib/configparser.py Lib/test/test_cfgparser.py [Python-Dev] [Python-checkins] r87299 - in python/branches/py3k: Doc/library/configparser.rst Lib/configparser.py Lib/test/test_cfgparser.pyÉ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:
> -        test_coverage('/tmp/cmd.cover')
> +        test_coverage('/tmp/configparser.cover')
>      else:
>          test_main()

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4