Aviv Palivoda
|
60e799727f
|
Support reversed on sequence
|
2019-06-14 15:25:24 +03:00 |
|
coolreader18
|
8b894a11fb
|
Merge pull request #1029 from RustPython/coolreader18/rustpython_compiler
Split off bytecode compilation into a separate crate
|
2019-06-13 15:48:11 -04:00 |
|
coolreader18
|
bfd6145d5f
|
Use RUSTPYTHONPATH in ouroboros instructions
|
2019-06-13 12:34:30 -05:00 |
|
coolreader18
|
c2502bf8ef
|
Add doc comments and individual compile functions
|
2019-06-12 22:04:59 -05:00 |
|
coolreader18
|
45bb2bd263
|
Split off bytecode compilation into a separate crate
|
2019-06-12 21:43:43 -05:00 |
|
Windel Bouwman
|
3f343aff6c
|
Merge pull request #1018 from palaviv/imp3
Importlib
|
2019-06-12 16:21:26 +02:00 |
|
coolreader18
|
02821324b7
|
Merge pull request #1028 from RustPython/coolreader18/update-deps1
Update cargo dependencies
|
2019-06-11 18:07:09 -05:00 |
|
coolreader18
|
cb2fe657a9
|
Merge pull request #1014 from mkurnikov/cleanup-get-method-error-handling
Cleanup get_method() error handling
|
2019-06-11 17:43:58 -05:00 |
|
coolreader18
|
07c6a90045
|
Update cargo dependencies
|
2019-06-11 16:00:35 -05:00 |
|
Aviv Palivoda
|
1de9f73bd0
|
Optimize already loaded modules
|
2019-06-11 22:54:54 +03:00 |
|
Windel Bouwman
|
50662c488a
|
Merge pull request #968 from RustPython/walrus
Add walrus operator to lexer and try to make lexer code cleaner.
|
2019-06-11 15:06:04 +02:00 |
|
Aviv Palivoda
|
ea8e28026b
|
Simplify objmodule
|
2019-06-11 13:13:32 +03:00 |
|
Aviv Palivoda
|
0e320f9af6
|
Change comment to XXX
|
2019-06-10 21:50:37 +03:00 |
|
Aviv Palivoda
|
603ef1ad05
|
Support from_list
|
2019-06-10 21:45:05 +03:00 |
|
Aviv Palivoda
|
e1472f2277
|
Add sys.dont_write_bytecode
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
03735a6d26
|
Add optional parameters to compile
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
8dec522f96
|
compile source may be bytes
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
10828e01fb
|
Set sys.pycache_prefix to None
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
b567464378
|
Add ModuleNotFoundError to builtins
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
5df05d4f95
|
Add script dir to sys.path
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
d9d0ea1834
|
Fix os to _os in class
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
5584733cda
|
Add sys.path_importer_cache
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
c8248c3211
|
Expose __name__ in __dict__
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
375790e142
|
objmodule should have a dict
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
fe0284aa05
|
Add new to objmodule and change __name__ to property
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
6615e811c0
|
Collapse concat
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
5c53e58547
|
Print frozen import file name in stacktrace
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
0e76dbb749
|
Add needed methods to _thread
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
2817214c88
|
Remove unused imports
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
7f61125866
|
Use _bootstrap.py __import__
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
58d9d9deeb
|
Add sys.path_hooks
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
b0cccf35ad
|
Change os_details
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
a57f38b07f
|
Rename builtin io to _io
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
fbaff7fd50
|
Install external importers on init_importlib
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
37b40c55da
|
Add frozen _bootstrap_external.py
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
0d9a066712
|
Add sys.meta_path
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
f2145880fa
|
Don't set __file__ for frozen modules
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
f1af6b1f40
|
Include _bootstrap.py as str
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
698044b128
|
Add Module.__name__
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
e88d6ac1ef
|
Add init_importlib
|
2019-06-10 19:18:32 +03:00 |
|
Aviv Palivoda
|
7ff59b27d7
|
Add _bootsrap.py as frozen module
|
2019-06-10 19:18:32 +03:00 |
|
coolreader18
|
740e8387b8
|
Merge pull request #1027 from alanjds/format-bang
Feature: str.format accepting !r, !s and !a
|
2019-06-10 10:56:00 -05:00 |
|
Alan Justino
|
854bacf452
|
Fix the Rust tests
|
2019-06-09 18:45:08 -03:00 |
|
Alan Justino
|
f0a2b4c50b
|
Apply the {!r} on str.format calls
By the Python docs, the `!` forces a conversion of the argument before
applying the normal formating logic described after the `:` marker.
See: https://docs.python.org/3.4/library/string.html#format-string-syntax
|
2019-06-09 18:11:10 -03:00 |
|
Alan Justino
|
e19b674abf
|
FormatSpec got a preconversor:FormatPreconversor to handle !r, !s and !a
|
2019-06-09 16:22:22 -03:00 |
|
coolreader18
|
68011df6cb
|
Merge pull request #1024 from yanganto/str_isprintable
str.isprintable
|
2019-06-09 13:07:47 -05:00 |
|
Alan Justino
|
65d0093822
|
Dont fail on '{!r}'.format(...)
|
2019-06-09 13:46:13 -03:00 |
|
Antonio Yang
|
f76be43d26
|
str.isprintable
- check unicode type by unicode_categories
- rm redundant check of empty string
|
2019-06-09 23:33:38 +08:00 |
|
Windel Bouwman
|
aa6b155e1e
|
Merge branch 'master' of https://github.com/RustPython/RustPython into walrus
|
2019-06-09 11:49:02 +02:00 |
|
Windel Bouwman
|
1b968e9406
|
Merge pull request #1022 from RustPython/coolreader18/demo-repl-continuation
Add line continuation for the WASM demo terminal
|
2019-06-09 11:16:35 +02:00 |
|