- 22 Tem, 2005 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 03 Eki, 2004 2 kayıt (commit)
-
-
David Goodger yazdı
SF bug #997050: Document, test, & check for non-string values in 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.
-
David Goodger yazdı
SF bug #1017864: ConfigParser now correctly handles default keys, processing them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options.
-
- 18 May, 2004 3 kayıt (commit)
-
-
Fred Drake yazdı
- read() method returns a list of files parsed successfully - add tests, documentation (closes SF patch #677651)
-
Fred Drake yazdı
- 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)
-
Fred Drake yazdı
- 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)
-
- 04 May, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
From SF patch #852334.
-
- 21 Eki, 2003 1 kayıt (commit)
-
-
Fred Drake yazdı
iterator where it probably shouldn't have. Closes SF bug #818861.
-
- 20 Eki, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
(From SF patch #810751)
-
- 01 Eyl, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
(Contributed by George Yoshida.)
-
- 29 Haz, 2003 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 31 Ara, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
now derive from InterpolationError, which is not raised directly (only subclasses get raised). This matches what the docs already said.
-
Fred Drake yazdı
InterpolationError constructor, not the KeyError exception itself. (Caught by the new InterpolationError test.) SafeConfigParser._interpolate_some(): Pass the right number of arguments to the InterpolationError constructor. (Caught by pychecker.)
-
- 30 Ara, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
- added docstring to exceptions
-
Neal Norwitz yazdı
XXX Not sure this is correct.
-
- 17 Ara, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Convert remaining uses of 1/0 to True/False
-
- 09 Kas, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 06 Kas, 2002 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 25 Eki, 2002 3 kayıt (commit)
-
-
Fred Drake yazdı
Closes SF bug #511737.
-
Fred Drake yazdı
indirectly via %(__name__)s. Not sure why, but maintain the documented behavior for the new items() method. Be a little more efficient about how we compute the list of options in the ConfigParser.items() method.
-
Fred Drake yazdı
derived class that adds the ugly string interpolation code. In the process, changed all "__" methods and instance variables to "_".
-
- 27 Eyl, 2002 3 kayıt (commit)
-
-
Fred Drake yazdı
Closes SF bug #583248; backporting to r22-maint branch.
-
Fred Drake yazdı
-
Fred Drake yazdı
Closes SF bug #561822. Integrate the "code cleanup and general bug fix patch" (SF bug #545096), contributed by Gustavo Niemeyer. This is the portion of that patch that does not add new functionality.
-
- 03 Haz, 2002 1 kayıt (commit)
-
-
Walter Dörwald yazdı
x in string.whitespace => x.isspace() type(x) in types.StringTypes => isinstance(x, basestring) isinstance(x, types.StringTypes) => isinstance(x, basestring) type(x) is types.StringType => isinstance(x, str) type(x) == types.StringType => isinstance(x, str) string.split(x, ...) => x.split(...) string.join(x, y) => y.join(x) string.zfill(x, ...) => x.zfill(...) string.count(x, ...) => x.count(...) hasattr(types, "UnicodeType") => try: unicode except NameError: type(x) != types.TupleTuple => not isinstance(x, tuple) isinstance(x, types.TupleType) => isinstance(x, tuple) type(x) is types.IntType => isinstance(x, int) Do not mention the string module in the rlcompleter docstring. This partially applies SF patch http://www.python.org/sf/562373 (with basestring instead of string). (It excludes the changes to unittest.py and does not change the os.stat stuff.)
-
- 01 Haz, 2002 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 26 Nis, 2002 1 kayıt (commit)
-
-
Fred Drake yazdı
Reported by Neal Norwitz on python-dev.
-
- 04 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 08 Mar, 2002 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
were originally rfc822-like line continuations. Modified version of a patch from Matthias Ralfs.
-
- 18 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 04 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This patch allows ConfigParser.getboolean() to interpret TRUE, FALSE, YES, NO, ON and OFF instead just '0' and '1'. While just allowing '0' and '1' sounds more correct users often demand to use more descriptive directives in configuration files. Instead of forcing every programmer do brew his own solution a system should include the batteries for this. [My modification to the patch is a slight rewording of the docstring and use of lowercase instead of uppercase templates. The code is still case sensitive. GvR.]
-
- 17 Agu, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
-
- 13 Agu, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 02 Agu, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 06 Tem, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
name when filling in the internal data structures, otherwise we incorrectly raise a KeyError. This fixes SF bug #432369.
-
- 26 Şub, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
.has_option(), .remove_option(), and .set(). This closes SF tracker #232913.
-
- 14 Şub, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
at least one addition to the set of accepted characters for every release since this module was first added; this should take care of the problem in a more substantial way. This closes SF bug #132288.
-
- 12 Şub, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
ConfigParser with GNOME-ish config files that use the internationalization conventions found in GNOME. This closes SF bug #131635.
-