]> granicus.if.org Git - python/commit
Revert 83784 adding functools.lru_cache() to the re module.
authorRaymond Hettinger <python@rcn.com>
Mon, 9 Aug 2010 05:56:50 +0000 (05:56 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 9 Aug 2010 05:56:50 +0000 (05:56 +0000)
commit31022301b59bb84a85be13e8da02b898ae07c7fc
tree36c163d37e7f525ab673d7f7238e8248d4b8851a
parent4f859ed9c7feba6e403895c4044608d29efd2ba9
Revert 83784 adding functools.lru_cache() to the re module.

The problem is that the re module is imported by sysconfig
and re needs functools which uses collections.OrderedDict()
but the _collectionsmodule.c code is not yet constructed
at this point in the build.

The likely best solution will be to include _collections
as part of the static build before the rest of the
boot-strapping.
Lib/re.py
Lib/test/test_re.py
Misc/NEWS