Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #5741: dont disallow double percent signs in SafeConfigParser.set() keys. | Georg Brandl | 2009-04-12 | 1 | -0/+4 |
| | |||||
* | Issue #5341: Fix a variety of spelling errors. | Mark Dickinson | 2009-02-21 | 1 | -4/+4 |
| | |||||
* | ConfigParser renaming reversal part 3: move module into place and adapt imports. | Georg Brandl | 2008-05-25 | 1 | -18/+18 |
| | |||||
* | Updated import statements to use the new `configparser` module name. | Alexandre Vassalotti | 2008-05-14 | 1 | -18/+18 |
| | | | | | | | | Updated the documentation to use the new name. Revert addition of the stub entry for the old name. Georg, I am reverting your changes since this commit should propagate to py3k. | ||||
* | Issue 1781. Now ConfigParser.add_section does not let you add a | Facundo Batista | 2008-02-23 | 1 | -0/+8 |
| | | | | | DEFAULT section any more, because it duplicated sections with the rest of the machinery. Thanks Tim Lesher and Manuel Kaufmann. | ||||
* | Patch #1603688: ConfigParser.SafeConfigParser now checks values that | Georg Brandl | 2007-03-13 | 1 | -0/+12 |
| | | | | | are set for invalid interpolation sequences that would lead to errors on reading back those values. | ||||
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -3/+3 |
| | |||||
* | Patch #1371075: Make ConfigParser accept optional dict type | Martin v. Löwis | 2006-12-03 | 1 | -1/+45 |
| | | | | for ordering, sorting, etc. | ||||
* | Whitespace normalization. | Tim Peters | 2004-10-03 | 1 | -1/+1 |
| | |||||
* | SF bug #997050: Document, test, & check for non-string values in ↵ | David Goodger | 2004-10-03 | 1 | -12/+44 |
| | | | | 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. | ||||
* | SF bug #1017864: ConfigParser now correctly handles default keys, processing ↵ | David Goodger | 2004-10-03 | 1 | -0/+10 |
| | | | | them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options. | ||||
* | ConfigParser: | Fred Drake | 2004-05-18 | 1 | -0/+21 |
| | | | | | | - read() method returns a list of files parsed successfully - add tests, documentation (closes SF patch #677651) | ||||
* | ConfigParser: | Fred Drake | 2004-05-18 | 1 | -0/+31 |
| | | | | | | | | - 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) | ||||
* | ConfigParser: | Fred Drake | 2004-05-18 | 1 | -4/+4 |
| | | | | | | | | - 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) | ||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -5/+5 |
| | | | | | | | | | | 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. | ||||
* | Add a test that InterpolationError is constructed properly and raised | Fred Drake | 2002-12-31 | 1 | -2/+20 |
| | | | | | when expected. Only applies to the ConfigParser and SafeConfigParser classes, not RawConfigParser. | ||||
* | Implement a safer and more predictable interpolation approach. | Fred Drake | 2002-10-25 | 1 | -1/+16 |
| | | | | Closes SF bug #511737. | ||||
* | Add tests for both raw and non-raw versions of the items() methods. | Fred Drake | 2002-10-25 | 1 | -0/+26 |
| | |||||
* | Convert to PyUnit. | Fred Drake | 2002-10-25 | 1 | -293/+263 |
| | |||||
* | Added (very) minimal tests of the RawConfigParser class. | Fred Drake | 2002-10-25 | 1 | -16/+35 |
| | | | | | Moved the write() test to near the end of the file since it screws up font-lock. ;-( | ||||
* | Allow internal whitespace in keys. | Fred Drake | 2002-09-27 | 1 | -0/+6 |
| | | | | Closes SF bug #583248; backporting to r22-maint branch. | ||||
* | Added regression test for SF bug #561822: has_option() case sensitive. | Fred Drake | 2002-09-27 | 1 | -0/+5 |
| | |||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Whitespace normalization. | Tim Peters | 2002-04-16 | 1 | -1/+1 |
| | |||||
* | As part of fixing bug #523301, add a simple test of ConfigParser.write() | Andrew M. Kuchling | 2002-03-08 | 1 | -0/+29 |
| | |||||
* | Added tests that check getboolean() with the newly allowed values from | Fred Drake | 2001-10-08 | 1 | -0/+37 |
| | | | | SF patch #467580. | ||||
* | When reading a continuation line, make sure we still use the transformed | Fred Drake | 2001-07-06 | 1 | -0/+7 |
| | | | | | | | name when filling in the internal data structures, otherwise we incorrectly raise a KeyError. This fixes SF bug #432369. | ||||
* | Make sure ConfigParser uses .optionxform() consistently; this affects | Fred Drake | 2001-02-26 | 1 | -0/+24 |
| | | | | | | .has_option(), .remove_option(), and .set(). This closes SF tracker #232913. | ||||
* | Test section name using some strange characters, including a backslash | Fred Drake | 2001-02-14 | 1 | -2/+7 |
| | | | | (SF bug #132288). | ||||
* | Added options that use square brackets in their names; this ensures that | Fred Drake | 2001-02-12 | 1 | -43/+49 |
| | | | | | | | | 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. | ||||
* | Add test cases for ConfigParser.remove_option() behavior. This includes | Fred Drake | 2000-12-04 | 1 | -0/+24 |
| | | | | coverage to ensure bug #124324 does not re-surface. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -1/+1 |
| | |||||
* | Remove change that had not been saved when the output was generated; | Fred Drake | 2000-09-28 | 1 | -3/+0 |
| | | | | | not terribly useful. Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>. | ||||
* | Regression test for ConfigParser module. | Fred Drake | 2000-09-27 | 1 | -0/+144 |