126 (?: [^#;\\\n]* (?: \\\n )* )* ) |
126 (?: [^#;\\\n]* (?: \\\n )* )* ) |
127 ) |
127 ) |
128 |
128 |
129 | (?P<CodingLine> |
129 | (?P<CodingLine> |
130 ^ \# \s* [*_-]* \s* coding[:=] \s* (?P<Coding> [-\w_.]+ ) \s* [*_-]* $ |
130 ^ \# \s* [*_-]* \s* coding[:=] \s* (?P<Coding> [-\w_.]+ ) \s* [*_-]* $ |
131 ) |
131 )""", |
132 """, re.VERBOSE | re.DOTALL | re.MULTILINE).search # __IGNORE_WARNING__ |
132 re.VERBOSE | re.DOTALL | re.MULTILINE).search |
133 |
133 |
134 _commentsub = re.compile(r"""#[^\n]*\n|#[^\n]*$""").sub |
134 _commentsub = re.compile(r"""#[^\n]*\n|#[^\n]*$""").sub |
135 |
135 |
136 _modules = {} # cache of modules we've seen |
136 _modules = {} # cache of modules we've seen |
137 |
137 |