esnme/ultrajson — Issue #28: OverflowError: Maximum recursion level reached when trying to serialize function
Author: kmanley
Created: 2011-12-20 18:11:14+00:00
State: open

this code:

def foo():
pass

import ujson
ujson.dumps(foo)

results in
Traceback (most recent call last):
File "test2.py", line 5, in
ujson.dumps(foo)
OverflowError: Maximum recursion level reached