Re: [Python-Dev] PyCapsule_Import semantics, relative imports, module names etc.

2015-07-26 Thread Nick Coghlan
On 27 July 2015 at 01:21, Larry Hastings wrote: > > PyCapsule_Import() is a simple helper function, a slightly-updated analogue > to PyCObject_Import(). It's not particularly sophisticated, and I'm not > surprised it's bewildered by complicated scenarios like relative imports in > subpackages. F

Re: [Python-Dev] PyCapsule_Import semantics, relative imports, module names etc.

2015-07-26 Thread Larry Hastings
PyCapsule_Import() is a simple helper function, a slightly-updated analogue to PyCObject_Import(). It's not particularly sophisticated, and I'm not surprised it's bewildered by complicated scenarios like relative imports in subpackages. For now all I can recommend is that you not try and torture