[New-bugs-announce] [issue3181] ConfigParsers are classic classes
Ari Makela
report at bugs.python.org
Mon Jun 23 18:48:09 CEST 2008
New submission from Ari Makela <hauva at arska.org>:
The base class, ConfigParser.RawConfigParser does not inherit object and
therefore it is a classic class.
Test script run with my normal python installation:
$ /usr/bin/python -V
Python 2.5.2
$ /usr/bin/python arska/configparser.py
bar
And run with uptodate svn checkout with modified ConfigParser.py
$ LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/python -V
Python 2.6b1+
$ LD_LIBRARY_PATH=/usr/local/lib arska/configparser.py
Setting value=bar
Getting value=bar
bar
Platform: Kubuntu 8.04.
$ uname -a
Linux laphroaig 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008
x86_64 GNU/Linux
The test script and diff -u as attachments.
----------
components: Library (Lib)
files: configparser.diff
keywords: patch
messages: 68639
nosy: hauva
severity: normal
status: open
title: ConfigParsers are classic classes
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file10710/configparser.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3181>
_______________________________________
More information about the New-bugs-announce
mailing list