Commit Graph

2902 Commits

Author SHA1 Message Date
Yonatan Goldschmidt
9bf386ea87 Add itertools.chain 2019-05-19 22:33:47 +03:00
coolreader18
bb14858f03 Merge branch 'master' of github.com:RustPython/RustPython 2019-05-19 14:05:23 -05:00
coolreader18
0cb1b73714 Merge branch 'palaviv-move-fspath' 2019-05-19 14:05:13 -05:00
coolreader18
8f8194ae13 Fix os.rs 2019-05-19 14:05:09 -05:00
coolreader18
0c19cf0d25 Merge branch 'move-fspath' of https://github.com/palaviv/RustPython into palaviv-move-fspath 2019-05-19 14:03:20 -05:00
coolreader18
297e507197 Merge pull request #990 from skinny121/simple_namespace
Add SimpleNamespace and sys.implementation
2019-05-19 14:02:24 -05:00
coolreader18
4ada5bf530 Merge pull request #972 from sanxiyn/re-escape
Implement re.escape
2019-05-19 13:20:22 -05:00
coolreader18
a967171ed9 Merge pull request #989 from sanxiyn/update-rustyline
Update rustyline to 4.1.0 to fix nightly build
2019-05-18 22:35:37 -05:00
Ben Lewis
964256439b Update vm/src/obj/objnamespace.rs
Co-Authored-By: coolreader18 <33094578+coolreader18@users.noreply.github.com>
2019-05-19 15:25:52 +12:00
ben
60c9d5004a Add SimpleNamespace and sys.implementation 2019-05-19 15:01:22 +12:00
Seo Sanghyeon
b9814ce3c7 Update rustyline to 4.1.0 to fix nightly build 2019-05-19 12:00:36 +09:00
coolreader18
8359c6e031 Merge pull request #983 from ypyf/type_new
improve error message for type_new
2019-05-18 17:12:43 -05:00
coolreader18
b5fa32ec95 Merge pull request #987 from Jongy/itertools-starmap
Add `itertools.starmap`
2019-05-18 16:31:58 -05:00
Yonatan Goldschmidt
7f310bd81f Add itertools.starmap 2019-05-18 23:53:40 +03:00
coolreader18
9ee3bad3c1 Merge pull request #984 from sanxiyn/fix-wasm-test
Avoid timeout in WASM test
2019-05-17 12:12:41 -05:00
Seo Sanghyeon
b76da2ad05 Avoid timeout in WASM test 2019-05-17 18:58:59 +09:00
coolreader18
9888d27e61 Merge pull request #981 from youknowone/frexp
Add math.frexp
2019-05-16 21:37:34 -05:00
coolreader18
23344ddf8a Merge pull request #982 from youknowone/float-fromhex
Add float.fromhex float.hex
2019-05-16 21:33:40 -05:00
coolreader18
8759e7e513 Merge pull request #980 from youknowone/complex-hash
Add complex.__hash__
2019-05-16 21:25:46 -05:00
Jeong YunWon
ca912a168d Add float.to_hex 2019-05-17 03:24:31 +09:00
Jeong YunWon
ceca2ed98e Add float.fromhex 2019-05-17 02:35:39 +09:00
Jeong YunWon
d223af645b Add math.frexp 2019-05-17 01:12:43 +09:00
ypyf
83c5a3d330 improve error message for type_new 2019-05-16 20:35:40 +08:00
Jeong YunWon
87fc4cc470 Add complex.__hash__ 2019-05-16 06:21:33 +09:00
coolreader18
54152b877b Merge pull request #970 from sanxiyn/remove-types
Replace types module with pure Python version
2019-05-14 20:46:17 -05:00
coolreader18
15d2a3d318 Merge pull request #973 from sanxiyn/remove-extern-crate
Remove extern crate unneeded for Rust 2018
2019-05-13 23:51:37 -05:00
Seo Sanghyeon
189bf171ab Remove extern crate unneeded for Rust 2018 2019-05-14 12:24:44 +09:00
Seo Sanghyeon
5cff843782 Implement re.escape 2019-05-13 19:41:06 +09:00
Adam
2c747168de Merge pull request #926 from youknowone/number-hashes
Fix number hashes for small numbers
2019-05-13 09:02:19 +01:00
Windel Bouwman
0e56bb4e8c Merge pull request #965 from Jongy/itertools-takewhile
Itertools takewhile
2019-05-13 08:13:11 +02:00
coolreader18
82e424acaa Merge branch 'master' into move-fspath 2019-05-12 21:46:43 -05:00
Seo Sanghyeon
b76cb680e9 Comment out unsupported code from types.py 2019-05-13 11:44:12 +09:00
Seo Sanghyeon
b048a66bc3 Copy types.py from CPython 2019-05-13 11:42:16 +09:00
Seo Sanghyeon
29fff5ab4d Remove types module 2019-05-13 11:41:46 +09:00
coolreader18
b01d7564b8 Merge pull request #964 from youknowone/os-supports-placeholders
Add os.supports_* placeholders
2019-05-12 16:23:38 -05:00
Yonatan Goldschmidt
98d90c830b Add itertools.takewhile 2019-05-12 23:16:23 +03:00
Jeong YunWon
64afd5ccf8 Add os.supports_* placeholders 2019-05-13 01:15:19 +09:00
Jeong YunWon
7a64f3e797 Fix dict hash impl 2019-05-13 01:10:54 +09:00
Jeong YunWon
c768b25673 Refine hash types and refactor hash impl 2019-05-13 01:10:52 +09:00
Jeong YunWon
3bebe44896 Fix int.__hash__ 2019-05-13 01:09:51 +09:00
Jeong YunWon
2c77dc208f Add float.__hash__ 2019-05-13 01:09:51 +09:00
Jeong YunWon
72043dac99 Fix builtin hash() 2019-05-13 01:09:51 +09:00
Windel Bouwman
95a894a443 Merge pull request #954 from youknowone/property-kwargs
Fix property to take keyword arguments
2019-05-12 16:15:01 +02:00
Windel Bouwman
e1416f5ecc Merge pull request #967 from skinny121/str_xwith_tuple_arg
Accept tuple for first arg in str.startswith and str.endswith
2019-05-12 16:13:25 +02:00
Windel Bouwman
5273bdc836 Merge pull request #955 from youknowone/sys-builtin_module_names
Add sys.builtin_module_names
2019-05-12 15:07:45 +02:00
Windel Bouwman
878cc3b120 Merge pull request #943 from Furyzer0/master
[WIP] implement str.translate and str.maketrans
2019-05-12 15:04:31 +02:00
Windel Bouwman
41f4cdc6f9 Merge pull request #952 from youknowone/fix-exec-locals
Fix exec to populate locals only when globals() is not given
2019-05-12 15:03:01 +02:00
Windel Bouwman
b5140a9924 Merge pull request #953 from youknowone/classmethod-func
Add classmethod.__func__
2019-05-12 12:53:26 +02:00
Jeong YunWon
ddf676569a Add sys.builtin_module_names 2019-05-12 19:18:37 +09:00
Jeong YunWon
e311b4f156 Fix exec to populate locals only when globals() is not given 2019-05-12 19:15:39 +09:00