homepage

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 serhiy.storchaka
Recipients Arfrever, barry, eli.bendersky, eric.araujo, eric.smith, ethan.furman, mrabarnett, pitrou, r.david.murray, rhettinger, sbt, serhiy.storchaka, theller, tim.peters, vstinner
Date 2013年09月13日.19:52:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379101939.15.0.0428780775774.issue18986@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an alternative C implementation. It adds to the dict class support of the __transform__() method. If this method is defined in dict subclass it used to transforming keys. collections.TransformDict is just utilizes this feature as collections.defaultdict utilizes __missing__(). This patch changes twice less C code than previous one (227 vs 474 lines).
History
Date User Action Args
2013年09月13日 19:52:19serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, barry, theller, rhettinger, pitrou, vstinner, eric.smith, eric.araujo, mrabarnett, Arfrever, r.david.murray, eli.bendersky, ethan.furman, sbt
2013年09月13日 19:52:19serhiy.storchakasetmessageid: <1379101939.15.0.0428780775774.issue18986@psf.upfronthosting.co.za>
2013年09月13日 19:52:19serhiy.storchakalinkissue18986 messages
2013年09月13日 19:52:19serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /