mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
* Initial integration of deque in collections * some fix * WIP: Implemented a int-only deque with limited capabilities * WIP: added some more functionality -> changed int to arbitrary objects * WIP: Added more functionalities in deque * WIP: switched to std::deque * WIP: added more functionalities * WIP: minor fix * WIP: added constructor * WIP: added deque iterator * WIP: added more functionalities * Cleaned up and added more functionalities * minor fix, std::min * minor fix, rotate, n=0 case * fix `collections` module * support pickle * refactored collections module * Added some tests, more to follow * Fixed the tests, more to follow * Fixed some functionalities and added more tests * added more tests, called __init__ from pickle, added reverse iterator option * added the tests * dropped support for __init__ for now * moved deque iterator to collections.cpp * undo unnecessary changes * Cleaned up and added __str__() support --------- Co-authored-by: blueloveTH <blueloveTH@foxmail.com>