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

Add tests for marshal FILE* API #67581

Closed
serhiy-storchaka opened this issue Feb 4, 2015 · 2 comments
Closed

Add tests for marshal FILE* API #67581

serhiy-storchaka opened this issue Feb 4, 2015 · 2 comments
Assignees
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 23392
Nosy @kristjanvalur, @serhiy-storchaka
Files
  • test_marshal_file_api.patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2015-02-06.07:12:50.609>
    created_at = <Date 2015-02-04.07:33:53.199>
    labels = ['type-feature', 'tests']
    title = 'Add tests for marshal FILE* API'
    updated_at = <Date 2015-02-06.07:12:50.609>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2015-02-06.07:12:50.609>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-02-06.07:12:50.609>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2015-02-04.07:33:53.199>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['38010']
    hgrepos = []
    issue_num = 23392
    keywords = ['patch']
    message_count = 2.0
    messages = ['235381', '235465']
    nosy_count = 3.0
    nosy_names = ['kristjan.jonsson', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23392'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    @serhiy-storchaka
    Copy link
    Member Author

    Marshal C API functions that works with FILE* (PyMarshal_WriteLongToFile, PyMarshal_WriteObjectToFile, PyMarshal_ReadLongFromFile, PyMarshal_ReadShortFromFile, PyMarshal_ReadObjectFromFile, PyMarshal_ReadLastObjectFromFile) are not used now in CPython and are not tested. Proposed patch adds tests for them.

    @serhiy-storchaka serhiy-storchaka self-assigned this Feb 4, 2015
    @serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir type-feature A feature request or enhancement labels Feb 4, 2015
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Feb 6, 2015

    New changeset e55f955659bc by Serhiy Storchaka in branch '2.7':
    Issue bpo-23392: Added tests for marshal C API that works with FILE*.
    https://hg.python.org/cpython/rev/e55f955659bc

    New changeset 05153851d1d6 by Serhiy Storchaka in branch '3.4':
    Issue bpo-23392: Added tests for marshal C API that works with FILE*.
    https://hg.python.org/cpython/rev/05153851d1d6

    New changeset 7f22813496de by Serhiy Storchaka in branch 'default':
    Issue bpo-23392: Added tests for marshal C API that works with FILE*.
    https://hg.python.org/cpython/rev/7f22813496de

    @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
    tests Tests in the Lib/test dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant