changeset 30022 | bf94fe556f16 |
parent 29984 | 11b3a59e7435 |
child 30023 | 16a09ae318b4 |
--- a/mercurial/demandimport.py Mon Sep 26 16:12:40 2016 +0800 +++ b/mercurial/demandimport.py Tue Sep 27 22:36:00 2016 +0900 @@ -287,6 +287,12 @@ 'distutils.msvc9compiler', ] +if _pypy: + ignore.extend([ + # _ctypes.pointer is shadowed by "from ... import pointer" (PyPy 5) + '_ctypes.pointer', + ]) + def isenabled(): return builtins.__import__ == _demandimport