Possible bug fix in pickling/unpickling #50
Possible bug fix in pickling/unpickling #50

Depending on compiler and system sizeof(int) != sizeof(size_t) != sizeof(Py_uintptr_t);
On my 64-bit system sizeof(int) == 4 and sizeof(size_t, Py_uintptr_t) == 8.

As it was noted by @Dobatymo and @EmilStenstrom, their data was huge, exceeding
8GB.  My rough guess is the for really such sizes there was integer overflow.
It might have happened either during pickling (on var `DumpState.id`) or
unpickling (on automaton_unpickle var `id`).

I tried reproduce this error, but my computer has only 4GB, and I was able
to experiment with 3 + something GB. I was unable to reproduce the error.

WojciechMula/pyahocorasick,WojciechMula/pyahocorasick,pombredanne/pyahocorasick,pombredanne/pyahocorasick,WojciechMula/pyahocorasick,WojciechMula/pyahocorasick,pombredanne/pyahocorasick,pombredanne/pyahocorasick