peter-wangxu / persist-queue

A thread-safe disk based persistent queue in Python
BSD 3-Clause "New" or "Revised" License
335 stars 50 forks source link

[Regression] Can no longer retrieve None without raw=True #167

Open NovaNekmit opened 3 years ago

NovaNekmit commented 3 years ago

It used to work with a previous version, but doesn't work anymore.

None can still be put inside, but getting it out (without raw) will get stuck ie here.

Not sure what would be best, there are couple options:

peter-wangxu commented 3 years ago

I personally prefer not adding the None into the queue since the None itself may cause other issue inside the queue implementation.