Browse Source
With this patch a port can enable module weak link support and provide a dict of qstr->module mapping. This mapping is looked up only if an import fails to find the requested module in the filesystem. This allows to have the builtin module named, eg, usocket, and provide a weak link of "socket" to the same module, but this weak link can be overridden if a file by the name "socket.py" is found in the import path.pull/905/head
Damien George
10 years ago
4 changed files with 52 additions and 3 deletions
Loading…
Reference in new issue