Предизвикателства > Сляпа баба > Решения > Решението на Елисавета Дочева

Резултати
0 точки от тестове
1 точки от учител

1 точки общо

0 успешни теста
1 неуспешни теста
Код

 1import secret
 2import inspect
 3from operator import attrgetter
 4import re
 5import types
 6
 7fn = ['F', 'N', '6', '2', '5', '9', '1']
 8
 9
10def name_is_from_fn(method_name):
11    if method_name in fn:
12        fn.remove(method_name)
13        return True
14    return False
15
16
17def methodify():
18    attributes = dir(secret)
19
20    path = ''
21
22    interesting = list()
23
24    for attr in attributes:
25        if not fn:
26            return ('F', 'N', '6', '2', '5', '9', '1')
27        item = attrgetter(f"{attr}")(secret)
28        if not inspect.isclass(item) and not attr.startswith('_'):
29            if callable(item):
30                if (bool(re.search(r'\.(_)?([A-Z]|[0-9])$', attr)) and bool(re.search(r'clue', attr))):
31                    name = re.search(r'([A-Z]|[0-9])$', attr).group()
32
33                    if isinstance(item, types.FunctionType):
34                        if name_is_from_fn(name):
35                            interesting.append(name)
36                            continue
37
38                    try:
39                        item()
40                    except TypeError as data:
41                        if (str(data) == "Опаааааа, тука има нещо нередно."):
42                            if name_is_from_fn(name):
43                                interesting.append(name)
44                                continue
45                    except BaseException as data:
46                        if (str(data)):
47                            if name_is_from_fn(name):
48                                interesting.append(name)
49                                continue
50
51                    try:
52                        even_result = item(4)
53                        odd_result = item(5)
54
55                        if even_result == 16 and odd_result == 0:
56                            if name_is_from_fn(name):
57                                interesting.append(name)
58                                continue
59                    except:
60                        pass
61
62                    try:
63                        string_result = item(
64                            left="leftString ", right="right string")
65
66                        if string_result == "leftString right string":
67                            if name_is_from_fn(name):
68                                interesting.append(name)
69                                continue
70                    except:
71                        pass
72            else:
73                if bool(re.search(r'clue', attr)):
74                    path = attr
75                    inner_attributes = filter(
76                        lambda a: not a.startswith('__'), dir(item))
77                    for i in inner_attributes:
78                        inner_item = getattr(item, i)
79                        if not inspect.isclass(inner_item) and hasattr(inner_item, '__dict__'):
80                            attributes.append(f"{path}.{i}")

F
======================================================================
FAIL: test_metodify (test.TestMethodify)
Test metodify function.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/test.py", line 12, in test_metodify
self.assertIn(methodify(), _RESULTS.keys())
AssertionError: ('F', 'N', '6', '2', '5', '9', '1') not found in dict_keys([(<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_6 at 0x7fb6ec1d3010>, <function method_7 at 0x7fb6ec1d30a0>, <function method_8 at 0x7fb6ec1d3130>, <function method_9 at 0x7fb6ec1d31c0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_4 at 0x7fb6ec1d2ef0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_5 at 0x7fb6ec1d2f80>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_9 at 0x7fb6ec1d31c0>, <function method_5 at 0x7fb6ec1d2f80>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_5 at 0x7fb6ec1d2f80>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_1 at 0x7fb6ec1d2d40>, <function method_5 at 0x7fb6ec1d2f80>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_1 at 0x7fb6ec1d2d40>, <function method_6 at 0x7fb6ec1d3010>, <function method_5 at 0x7fb6ec1d2f80>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_3 at 0x7fb6ec1d2e60>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_9 at 0x7fb6ec1d31c0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_4 at 0x7fb6ec1d2ef0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_5 at 0x7fb6ec1d2f80>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_1 at 0x7fb6ec1d2d40>, <function method_5 at 0x7fb6ec1d2f80>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_5 at 0x7fb6ec1d2f80>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_1 at 0x7fb6ec1d2d40>, <function method_5 at 0x7fb6ec1d2f80>, <function method_9 at 0x7fb6ec1d31c0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_9 at 0x7fb6ec1d31c0>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_5 at 0x7fb6ec1d2f80>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_1 at 0x7fb6ec1d2d40>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_9 at 0x7fb6ec1d31c0>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>, <function method_5 at 0x7fb6ec1d2f80>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_5 at 0x7fb6ec1d2f80>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_3 at 0x7fb6ec1d2e60>, <function method_9 at 0x7fb6ec1d31c0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_9 at 0x7fb6ec1d31c0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_8 at 0x7fb6ec1d3130>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_7 at 0x7fb6ec1d30a0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_1 at 0x7fb6ec1d2d40>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_5 at 0x7fb6ec1d2f80>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_6 at 0x7fb6ec1d3010>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_1 at 0x7fb6ec1d2d40>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_7 at 0x7fb6ec1d30a0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_4 at 0x7fb6ec1d2ef0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_1 at 0x7fb6ec1d2d40>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_4 at 0x7fb6ec1d2ef0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_3 at 0x7fb6ec1d2e60>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_1 at 0x7fb6ec1d2d40>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_9 at 0x7fb6ec1d31c0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>, <function method_9 at 0x7fb6ec1d31c0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_9 at 0x7fb6ec1d31c0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_6 at 0x7fb6ec1d3010>, <function method_8 at 0x7fb6ec1d3130>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_3 at 0x7fb6ec1d2e60>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_5 at 0x7fb6ec1d2f80>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>, <function method_8 at 0x7fb6ec1d3130>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_5 at 0x7fb6ec1d2f80>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_3 at 0x7fb6ec1d2e60>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_9 at 0x7fb6ec1d31c0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_7 at 0x7fb6ec1d30a0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_9 at 0x7fb6ec1d31c0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_1 at 0x7fb6ec1d2d40>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_7 at 0x7fb6ec1d30a0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_5 at 0x7fb6ec1d2f80>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_8 at 0x7fb6ec1d3130>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_8 at 0x7fb6ec1d3130>, <function method_5 at 0x7fb6ec1d2f80>, <function method_5 at 0x7fb6ec1d2f80>, <function method_3 at 0x7fb6ec1d2e60>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_1 at 0x7fb6ec1d2d40>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_7 at 0x7fb6ec1d30a0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_9 at 0x7fb6ec1d31c0>, <function method_8 at 0x7fb6ec1d3130>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_7 at 0x7fb6ec1d30a0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_7 at 0x7fb6ec1d30a0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_9 at 0x7fb6ec1d31c0>, <function method_2 at 0x7fb6ec1d2dd0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_0 at 0x7fb6ec1d2cb0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_7 at 0x7fb6ec1d30a0>, <function method_1 at 0x7fb6ec1d2d40>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_1 at 0x7fb6ec1d2d40>, <function method_4 at 0x7fb6ec1d2ef0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_3 at 0x7fb6ec1d2e60>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>, <function method_5 at 0x7fb6ec1d2f80>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_9 at 0x7fb6ec1d31c0>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_3 at 0x7fb6ec1d2e60>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_1 at 0x7fb6ec1d2d40>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_8 at 0x7fb6ec1d3130>, <function method_7 at 0x7fb6ec1d30a0>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_5 at 0x7fb6ec1d2f80>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_6 at 0x7fb6ec1d3010>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_7 at 0x7fb6ec1d30a0>, <function method_M at 0x7fb6ec1d2b90>, <function method_I at 0x7fb6ec1d2c20>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_6 at 0x7fb6ec1d3010>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_0 at 0x7fb6ec1d2cb0>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_1 at 0x7fb6ec1d2d40>, <function method_8 at 0x7fb6ec1d3130>), (<function method_F at 0x7fb6ec1d2a70>, <function method_N at 0x7fb6ec1d2b00>, <function method_6 at 0x7fb6ec1d3010>, <function method_2 at 0x7fb6ec1d2dd0>, <function method_4 at 0x7fb6ec1d2ef0>, <function method_8 at 0x7fb6ec1d3130>, <function method_7 at 0x7fb6ec1d30a0>)])

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (failures=1)

Дискусия
История

f1import secretf1import secret
2import inspect2import inspect
3from operator import attrgetter3from operator import attrgetter
4import re4import re
5import types5import types
66
7fn = ['F', 'N', '6', '2', '5', '9', '1']7fn = ['F', 'N', '6', '2', '5', '9', '1']
88
99
10def name_is_from_fn(method_name):10def name_is_from_fn(method_name):
11    if method_name in fn:11    if method_name in fn:
12        fn.remove(method_name)12        fn.remove(method_name)
13        return True13        return True
14    return False14    return False
1515
1616
17def methodify():17def methodify():
18    attributes = dir(secret)18    attributes = dir(secret)
1919
20    path = ''20    path = ''
2121
22    interesting = list()22    interesting = list()
2323
24    for attr in attributes:24    for attr in attributes:
25        if not fn:25        if not fn:
26            return ('F', 'N', '6', '2', '5', '9', '1')26            return ('F', 'N', '6', '2', '5', '9', '1')
27        item = attrgetter(f"{attr}")(secret)27        item = attrgetter(f"{attr}")(secret)
28        if not inspect.isclass(item) and not attr.startswith('_'):28        if not inspect.isclass(item) and not attr.startswith('_'):
29            if callable(item):29            if callable(item):
30                if (bool(re.search(r'\.(_)?([A-Z]|[0-9])$', attr)) and bool(re.search(r'clue', attr))):30                if (bool(re.search(r'\.(_)?([A-Z]|[0-9])$', attr)) and bool(re.search(r'clue', attr))):
31                    name = re.search(r'([A-Z]|[0-9])$', attr).group()31                    name = re.search(r'([A-Z]|[0-9])$', attr).group()
3232
33                    if isinstance(item, types.FunctionType):33                    if isinstance(item, types.FunctionType):
34                        if name_is_from_fn(name):34                        if name_is_from_fn(name):
35                            interesting.append(name)35                            interesting.append(name)
36                            continue36                            continue
3737
38                    try:38                    try:
39                        item()39                        item()
40                    except TypeError as data:40                    except TypeError as data:
41                        if (str(data) == "Опаааааа, тука има нещо нередно."):41                        if (str(data) == "Опаааааа, тука има нещо нередно."):
42                            if name_is_from_fn(name):42                            if name_is_from_fn(name):
43                                interesting.append(name)43                                interesting.append(name)
44                                continue44                                continue
45                    except BaseException as data:45                    except BaseException as data:
46                        if (str(data)):46                        if (str(data)):
47                            if name_is_from_fn(name):47                            if name_is_from_fn(name):
48                                interesting.append(name)48                                interesting.append(name)
49                                continue49                                continue
5050
51                    try:51                    try:
52                        even_result = item(4)52                        even_result = item(4)
53                        odd_result = item(5)53                        odd_result = item(5)
5454
55                        if even_result == 16 and odd_result == 0:55                        if even_result == 16 and odd_result == 0:
56                            if name_is_from_fn(name):56                            if name_is_from_fn(name):
57                                interesting.append(name)57                                interesting.append(name)
58                                continue58                                continue
59                    except:59                    except:
60                        pass60                        pass
6161
62                    try:62                    try:
63                        string_result = item(63                        string_result = item(
64                            left="leftString ", right="right string")64                            left="leftString ", right="right string")
6565
66                        if string_result == "leftString right string":66                        if string_result == "leftString right string":
67                            if name_is_from_fn(name):67                            if name_is_from_fn(name):
68                                interesting.append(name)68                                interesting.append(name)
69                                continue69                                continue
70                    except:70                    except:
71                        pass71                        pass
72            else:72            else:
73                if bool(re.search(r'clue', attr)):73                if bool(re.search(r'clue', attr)):
74                    path = attr74                    path = attr
75                    inner_attributes = filter(75                    inner_attributes = filter(
76                        lambda a: not a.startswith('__'), dir(item))76                        lambda a: not a.startswith('__'), dir(item))
77                    for i in inner_attributes:77                    for i in inner_attributes:
78                        inner_item = getattr(item, i)78                        inner_item = getattr(item, i)
79                        if not inspect.isclass(inner_item) and hasattr(inner_item, '__dict__'):79                        if not inspect.isclass(inner_item) and hasattr(inner_item, '__dict__'):
80                            attributes.append(f"{path}.{i}")80                            attributes.append(f"{path}.{i}")
t81 t
82 
83methodify()
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op