Commit Graph

  • b1115a4c8f
    Check the size of fillchar passed to str methods (ljust, rjust) (#236) albertexye 2024-04-01 14:41:45 -04:00
  • d33f966b05 when a negative start index is passed to str.find, 0 is used instead albertexye 2024-04-01 14:36:18 -04:00
  • 4b10090f70 perform boundary check before searching to prevent security vulnerabilities albertexye 2024-04-01 14:19:01 -04:00
  • 6a540fdbb3 count characters using u8_length instead of size albertexye 2024-04-01 13:40:09 -04:00
  • db9d6349b1 check the size of fillchar passed to str methods (ljust, rjust) albertexye 2024-04-01 13:20:07 -04:00
  • 8a841eb457
    Update update method Madhav Agarwal 2024-03-31 01:53:28 +05:30
  • 5b923290b9
    Enhancements for Robustness and Readability in Date and Time Handling Code Madhav Agarwal 2024-03-30 23:47:02 +05:30
  • cb15db1f0e
    adoping a more efficient division algorithm for bigint. (#232) ykiko 2024-03-29 03:00:39 +08:00
  • b1209f41f6
    Update 09_long.py BLUELOVETH 2024-03-29 02:55:50 +08:00
  • c0d497bc3c
    Update 09_long.py BLUELOVETH 2024-03-29 02:52:57 +08:00
  • 16b0c0bab3
    add some cases BLUELOVETH 2024-03-29 02:51:21 +08:00
  • 02b8bdd5bf add some test cases. ykiko 2024-03-29 02:39:44 +08:00
  • 7f3bd09f29
    Merge branch 'pocketpy:main' into divmod ykiko 2024-03-29 02:31:37 +08:00
  • 1623d5fb87 remove extra zero. ykiko 2024-03-29 01:29:37 +08:00
  • e86baa2e2f add optimized opcodes for FOR_ITERs blueloveTH 2024-03-29 01:29:32 +08:00
  • df33996473 fix some error. ykiko 2024-03-29 01:25:16 +08:00
  • 41e9900b37 Update io.cpp blueloveTH 2024-03-29 00:40:54 +08:00
  • 1db1197670 fix type error. ykiko 2024-03-29 00:38:46 +08:00
  • c908fb72d5 modify the implementation to binary search. ykiko 2024-03-29 00:24:43 +08:00
  • 8ca7e9f6cf
    add bit_length method to int. (#233) ykiko 2024-03-28 19:51:39 +08:00
  • e533963779
    Update 01_int.py BLUELOVETH 2024-03-28 19:45:20 +08:00
  • 0acc35c040
    Update 01_int.py BLUELOVETH 2024-03-28 19:43:35 +08:00
  • e3a8d05ba6
    Update pocketpy.cpp BLUELOVETH 2024-03-28 19:42:52 +08:00
  • 6486a497a9 add bit_length method to int. ykiko 2024-03-28 19:39:53 +08:00
  • c77fef35a2 refactor defaultdict blueloveTH 2024-03-28 19:21:56 +08:00
  • d7545071e5 optimize int() and float() blueloveTH 2024-03-28 17:50:23 +08:00
  • b1bf7317ba add test case. ykiko 2024-03-28 17:11:26 +08:00
  • 60aee30548 adoping a more efficient division algorithm for bigint. ykiko 2024-03-28 16:54:47 +08:00
  • 79cafcf32c improve io blueloveTH 2024-03-28 15:48:59 +08:00
  • eaf231fd9d refactor io blueloveTH 2024-03-28 15:20:23 +08:00
  • d81a1c5415 add bytes.__add__ blueloveTH 2024-03-28 15:04:10 +08:00
  • 142e4fd45f
    Sort names returned by the built-in dir method (#231) v1.4.3 albertexye 2024-03-27 04:07:35 -04:00
  • 29421ba691 some fix blueloveTH 2024-03-27 16:07:21 +08:00
  • 3de540447a Sort names returned by the built-in dir method albertexye 2024-03-26 19:18:14 -04:00
  • 665fb04b8f some change blueloveTH 2024-03-26 16:14:47 +08:00
  • 60aa4fe93d some change blueloveTH 2024-03-26 16:06:18 +08:00
  • 636944632d fix a bug blueloveTH 2024-03-24 23:20:23 +08:00
  • a79e2cd3b8 some fix blueloveTH 2024-03-24 22:45:24 +08:00
  • 92bc4b5495 Update common.h blueloveTH 2024-03-24 20:19:04 +08:00
  • 568221ab5a fix a 32bit bug blueloveTH 2024-03-24 20:17:40 +08:00
  • 50cde5ff03 some fix blueloveTH 2024-03-24 20:07:28 +08:00
  • 3f5e3c3968 Update export.h blueloveTH 2024-03-24 18:54:35 +08:00
  • 2153113240 some fix blueloveTH 2024-03-24 18:16:09 +08:00
  • dc20c56391 some fix blueloveTH 2024-03-24 18:01:03 +08:00
  • efc5755d78 some fix blueloveTH 2024-03-24 17:48:19 +08:00
  • c60fdd29ab update prebuild.py blueloveTH 2024-03-24 17:39:41 +08:00
  • 881fbb01dd some fix blueloveTH 2024-03-23 16:51:48 +08:00
  • 3e5954ab45 Update build_ios.sh blueloveTH 2024-03-23 15:39:53 +08:00
  • cd554f29ae Update build_ios.sh blueloveTH 2024-03-23 15:19:23 +08:00
  • 957f037b8d add ios xcframework build blueloveTH 2024-03-23 14:48:36 +08:00
  • 0480919906 some change about iOS build blueloveTH 2024-03-23 12:47:02 +08:00
  • 7e8d380356 Cover subset operators faze-geek 2024-03-22 18:33:05 +05:30
  • b6b914e312 Update memory.cpp blueloveTH 2024-03-22 12:33:15 +08:00
  • fbd825951c Update memory.cpp blueloveTH 2024-03-22 12:31:10 +08:00
  • 736df8ad31 Update error.h blueloveTH 2024-03-22 12:16:28 +08:00
  • fc98c526ea add memory info api blueloveTH 2024-03-22 11:45:43 +08:00
  • e11e888acd some doc fix blueloveTH 2024-03-21 16:41:00 +08:00
  • 4997783488 update docs blueloveTH 2024-03-21 16:36:53 +08:00
  • f9f3827d5d remove a tmp var blueloveTH 2024-03-18 12:55:42 +08:00
  • 5cb31814be some fix blueloveTH 2024-03-18 12:42:05 +08:00
  • 6b57c684e4 some optimize blueloveTH 2024-03-17 19:22:17 +08:00
  • f48db51d7c some optimize blueloveTH 2024-03-17 19:10:45 +08:00
  • 0d0261c069 some fix blueloveTH 2024-03-17 19:02:04 +08:00
  • 150af1b714 some fix blueloveTH 2024-03-17 18:59:58 +08:00
  • f9cc2f2f29 some optimize blueloveTH 2024-03-17 18:50:44 +08:00
  • fd082c20e6 add some cases blueloveTH 2024-03-17 18:36:08 +08:00
  • f62ec6d316 add noexcept blueloveTH 2024-03-17 18:08:54 +08:00
  • 3aea1647d0 some fix blueloveTH 2024-03-17 18:06:38 +08:00
  • 92f9b93245 some fix blueloveTH 2024-03-17 17:58:16 +08:00
  • 3ebc19bf7f fix warnings blueloveTH 2024-03-17 17:53:55 +08:00
  • 2b43cbd25c some optimize blueloveTH 2024-03-17 17:48:57 +08:00
  • beaf05f6c1 some fix blueloveTH 2024-03-17 16:45:20 +08:00
  • 4db4274882 some optimize blueloveTH 2024-03-17 16:34:57 +08:00
  • 44c61a8c3a add PREDICT_INT_DIV_OP blueloveTH 2024-03-17 16:33:08 +08:00
  • 07116877b7 Revert "Update main.yml" blueloveTH 2024-03-17 16:26:59 +08:00
  • 239ed16203 Update main.yml blueloveTH 2024-03-17 16:12:25 +08:00
  • 11544b3f7a Update ceval.cpp blueloveTH 2024-03-16 19:30:53 +08:00
  • 017655c057 add PREDICT_INT_OP blueloveTH 2024-03-16 19:20:29 +08:00
  • 65440c2034
    Fix #197 (#227) BLUELOVETH 2024-03-16 18:37:09 +08:00
  • bb89203615 Update retype.yml blueloveTH 2024-03-16 18:33:50 +08:00
  • db86ecdcb1 some fix blueloveTH 2024-03-16 18:32:43 +08:00
  • 5726826f74 Update expr.cpp blueloveTH 2024-03-16 18:24:04 +08:00
  • a99b5ee381 some fix blueloveTH 2024-03-16 18:22:10 +08:00
  • c821a08f91 Revert "remove LOAD_INTEGER" blueloveTH 2024-03-16 18:19:12 +08:00
  • c4a89ed186 some fix blueloveTH 2024-03-16 18:11:11 +08:00
  • 4c14460961 some optimize blueloveTH 2024-03-16 18:05:41 +08:00
  • f813d815eb Update vm.cpp blueloveTH 2024-03-16 17:50:10 +08:00
  • c0b965aee2 remove LOAD_INTEGER blueloveTH 2024-03-16 17:44:22 +08:00
  • caba4e934f Update frame.h blueloveTH 2024-03-16 17:41:08 +08:00
  • 21c906ab33 some optimize blueloveTH 2024-03-16 17:22:00 +08:00
  • 93b7904353 init blueloveTH 2024-03-16 16:59:28 +08:00
  • 9bfe8c1bad some fix blueloveTH 2024-03-16 15:55:53 +08:00
  • 63e869df0c Revert "some optimize" blueloveTH 2024-03-16 15:54:56 +08:00
  • 31dc34663a some optimize blueloveTH 2024-03-16 15:42:04 +08:00
  • 1456fb5e20 remove _s in Frame blueloveTH 2024-03-16 15:32:17 +08:00
  • 638ce2699a Revert "some fix about emplace" blueloveTH 2024-03-16 15:20:41 +08:00
  • 3d5b50a527 some fix about emplace blueloveTH 2024-03-16 15:16:11 +08:00
  • fffcd7425d some optimize blueloveTH 2024-03-16 14:54:55 +08:00
  • 37453a8502 some fix blueloveTH 2024-03-16 14:40:01 +08:00
  • cd0542df96 remove some docs blueloveTH 2024-03-13 01:15:23 +08:00