I am not sure how I have managed to do this. But I have corrupted my Pythonista v311008. If I import json I get the below traceback. I only get the traceback after I restart, because if I tap the print traceback the app quits. The corruption seems to be limited to importing json. I had been playing with shelve when the Corruption started ( I was using faker and adding a lot of records into shelve).
Not sure if there is an easy way to fix this. I don't want to delete the app. My thoughts are that I download the App Store version, then install the test flight version after. Just wanted to ask first, so I don't screw it up.
--edit if I run with 2.7, I don't get the problem. Also I should mention I did a full restart of my ipad
Traceback (most recent call last):
File "/var/containers/Bundle/Application/EA1EEECB-E4B2-4C5F-ACE0-B7287FEACF04/Pythonista3.app/Frameworks/Py3Kit.framework/pykit_startup.py", line 51, in
main()
File "/var/containers/Bundle/Application/EA1EEECB-E4B2-4C5F-ACE0-B7287FEACF04/Pythonista3.app/Frameworks/Py3Kit.framework/pykit_startup.py", line 47, in main
import importcompletion
File "/var/containers/Bundle/Application/EA1EEECB-E4B2-4C5F-ACE0-B7287FEACF04/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/importcompletion.py", line 26, in
import imp
File "/var/containers/Bundle/Application/EA1EEECB-E4B2-4C5F-ACE0-B7287FEACF04/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/imp.py", line 28, in
import tokenize
File "/var/containers/Bundle/Application/EA1EEECB-E4B2-4C5F-ACE0-B7287FEACF04/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/tokenize.py", line 34, in
import re
File "/var/containers/Bundle/Application/EA1EEECB-E4B2-4C5F-ACE0-B7287FEACF04/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/re.py", line 143, in
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'