bpo-33652: Improve pickle support in the typing module. (GH-7123)


Pickles of type variables and subscripted generics are now future-proof
and compatible with older Python versions.
(cherry picked from commit 09f3221fbbf72692308149054e4f7668b08b22eb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 files changed