[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Both PRs are now merged. Thank you Pierre! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 289f1f80ee87a4baf4567a86b3425fb3bf73291d by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499)

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 65d98d0f53f558d7c799098da0abf376068c15fd by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-35900: Add a state_setter arg to save_reduce (GH-12588) https://github.com/python/cpython/commit/65d98d0f53f558d7c799098da0abf376068c15fd

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-03-27 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +12530 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-03-22 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +12449 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-03-11 Thread Pierre Glaser
Pierre Glaser added the comment: Update: Instead of changing permission on some attributes of function objects (__globals__ and __closure__), we added an optional argument called state_setter to save_reduce. This expects a callable that will be saved inside the object's pickle string, and

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-02-13 Thread Olivier Grisel
Olivier Grisel added the comment: Adding such a hook would make it possible to reimplement cloudpickle.CloudPickler by deriving from the fast _pickle.Pickler class (instead of the slow pickle._Pickler as done currently). This would mean rewriting most of the CloudPickler method to only rely

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-02-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: FYI, I've removed the duplicate message :-) Also adding Serhiy as cc. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-02-05 Thread Antoine Pitrou
Change by Antoine Pitrou : -- Removed message: https://bugs.python.org/msg334871 ___ Python tracker ___ ___ Python-bugs-list

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-02-05 Thread SilentGhost
Change by SilentGhost : -- title: Add pickler hoor for the user to customize the serialization of user defined functions and types. -> Add pickler hook for the user to customize the serialization of user defined functions and types. ___ Python