Noah
|
3d9812e748
|
Remove remaining borrow_value() uses
|
2021-05-20 10:30:42 -05:00 |
|
Noah
|
99104faaf7
|
Re-export pyobject::* from the root of the crate
|
2021-05-20 10:24:07 -05:00 |
|
Noah
|
088ea8af12
|
Add --install-pip cli option, tidy up src/lib.rs
|
2021-04-14 15:16:45 -05:00 |
|
Noah
|
89ef71a83a
|
Fix tab completion for classes
|
2021-04-11 17:38:44 -05:00 |
|
Jeong YunWon
|
843895c04d
|
Merge pull request #2531 from RustPython/clippy-1.51
Fix clippy warnings for 1.51
|
2021-03-28 02:36:20 +09:00 |
|
Noah
|
76f8ed5299
|
Fix clippy warnings for 1.51
|
2021-03-26 17:54:22 -05:00 |
|
Noah
|
25ecd7c38b
|
Upgrade dependencies
|
2021-03-25 08:06:56 -05:00 |
|
Eric van der Toorn
|
29a69b8958
|
update rustyline
|
2021-03-16 12:45:06 +01:00 |
|
fanninpm
|
cc6baeddd6
|
Allow clippy::unnecessary_wraps lint, and rename "to_js" to "into_js" (#2452)
* Allow clippy::unnecessary_wraps lint
* Change PyResultExt to_js signature
* Change "to_js" to "into_js"
* Refactor "to_js" to "into_js"
* Continue refactoring "to_js" to "into_js"
* Move clippy::unnecessary_wraps to lib.rs
* Add allowed lint to jit/lib.rs
* Add allowed lint to vm/src/lib.rs
|
2021-02-13 19:07:07 -06:00 |
|
Noah
|
942b8afbe1
|
Add enumerate kwargs, stat_result unnamed fields, -u flag
|
2021-01-29 00:46:17 -06:00 |
|
Noah
|
be40a5d7b9
|
Fix clippy lints for Rust 1.49
|
2021-01-02 19:30:57 -06:00 |
|
Noah
|
3280a1655a
|
Optimize the size of Instruction
|
2020-12-14 14:25:19 -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
|
6dc93c5e5a
|
Add doc comments
|
2020-12-01 16:03:52 -06:00 |
|
Noah
|
95c1392d65
|
Re-add main.rs using the rustpython lib
|
2020-12-01 15:06:02 -06:00 |
|
Noah
|
b3090040f0
|
Move main.rs to lib.rs
|
2020-12-01 15:05:13 -06:00 |
|
Noah
|
2f232ecbe3
|
Implement string interning for variable names
|
2020-11-09 15:51:57 -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
|
916bb4cf1c
|
Fix some other tests
|
2020-11-06 17:37:52 -06:00 |
|
Jeong YunWon
|
19ed4f85e7
|
clean up vm::builtins
|
2020-10-13 15:42:11 +09:00 |
|
Jeong YunWon
|
ca9326f95d
|
expose bulitins items on builtins module and hide submodules
|
2020-10-12 11:43:24 +09:00 |
|
Jeong YunWon
|
9e6dfca9e9
|
Fix build with new builtins path
|
2020-10-11 21:16:16 +09:00 |
|
Jeong YunWon
|
b0445396f4
|
compactize invoke args
|
2020-10-11 09:38:06 +09:00 |
|
Jeong YunWon
|
3cd0a1118d
|
Fix nightly clippy
|
2020-10-01 07:08:55 +09:00 |
|
Jeong YunWon
|
f81ad04ce3
|
PyString -> PyStr
|
2020-09-26 00:20:02 +09:00 |
|
Noah
|
60a523e411
|
Implement a bunch of sys.flags kinda stuff
|
2020-09-19 00:20:49 -05:00 |
|
Noah
|
ee2dff68b3
|
Implement atexit functionality
|
2020-09-18 12:00:24 -05:00 |
|
Noah
|
c7f5da6ddd
|
Rework VM initialization some more; make more stuff private
|
2020-09-17 12:05:29 -05:00 |
|
Noah
|
18273da108
|
Interpreter struct for managing thread-local vm stack
|
2020-09-15 16:44:39 -05:00 |
|
Jeong YunWon
|
e62a164f4d
|
Move tests -> extra_tests
|
2020-09-13 06:58:57 +09:00 |
|
Noah
|
717784d38a
|
Fix test_calendar tests
|
2020-09-01 15:21:29 -05:00 |
|
Noah
|
72123c65ec
|
Use siphash24 + PYTHONHASHSEED
|
2020-08-27 20:47:47 -05:00 |
|
Noah
|
1385c06e25
|
Fix some minor things required for unittest
|
2020-08-12 16:03:20 -05:00 |
|
Jeong YunWon
|
e253095f75
|
new_str allows &str and &String
|
2020-08-10 02:16:50 +09:00 |
|
Jeong YunWon
|
7b6ab8da72
|
Replace vm.new_{int,str,bool} with vm.new_pyobj
|
2020-08-10 02:16:29 +09:00 |
|
Jeong YunWon
|
a846338395
|
BorrowValue for PyTuple
|
2020-08-09 14:55:09 +09:00 |
|
Jeong YunWon
|
ab37e455f3
|
BorrowValue for PyString
|
2020-08-09 14:14:55 +09:00 |
|
Jeong YunWon
|
7a8045fea1
|
BorrowValue for PyInt and PyList
|
2020-08-09 13:44:31 +09:00 |
|
Noah
|
dd8e9a6508
|
Use pylib as a dependency of the rustpython binary in order to get a Lib path
|
2020-08-03 13:20:06 -05:00 |
|
Noah
|
4bd1153b24
|
Add/fix a bunch of sysmodule attributes
|
2020-08-02 20:59:36 -05:00 |
|
Noah
|
ba8c0d9a82
|
Use sys.excepthook when exceptions bubble to the top level
|
2020-08-02 12:23:12 -05:00 |
|
HyeockJinKim
|
cdd98135ee
|
EOF after \\ raise EOF Error
Return EOF Error to get the next line after` \\ `in the shell.
Closes #1928
|
2020-05-16 09:45:44 +09:00 |
|
Windel Bouwman
|
3814b5cb22
|
Merge pull request #1908 from RustPython/coolreader18/doctests
Allow doctest to be imported and run
|
2020-05-07 23:19:24 +02:00 |
|
Noah
|
a34951dc1b
|
Fix clippy and unittest error
|
2020-05-06 21:33:25 -05:00 |
|
Noah
|
0fef85ad61
|
Implement sys.displayhook
|
2020-05-05 12:22:19 -05:00 |
|
Noah
|
5f6c7152b3
|
Have a default sys.path value pointing to <checkout>/Lib
|
2020-05-05 10:57:35 -05:00 |
|
Noah
|
126f41e003
|
Make rustpython -i script.py work like it does in CPython
|
2020-03-27 15:24:08 -05:00 |
|
Noah
|
5849e0d5bc
|
Fix sys.argv in interactive mode
|
2020-03-08 22:47:56 -05:00 |
|