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

Document size_t related long object APIs #46943

Closed
abalkin opened this issue Apr 25, 2008 · 5 comments
Closed

Document size_t related long object APIs #46943

abalkin opened this issue Apr 25, 2008 · 5 comments
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@abalkin
Copy link
Member

abalkin commented Apr 25, 2008

BPO 2691
Nosy @birkenfeld, @abalkin
Files
  • doc-long.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/birkenfeld'
    closed_at = <Date 2008-04-26.18:32:21.524>
    created_at = <Date 2008-04-25.16:03:08.478>
    labels = ['type-feature', 'docs']
    title = 'Document size_t related long object APIs'
    updated_at = <Date 2008-04-26.18:32:21.523>
    user = 'https://github.com/abalkin'

    bugs.python.org fields:

    activity = <Date 2008-04-26.18:32:21.523>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-04-26.18:32:21.524>
    closer = 'georg.brandl'
    components = ['Documentation']
    creation = <Date 2008-04-25.16:03:08.478>
    creator = 'belopolsky'
    dependencies = []
    files = ['10108']
    hgrepos = []
    issue_num = 2691
    keywords = ['patch']
    message_count = 5.0
    messages = ['65788', '65789', '65790', '65791', '65852']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'belopolsky']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2691'
    versions = ['Python 2.6', 'Python 3.0']

    @abalkin
    Copy link
    Member Author

    abalkin commented Apr 25, 2008

    Attached patch adds documentation for the new in 2.5 APIs:

    PyObject* PyLong_FromSsize_t(Py_ssize_t v)
    PyObject* PyLong_FromSize_t(size_t v)

    and

    Py_ssize_t PyLong_AsSsize_t(PyObject *pylong)

    @abalkin abalkin added the docs Documentation in the Doc dir label Apr 25, 2008
    @abalkin
    Copy link
    Member Author

    abalkin commented Apr 25, 2008

    @abalkin
    Copy link
    Member Author

    abalkin commented Apr 25, 2008

    For some reason the tracker web interface fails to upload the patch.
    Trying again with this message, if it fails again, will resubmit by e-
    mail.

    @abalkin
    Copy link
    Member Author

    abalkin commented Apr 25, 2008

    Web submission did not work. Trying sending the patch as an e-mail attachment.

    @benjaminp benjaminp added the type-feature A feature request or enhancement label Apr 25, 2008
    @birkenfeld
    Copy link
    Member

    Thanks, committed as r62513.

    @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 type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants