seomoz / reppy

Modern robots.txt Parser for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I access cache from multiple python scripts/threads

mikulatomas opened this issue · comments

Hi is it safe to access cache without custom lock from multiple python script/celery tasks?

Thanks

In general, unless a library explicitly mentions that it is thread safe, it's best to assume that it isn't. I haven't done any actual inspection of the code to determine its thread safety, but I would suspect that there are places where it is not thread safe.