[Python-Dev] Merging Jython code into standard Lib [was Re: Python Language Summit at PyCon: Agenda]

fwierzbicki at gmail.com fwierzbicki at gmail.com
Fri Mar 1 18:49:28 CET 2013


On Thu, Feb 28, 2013 at 12:35 PM, Brett Cannon <brett at python.org> wrote:
>
> On Thu, Feb 28, 2013 at 3:17 PM, fwierzbicki at gmail.com
> <fwierzbicki at gmail.com> wrote:
>>
>> It would be nice in this particular case if there was a zlib.py that
>> imported _zlib -- then it would be easy to shim in Jython's version,
>> whether it is written in a .py file or in Java.
>
>
> That should be fine as that is what we already do for accelerator modules
> anyway. If you want to work towards having an equivalent of CPython's
> Modules/ directory so you can ditch your custom Lib/ modules by treating
> your specific code as accelerators I think we can move towards that
> solution.
Sounds great! I'm betting that implementing PEP 420 on Jython will
make mixed Python/Java code easier to deal with, so _zlib.py might
just end up living next to our Java code. So deleting Jython's Lib/
may still be an option.

-Frank


More information about the Python-Dev mailing list