Commit Graph
7126 Commits
Author SHA1 Message Date
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 f48e547981 Merge pull request #2316 from ChJR/feature/format_float
Unify float formatting
2020-11-21 17:40:46 -06:00
Noah 3efa8a4e65 Move allow attribute to specific function 2020-11-21 17:36:40 -06:00
carbotaniuman 24b3670516 Allow clippy 2020-11-21 15:58:42 -06:00
ChJR 3878e8ef49 Improve code quality 2020-11-22 03:32:46 +09:00
coolreader18 c5fca81eae Fix regrtest results collection 2020-11-21 01:43:28 -06:00
Noah 1c6d7711aa Fix clippy error with rust update 2020-11-20 23:10:43 -06:00
ChJR f124ec8197 Fix more trailing zeros in general formatting of floating numbers 2020-11-20 03:19:28 +09:00
ChJR 6da4d9714a Add more tests for general formatting of floating numbers
Check for trailing zeros.
2020-11-20 03:14:19 +09:00
ChJR 3e3bd07ff8 Fix overflow of string reverse iteration
This issue does not appear in CI.
2020-11-20 02:46:53 +09:00
ChJR 0eba3ba80b Prevent stack overflow from format_general which is using precision 2020-11-20 02:43:56 +09:00
ChJR 4f1232a0c2 Fix error of CI 2020-11-20 02:41:44 +09:00
carbotaniuman 0388dac94a Remove todos from tests 2020-11-19 08:46:09 -06:00
ChJR 8c892f21a2 Merge branch 'master' into feature/format_float 2020-11-19 23:22:33 +09:00
ChJR cf2aa7448d Fix trailing zeros in general formatting of floating numbers 2020-11-19 23:21:40 +09:00
ChJR 245ed70e4f Add tests for general formatting of floating numbers
Check for trailing zeros.
2020-11-19 23:07:54 +09:00
carbotaniuman fa989d0a9b Format 2020-11-19 07:52:17 -06:00
Noah dcfa60b5bd Merge pull request #2337 from owtotwo/master
Fix os.stat().st_mode error in windows
2020-11-19 00:35:48 -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
owtotwo bd068a1eb8 use oct number like CPython fileutils.c instead of decimal number leading zero 2020-11-18 18:27:17 +08: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 7bc6e383a9 Merge pull request #2333 from RustPython/coolreader18/lzfear
Use lz-fear to get streaming decompression for bytecode
2020-11-17 11:06:49 -06:00
Noah 30b5fb22ef Use lz-fear to get streaming decompression for bytecode 2020-11-17 09:49:31 -06:00
Jeong YunWon 1f1b71301b Merge pull request #2332 from RustPython/coolreader18/timeit
Add the timeit module
2020-11-17 23:54:27 +09:00
Noah 6d7eae98b8 Add iter, iternext slots & Allow deleting slot magic methods 2020-11-17 23:47:48 +09:00
Noah 1080f06199 Modify timeit.py to make it work on rustpython 2020-11-16 17:07:05 -06:00
Noah 52278196a7 Add timeit.py from CPython 3.8.3 2020-11-16 17:05:47 -06: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 15984fca6f Remove leftover comment 2020-11-14 22:06:29 -06:00
Noah e06254ab8e Merge pull request #2328 from carbotaniuman/fix-min
Fix min test case by doing mroe validation
2020-11-14 21:34:54 -06:00
Noah 9214f416a4 Use a more generic PyRefExact 2020-11-14 21:28:37 -06:00
carbotaniuman 6498d7922d Fix clippy maybe? 2020-11-14 13:11:47 -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
Jeong YunWon a97428b30c Merge pull request #2327 from youknowone/unskip-tests
Unskip tests
2020-11-13 19:51:20 +09:00
Jeong YunWon 97304ddc52 unksip test_with.py 2020-11-12 11:30:33 +09:00
Jeong YunWon 864d25566a unksip test_unicode.py 2020-11-12 11:30:33 +09:00
Jeong YunWon 52e8342e91 unksip test_tuple.py 2020-11-12 11:30:33 +09:00
Jeong YunWon 9e9163b43a unskip test_symtable 2020-11-12 11:30:33 +09:00
Jeong YunWon 950ae441f3 unskip test_set.py 2020-11-12 11:30:33 +09:00
Jeong YunWon f907419eef unskip test_raise.py 2020-11-12 11:30:33 +09:00
Jeong YunWon 5cedef3191 unksip test_opcode.py 2020-11-12 11:30:33 +09:00