Commit Graph

3623 Commits

Author SHA1 Message Date
Noah
28eb496903 Merge pull request #1233 from RustPython/revert-1225-coolreader18/nested-boolops
Revert "Fix compilation of nested boolean operations"
2019-08-11 12:29:29 -05:00
Noah
fb5ebea389 Revert "Fix compilation of nested boolean operations" 2019-08-11 12:29:10 -05:00
Aviv Palivoda
f51b686d7f Merge pull request #1229 from RustPython/syntax-fixes
Improve lexing of numbers with underscores.
2019-08-11 18:47:25 +03:00
Noah
3364b746fd Merge pull request #1225 from RustPython/coolreader18/nested-boolops
Fix compilation of nested boolean operations
2019-08-11 09:17:02 -05:00
Windel Bouwman
dbc562c613 Implement clippy hint. 2019-08-11 09:57:40 +02:00
Windel Bouwman
a400f6631c Improve lexing of numbers with underscores. 2019-08-11 09:29:21 +02:00
Windel Bouwman
c32b714a98 Merge pull request #1223 from RustPython/coolreader18/main_module
Initialize the main module properly
2019-08-10 10:25:57 +02:00
coolreader18
0e77f0e654 Fix compilation of nested boolean operations 2019-08-09 21:36:42 -05:00
coolreader18
dfcd679cc4 Initialize the main module properly 2019-08-09 17:35:14 -05:00
Windel Bouwman
9dac938d88 Merge pull request #1221 from RustPython/coolreader18/runpy
Use runpy to run modules with -m
2019-08-09 21:12:55 +02:00
Noah
4a8abfd8e2 Merge pull request #1222 from Lynskylate/fix-value-truth
Fix pyobject truth value
2019-08-09 11:25:08 -05:00
lynskylate
ab98775bd2 Optimize error info 2019-08-09 21:12:36 +08:00
lynskylate
3775e04dcd Fix pyobject truth value 2019-08-09 21:05:58 +08:00
Windel Bouwman
fc8aba1b68 Merge pull request #1215 from RustPython/syntax-fixes
Add variable annotation syntax.
2019-08-09 11:22:55 +02: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
6d3180bdf4 Add runpy 2019-08-09 02:25:29 -05:00
coolreader18
abbeb38daa Fix re.split 2019-08-09 02:25:28 -05:00
Windel Bouwman
543b0efc43 Merge pull request #1220 from RustPython/coolreader18/unittest-argparse
Fix a bunch of problems with getting argparse to actually work
2019-08-09 07:27:44 +02:00
Windel Bouwman
4e1fea62c5 Merge pull request #1200 from RustPython/coolreader18/compiler-optimization
Add basic constant optimization to the compiler
2019-08-09 07:03:38 +02:00
coolreader18
9bdc2bbcac Fix Exception.__str__ 2019-08-08 17:41:40 -05:00
coolreader18
076b975eb1 Make argument parsing fully match CPython's 2019-08-08 17:41:40 -05:00
coolreader18
f33626347a Fix ci 2019-08-08 17:41:40 -05:00
coolreader18
546169a5df Add sys.exit 2019-08-08 17:41:39 -05:00
coolreader18
9b2e7d829b SImpler usize 2019-08-08 17:41:39 -05:00
coolreader18
fd85bc0ae3 Add Pattern.split 2019-08-08 17:41:39 -05:00
coolreader18
2aea7ab318 Fix textwrap regexes 2019-08-08 17:41:39 -05:00
coolreader18
b65a9f905b Add textwrap 2019-08-08 17:41:39 -05:00
coolreader18
8865624b79 Remove print 2019-08-08 17:41:39 -05:00
coolreader18
64f2c8d2e6 Fix '' % {} 2019-08-08 17:41:39 -05:00
coolreader18
b23aa90748 Add builtins.vars 2019-08-08 17:41:39 -05:00
coolreader18
7a74ca2c9a Modify regex with lookahead in it in argparse 2019-08-08 17:41:39 -05:00
coolreader18
dab0a84e83 Add findall and sub to re 2019-08-08 17:41:39 -05:00
coolreader18
513e4bf63e Add KeyboardInterrupt class 2019-08-08 17:41:39 -05:00
coolreader18
a4ffc797bb Fix clap command line parsing of pyargs 2019-08-08 17:41:39 -05:00
coolreader18
ed3b1973be Fix weird yield from interpreter bug 2019-08-08 17:41:39 -05:00
coolreader18
d7936f1ee6 Add __{cause,context,suppress_context}__ to exceptions 2019-08-08 17:41:39 -05:00
coolreader18
d6c9f2d972 Add __qualname__ and __module__ getters to objtype 2019-08-08 17:41:39 -05:00
coolreader18
d49f341eaa Fix stack overflow 2019-08-08 17:41:39 -05:00
coolreader18
8dae17ac99 Add Match methods 2019-08-08 17:41:39 -05:00
Aviv Palivoda
3176d7b8c3 Merge pull request #1201 from palaviv/subprocess
Add subprocess
2019-08-08 19:11:04 +03:00
Aviv Palivoda
36b4c0219c Use into in io_open args 2019-08-08 17:35:58 +03:00
Aviv Palivoda
03311b777a Change echo output for windows 2019-08-08 17:33:39 +03:00
Aviv Palivoda
bc8521dd54 Remove -n option in echo 2019-08-08 17:33:39 +03:00
Aviv Palivoda
c7d4343381 Fix clippy warnings 2019-08-08 17:33:39 +03:00
Aviv Palivoda
58d7da7f4b Don't depend on subprocess in wasm 2019-08-08 17:33:39 +03:00
Aviv Palivoda
2a1c441a0a Add convert_to_file_io 2019-08-08 17:32:24 +03:00
Aviv Palivoda
b08c70b4e7 Support redirection 2019-08-08 17:32:24 +03:00
Aviv Palivoda
72143a6a5d Fix Popen.wait 2019-08-08 17:32:24 +03:00
Aviv Palivoda
6486780025 Add subprocess module 2019-08-08 17:32:24 +03:00