Commit Graph

2373 Commits

Author SHA1 Message Date
Windel Bouwman
e922a6a952 Fix trailing newline issue #17 2019-07-21 14:00:55 +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
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
ce1523c142 Fix panic on import statement with levels but no module name. 2019-07-19 17:31:57 +02: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
Aviv Palivoda
802acf7dd5 Add sys.exc_info 2019-07-15 19:26:53 +03:00
Windel Bouwman
a0abe08c9a Merge pull request #1149 from RustPython/coolreader18/cpython-libs3
Add codecs, locale, shutil, errno, and encodings modules
2019-07-15 17:12:08 +02:00
Windel Bouwman
26e3d7fa6f Merge pull request #1146 from RustPython/ast-module
Implement more nodes in the ast.
2019-07-15 17:11:45 +02:00
coolreader18
f7dd1a2952 Add windows errno 2019-07-15 00:03:38 -05:00
Windel Bouwman
8516ad29c9 Merge pull request #1148 from dmitrijoseph/comp
Implemented range methods lt, gt, le, ge
2019-07-15 07:02:15 +02:00
coolreader18
f59d84a750 Add codecs, locale, shutil, errno, and encodings modules 2019-07-14 23:09:59 -05:00
dmitrijoseph
d8c06d7898 cargo fmt 2019-07-14 20:38:58 -04:00
dmitrijoseph
eba282dcbe Implemented lt, gt, le, ge 2019-07-14 18:47:45 -04:00
Noah
93dfbdcaa9 Merge pull request #1144 from RustPython/env-var-processing
Move processing of PYTHONPATH out of vm.
2019-07-14 16:46:10 -05:00
Windel Bouwman
e06de30eb6 Implement more nodes in the ast. Add script to walk over AST of sourcecode. 2019-07-14 21:18:49 +02:00
Windel Bouwman
f752c93c0a Add sys.settrace and sys.setprofile functions to register profiling functions. 2019-07-14 12:33:22 +02:00
Windel Bouwman
ee8bcf4921 Move processing of PYTHONPATH out of vm. 2019-07-14 09:59:27 +02:00
coolreader18
fb3ccadc17 Merge pull request #1140 from RustPython/redox
Add Redox OS support, via platform checks!
2019-07-13 16:59:56 -05:00
Windel Bouwman
d3e1bfe548 Merge pull request #1141 from RustPython/time-module-fixes
Add mktime function.
2019-07-13 22:45:26 +02:00
coolreader18
402eb8a48b Merge branch 'master' into redox 2019-07-13 11:46:43 -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
Windel Bouwman
e705ec292b Add mktime function. 2019-07-13 11:26:44 +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
afd7a33848 Implement os.stat for redox 2019-07-12 20:02:21 -05:00
coolreader18
fc6c683c03 Fix os module again 2019-07-12 16:18:50 -05:00
coolreader18
dd11780877 Fix num-* crates 2019-07-12 11:45:27 -05:00
coolreader18
67813f186c Fix os module 2019-07-12 11:44:42 -05:00
Windel Bouwman
704b15750e Add optimize flag to ignore assert statements. 2019-07-12 18:41:25 +02:00
coolreader18
838aaa557d Update num-bigint version 2019-07-11 21:22:52 -05:00
coolreader18
869ea2e679 Remove pwd on redox 2019-07-11 19:26:59 -05: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
2c65988ea7 Switch to hexf_parse 2019-07-11 18:53:47 -05:00
coolreader18
76dbd8ebb0 Remove proc-macro-hack 2019-07-11 18:40:07 -05:00
Windel Bouwman
8c1c0906dc Merge pull request #1131 from RustPython/re-kung-fu
Add testcase for logging module.
2019-07-11 20:39:48 +02:00
coolreader18
0b7ca175a8 Add fnmatch and shlex 2019-07-11 09:38:13 -05:00
Windel Bouwman
8869130509 Merge pull request #1126 from RustPython/coolreader18/flamescope-profiling
Add an speedscope output format for profiling
2019-07-10 21:31:07 +02:00
Windel Bouwman
140ad71f05 Add testcase for logging module. 2019-07-10 21:02:04 +02:00