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

missing imports ctypes in documentation examples #43969

Closed
dvarrazzo mannequin opened this issue Sep 13, 2006 · 4 comments
Closed

missing imports ctypes in documentation examples #43969

dvarrazzo mannequin opened this issue Sep 13, 2006 · 4 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@dvarrazzo
Copy link
Mannequin

dvarrazzo mannequin commented Sep 13, 2006

BPO 1557890
Nosy @theller
Files
  • ctypes-doc.diff
  • 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 = 'https://github.com/theller'
    closed_at = <Date 2006-11-02.20:28:53.000>
    created_at = <Date 2006-09-13.12:54:11.000>
    labels = ['docs']
    title = 'missing imports ctypes in documentation examples'
    updated_at = <Date 2006-11-02.20:28:53.000>
    user = 'https://bugs.python.org/dvarrazzo'

    bugs.python.org fields:

    activity = <Date 2006-11-02.20:28:53.000>
    actor = 'theller'
    assignee = 'theller'
    closed = True
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2006-09-13.12:54:11.000>
    creator = 'dvarrazzo'
    dependencies = []
    files = ['7538']
    hgrepos = []
    issue_num = 1557890
    keywords = ['patch']
    message_count = 4.0
    messages = ['51113', '51114', '51115', '51116']
    nosy_count = 3.0
    nosy_names = ['nnorwitz', 'theller', 'dvarrazzo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1557890'
    versions = ['Python 2.5']

    @dvarrazzo
    Copy link
    Mannequin Author

    dvarrazzo mannequin commented Sep 13, 2006

    The attached patch fixes a couple of missing imports in
    ctypes documentation examples.

    @dvarrazzo dvarrazzo mannequin closed this as completed Sep 13, 2006
    @dvarrazzo dvarrazzo mannequin assigned theller Sep 13, 2006
    @dvarrazzo dvarrazzo mannequin added the docs Documentation in the Doc dir label Sep 13, 2006
    @dvarrazzo dvarrazzo mannequin closed this as completed Sep 13, 2006
    @dvarrazzo dvarrazzo mannequin assigned theller Sep 13, 2006
    @dvarrazzo dvarrazzo mannequin added the docs Documentation in the Doc dir label Sep 13, 2006
    @nnorwitz
    Copy link
    Mannequin

    nnorwitz mannequin commented Oct 28, 2006

    Logged In: YES
    user_id=33168

    Thanks for the patch. I think WinError is meant to be a
    user defined error. There isn't one in ctypes that I saw.
    So I left that part of the patch out. Instead of adding an
    import, I used UINT which was already imported and conformed
    to the prototype given above.

    Committed revision 52515. (2.5)
    Committed revision 52514. (2.6)

    @theller
    Copy link

    theller commented Nov 2, 2006

    Logged In: YES
    user_id=11105

    Unfortuately ;-), dvarrazzo is right. WinError is a symbol
    exported by ctypes. I'll update the docs.

    @theller
    Copy link

    theller commented Nov 2, 2006

    Logged In: YES
    user_id=11105

    Fixed in svn rev 52592 (trunk) and rev 52593 (release25-maint).

    @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
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant