# HG changeset patch # User Augie Fackler # Date 1403529773 14400 # Node ID fb16f6da5b3bf7e6fdbfe6bbe82298d7a67f7f44 # Parent 3fbef7ac26f05bca222e1c99e6469bdb2fd35528 check-code: drop ban on callable() which was restored in Python 3.2 A followup will restore use of callable() in place of the awkward hasattr() construction we were using to be one step closer to Python 3. diff -r 3fbef7ac26f0 -r fb16f6da5b3b contrib/check-code.py --- a/contrib/check-code.py Sat Jun 21 15:56:49 2014 +1000 +++ b/contrib/check-code.py Mon Jun 23 09:22:53 2014 -0400 @@ -247,8 +247,6 @@ (r'^\s*os\.path\.relpath', "relpath not available in Python 2.4"), (r'(?