Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Lib/plat-linux2/IN.py #44024

Closed
doko42 opened this issue Sep 25, 2006 · 6 comments
Closed

update Lib/plat-linux2/IN.py #44024

doko42 opened this issue Sep 25, 2006 · 6 comments
Labels
easy stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@doko42
Copy link
Member

doko42 commented Sep 25, 2006

BPO 1565071
Nosy @loewis, @doko42, @devdanzin, @eriol, @zware
Dependencies
  • bpo-12619: Automatically regenerate platform-specific modules
  • Superseder
  • bpo-28027: Remove Lib/plat-/ files
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-09-09.16:41:58.326>
    created_at = <Date 2006-09-25.12:51:47.000>
    labels = ['easy', 'type-bug', 'library']
    title = 'update Lib/plat-linux2/IN.py'
    updated_at = <Date 2016-09-09.16:41:58.324>
    user = 'https://github.com/doko42'

    bugs.python.org fields:

    activity = <Date 2016-09-09.16:41:58.324>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-09.16:41:58.326>
    closer = 'zach.ware'
    components = ['Library (Lib)']
    creation = <Date 2006-09-25.12:51:47.000>
    creator = 'doko'
    dependencies = ['12619']
    files = []
    hgrepos = []
    issue_num = 1565071
    keywords = ['easy']
    message_count = 6.0
    messages = ['61005', '61006', '84464', '111146', '222409', '275336']
    nosy_count = 6.0
    nosy_names = ['loewis', 'doko', 'ajaksu2', 'eriol', 'BreamoreBoy', 'zach.ware']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = '28027'
    type = 'behavior'
    url = 'https://bugs.python.org/issue1565071'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    @doko42
    Copy link
    Member Author

    doko42 commented Sep 25, 2006

    there's a request to update this module to add missing
    IN.SIO* definitions. How should that be done? Just
    re-running h2py drops all SIO* definitions, because the
    linux/sockios.h header isn't included anymore.

    requested at http://launchpad.net/bugs/58081

    @doko42 doko42 added stdlib Python modules in the Lib dir labels Sep 25, 2006
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Sep 27, 2006

    Logged In: YES
    user_id=21627

    It's convention that plat-* mirrors the structure of the
    header files. So ISTM that we should add sockios.py; IN.py
    should perhaps be regenerated only a release later.

    @devdanzin
    Copy link
    Mannequin

    devdanzin mannequin commented Mar 30, 2009

    IN.py on trunk still lacks IN.SIOCGIFADDR (mentioned by the linked bug's
    OP).

    Present SIOC* in IN.py:
    SIOCSPGRP = 0x8902
    SIOCGPGRP = 0x8904
    SIOCATMARK = 0x8905
    SIOCGSTAMP = 0x8906

    @devdanzin devdanzin mannequin added type-bug An unexpected behavior, bug, or error labels Mar 30, 2009
    @devdanzin devdanzin mannequin added easy labels Apr 22, 2009
    @eriol
    Copy link
    Mannequin

    eriol mannequin commented Jul 22, 2010

    I would like to take care of this bug if it is worthwhile.

    I tried to use h2py as suggested by Martin v. Löwis adding
    /usr/include/linux/sockios.h in the regen shell script and it
    obviously work.

    I used a fresh clone of the py3k branch.

    P.S. Is not a problem that the resulting module name SOCKIOS does't
    follow PEP-8?

    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Jul 6, 2014

    Related issues via bpo-12619 include bpo-3990 and bpo-19554.

    @zware
    Copy link
    Member

    zware commented Sep 9, 2016

    This file was moved long ago and has now been completely removed.

    @zware zware closed this as completed Sep 9, 2016
    @zware zware closed this as completed Sep 9, 2016
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    easy stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants