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

ctypes documentation error #87253

Closed
metolone mannequin opened this issue Jan 31, 2021 · 5 comments
Closed

ctypes documentation error #87253

metolone mannequin opened this issue Jan 31, 2021 · 5 comments
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes docs Documentation in the Doc dir topic-ctypes

Comments

@metolone
Copy link
Mannequin

metolone mannequin commented Jan 31, 2021

BPO 43087
Nosy @terryjreedy, @ZackerySpytz, @miss-islington
PRs
  • bpo-43087: Fix error in ctypes "Incomplete Types" doc #24404
  • [3.9] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) #25198
  • [3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) #25199
  • 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 2021-04-08.08:22:29.773>
    created_at = <Date 2021-01-31.19:07:19.671>
    labels = ['ctypes', '3.8', '3.9', '3.10', 'docs']
    title = 'ctypes documentation error'
    updated_at = <Date 2021-04-08.08:22:29.772>
    user = 'https://bugs.python.org/metolone'

    bugs.python.org fields:

    activity = <Date 2021-04-08.08:22:29.772>
    actor = 'terry.reedy'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2021-04-08.08:22:29.773>
    closer = 'terry.reedy'
    components = ['Documentation', 'ctypes']
    creation = <Date 2021-01-31.19:07:19.671>
    creator = 'metolone'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43087
    keywords = ['patch']
    message_count = 5.0
    messages = ['386037', '386038', '390250', '390508', '390509']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'metolone', 'docs@python', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['24404', '25198', '25199']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43087'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    @metolone
    Copy link
    Mannequin Author

    metolone mannequin commented Jan 31, 2021

    At the following documentation link:

    https://docs.python.org/3/library/ctypes.html#incomplete-types

    The last example should have byte strings:

    >> c1 = cell()
    >> c1.name = b"foo"
    >> c2 = cell()
    >> c2.name = b"bar"

    @metolone metolone mannequin added docs Documentation in the Doc dir topic-ctypes 3.9 only security fixes labels Jan 31, 2021
    @metolone metolone mannequin assigned docspython Jan 31, 2021
    @metolone metolone mannequin added docs Documentation in the Doc dir topic-ctypes 3.9 only security fixes labels Jan 31, 2021
    @metolone metolone mannequin assigned docspython Jan 31, 2021
    @ZackerySpytz
    Copy link
    Mannequin

    ZackerySpytz mannequin commented Jan 31, 2021

    Thank you for the report.

    @ZackerySpytz ZackerySpytz mannequin added 3.8 only security fixes 3.10 only security fixes labels Jan 31, 2021
    @terryjreedy
    Copy link
    Member

    New changeset 14829b0 by Zackery Spytz in branch 'master':
    bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)
    14829b0

    @terryjreedy
    Copy link
    Member

    New changeset 5490b49 by Miss Islington (bot) in branch '3.9':
    [3.9] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)
    5490b49

    @terryjreedy
    Copy link
    Member

    New changeset 754dc35 by Miss Islington (bot) in branch '3.8':
    [3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)
    754dc35

    @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
    3.8 only security fixes 3.9 only security fixes 3.10 only security fixes docs Documentation in the Doc dir topic-ctypes
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant