[issue26646] Allow built-in module in package

2016-04-01 Thread Brett Cannon
Brett Cannon added the comment: Referring to the other issue was more about tying the two issues together than necessarily expecting the other patch to work. As for supporting packages as well as submodules, I'm not sure. It seems a little odd not to support the idea, but then again if

[issue26646] Allow built-in module in package

2016-04-01 Thread Daniel Shaulov
Daniel Shaulov added the comment: Hi Brett, I don't think that the patch from that issue is relevant anymore. I did take the test case that was proposed in that issue and I am attaching a fixed version here. I did realize from the discussion that my patch probably doesn't work on Windows (I

[issue26646] Allow built-in module in package

2016-03-27 Thread Brett Cannon
Brett Cannon added the comment: http://bugs.python.org/issue1644818 is also related to this. -- ___ Python tracker ___

[issue26646] Allow built-in module in package

2016-03-26 Thread Daniel Shaulov
Changes by Daniel Shaulov : Added file: http://bugs.python.org/file42298/importlib_h.patch ___ Python tracker ___

[issue26646] Allow built-in module in package

2016-03-26 Thread Daniel Shaulov
New submission from Daniel Shaulov: Hi, I was trying to build a python interpreter that has the cpp part of msgpack as a built-in module. I thought that I could just copy the msgpack folder to the Modules folder and add this 2 lines to Modules/Setup.local: msgpack._packer msgpack/_packer.cpp