Windel Bouwman
|
b6f522d917
|
Allow &str to be used a dictionary key.
|
2019-08-17 17:11:23 +02:00 |
|
Windel Bouwman
|
2b02371ba1
|
Merge pull request #1258 from RustPython/coolreader18/site
Add site module and run it on startup
|
2019-08-16 08:39:51 +02:00 |
|
coolreader18
|
d33d5ce5f6
|
Initialize attributes on new modules
|
2019-08-15 23:06:30 -05:00 |
|
coolreader18
|
a0146c5fa6
|
Add site module and run it on startup
|
2019-08-15 15:33:36 -05:00 |
|
Marcin Pajkowski
|
e65e9ff7c3
|
Make func_ref an &PyObjectRef
|
2019-08-15 13:45:47 +02:00 |
|
coolreader18
|
4f9a71ff89
|
Change compile::compile() to take a Mode instead of an &Mode
|
2019-08-13 12:34:39 -05:00 |
|
coolreader18
|
dfcd679cc4
|
Initialize the main module properly
|
2019-08-09 17:35:14 -05:00 |
|
coolreader18
|
a982d850f7
|
Don't put '-' in usage string
|
2019-08-09 02:29:32 -05:00 |
|
coolreader18
|
e38e2c82b1
|
Use runpy to run modules with -m
|
2019-08-09 02:29:10 -05:00 |
|
coolreader18
|
076b975eb1
|
Make argument parsing fully match CPython's
|
2019-08-08 17:41:40 -05:00 |
|
coolreader18
|
a4ffc797bb
|
Fix clap command line parsing of pyargs
|
2019-08-08 17:41:39 -05:00 |
|
Aviv Palivoda
|
db8de563ba
|
Add dont_write_bytecode flag
|
2019-07-24 20:28:24 +03:00 |
|
Windel Bouwman
|
f7320cf545
|
Move Scope struct to its own file, making the frame module private in the process.
|
2019-07-23 20:39:47 +02:00 |
|
Windel Bouwman
|
e922a6a952
|
Fix trailing newline issue #17
|
2019-07-21 14:00:55 +02:00 |
|
Windel Bouwman
|
cdfcf5278c
|
Use env::var where applicable. Fix flame-it feature build.
|
2019-07-14 21:39:26 +02:00 |
|
Windel Bouwman
|
49afefd4f2
|
Implement ideas from clippy.
|
2019-07-14 10:44:33 +02:00 |
|
Windel Bouwman
|
ee8bcf4921
|
Move processing of PYTHONPATH out of vm.
|
2019-07-14 09:59:27 +02:00 |
|
coolreader18
|
d9d7a91157
|
Move vm initialization to own function
|
2019-07-13 16:15:45 -05:00 |
|
coolreader18
|
402eb8a48b
|
Merge branch 'master' into redox
|
2019-07-13 11:46:43 -05:00 |
|
coolreader18
|
e20adb3f14
|
Use BUILDTIME_RUSTPYTHONPATH env variable
|
2019-07-13 10:14:10 -05:00 |
|
Windel Bouwman
|
ac765a957b
|
Add a settings struct for storage of different settings which influence the VM.
|
2019-07-13 12:23:53 +02:00 |
|
coolreader18
|
86a6b2a366
|
Use feature for proc_macro_hack
|
2019-07-13 00:59:18 -05:00 |
|
coolreader18
|
bd749eae2d
|
Use more platform checks
|
2019-07-12 20:18:54 -05:00 |
|
coolreader18
|
1b0d288242
|
Insert path into sys.path for redox
|
2019-07-12 17:50:55 -05:00 |
|
Windel Bouwman
|
704b15750e
|
Add optimize flag to ignore assert statements.
|
2019-07-12 18:41:25 +02:00 |
|
coolreader18
|
c899287cf1
|
Add vecdeque_rotate to features
|
2019-07-11 19:16:28 -05:00 |
|
coolreader18
|
e373ad25ae
|
Make repl rudimentary
|
2019-07-11 19:01:52 -05:00 |
|
coolreader18
|
3beaf5f89d
|
Address feedback
Move profile writing to own function; move profiling doc to
DEVELOPMENT.md, remove 'present because' from arg help.
|
2019-07-10 13:29:05 -05:00 |
|
coolreader18
|
ecdbe0408b
|
Add profiling using flamescope/speedscope
|
2019-07-10 13:14:01 -05:00 |
|
coolreader18
|
9204035d97
|
Cover up bare trait objects with a dyn
|
2019-07-10 09:41:58 -05:00 |
|
coolreader18
|
29e046f457
|
Add flamegraph profiling
|
2019-07-08 18:52:57 -05:00 |
|
Aviv Palivoda
|
0e74d16498
|
Pass ParseError location to CompileError
|
2019-07-06 10:23:32 +03:00 |
|
Aviv Palivoda
|
ee4ee5456f
|
Use vm.import when running with -m
|
2019-07-04 17:32:17 +03:00 |
|
Aviv Palivoda
|
090cfed593
|
Use importlib import in WASM
|
2019-07-03 18:57:49 +03:00 |
|
Windel Bouwman
|
bedbad284e
|
Change underscore into hyphen
|
2019-07-01 21:05:29 +02:00 |
|
Windel Bouwman
|
3954dbe716
|
Make parser and compiler optional features for vm crate.
|
2019-06-30 20:11:40 +02:00 |
|
coolreader18
|
aefbae40e4
|
Revert "Make CodeObject.source_path an Option<String>"
|
2019-06-20 12:01:20 -05:00 |
|
coolreader18
|
b74b65d37e
|
Make CodeObject.source_path an Option<String>
|
2019-06-16 19:59:04 -05:00 |
|
coolreader18
|
45bb2bd263
|
Split off bytecode compilation into a separate crate
|
2019-06-12 21:43:43 -05:00 |
|
Aviv Palivoda
|
5df05d4f95
|
Add script dir to sys.path
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
e88d6ac1ef
|
Add init_importlib
|
2019-06-10 19:18:32 +03:00 |
|
Maxim Kurnikov
|
1949239592
|
cleanups, type fixes and renames
|
2019-05-31 21:56:10 +03:00 |
|
Jeong YunWon
|
509394080b
|
Inject __builtins__ to scope only when it doesn't exist
|
2019-05-11 03:05:18 +09:00 |
|
Jeong YunWon
|
f69c79bdc7
|
Add __builtins__ to globals()
|
2019-05-11 01:17:22 +09:00 |
|
Aviv Palivoda
|
fc1a063a2c
|
Add __file__ for file executed from main
|
2019-05-10 14:06:23 +03:00 |
|
Y. Sapir
|
821959b889
|
Save REPL return value as _
|
2019-05-03 03:10:03 +03:00 |
|
Jeong YunWon
|
29c0d89033
|
test_run_script for filr/dir
|
2019-04-24 02:38:26 +09:00 |
|
Jeong YunWon
|
2eb97aa1e8
|
Add __main__.py support
|
2019-04-23 20:27:25 +09:00 |
|
Windel Bouwman
|
b34784e9ef
|
Format main.rs
|
2019-04-17 20:52:53 +02:00 |
|
Windel Bouwman
|
eb16f16566
|
Improve syntax error with line information.
|
2019-04-17 20:02:24 +02:00 |
|