Commit Graph

9 Commits

Author SHA1 Message Date
Alex Waygood
8d5d2520ac Use PEP 585 syntax wherever possible (#6717) 2021-12-28 11:31:43 +01:00
Alex Waygood
10c9d8cfce Add @final to many unsubclassable stdlib classes (#6299) 2021-11-15 14:45:24 +01:00
Peter Law
9b86402c77 pickle: use protocols instead of IO[bytes] (#6101) 2021-10-02 11:32:16 +03:00
Akuli
df6a211855 Use new union syntax in rest of stdlib (#5884) 2021-08-08 15:44:30 +02:00
Anton Grübel
7c5d76aca0 add missing protocol version 5 in pickle (#5801) 2021-07-24 13:42:11 -07:00
Akuli
2628e77272 add _Pickler.dispatch and _Unpickler.dispatch (#5508) 2021-05-19 23:28:18 +03:00
David Reiss
1547035a95 Add _Pickler and _Unpickler to stdlib/pickle (#5506)
These are the pure-Python pickle implementation, and are sometimes used
by code that wants to extend or override parts of the
pickling/unpickling process.
2021-05-19 20:57:07 +03:00
Akuli
17dcea4a68 Akuli and srittau: Remove Python 2 branches from Python 3 stubs (#5461)
* run script and do some manual changes (Akuli)

* do the whole thing manually (srittau)

* merge changes (Akuli)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2021-05-15 15:33:39 +03:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00