tnm / qr

Queues, stacks, deques, and priority queues with Redis in Python
225 stars 42 forks source link

Py2/3 Compatibility and Bug Fixes in dump/load for PriorityQueue #16

Open ghost opened 6 years ago

ghost commented 6 years ago

-Refactored both qr.py and test/tests.py to be py2/3 compatible with package futurize -Fixed bug in dump() where a 0 value was not allowing the loop to continue and popped with scores to put in the file object -Fixed bug in load() where the loaded values were not being packed before put in Redis

-Fixes Issue #9