Diaoul / babelfish

BabelFish is a Python library to work with countries and languages
BSD 3-Clause "New" or "Revised" License
25 stars 14 forks source link

Make Language, Country, Script pickable #8

Closed celestianx closed 10 years ago

celestianx commented 10 years ago

Add getstate() and setstate() methods to Language, Country, Script classes to enable pickling on class's instances.

Useful for dog pile.cache.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-1.28%) when pulling 487e73059980c20f63d9fa52cf5ab59e175d6cc3 on celestian02:master into 3d504cd8c2df16238c6540bbcf8440fa9dc23df8 on Diaoul:master.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 7dc61ab0344d979164db19e8aeff6b3ff9ae1556 on celestian02:master into 3d504cd8c2df16238c6540bbcf8440fa9dc23df8 on Diaoul:master.