[py-dev] Import problems

Maciek Fijalkowski fijal at genesilico.pl
Fri Jul 14 12:01:52 CEST 2006


  I want to make py.execnet import remotely. So what I perform:
- make new __import__ hook, so we can try local import or ask for 
sources from server (via some channel), sources are got by py.code.Source()

but...

  There are problems with importing py lib itself. For some modules it 
tells that there are builtin modules (py modules), because of import 
hooks. On the other hand copying py.lib is not what I want to achieve.
  Any clue?




More information about the Pytest-dev mailing list