<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear all,<div class=""><br class=""></div><div class=""> We are developing PythonQL (<a href="http://www.pythonql.org" class="">www.pythonql.org</a>), a DSL for advanced queries (a mix of SQL, OQL and XQuery capabilities) and integration middlewear.</div><div class="">Currently the preprocessor is implemented via source encoding mechanism, which is a very brittle solution (in some environments automatic</div><div class="">installation fails and requires manual actions). I have heard that importlib hooks can be used to implement such a preprocessor, but I wasn’t</div><div class="">able to find examples or a description of how this could be done. Would very much appreciate any help or pointers on how to approach this problem.</div><div class=""><br class=""></div><div class="">Thanks in advance,</div><div class="">Pavel Velikhov</div></body></html>