1998 Commits

Author SHA1 Message Date
blueloveTH
101cf24a36 csv support linebreaks v1.3.1 2023-11-29 11:10:37 +08:00
BLUELOVETH
cb51cc95b6
Update 80_csv.py 2023-11-29 09:52:58 +08:00
blueloveTH
f158ea8d3e ... 2023-11-29 00:54:59 +08:00
blueloveTH
c6b44800be ... 2023-11-29 00:54:38 +08:00
blueloveTH
f2e6004c1e add csv.DictReader 2023-11-29 00:51:02 +08:00
blueloveTH
657062d25a Update csv.cpp 2023-11-29 00:19:32 +08:00
BLUELOVETH
f1ff2639af
Merge pull request #178 from Chukobyte/c_import_handler
Added import handler to c api.
2023-11-28 23:52:45 +08:00
blueloveTH
b8b42a8414 some fix 2023-11-28 23:48:42 +08:00
blueloveTH
e00ddb8692 some refactor
Update vm.cpp
2023-11-28 23:41:50 +08:00
blueloveTH
a62943568f add csv module 2023-11-28 22:40:37 +08:00
Chukobyte
075b9c776c Added the ability to override the import handler in c. 2023-11-28 08:48:50 -05:00
blueloveTH
7b9c7d926d rename easing functions 2023-11-27 16:06:52 +08:00
blueloveTH
d478f9802f ... 2023-11-25 11:15:06 +08:00
blueloveTH
c9ae759b24 ... 2023-11-22 06:36:28 +08:00
blueloveTH
acbfd11366 remove dylib support 2023-11-22 06:32:34 +08:00
blueloveTH
a23e4bfff5 Merge branch 'main' of https://github.com/blueloveTH/pocketpy 2023-11-22 06:16:07 +08:00
blueloveTH
2698040f52 improve f-string 2023-11-22 06:16:05 +08:00
blueloveTH
5be69ffe92 fix a bug 2023-11-21 18:32:47 +08:00
blueloveTH
787df86311 ... 2023-11-19 23:34:17 +08:00
blueloveTH
dbf1ea3748 Update box2d.md 2023-11-12 20:22:28 +08:00
blueloveTH
dfc656000b add point_cast for box2d 2023-11-11 03:18:15 +08:00
blueloveTH
c2f13e4f03 add a safety check for box2d 2023-11-11 02:51:10 +08:00
blueloveTH
5e54967903 Update codeobject.h v1.3.0 2023-11-10 16:18:03 +08:00
blueloveTH
1d8662118b Update box2d.md 2023-11-10 14:56:03 +08:00
blueloveTH
63fff364e3 Update box2d.md 2023-11-10 14:50:51 +08:00
blueloveTH
12f6617bee update box2d 2023-11-10 14:47:12 +08:00
blueloveTH
bfc5e82e0e Update box2d.md 2023-11-10 14:22:22 +08:00
blueloveTH
7ed1dcfcdf ... 2023-11-10 13:29:06 +08:00
blueloveTH
27f8d6be28 some refactor 2023-11-09 15:46:49 +08:00
blueloveTH
641a1711cf fix https://github.com/blueloveTH/pocketpy/issues/177 2023-11-07 05:05:03 +08:00
blueloveTH
0c46f21c19 Update ceval.cpp 2023-11-07 04:52:37 +08:00
blueloveTH
e124f635c1 support @property.setter 2023-11-07 04:50:06 +08:00
blueloveTH
e8ad5b5784 Update cheatsheet.md 2023-11-05 10:23:08 +08:00
Non
418f373a1b
Fix typo 'trackback' -> 'traceback' (#176)
https://discord.com/channels/1048978026131640390/1137746847771938847/1169558439278678016
2023-11-02 17:26:32 +08:00
blueloveTH
a7448b7fa0 make json.loads accept bytes 2023-10-31 21:34:30 +08:00
blueloveTH
2f3017ebfd ... 2023-10-31 00:28:36 +08:00
blueloveTH
4b00846861 Update datetime.py 2023-10-30 23:58:43 +08:00
blueloveTH
905defb534 fix a bug of datetime and localtime 2023-10-30 23:55:06 +08:00
blueloveTH
49f70318d9 ... 2023-10-29 22:44:14 +08:00
blueloveTH
61f837ac2c doc fix 2023-10-29 22:22:22 +08:00
blueloveTH
f2d5fbbb94 add module operator and add split for single char 2023-10-29 22:16:49 +08:00
blueloveTH
04df1dbe5b fix https://github.com/blueloveTH/pocketpy/issues/172 v1.2.9 2023-10-28 15:10:58 +08:00
blueloveTH
a12eb4c8bc ... 2023-10-28 15:00:53 +08:00
blueloveTH
7916bb035f some cleanup 2023-10-28 11:08:27 +08:00
blueloveTH
40281a8d94 Merge branch 'main' of https://github.com/blueloveTH/pocketpy 2023-10-25 10:27:27 +08:00
blueloveTH
1b7ab37f01 fix a doc issue 2023-10-25 10:27:21 +08:00
Mahbub Alam
6f8bf82e9a
Examples for beginners (#169)
* Add examples folder

* Draft change

* Add draft changes

* Add examples

* Refactor examples

---------

Co-authored-by: Mahbub Alam <alam.mahbub214@gmail.com>
2023-10-24 17:59:58 +08:00
blueloveTH
a98e710fe7 delete old deque 2023-10-21 08:06:00 +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
blueloveTH
27be56fceb ... 2023-10-19 01:29:04 +08:00