cloudpipe / cloudpipe/cloudpickle
integrate cloudpickle-generators into cloudpickle?
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 195
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 1
Description
The other day I wrote a cloudpickle dispatch to serialize generators, including partially consumed generators. It currently depends on some implementation details of CPython to do it, and it requires a small C extension. As is, the code is Python 3 only; however, it would not require much work to support 2.7.
I am opening this issue to see if people would want to merge this into cloudpickle itself. The downsides are that we would be introducing a C extension, which is hard to maintain, and that it is CPython only. If the other maintainers do not want to incur the cost of adding C to the codebase, I will publish the package on PyPI under then name "cloudpickle-generators" to exist as a third-party extension to cloudpickle which I maintain separate from cloudpickle. Regardless of the decision to merge, I will try to get Python 2 support working soon.
https://github.com/llllllllll/cloudpickle-generators
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.