Commit Graph

4380 Commits

Author SHA1 Message Date
Noah
c31b3b2af9 Use the first arg of StopIteration as yield from return value 2019-10-15 13:58:08 -05:00
Windel Bouwman
6f59609160 Merge pull request #1533 from RustPython/coolreader18/cleanupstuff
Clean up the REPL and CodeFlags
2019-10-15 20:56:57 +02:00
ChJR
b2126829e9 Add repeat count support to struct.pack() (#1518)
* Add struct.pack() repeat count test

* Add repeat count support to struct.pack()

* Refactor parse_format_codes()

* Refactor parse_format_codes() again
2019-10-15 19:25:51 +02:00
Noah
ea803d1ed4 Merge pull request #1535 from sanxiyn/update-lexical
Update lexical to 4
2019-10-15 10:28:11 -05:00
Noah
0fe04944b3 Merge pull request #1536 from jenix21/enhance_script
Add RUSTPYTHONPATH to whats_left.sh to run the script without setting an environment variable
2019-10-15 10:27:31 -05:00
Aviv Palivoda
b51dc3df20 Merge pull request #1522 from RustPython/add-badges
Add some extra badges with links to readme.
2019-10-15 18:07:14 +03:00
jenix21
7e816649a1 Add RUSTPYTHONPATH to whats_left.sh to run the script without setting an environment variable 2019-10-15 23:39:54 +09:00
Seo Sanghyeon
6887365092 Update lexical to 4 2019-10-15 21:40:59 +09:00
Noah
64674d2d85 Fix clippy parameter number warning 2019-10-14 20:55:00 +00:00
coolreader18
c08f11ad1b Change FunctionOpArg to CodeFlags, stored in CodeObject 2019-10-14 20:20:52 +00:00
coolreader18
1edf7c85aa Cleanup some stuff related to the repl 2019-10-14 20:20:13 +00:00
Windel Bouwman
67f005e9f7 Merge pull request #1529 from youknowone/fix-asserts
Fix testutils.assert_* and pow test
2019-10-14 20:34:06 +02:00
Windel Bouwman
6f624c6f95 Merge pull request #1521 from janrg/round_to_n_decimals
Implement round(number, digits) for digits != 0
2019-10-14 20:19:40 +02:00
Windel Bouwman
b1684b2861 Merge pull request #1530 from youknowone/test-names
Rename some test filenames by convention
2019-10-14 20:18:30 +02:00
Windel Bouwman
2205fec2ff Merge pull request #1524 from dan-fritchman/1175-extend-os
Add os.system
2019-10-14 20:15:28 +02:00
Dan Fritchman
2df54f3a10 Re-order os module exports 2019-10-14 18:00:38 +02:00
Dan Fritchman
899f6e78e5 Pre-underscore os.system _vm 2019-10-14 17:57:55 +02:00
Dan Fritchman
8c4a9c6041 Add initial os.system unit tests 2019-10-14 17:55:59 +02:00
janrg
4fd38e6220 Add test snippets, fix rounding for very small numbers 2019-10-14 17:06:07 +02:00
Noah
92be5de8ec Merge pull request #1515 from RustPython/add-doc-strings
Add some documentation strings to the parser code.
2019-10-14 09:59:26 -05:00
Jeong YunWon
08db19aa62 Merge pull request #1519 from ChJR/feature/change_rustc_version_in_markdown
Change rustc version in markdown
2019-10-14 15:59:55 +09:00
Jeong YunWon
95e8e2f2ce Rename some test filenames by convention 2019-10-14 11:05:18 +09:00
Jeong YunWon
239495f259 Fix testutils.assert_* and pow 2019-10-14 10:48:19 +09:00
Noah
d42d422566 Merge pull request #1505 from youknowone/defer-new-int-clone
Defer BigInt::clone() for new_int
2019-10-13 14:27:37 -05:00
Windel Bouwman
8df1560131 Merge pull request #1517 from kluid/mod_csv
Add csv.reader options
2019-10-13 19:29:36 +02:00
ChJR
d5e2c841ab Change rustc specific version descriptions 2019-10-13 23:15:23 +09:00
Dan Fritchman
e94f3f372d Add os.system 2019-10-13 15:45:17 +02:00
Windel Bouwman
7d18ac2b43 Add some extra badges with links to readme. 2019-10-13 14:45:56 +02:00
janrg
122aa96887 Fix linter errors 2019-10-13 14:09:17 +02:00
janrg
458fa3cb7b Fix formatting 2019-10-13 13:22:19 +02:00
janrg
b858ae8776 Implement round(number, digits) for digits != 0 2019-10-13 13:04:24 +02:00
Windel Bouwman
40783d1bc5 Merge pull request #1516 from ChJR/hotfix/compat-rustc1.36.0-#1318
Add build compatibility with rustc 1.36.0 since #1318 merged
2019-10-13 11:32:29 +02:00
ChJR
7661caa800 Change DEVELOPMENT 2019-10-13 17:43:58 +09:00
ChJR
868411ca3b Change README 2019-10-13 17:43:48 +09:00
kluid
25f656105f Add more test for csv 2019-10-13 17:20:33 +09:00
kluid
958e9abb57 Add some csv.reader kwarg options
'delimiter' and 'quotechar'
2019-10-13 17:18:17 +09:00
ChJR
ad18dfdfe1 Add build compatibility with rustc 1.36.0 since #1318 merged 2019-10-13 15:53:49 +09:00
Windel Bouwman
4ca49b4d79 Add some documentation strings to the parser code. 2019-10-12 21:58:27 +02:00
Windel Bouwman
336364c80d Merge pull request #1318 from youknowone/ast-module
ast module
2019-10-12 12:51:26 +02:00
Windel Bouwman
23075e5420 Merge pull request #1501 from youknowone/bool-equal
introduce and adapt vm.identical_or_equal to test `is` or else `__eq__`
2019-10-12 12:47:57 +02:00
Windel Bouwman
242f0ffb8c Merge pull request #1512 from sanxiyn/indent
Implement IndentationError
2019-10-12 12:07:56 +02:00
Jeong YunWon
78dce22c51 compile() with PyCF_ONLY_AST is available without compiler 2019-10-12 18:24:28 +09:00
Seo Sanghyeon
7caeee7810 Shut up Clippy 2019-10-12 18:18:45 +09:00
Jeong YunWon
2f1fb16da1 Add mode to ast::parse 2019-10-12 18:12:36 +09:00
Jeong YunWon
16c3c78b69 introduce and adapt vm.identical_or_equal to test is or else __eq__ 2019-10-12 17:53:26 +09:00
Windel Bouwman
e9ebd95ad6 Merge pull request #1503 from RustPython/coolreader18/antigravity
Allow antigravity to be imported
2019-10-12 10:42:32 +02:00
Jeong YunWon
7333fd13b5 Lib/ast.py 2019-10-12 14:57:50 +09:00
CPython 3.7.4
3dbb6a62df Lib/ast.py from CPython 3.7.4 2019-10-12 14:55:32 +09:00
coolreader18
6d681a4d59 Implement object.__reduce__ 2019-10-11 15:48:56 -05:00
coolreader18
be274ec39e Fill in _os.environ with the correct types of strings 2019-10-11 15:47:29 -05:00