18 Commits

Author SHA1 Message Date
blueloveTH
3ae17e00f2 some fix 2024-05-03 15:23:16 +08:00
blueloveTH
79608fb9c9 some fix 2024-05-02 16:07:15 +08:00
blueloveTH
5be2745220 some fix 2024-05-02 16:03:24 +08:00
blueloveTH
f944113567 remove PY_CLASS macro 2024-05-02 15:55:22 +08:00
blueloveTH
f752acdfc8 break change of m__next__ 2024-04-29 11:57:21 +08:00
blueloveTH
0da7f8d294 rename invert to inverse 2024-04-26 16:54:23 +08:00
blueloveTH
f53a46941a deprecate *non_tagged* 2024-04-11 11:50:15 +08:00
blueloveTH
dc20c56391 some fix 2024-03-24 18:01:03 +08:00
Anurag Bhat
842c415a9f
Fix Typos in the Codebase (#210)
* Fix Typos

* Revert some changes

* Revert ldtk file
2024-02-21 15:40:48 +08:00
blueloveTH
96d9e12cd6 list.index supports __start 2024-02-17 20:36:20 +08:00
blueloveTH
ffee4a0354 some fix 2024-02-17 19:55:04 +08:00
blueloveTH
8d3bb6faa5 ... 2024-01-19 19:13:10 +08:00
blueloveTH
77d727a7c2 some cleanup 2024-01-19 13:16:36 +08:00
blueloveTH
ab458b4af4 some cleanup 2024-01-03 19:15:41 +08:00
blueloveTH
d478f9802f ... 2023-11-25 11:15:06 +08:00
blueloveTH
5be69ffe92 fix a bug 2023-11-21 18:32:47 +08:00
blueloveTH
a12eb4c8bc ... 2023-10-28 15:00:53 +08:00
S Mahmudul Hasan
c82bfb5455
Implement deque in C++ as required by #139 (#155)
* 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>
2023-10-21 07:47:11 +08:00