apkbuilds @ 7403735c2048c0129909f7e119a0256827c0ab5a

 1diff --git a/jsonpickle/pickler.py b/jsonpickle/pickler.py
 2index ce64592..62ba575 100644
 3--- a/jsonpickle/pickler.py
 4+++ b/jsonpickle/pickler.py
 5@@ -462,6 +462,9 @@ class Pickler(object):
 6             if has_getinitargs:
 7                 data[tags.INITARGS] = self._flatten(obj.__getinitargs__())
 8 
 9+        if type(obj).__name__ == 'TextIOWrapper':
10+            return None
11+
12         if has_getstate:
13             try:
14                 state = obj.__getstate__()
15