def _post_build(self, module, encoding):
module.file_encoding = encoding<EOL>self._manager.cache_module(module)<EOL>for from_node in module._import_from_nodes:<EOL><INDENT>if from_node.modname == "<STR_LIT>":<EOL><INDENT>for symbol, _ in from_node.names:<EOL><INDENT>module.future_imports.add(symbol)<EOL><DEDENT><DEDENT>self.add_from_names_to_locals(from_node)<EOL><DEDENT>for delayed in module._delayed_assattr:<EOL><INDENT>self.delayed_assattr(delayed)<EOL><DEDENT>if self._apply_transforms:<EOL><INDENT>module = self._manager.visit_transforms(module)<EOL><DEDENT>return module<EOL>
Handles encoding and delayed nodes after a module has been built