• Guido van Rossum's avatar
    Implement an idea by Paul Rubin: · e276339c
    Guido van Rossum yazdı
    Change pickling format for bools to use a backwards compatible
    encoding.  This means you can pickle True or False on Python 2.3
    and Python 2.2 or before will read it back as 1 or 0.  The code
    used for pickling bools before would create pickles that could
    not be read in previous Python versions.
    e276339c
pickle.py 26.7 KB