[Python-bugs-list] [Bug #131635] ConfigParser module regexp issue

noreply@sourceforge.net noreply@sourceforge.net
Mon, 12 Feb 2001 09:20:20 -0800


Bug #131635, was updated on 2001-Feb-08 18:16
Here is a current snapshot of the bug.

Project: Python
Category: Python Library
Status: Closed
Resolution: Fixed
Bug Group: Feature Request
Priority: 5
Submitted by: nobody
Assigned to : fdrake
Summary: ConfigParser module regexp issue

Details: In the ConfigParser module, a section header with a space
character is not allowed by the regexp search function.  This disallows
parsing of GNOME desktop application files
(/usr/share/gnome/apps/*/*.desktop on Red Hat 7.0).  Also, the option
regexp search errors on internationalized options such as the line:
Name[bg]=Vim

System: Red Hat 7.0
Python version: 1.5.2 (Red Hat packaged)


Follow-Ups:

Date: 2001-Feb-12 09:20
By: fdrake

Comment:
ConfigParser was already modified to allow spaces in section names since
the 1.5.2 release.  Added support for square brackets in
Lib/ConfigParser.py revision 1.30.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131635&group_id=5470