Commit Graph

3457 Commits

Author SHA1 Message Date
Aviv Palivoda
db8de563ba Add dont_write_bytecode flag 2019-07-24 20:28:24 +03:00
Noah
7d2a7a54b2 Merge pull request #1169 from RustPython/optimizations1
Add some extra profiling trace points.
2019-07-24 12:30:31 -04:00
Windel Bouwman
881baf6397 Update flame trace names. 2019-07-24 16:36:45 +02:00
Noah
0e95f512d7 Merge pull request #1173 from corona10/seekable
stdlib.io: Implement seekable()
2019-07-24 10:15:42 -04:00
Windel Bouwman
05ea701055 Cleanup frame file. 2019-07-24 09:59:31 +02:00
Windel Bouwman
fe44179320 Merge pull request #1174 from Askaholic/patch-2
Improve tests for int ratio properties
2019-07-24 09:57:08 +02:00
Windel Bouwman
1ca863dbd5 Merge pull request #1167 from cclauss/patch-1
Travis CI: Lint Python code with flake8
2019-07-24 09:04:48 +02:00
Askaholic
a7065935f8 Fix test and add test for negative numberers 2019-07-23 22:24:35 -08:00
Dong-hee Na
29248fd1fa stdlib.io: Implement seekable() 2019-07-24 14:16:37 +09:00
cclauss
cbd88e660c env: JOBCACHE=9 2019-07-23 23:41:04 +02:00
Windel Bouwman
f994b0580f Move get_item_option back into ItemProtocol 2019-07-23 23:31:09 +02:00
Windel Bouwman
2c512d8ad4 Merge pull request #1170 from Askaholic/impl-int-ratio-properties
Add int ratio properties
2019-07-23 23:19:00 +02:00
Askaholic
86a1ef2ab8 Add numerator/denominator tests to snippets 2019-07-23 12:42:45 -08:00
Askaholic
73e418cd11 Add numerator and denominator properties for int 2019-07-23 12:38:53 -08:00
Windel Bouwman
e138a7303d Move get_item_option to PyDictRef struct. 2019-07-23 21:27:37 +02: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
25816a2775 Add some extra profiling trace points. 2019-07-23 19:55:04 +02:00
Christian Clauss
b174453677 Travis CI: Lint Python code with flake8
These tests focus on Python syntax errors and undefined names.
2019-07-23 12:36:22 +02:00
Windel Bouwman
4e1ebb0645 Merge pull request #1165 from RustPython/fix-repl
Minor tweak on lexer to fix the REPL.
2019-07-22 07:01:13 +02:00
coolreader18
aa079ea228 Remove sitecustomize.py; fix #1164 2019-07-22 00:35:38 -04:00
Windel Bouwman
255b744217 Minor tweak on lexer to fix the REPL. 2019-07-21 22:11:37 +02:00
Windel Bouwman
c7ffa2e8b0 Merge pull request #1163 from RustPython/ast-module
Refactor the lexer code to bring some more sanity and reduce function…
2019-07-21 16:06:02 +02:00
Windel Bouwman
f31b9dc0f3 Merge pull request #1161 from RustPython/coolreader18/cpython-libs5
Add a bunch of stdlib modules from CPython
2019-07-21 15:40:50 +02:00
coolreader18
140d582599 Add a bunch of stdlib modules from CPython 2019-07-21 07:26:38 -05:00
Windel Bouwman
e922a6a952 Fix trailing newline issue #17 2019-07-21 14:00:55 +02:00
Windel Bouwman
8c199ee2f2 Refactor the lexer code to bring some more sanity and reduce function size. 2019-07-21 13:05:10 +02:00
Windel Bouwman
4af85e970c Merge pull request #1162 from adolfogonzalez3/impl-list.__rmul__
Implemented list.__rmul__
2019-07-21 09:55:42 +02:00
Adolfo Gonzalez III
208b37a691 Merged 2019-07-21 01:08:31 -05:00
Noah
6768e3a343 Merge pull request #1157 from adolfogonzalez3/impl-list.__reversed__
Implemented list.__reversed__
2019-07-20 22:32:16 -04:00
Adolfo Gonzalez III
18b0f631ac Ran cargo fmt --all 2019-07-20 20:24:43 -05:00
Windel Bouwman
d74c0d5c1f Merge pull request #1160 from RustPython/ast-module
Add location to expressions.
2019-07-20 21:57:20 +02:00
Windel Bouwman
ccd7d8960d Suppress clippy warning. 2019-07-20 21:25:11 +02:00
Windel Bouwman
d6c19c1c6a Add location to expressions. Change symboltable to use flags for symbols. 2019-07-20 20:44:38 +02:00
Windel Bouwman
1b48ade07b Merge pull request #1158 from RustPython/coolreader18/cpython-libs4
Add argparse and gettext modules
2019-07-20 09:19:06 +02:00
Windel Bouwman
8101f423df Merge pull request #1153 from RustPython/ast-module
Add initial draft of symtable module.
2019-07-20 09:07:05 +02:00
coolreader18
9ec6660c09 Add argparse and gettext modules 2019-07-19 22:38:09 -05:00
Adolfo Gonzalez III
b7c035fdde Implemented list.__reversed__ 2019-07-19 16:08:16 -05:00
Windel Bouwman
f919ed0137 Extend symtable module. 2019-07-19 22:05:35 +02:00
Windel Bouwman
ff0a6171b5 Merge pull request #1155 from RustPython/coolreader18/better-dockerfile
Update Dockerfiles
2019-07-19 21:27:22 +02:00
Windel Bouwman
b7e085ec7d Merge pull request #1156 from RustPython/import-bug
Fix panic on import statement with levels but no module name.
2019-07-19 21:12:35 +02:00
Windel Bouwman
ce1523c142 Fix panic on import statement with levels but no module name. 2019-07-19 17:31:57 +02:00
coolreader18
97c9b2316e Update Dockerfile.wasm 2019-07-18 10:49:05 -05:00
Windel Bouwman
ae018d579b Implement suggestion from clippy. 2019-07-17 09:36:11 +02:00
Windel Bouwman
19e783d285 Merge pull request #1154 from RustPython/coolreader18/update-readmes
Update READMEs
2019-07-17 09:30:33 +02:00
coolreader18
5821bac2dc Update READMEs 2019-07-16 19:13:07 -05:00
Windel Bouwman
215308d474 Add initial draft of symtable module. 2019-07-16 22:04:38 +02:00
Aviv Palivoda
42b1b75562 Merge pull request #1152 from RustPython/import-syntax
Address relative import with 3 dots. Closes #1052.
2019-07-16 19:03:50 +03:00
Windel Bouwman
ff762d7109 Address relative import with 3 dots. Closes #1052. 2019-07-15 21:41:43 +02:00
Windel Bouwman
2e66a6a3b7 Merge pull request #1151 from RustPython/import-syntax
Simplify import AST in line with CPython.
2019-07-15 21:41:15 +02:00
Windel Bouwman
0741c36bb8 Simplify import AST in line with CPython. 2019-07-15 21:00:28 +02:00