Commit Graph
7039 Commits
Author SHA1 Message Date
Noah b30ca99a09 Implement string interning 2020-11-08 21:35:04 -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
Noah 4db7a23064 Add/rename vm.obj_len, obj_len_opt 2020-11-06 11:11:07 -06:00
Noah 3d19d977aa Expose classes as attributes 2020-11-06 11:11:07 -06:00
Noah ff55a2ef41 WIP seek 2020-11-06 11:11:07 -06:00
Noah 473d538cb9 Make Buffered{Reader,Writer} actually buffered 2020-11-06 11:11:06 -06:00
Noah 5f0708140e Make PyType.tp_name() more efficient 2020-11-06 11:11:06 -06:00
Noah a1ca535f78 Make bufferoptions.format a Cow<'static, str> 2020-11-06 11:11:06 -06:00
Noah 07457254d6 Implement buffered io sans buffering 2020-11-06 11:11:06 -06:00
Noah 7beb932563 Distinguish between to_index and to_index_opt 2020-11-06 11:11:06 -06:00
Noah 6ba5880b74 Add a PyThreadMutex lock type 2020-11-06 11:11:06 -06:00
Jeong YunWon ac4e5b855f Merge pull request #2314 from RustPython/coolreader18/no-cache-mac
Try skipping caching on macos
2020-11-06 23:50:50 +09:00
Kangzhi Shi b18814a3ca Rework CFormatSpec format 2020-11-04 18:15:58 +02:00
Noah 991be82370 Merge pull request #2313 from mainsail-org/mir/notebook
wasm/notebook updates
2020-11-03 15:32:21 -06:00
Kangzhi Shi 84fa2515a7 Generic CFormatPart 2020-11-03 20:58:09 +02:00
Kangzhi Shi 7773562a64 Reimpl format 2020-11-03 11:04:08 +02:00
Noah e4f446eb9f Re-add test_importlib to windows skiplist 2020-11-02 22:50:34 -06:00
Noah b5b15e0f3a os.unlink can remove junctions on windows 2020-11-02 22:49:47 -06:00
Noah 68af202208 Give support funcs names 2020-11-02 15:03:44 -06:00
Noah 02daac61e5 Try fixing macos deadlock 2020-11-02 12:42:44 -06:00
Noah 606d8196b6 Skip some importlib tests on windows + fix weird errors, hopefully? 2020-11-02 12:42:44 -06:00
Noah 9105c44bc1 Add more winreg functions 2020-11-02 12:42:43 -06:00
Noah 1dccad99b3 Fix pathlib import on windows 2020-11-02 12:41:44 -06:00
Noah 56b46b7281 Enable test_importlib 2020-11-02 12:41:44 -06:00
Noah a87ce5ba5d Skip more tests for macos 2020-11-02 12:41:44 -06:00
Noah bd644124bc Try skipping caching on macos 2020-11-02 12:41:44 -06:00
Jeong YunWon b1a94c2c8c Merge pull request #2319 from youknowone/fix-warnings
Fix unused variables warnings
2020-11-03 01:01:37 +09:00
Jeong YunWon 8aea12b8c9 Fix unused variables warnings 2020-11-03 00:28:19 +09:00
Jeong YunWon cd415c6ca9 Merge pull request #2295 from youknowone/sysmodule
Expose sys module constants in rust level
2020-11-03 00:28:04 +09:00
Jeong YunWon 697d6eddcd Merge pull request #2294 from RustPython/coolreader18/pyobj-constants
Store PyObjectRef in CodeObject constants
2020-11-03 00:03:30 +09:00
Kangzhi Shi 3ebff18b5a fix cformat bug 2020-11-02 13:33:08 +02:00
Kangzhi Shi d4af9d0bfe Reimpl cformat to suit for bytes 2020-11-01 20:04:41 +02:00
Noah b7a73fdc0c Capitalize boolean constants for dis 2020-10-30 14:05:53 -05:00
Noah 249f121896 Merge pull request #2315 from hyperbora/fix-math-acosh
fix math.acosh
2020-10-30 12:03:59 -05:00