HomeSoftware Heritage

Stop using repr/eval to serialize/deserialize datetime.timedeltas

Description

Stop using repr/eval to serialize/deserialize datetime.timedeltas

The repr format of datetime.timedeltas has changed in Python 3.7, and the
construct is very unsafe anyway.

Details

Provenance
olasdAuthored on Oct 18 2018, 6:16 PM
olasdPushed on Oct 18 2018, 6:18 PM
Parents
rDCORE073c6bec7f03: tests: assertEquals -> assert Equal
Branches
Unknown
Tags
Unknown