• Jérome Perrin's avatar
    *: compatibility with DateTime >= 3 🚧 · bf0805f4
    Jérome Perrin authored
    drop the patch in DateTime._parse_args which cause DateTime to
    support timezone naive dates
    
    adjust __setstate__ to pickle the timezone naive flag
    
    adjust code relying on DateTime private attributes
    
    adjust tests for new DateTime.__eq__ behavior (instances with
    different timezones are different)
    
    more testing, especially for various __setstate__ versions
    
    introduce a context manager to change timezone in tests.
    bf0805f4
periodicity.py 10.9 KB