A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/011581.html below:

[Python-Dev] [Patch #103154] Cygwin Check Import Case Patch

[Python-Dev] [Patch #103154] Cygwin Check Import Case PatchSkip Montanaro skip@mojam.com (Skip Montanaro)
Fri, 12 Jan 2001 10:37:57 -0600 (CST)
    Guido> Summary: Cygwin Check Import Case Patch
    ...
    Guido> But I believe the solution is that the TERMIOS module should be
    Guido> renamed.

Isn't this a general problem?  As I recall, the convention when generating
Python modules from C header files is to simply convert the base name to
upper case and replace ".h" with ".py" (errno.h -> ERRNO.py).  From h2py.py:

    # Without filename arguments, acts as a filter.
    # If one or more filenames are given, output is written to corresponding
    # filenames in the local directory, translated to all uppercase, with
    # the extension replaced by ".py".

Perhaps the convention should be instead to append "d" or "data" to the base
name (errno.h -> errnodata.py).

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4