100 Commits

Author SHA1 Message Date
Noah
9b76dc38d8 Merge pull request #2357 from hyperbora/fix-memoryview-compare
fix memoryview compare
2020-12-13 19:32:14 -06:00
carbotaniuman
6cb89fbdca Formaat 2020-12-11 22:02:55 -06:00
carbotaniuman
92437160c7 Fix clippy 2020-12-11 20:55:02 -06:00
carbotaniuman
a6afbdf911 Update 2020-12-10 22:30:27 -06:00
carbotaniuman
0f2bd59837 Make type() bases arg only take tuples 2020-12-10 22:16:55 -06:00
hyperbora
928fbcda50 fix memoryview compare 2020-12-07 21:58:54 +09:00
Jeong YunWon
7db3f09e47 clean up clippy warnings 2020-12-07 03:53:25 +09:00
Noah
a39775b61a Fix num-bigint issue 2020-12-06 01:21:21 -06:00
Noah
34bb5f0d7a Apply review suggestions 2020-12-05 16:36:38 -06:00
Noah
150d5ae908 Fix snippet test+wasm errors 2020-12-05 16:36:37 -06:00
Noah
22e76f1a67 Use a boxed slice for codeobject fields 2020-12-05 16:36:37 -06:00
Noah
7c58f4a0c8 Fast locals part 3 2020-12-05 16:36:35 -06:00
Noah
92b8e59158 Fast locals part 2 2020-12-05 16:36:00 -06:00
Noah
97029af713 Fast locals part 1 2020-12-05 16:36:00 -06:00
Noah
3d4474413b Add PyTupleTyped 2020-12-05 16:36:00 -06:00
Noah
6c20c3e50c Add the cell class 2020-12-05 16:36:00 -06:00
Noah
2c29a33d00 Add support for deleter on getsets 2020-12-05 16:36:00 -06:00
Noah
93ec575423 Merge pull request #2341 from carbotanium/test
Change sum and round to take keywords
2020-11-24 16:20:18 -06:00
Noah
cf428e13d4 Merge pull request #2339 from RustPython/coolreader18/mini-opts
Replace FuncArgs.insert with prepend_arg, optimize check_signals
2020-11-24 12:56:40 -06:00
Noah
5781fa437d Merge pull request #2336 from RustPython/coolreader18/pyobjectref-custom-vtable
Manually implement a vtable for PyObjectRef
2020-11-24 11:58:11 -06:00
Noah
8ff7a528a2 Replace FuncArgs.insert with prepend_arg, optimize check_signals 2020-11-24 11:41:36 -06:00
Noah
749e6afd3d Merge pull request #2338 from carbotaniuman/frozenset
Make frozenset idempotent and unskip some set tests
2020-11-23 21:16:25 -06:00
Noah
fd8d9c90a8 Merge pull request #2335 from carbotaniuman/number-reform
Return same object if exact type in int, float, complex and fix pow
2020-11-23 10:39:00 -06:00
Noah
3efa8a4e65 Move allow attribute to specific function 2020-11-21 17:36:40 -06:00
carbotaniuman
6484df327e Make frozenset idempotent and unskip some set tests 2020-11-21 14:57:10 -06:00
ChJR
3878e8ef49 Improve code quality 2020-11-22 03:32:46 +09:00
Noah
7a5ba0efcc Update pytype to be a bit more idiomatic 2020-11-21 00:33:05 -06:00
Noah
0d50118e44 Run tests under miri on CI 2020-11-21 00:33:05 -06:00
Noah
2a427728a6 Use a custom vtable for PyObjectRef 2020-11-21 00:33:05 -06:00
ChJR
3e3bd07ff8 Fix overflow of string reverse iteration
This issue does not appear in CI.
2020-11-20 02:46:53 +09:00
carbotaniuman
fa989d0a9b Format 2020-11-19 07:52:17 -06:00
carbotaniuman
27b280b3ca fix error again 2020-11-18 09:33:54 -06:00
carbotaniuman
2277f41827 Actually fix negative check 2020-11-18 09:15:19 -06:00
carbotaniuman
b97aa409ef Not implemented 2020-11-17 22:46:24 -06:00
carbotaniuman
926ac12c51 Format and move code in fn pow to __pow__ methods 2020-11-17 21:46:32 -06:00
carbotaniuman
e572371a46 Fix behavior of pow builtin 2020-11-17 12:52:27 -06:00
carbotaniuman
2b0c7f85f6 Return same object if exact type in int, float, complex 2020-11-17 12:52:27 -06:00
Noah
6d7eae98b8 Add iter, iternext slots & Allow deleting slot magic methods 2020-11-17 23:47:48 +09:00
Noah
64b951e7d1 Merge pull request #2325 from RustPython/coolreader18/string-intern
Add string interning
2020-11-16 00:20:21 -06:00
carbotaniuman
d76cb3b365 Fix float power and complex division 2020-11-16 13:49:16 +09:00
Noah
06e484672a Merge pull request #2326 from carbotaniuman/master
Add ability to use `__trunc__` to `int()`
2020-11-14 23:32:07 -06:00
Noah
9214f416a4 Use a more generic PyRefExact 2020-11-14 21:28:37 -06:00
carbotaniuman
a6f7bb8845 Remove mut 2020-11-13 19:52:59 -06:00
carbotaniuman
135c0e56ef Delete unnecessary mut 2020-11-13 15:20:29 -06:00
carbotaniuman
55332276ad Format 2020-11-13 15:02:39 -06:00
carbotaniuman
792aed3785 Refactor into min_or_max 2020-11-13 14:58:31 -06:00
carbotaniuman
b66ed56099 Format 2020-11-11 20:12:04 -06:00
carbotaniuman
3a45839e01 Supress clippy lint that doesn't work 2020-11-11 19:17:39 -06:00
carbotaniuman
1aa603ac6a Format 2020-11-11 16:40:42 -06:00
carbotaniuman
49b5d37905 Fix min test case by doing mroe validation 2020-11-11 16:27:02 -06:00