Problem

Steve D'Aprano steve+python at pearwood.info
Thu Jul 20 23:17:46 EDT 2017


On Fri, 21 Jul 2017 05:19 am, Hongze Liu wrote:

> Hello Python,
> 
> I encountered this problem:

Can you tell us *how* you encountered this problem? How were you invoking
Python.

It makes a BIG difference if you are invoking it by just launching the Python
interactive interpreter with no extra code involved:

python -E -S


or if you are running your own code.

It does sound like your shelve database file has been corrupted.


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list