Commit Graph
13134 Commits
Author SHA1 Message Date
Andrey Maltsev 514014f4fc add compare digest 2023-04-23 21:50:15 +09:00
Andrey Maltsev 508cf6b61d refactoring hashlib for tests 2023-04-23 21:48:02 +09:00
Andrey Maltsev 8782bf8cb0 Update test_hashlib.py from Cpython v3.11.2 2023-04-23 21:45:03 +09:00
discord9 94bdb6b97a feature: PyTraverse derive macro for traverse object's childrens(like CPython's tp_traverse) (#4872) 2023-04-23 21:43:49 +09:00
Leslie Zhai 2c90b128c3 Add loongarch64 support (#4914) 2023-04-23 17:37:16 +09:00
Jeong, YunWon cf465bdd81 Merge pull request #4924 from itsankitkp/fix-sys-path-for-venv
Ensure correct site packages are visible to rustpython
2023-04-23 15:28:19 +09:00
Jeong, YunWon 05442bc667 Merge pull request #4913 from youknowone/buffer-as-object
Buffer arguments as PyObject
2023-04-23 12:38:40 +09:00
Jeong YunWonandAnkit Kumar Pandey aad1d848a6 Rewrite Python->RustPython on sysconfig.py
Co-Authored-By: Ankit Kumar Pandey <itsankitkp@gmail.com>
2023-04-23 12:26:06 +09:00
Jeong YunWon 09a1ce9b2b Add XXX: RUSTPYTHON 2023-04-23 12:26:06 +09:00
Ankit Kumar Pandey d9c808ded8 Fix site and test_site for rustpython 2023-04-23 12:25:45 +09:00
Ankit Kumar Pandey ba6757ad11 add CI for pip check inside venv 2023-04-23 12:23:29 +09:00
Jeong YunWon e18dda3e08 Buffer arguments as PyObject 2023-04-23 10:57:24 +09:00
Lee Dogeon 1fa69ebcc9 sqlite: Throw TypeError when callable is not callable (#4923) 2023-04-22 07:10:44 +09:00
Ankit Kumar Pandey f0db8329be rename os module's exit function to _exit as thats how it is defined in cpython (#4887) 2023-04-22 05:22:18 +09:00
Jeong, YunWon 6ce372cfb6 Merge pull request #4920 from itsankitkp/fix-windows-ssl-ci
fix wrong directory name for openssl setup
2023-04-22 05:18:37 +09:00
Ankit Kumar Pandey 7fc30b715a fix wrong directory name for openssl setup 2023-04-21 20:27:52 +05:30
Jeong, YunWon 07c07ad806 Merge pull request #4916 from youknowone/choco-no-progress
run choco with --no-progress
2023-04-21 21:16:15 +09:00
Jeong YunWon d7e7001afd choco --no-progress to prevent spam 2023-04-21 21:15:10 +09:00
Jeong, YunWon 14aa9d7108 Merge pull request #4897 from youknowone/reduce-stdlib-runtime
Reduce runtime of stdlib_collections_deque
2023-04-21 18:08:13 +09:00
Jeong, YunWon 3794c178be Merge pull request #4896 from youknowone/debugger-setup
RUST_BACKTRACE=1 for debugger
2023-04-20 22:49:28 +09:00
Jeong, YunWon 968f2ad7c9 Merge pull request #4849 from haxelion/feature/tp_repr_stdlib
Implemented tp_repr slots for more types
2023-04-20 21:02:55 +09:00
Jeong, YunWon c05f23d99d Merge pull request #4888 from Masorubka1/test_poll.py
Add test_poll.py from Cpython v3.11.2
2023-04-20 21:02:27 +09:00
Jeong YunWon 06b0484ea3 Reduce runtime of stdlib_collections_deque 2023-04-20 17:33:36 +09:00
Jeong YunWon 9e4c8ad7d7 RUST_BACKTRACE=1 for debugger 2023-04-20 17:22:12 +09:00
Jeong, YunWon e103adaa52 Merge pull request #4893 from Masorubka1/test_pulldom.py
Add test_pulldom.py from Cpython v3.11.2
2023-04-20 17:10:30 +09:00
Jeong YunWon 89e3587c15 Simplify repr implementation a bit 2023-04-20 16:58:29 +09:00
Jeong, YunWon 446285f348 Merge pull request #4892 from Masorubka1/test_property.py
Update test_property.py from Cpython v3.11.2
2023-04-20 16:12:12 +09:00
Andrey Maltsev 334c15e879 add required files 2023-04-20 15:36:28 +09:00
Jeong YunWon c3d9a51d15 Update last fallback property error messages 2023-04-20 15:32:50 +09:00
Andrey Maltsev fddbf0728a add annotation to skiped test 2023-04-20 15:27:41 +09:00
Dmitry Erlikh a354f7bba1 Properly handle failing test_os tests on windows (#4764) 2023-04-20 14:42:16 +09:00
Andrey Maltsev b7811af211 Add test_pulldom.py from Cpython v3.11.2 2023-04-19 16:05:18 +00:00
Jeong, YunWon 471ec26873 Merge pull request #4790 from Snowapril/number-protocol-unary-ternary
Modify unary & ternary function fields in number protocol
2023-04-19 23:05:26 +09:00
Jeong YunWon a4a6e8dabe Fix trivial suggestions 2023-04-19 22:18:19 +09:00
snowapril 4416b2a467 Refactor PyNumber methods based on review suggestions
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril c69ff172e5 Replace PyInquiryFunc to PyUnaryFunc<bool>
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 9c38e904dd Fix vm.ctx.none.as_obejct not to make clone
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril fd4f6941bf Remove expectedFailures for each success tests
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 9f28643ac7 Fix inplace_power in number slots
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 9135d29346 Replace non-implemented type conversions in each PyNumber_Int, PyNumber_Index, PyNumber_Float
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 96af524aad Fix PyInt PyNubmerMethods pow
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 3a9a1c93dd Fix cargo formatting
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril b0618b9c9a Modify inplace binop instruction to use inplace_power_no_mod
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril c789490294 Fix each type's unary & ternary fields in PyNumberMethods def
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril bf2fbfc52d Modify boolean field as PyNumberInquiryFunc
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 3613edf321 Fix unary function to take PyNumber
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril b06c0f8ff9 Modify original vm._pow usage
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 05900fbabf Fix power, inplace_power as ternary function
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
snowapril 51ae26128b Modify unary functions in number protocol
Signed-off-by: snowapril <sinjihng@gmail.com>
2023-04-19 22:18:19 +09:00
Jeong, YunWon 1b66332f06 Merge pull request #4890 from Masorubka1/test_posix.py
Update test_posix.py from Cpython v3.11.2
2023-04-19 06:09:11 +09:00