| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
ConfigParser. Moved the new string-only restriction added in rev. 1.65 to the SafeConfigParser class, leaving existing ConfigParser & RawConfigParser behavior alone, and documented the conditions under which non-string values work.
|
| |
|
|
| |
them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options.
|
| |
|
|
|
|
| |
- read() method returns a list of files parsed successfully
- add tests, documentation
(closes SF patch #677651)
|
| |
|
|
|
|
|
|
| |
- don't allow setting options to non-string values; raise TypeError
when the value is set, instead of raising an arbitrary exception
later (such as when string interpolation is performed)
- add tests, documentation
(closes SF bug #810843)
|
| |
|
|
|
|
|
|
| |
- ensure that option names in interpolations are handled by
self.optionxform in the same way that other references to option
names
- add tests, documentation
(closes SF bug #857881, patch #865455)
|
| |
|
|
|
|
|
|
|
|
| |
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807.
|
| |
|
|
|
| |
when expected. Only applies to the ConfigParser and SafeConfigParser
classes, not RawConfigParser.
|
| |
|
|
| |
Closes SF bug #511737.
|
| | |
|
| | |
|
| |
|
|
|
| |
Moved the write() test to near the end of the file since it screws up
font-lock. ;-(
|
| |
|
|
| |
Closes SF bug #583248; backporting to r22-maint branch.
|
| | |
|
| |
|
|
|
|
|
|
| |
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
|
| | |
|
| | |
|
| |
|
|
| |
SF patch #467580.
|
| |
|
|
|
|
|
| |
name when filling in the internal data structures, otherwise we incorrectly
raise a KeyError.
This fixes SF bug #432369.
|
| |
|
|
|
|
| |
.has_option(), .remove_option(), and .set().
This closes SF tracker #232913.
|
| |
|
|
| |
(SF bug #132288).
|
| |
|
|
|
|
|
|
| |
GNOME-style internationalized options can be parsed using ConfigParser
(SF bug #131635).
Converted the tests to use test_support.verify() instead of output
comparison to work.
|
| |
|
|
| |
coverage to ensure bug #124324 does not re-surface.
|
| | |
|
| |
|
|
|
| |
not terribly useful.
Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>.
|
| |
|