wizzwizz4 / pickall Goto Github PK
View Code? Open in Web Editor NEWA pickle-compatible pickler that pickles everything. You probably don't want this.
License: GNU General Public License v3.0
A pickle-compatible pickler that pickles everything. You probably don't want this.
License: GNU General Public License v3.0
The hard part here is finding a reference to cell somewhere. It's not in types, as far as I can tell.
The really hard part is convincing Python to instantiate a cell
object. This is probably harder than #2, and that stumped me for a while.
Observe:
>>> pickle._dumps(2)
b'\x80\z03K\x02.'
>>> _dumps = pickall._duplicate(pickle._dumps)
>>> _dumps(2)
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
_dumps(2)
TypeError: _dumps() missing 1 required keyword-only argument: 'fix_imports'
This needs fixing in order for some things to work correctly in the future.
Fun! It seems as though this is a really, really big project to have taken on.
The same problem, with the same solution, as #1. It'll be a little trickier because it needs to be stored in the pickle string but that shouldn't be too hard.
I don't know why it is, but it is. :-/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.