DRR
-
2006-12-13
Sane assert usage
Status: Beta
Brought to you by:
patrickdlogan
Current implementation depends on calling function inside assert statements. Wich is really bad. It hit us when we deployed code to production servers with python -o option enabled. (This removes all asserts, and thus causes json.py to reach maximum recursion depth).
Bug discovered and patched by forgems and jiivan from grono.net team.