Mercurial > public > mercurial-scm > hg-stable
diff mercurial/demandimport.py @ 26830:65387a30430e stable
demandimport: fix TypeError when importing Python regex library (issue4920)
author | G?bor Stefanik <gabor.stefanik@nng.com> |
---|---|
date | Wed, 28 Oct 2015 16:27:09 +0100 |
parents | 7e81305092a0 |
children | 78d05778907b |
line wrap: on
line diff
--- a/mercurial/demandimport.py Sat Oct 24 00:39:22 2015 +0100 +++ b/mercurial/demandimport.py Wed Oct 28 16:27:09 2015 +0100 @@ -233,6 +233,7 @@ # raise ImportError if x not defined '__main__', '_ssl', # conditional imports in the stdlib, issue1964 + '_sre', # issue4920 'rfc822', 'mimetools', # setuptools 8 expects this module to explode early when not on windows