Commit Graph

7723 Commits

Author SHA1 Message Date
Jeong YunWon
ef87fbe713 unksip test_imp.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
c37c1bbf93 unskip test_grammar.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
5dc6113491 unskip test_glob.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
2970af237a unskip test_exceptions.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
0aa138817c unskip test_class.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
02c05cc217 unksip test_builtin.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
da53f94c6f unskip test_asyncgen.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
78ba2126df unskip mapping_tests.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
9b2e0a7ed4 unksip test_list.py 2020-11-12 11:30:33 +09:00
Jeong YunWon
fb69414f5d unskip test_dict tests 2020-11-12 11:30:33 +09: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
carbotaniuman
da9be2f7ef Fix clippy lint and unblock a test case 2020-11-11 15:48:22 -06:00
carbotaniuman
7bfc811b71 Format 2020-11-11 14:33:38 -06:00
carbotaniuman
ace2cb8f2f Fix edge cases in mod and complex division 2020-11-11 14:33:07 -06:00
carbotaniuman
c478c64e2e Fix complex() and float() to user dunder methods
This also adds a `to_op_X` method in order to make arithmetic operations work due to the changes in `try_X`
2020-11-11 13:56:29 -06:00
carbotaniuman
9657454c3e Fix missing parameter 2020-11-11 10:04:40 -06:00
carbotaniuman
7586543343 Add ability to use __trunc__ to int() 2020-11-11 09:58:26 -06:00
Noah
2f232ecbe3 Implement string interning for variable names 2020-11-09 15:51:57 -06:00
Noah
f8d47c6409 Merge pull request #2324 from RustPython/coolreader18/fix-nothreading
Fix cell_lock, remove the RwLock<BufferOptions> from bytearray
2020-11-09 11:53:13 -06:00
ChJR
31d662eded Fix nan sign bug in cformat 2020-11-10 02:50:10 +09:00
ChJR
213a335bcf Unify fixed-point format of floating numbers 2020-11-10 02:42:46 +09:00
ChJR
07a857b4ad Add tests for formatting floating numbers 2020-11-10 02:30:51 +09:00
ChJR
8c96bd680f Unify general format of floating numbers 2020-11-10 01:56:08 +09:00
ChJR
6ca53213e8 Fix a mistake 2020-11-10 01:48:43 +09:00
ChJR
e95469e1c5 Refine names for shorter code 2020-11-10 01:32:54 +09:00
Noah
a6805a5291 Make get_options() return &BufferOptions 2020-11-09 10:32:25 -06:00
ChJR
fdeb817e5d Merge branch 'develop' into feature/format_float
# Conflicts:
#	vm/src/cformat.rs
2020-11-10 01:27:50 +09:00
ChJR
db976ddc70 Clear up format_float_as_exponent 2020-11-10 00:57:32 +09:00
Noah
b30ca99a09 Implement string interning 2020-11-08 21:35:04 -06:00
Noah
fce6e4c418 Fix cell_lock, remove the RwLock<BufferOptions> from bytearray 2020-11-08 15:01:46 -06:00
Jeong YunWon
f390f6157c Merge pull request #2320 from RustPython/coolreader18/split-ast-parser
Split the ast from the parser, remove compiler dep on parser
2020-11-08 20:49:47 +09:00
Noah
70907babe6 Fix wasm + examples 2020-11-07 15:43:23 -06:00
Noah
4528f17210 compiler/porcelain wrapper 2020-11-07 15:43:23 -06:00
Noah
b3851c8eb8 Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Noah
17e0e75622 Merge pull request #2323 from RustPython/coolreader18/buffer-io
Fully implement buffered IO
2020-11-07 15:23:54 -06:00
Noah
9433126a9a Skip test_io on windows 2020-11-06 18:38:22 -06:00
Noah
916bb4cf1c Fix some other tests 2020-11-06 17:37:52 -06:00
Noah
76fa447915 Only define buffered.flush for writer/random 2020-11-06 17:37:51 -06:00
Noah
60d917c5e5 Don't lock textio while calling buffer methods 2020-11-06 17:37:51 -06:00
Noah
1d6b32ca98 Fix clippy/wasm errors 2020-11-06 17:37:50 -06:00
Noah
0b9beeba6f Merge pull request #2318 from qingshi163/bytes-format
Reimpl cformat to suit for bytes
2020-11-06 15:48:37 -06:00
Noah
d2a302cb2f Skip tests in test_io 2020-11-06 15:41:55 -06:00
Noah
3f6504c3cd Add _pyio, test.test_io from CPython 3.8.3 2020-11-06 15:41:55 -06:00
Noah
402594f9f2 Update io.py to CPython 3.8.3 2020-11-06 15:41:55 -06:00
Noah
0dc81548ad Finish up buffered io 2020-11-06 15:41:52 -06:00
Noah
5ddb678acf Add memory::RcBuffer 2020-11-06 11:11:07 -06:00
Noah
374a956d03 Misc changes; exception chaining, PyBytesLike::into_buffer 2020-11-06 11:11:07 -06:00