Commit Graph

  • 44ccc4015f Merge pull request #3710 from youknowone/fix-hash Jeong YunWon 2022-05-17 06:19:04 +09:00
  • 6e571946a0 introduce PyStrInterned Jeong Yunwon 2022-05-12 06:38:31 +09:00
  • cbeeb51cee Fix lcg_random overflow Jeong Yunwon 2022-05-17 05:53:13 +09:00
  • 9fd4f7bab9 Merge pull request #3708 from youknowone/dictkey Jeong YunWon 2022-05-16 18:58:04 +09:00
  • c6b33aab02 Refactor DictKey - remove PyStrRef Jeong Yunwon 2022-05-16 08:50:59 +09:00
  • 8a2cd2ba08 Refactor DictKey - Remove &PyObject / PyObjectRef Jeong Yunwon 2022-05-16 07:41:53 +09:00
  • f335d60657 add Py<PyStr> Jeong Yunwon 2022-05-16 07:20:05 +09:00
  • 709a2c8698 fix intern Jeong Yunwon 2022-05-16 07:10:51 +09:00
  • 3bc8895efb Merge pull request #3705 from Snowapril/fix-3704 Jeong YunWon 2022-05-16 18:13:03 +09:00
  • 689c0b6c5b Add missing codes for empty statement body snowapril 2022-05-15 22:00:25 +09:00
  • 2e1ed81d8e Merge pull request #3707 from youknowone/frozen-lazy Jeong YunWon 2022-05-16 07:10:04 +09:00
  • e67662d9e7 PyConstant -> Literal Jeong Yunwon 2022-05-16 05:45:49 +09:00
  • b0e65d1a65 ToObject for CodeObject(s) & Replace PyRef::new_ref with ctx.new_code Jeong Yunwon 2022-05-16 05:30:12 +09:00
  • a2a18f25b8 Fix make_frozen to return PyRef<PyCode> Jeong Yunwon 2022-05-16 05:30:33 +09:00
  • 75f606abfc reduce Location size to practical small one Jeong Yunwon 2022-05-16 05:15:56 +09:00
  • d446a5ad18 Bag as Copy Jeong Yunwon 2022-05-16 05:08:45 +09:00
  • 00a1af9e15 Remove Constant::make_name Jeong Yunwon 2022-05-16 04:59:53 +09:00
  • b2c9b3ce90 Remove Constant::map_constant Jeong Yunwon 2022-05-16 04:50:54 +09:00
  • abe644bd72 remove make_constant_borrowed Jeong Yunwon 2022-05-16 03:54:45 +09:00
  • ec7a709bf2 Remove Constant::into_data Jeong Yunwon 2022-05-16 03:39:04 +09:00
  • f6218bb9e5 No generic FrozenModule. Map names lazy Jeong Yunwon 2022-05-16 02:02:18 +09:00
  • 93d1438345 PyObjBag refers Context instead of vm Jeong Yunwon 2022-05-16 02:04:58 +09:00
  • d80e64db18 Merge pull request #3706 from youknowone/strtools Jeong YunWon 2022-05-16 04:01:25 +09:00
  • ad7c966310 more str tools Jeong Yunwon 2022-05-14 21:40:18 +09:00
  • 95cd2f926b Merge pull request #3703 from killme2008/feat/issue-3702 Jeong YunWon 2022-05-15 16:15:45 +09:00
  • 7cb391e140 Repalce all PyStr::from().into_ref(vm) with vm.ctx.empty_str Dennis Zhuang 2022-05-14 21:45:55 +08:00
  • eba6833096 PyStr::mul optimization for i=0 or str='' Dennis Zhuang 2022-05-14 16:18:28 +08:00
  • b5b07385a7 Merge pull request #3699 from youknowone/slot-del-cold Jeong YunWon 2022-05-12 18:38:20 +09:00
  • 543360da57 Merge pull request #3698 from youknowone/cmp Jeong YunWon 2022-05-12 18:36:02 +09:00
  • cb86d357c4 Merge pull request #3697 from youknowone/drain Noa 2022-05-12 02:12:56 -05:00
  • e76d79e725 call_slot_del is cold Jeong Yunwon 2022-05-12 04:35:50 +09:00
  • 40bc8f0016 move microbenchmark strings.py to proper directory Jeong Yunwon 2022-05-12 04:21:15 +09:00
  • 436f984950 clean up PyComparisonOp::map_eq Jeong Yunwon 2022-05-12 04:17:25 +09:00
  • 3b9721c326 Add microbenchmarks/cmp.py Jeong Yunwon 2022-05-12 04:01:50 +09:00
  • 7df0acd6b6 share comparisonop between bytecode and vm Jeong Yunwon 2022-05-12 03:59:57 +09:00
  • 53d835faa7 split comapre and richcompare instruction Jeong Yunwon 2022-05-12 02:16:00 +09:00
  • 1fa1a7c5c5 drain with open range Jeong Yunwon 2022-05-12 01:42:30 +09:00
  • e609aca7ea rustpython-doc as external module Jeong Yunwon 2022-05-11 21:43:12 +09:00
  • 39e3f8faff Add document for wasi Jeong Yunwon 2022-05-08 15:23:29 +09:00
  • 996250d959 Added self and self_class to super (#3691) djrmarques 2022-05-07 21:19:38 +02:00
  • 23bb966626 Merge pull request #3689 from coolreader18/lalrpop-from-build Jeong YunWon 2022-05-07 20:32:28 +09:00
  • fbf45e1fb5 Merge pull request #3690 from youknowone/clippy Jeong YunWon 2022-05-07 20:26:58 +09:00
  • c9f1f61bae fix clippy warnings Jeong Yunwon 2022-05-07 20:00:57 +09:00
  • 2b0798a8b2 Try to invoke lalrpop from parser build script Noa 2022-05-05 13:59:46 -05:00
  • 2ba1d93550 Merge pull request #3686 from fanninpm/fcntl-flock-lockf Jeong YunWon 2022-05-04 14:43:37 +09:00
  • 392a9476a7 Changed pyclass name of PyArray and PyArrayIter #3612 rebunto 2022-05-04 14:08:34 +09:00
  • 01eff92196 Merge pull request #3688 from youknowone/int Jeong YunWon 2022-05-04 09:44:07 +09:00
  • 36ab937e53 Avoid unused import error on wasi and redox Padraic Fanning 2022-05-03 20:14:55 -04:00
  • 251ce4e68e ArgByteOrder Jeong Yunwon 2022-05-04 08:25:21 +09:00
  • 4d244f0d07 int.format error handling Jeong Yunwon 2022-05-04 08:12:01 +09:00
  • a50ca743dc empty vm/functin/mod.rs Jeong Yunwon 2022-05-04 08:11:35 +09:00
  • 580bcb526f remove duplicated type check Jeong Yunwon 2022-05-04 08:01:08 +09:00
  • 283c97cda7 cut down modpow to keep fast path smaller Jeong Yunwon 2022-05-04 08:00:52 +09:00
  • c303127912 Merge pull request #3580 from hrchu/fix-test_long_test_huge_rshift Jeong YunWon 2022-05-04 08:28:11 +09:00
  • 987d9b9a9b prevent duplicated code generation Jeong Yunwon 2022-05-04 07:34:45 +09:00
  • e50ee53095 Fix lshift overflow handling hrchu 2022-04-24 21:21:05 +08:00
  • 8f0e40f2b2 Fix test_long::test_huge_rshift hrchu 2022-03-18 22:32:33 +08:00
  • 46a0dea503 Exclude flock() from wasi/redox Padraic Fanning 2022-05-03 18:27:23 -04:00
  • 2c8588db2e Group imports together and cargo fmt Padraic Fanning 2022-05-03 18:25:00 -04:00
  • 188f82c009 Change reasons for expected failures in test_fcntl Padraic Fanning 2022-05-03 18:13:18 -04:00
  • 8d0ba74d12 Add flock and lockf to fcntl module Padraic Fanning 2022-05-02 20:53:34 -04:00
  • 4a6df6bb20 Merge pull request #3682 from youknowone/extra-test Jeong YunWon 2022-05-04 04:42:32 +09:00
  • 459402d96d add stdlib test to yasi Jeong Yunwon 2022-05-04 04:08:13 +09:00
  • ff85fc9257 rename extra_tests to prefix form Jeong Yunwon 2022-05-04 00:32:25 +09:00
  • aca6043818 operator_div.py Jeong Yunwon 2022-05-04 00:22:54 +09:00
  • ab6a3be51a rename extra_tests Jeong Yunwon 2022-05-04 00:21:08 +09:00
  • 487cd56391 rename extra_tests files Jeong Yunwon 2022-05-04 00:16:38 +09:00
  • bf0daabbae split math_basics.py to proper files Jeong Yunwon 2022-05-04 00:09:26 +09:00
  • d62ea37729 merge os_info.py to stdlib_os.py Jeong Yunwon 2022-05-04 00:07:11 +09:00
  • 01b1344dcb bools.py -> builtin_bool.py Jeong Yunwon 2022-05-04 00:05:17 +09:00
  • 460be40381 merge basic_types.py to builtin_type.py Jeong Yunwon 2022-05-04 00:04:06 +09:00
  • 2c18207bee Merge pull request #3681 from youknowone/marshal Jeong YunWon 2022-05-04 00:53:10 +09:00
  • 6ff41a24c2 mark failing tests Jeong Yunwon 2022-05-03 23:58:42 +09:00
  • 66afb64f79 Add Lib/test/test_marshal.py from CPython 3.10.4 Jeong Yunwon 2022-05-03 23:55:25 +09:00
  • c0b8c16454 Relocate marshal tests by our convention Jeong Yunwon 2022-05-03 23:47:00 +09:00
  • ab51e56b74 Merge pull request #3680 from fanninpm/test-fcntl Jeong YunWon 2022-05-03 15:00:00 +09:00
  • cf063645a6 Move LOCK_* constants to non-wasi/non-redox part Padraic Fanning 2022-05-02 22:10:23 -04:00
  • 106e2047fd Mark erroring tests Padraic Fanning 2022-05-02 21:06:49 -04:00
  • 4362cee88f Add more missing constants to fcntl module Padraic Fanning 2022-05-02 21:04:10 -04:00
  • ee2f4da2b8 Add test_fcntl.py from CPython 3.10 Padraic Fanning 2022-05-02 20:54:08 -04:00
  • e09e97b013 Merge pull request #3674 from youknowone/compile-single Jeong YunWon 2022-05-02 23:56:12 +09:00
  • 75b3e0d0e3 fn -> impl FnOnce Jeong Yunwon 2022-05-02 18:07:58 +09:00
  • 34b585286c Merge pull request #3677 from Snowapril/fix_asdl_rs Jeong YunWon 2022-05-02 17:40:41 +09:00
  • e10330df1e Fix PyContext into Context in asdl_rs.py snowapril 2022-05-02 16:32:43 +09:00
  • f5c0c03d04 Merge pull request #3676 from fanninpm/more-fcntl-constants Jeong YunWon 2022-05-02 10:56:06 +09:00
  • a3009e41d5 Merge pull request #3675 from fanninpm/more-termios-functions Jeong YunWon 2022-05-02 10:55:42 +09:00
  • 13e602b1df compile get_doc -> split_doc to follow split_first convention in Rust Jeong Yunwon 2022-05-02 02:56:36 +09:00
  • 852afd5424 remove with_compiler Jeong Yunwon 2022-05-02 02:35:40 +09:00
  • 2f62bb51c2 compile_impl! => compile_impl Jeong Yunwon 2022-05-02 02:17:33 +09:00
  • 3034217eae VirtualMachine::{run_frame_full => run_frame} Jeong Yunwon 2022-05-02 01:25:46 +09:00
  • 50e6146b23 compile_single checks last expr out of loop Jeong Yunwon 2022-05-02 01:51:30 +09:00
  • 64a3be5f0f Add some platform-dependent constants to fcntl Padraic Fanning 2022-05-01 19:41:16 -04:00
  • fad9d87632 Add more termios functions Padraic Fanning 2022-05-01 18:41:14 -04:00
  • bfb5e93af6 Merge pull request #3673 from fanninpm/more-termios-constants Jeong YunWon 2022-05-01 15:00:37 +09:00
  • 4c0d49de96 Merge pull request #3658 from coolreader18/move-crt_fd Jeong YunWon 2022-05-01 14:59:42 +09:00
  • 4cd59d5ec6 Add some platform-dependent constants to termios Padraic Fanning 2022-05-01 00:22:09 -04:00
  • 74bb4b6d7b Merge pull request #3672 from youknowone/exit-handling Noa 2022-04-30 15:16:56 -05:00
  • 77495a2b2d Move stdlib::os::errno to common Noa 2022-04-24 10:35:04 -05:00
  • b382d3c9e3 Move crt_fd to common Noa 2022-04-23 21:59:34 -05:00
  • e8c59360b9 Interpreter::run Jeong Yunwon 2022-05-01 00:29:40 +09:00