#3 Sane assert usage

open
nobody
None
8
2006-12-13
2006-12-13
DRR
No

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.

Discussion

  • DRR

    DRR - 2006-12-13
     
  • DRR

    DRR - 2006-12-13
    • priority: 5 --> 8
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks