STINNER Victor <vstin...@redhat.com> added the comment:

Lib/plat-*/ directories has been removed in Python 3.6 by:

commit 20737cc91e823b6b17fff16574283c034c99d641
Author: Zachary Ware <zachary.w...@gmail.com>
Date:   Thu Sep 8 11:38:46 2016 -0700

    Issue #28027: Remove Lib/plat-* files

> Python 2 standard library had platform specific modules like CDROM which were 
> generated by Tools/scripts/h2py.py. These modules were removed, but h2py.py 
> is still around.

Example of Python 2.7:

$ head -n1 Lib/plat-linux2/IN.py 
# Generated by h2py from /usr/include/netinet/in.h
...

$ tail -n1 Lib/plat-linux2/regen 
...
h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h 
/usr/include/dlfcn.h

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37704>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to