This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients lukasz.langa, rhettinger, skip.montanaro, skrah, vlachoudis
Date 2011-02-02.01:46:44
SpamBayes Score 1.2885743e-06
Marked as misclassified No
Message-id <1296611205.34.0.531309667501.issue11089@psf.upfronthosting.co.za>
In-reply-to
Content
Commenting-out the ``c.set(section,"item#%d"%(i),str(i))`` calls shows that that is not where the problem lies for the ConfigParser() class.
The issue seems confined to ConfigParser.get().

The  RawConfigParser() class doesn't seem to have the same issue.

Looking at the 2.7 code for ConfigParser.get() shows that it is doing a lot more than just getting.  For example, it does a full copy of defaults dictionary on every call !?

I'll look at it more shortly.
History
Date User Action Args
2011-02-02 01:46:45rhettingersetrecipients: + rhettinger, skip.montanaro, skrah, lukasz.langa, vlachoudis
2011-02-02 01:46:45rhettingersetmessageid: <1296611205.34.0.531309667501.issue11089@psf.upfronthosting.co.za>
2011-02-02 01:46:44rhettingerlinkissue11089 messages
2011-02-02 01:46:44rhettingercreate