[Python-Dev] Merging Jython code into standard Lib [was Re: Python Language Summit at PyCon: Agenda]
Brett Cannon
brett at python.org
Thu Feb 28 21:35:35 CET 2013
On Thu, Feb 28, 2013 at 3:17 PM, fwierzbicki at gmail.com <
fwierzbicki at gmail.com> wrote:
> On Thu, Feb 28, 2013 at 12:00 PM, Antoine Pitrou <solipsis at pitrou.net>
> wrote:
> > IMHO, we should remove the plat-* directories, they are completely
> > unmaintained, undocumented, and serve no useful purpose.
> Oh I didn't know that - so definitely adding to that is right out :)
>
> Really for cases like Jython's zlib.py (no useful code for CPython) I
> don't have any trouble keeping them entirely in Jython. It just would
> have been fun to delete our Lib/ :)
>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130228/a9fdb73e/attachment.html>
More information about the Python-Dev
mailing list