I have a big dictionary i constantly reference in my code so i have it initialized at the top:
import ...
myDictionary = {'a':'avalue','b':'bvalue',...}
code ...
But when i try to get values, some of the keys are not found. It appears as though Python is chopping my dictionary due to a size limit. I tried searching google but couldn't find anything on this.
I ended up dumping the key:value mappings into a separate file and wrote a function that would build the dictionary by reading in the file.
It would be nice to know why this is happening... even better to find a cleaner way to still have my dictionary.
EDIT: Dictionary has over 1,700 keys