apkbuilds @ 38a0519436852ddb5b798f9a893f08d05cd291a5

 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