Skip to main content

This library brings the updated configparser from Python 3.2+ to Python 2.5-2.7.

Project description

The ancient ConfigParser module available in the standard library 2.x has seen a major update in Python 3.2. This is a backport of those changes so that they can be used directly in Python 2.5 - 2.7.

To use configparser instead of ConfigParser, simply replace:

import ConfigParser


import configparser

For detailed documentation consult the vanilla version at


This backport is intended to keep 100% compatibility with the vanilla release in Python 3.2+. To help maintaining a version you want and expect, a versioning scheme is used where:

  • the first three numbers indicate the version of Python 3.x from which the backport is done

  • a backport release number is provided after the r letter

For example, 3.2.0r1 is the first release of configparser compatible with the library found in Python 3.2.0.

A single exception from the 100% compatibility principle is that bugs fixed before releasing another minor Python 3.x.y version will be included in the backport releases done in the mean time. This rule applies to bugs only.


This backport is maintained on BitBucket by Łukasz Langa, the current vanilla configparser maintainer for CPython:

Change Log


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

configparser-3.2.0r1.tar.gz (29.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page