Mercurial > hg
comparison mercurial/treediscovery.py @ 28718:f103f985ac00
revset: prevent infinite recursion on pypy
as explained in the commit, __len__ cannot do [x for x in self] because
that can potentially call __len__ again, causing infinite recursion
author | Maciej Fijalkowski <fijall@gmail.com> |
---|---|
date | Fri, 01 Apr 2016 10:09:34 +0200 |
parents | 56b2bcea2529 |
children | 0ed11f9368fd |
comparison
equal
deleted
inserted
replaced
28717:c5f212c8ad78 | 28718:f103f985ac00 |
---|