Skip to content

Add pickler hook for the user to customize the serialization of user defined functions and types. #80081

Description

@pierreglaser
BPO35900
Nosy@pitrou, @avassalotti, @serhiy-storchaka, @ogrisel, @pierreglaser
PRs
  • bpo-35900: Enable custom reduction callback registration in _pickle #12499
  • bpo-35900: Add a state_setter arg to save_reduce #12588
  • Files
  • test_hook.py
  • pickler_hook.patch
  • pickler_hook.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=Noneclosed_at=<Date2019-05-08.21:08:54.715>created_at=<Date2019-02-05.14:40:22.937>labels= ['type-feature', '3.8']
    title='Add pickler hook for the user to customize the serialization of user defined functions and types.'updated_at=<Date2019-05-08.21:08:54.715>user='https://github.com/pierreglaser'

    bugs.python.org fields:

    activity=<Date2019-05-08.21:08:54.715>actor='pitrou'assignee='none'closed=Trueclosed_date=<Date2019-05-08.21:08:54.715>closer='pitrou'components= []
    creation=<Date2019-02-05.14:40:22.937>creator='pierreglaser'dependencies= []
    files= ['48101', '48102', '48203']
    hgrepos= []
    issue_num=35900keywords= ['patch']
    message_count=7.0messages= ['334870', '334872', '335404', '337673', '341933', '341944', '341945']
    nosy_count=5.0nosy_names= ['pitrou', 'alexandre.vassalotti', 'serhiy.storchaka', 'Olivier.Grisel', 'pierreglaser']
    pr_nums= ['12499', '12588']
    priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue35900'versions= ['Python 3.8']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifetype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions