Mercurial > hg-stable
changeset 25141:3ea8d6b5e665
check-code: drop the 'isdisjoint' ban
'isdisjoint' is available in Python 2.6. The new lowest supported version.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sun, 17 May 2015 17:45:47 -0700 |
parents | 317333e0793c |
children | 24140873ca4c |
files | contrib/check-code.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/check-code.py Sun May 17 17:40:26 2015 -0700 +++ b/contrib/check-code.py Sun May 17 17:45:47 2015 -0700 @@ -245,7 +245,6 @@ # (r'^\s*print\s+', "avoid using print in core and extensions"), (r'[\x80-\xff]', "non-ASCII character literal"), (r'("\')\.format\(', "str.format() not available in Python 2.4"), - (r'\.isdisjoint\(', "set.isdisjoint not available in Python 2.4"), (r'(?<!def)\s+(any|all|format)\(', "any/all/format not available in Python 2.4", 'no-py24'), (r'if\s.*\selse', "if ... else form not available in Python 2.4"),