# HG changeset patch # User Paul Boddie # Date 1473453751 -7200 # Node ID 619717628963477fb7ec2aae7f2a3988270e9273 # Parent 4a2c0bd37c0bba1af4d66b333b842f78dd0803d6 Attempt to show the attribute name sets that cannot be supported by known types. diff -r 4a2c0bd37c0b -r 619717628963 deducer.py --- a/deducer.py Fri Sep 09 22:40:11 2016 +0200 +++ b/deducer.py Fri Sep 09 22:42:31 2016 +0200 @@ -23,7 +23,7 @@ init_item, make_key, sorted_output, \ CommonOutput from encoders import encode_attrnames, encode_access_location, \ - encode_constrained, encode_location + encode_constrained, encode_location, encode_usage from os.path import join from referencing import Reference @@ -236,7 +236,9 @@ if not all_types: print >>f_types, encode_location(location), "deduced", "<>", 0 - print >>f_warnings, encode_location(location) + attrnames = list(self.location_index[location]) + attrnames.sort() + print >>f_warnings, encode_location(location), "; ".join(map(encode_usage, attrnames)) guard_test = self.accessor_guard_tests.get(location)