Commit Graph

971 Commits

Author SHA1 Message Date
coolreader18
725a1e8434 Merge pull request #979 from youknowone/refactor-set
PySet/PyFrozenSet refactoring
2019-05-29 23:38:56 -05:00
Yonatan Goldschmidt
80b1f545e2 Add itertools.islice 2019-05-29 23:25:49 +03:00
Windel Bouwman
d70caf7dea Merge pull request #960 from youknowone/sys-getfilesystemencode
Add sys.getfilesystemencoding, sys.getfilesystemencodeerrors
2019-05-29 15:21:19 +02:00
Windel Bouwman
121cd43932 Merge pull request #901 from youknowone/str-encode
Add str.encode for utf-8
2019-05-29 15:20:36 +02:00
Jeong YunWon
c349f77207 Add {set,frozenset}.__r*__ 2019-05-29 21:51:20 +09:00
Jeong YunWon
979e1253ae Fix set/frozenset comparison 2019-05-29 21:51:20 +09:00
coolreader18
5bd36ad9c5 Merge pull request #927 from youknowone/set-collision
Fix set() hash collision
2019-05-29 07:44:31 -05:00
Jeong YunWon
7f2560c9e1 Add str.encode for utf-8 2019-05-29 21:25:34 +09:00
Jeong YunWon
3675ce859a Add sys.getfilesystemencoding, sys.getfilesystemencodeerrors 2019-05-29 21:20:55 +09:00
Windel Bouwman
f113342c0c Merge pull request #1002 from RobertBerglund/bytearray.__setitem__
bytearray.__setitem__
2019-05-29 13:48:58 +02:00
rbrtberglund
9b4b2d7fa6 fixed SyntaxError: Got unexpected EOF in bytearray.py 2019-05-27 22:48:25 +02:00
rbrtberglund
7be801db2f implemented __setitem__ for bytearray 2019-05-27 22:22:20 +02:00
Daniel Shaulov
b2f17a18ea Add support for marshal with loads and dumps 2019-05-27 22:09:47 +03:00
coolreader18
96df472d85 Merge pull request #999 from palaviv/_imp
Add _imp
2019-05-26 13:53:21 -05:00
coolreader18
7ce111b16c Merge pull request #997 from ZapAnton/objstr_refactor_mul
objstr: Refactored the 'mul' method
2019-05-25 12:11:44 -05:00
coolreader18
d0d4cb56c5 Merge pull request #998 from palaviv/frozen
Support frozen modules
2019-05-25 12:10:11 -05:00
ZapAnton
a2e64c0425 objstr: Replaced the unwrap_or with the OverflowError 2019-05-25 16:38:51 +03:00
Aviv Palivoda
7a467781e2 Add _imp.is_builtin 2019-05-25 15:34:18 +03:00
Aviv Palivoda
f33d15ab6a Test frozen modules import 2019-05-25 11:15:17 +03:00
Aviv Palivoda
8afb6a201c RawIOBase inherits IOBase 2019-05-24 10:23:30 +03:00
Windel Bouwman
59fa46d5c3 Merge pull request #977 from adrian17/master
Fix no-arg dir(), convert it to new args style
2019-05-22 11:20:33 +02:00
Maxim Kurnikov
0098e8485a move PyFuncArgs.kwargs to IndexMap 2019-05-22 03:18:15 +03:00
Seo Sanghyeon
433434a1bb Fix rsplit 2019-05-21 23:01:04 +09:00
Windel Bouwman
c01a867da5 Merge pull request #974 from stwen77/add_int_to_bytes
Add to_bytes for int
2019-05-21 14:47:31 +02:00
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
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
Adrian Wielgosik
1e7fa52e0f Fix no-arg dir(), convert it to new args style 2019-05-19 12:27:08 +02:00
ben
60c9d5004a Add SimpleNamespace and sys.implementation 2019-05-19 15:01:22 +12:00
Yonatan Goldschmidt
7f310bd81f Add itertools.starmap 2019-05-18 23:53:40 +03: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
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
Jeong YunWon
87fc4cc470 Add complex.__hash__ 2019-05-16 06:21:33 +09:00
Jeong YunWon
81186ea5b7 Fix set() hash collision based on dictdatatype::Dict 2019-05-16 00:02:39 +09:00
Jeong YunWon
cc9dcbc9f8 Refactor dictdatatype::Dict 2019-05-16 00:01:44 +09:00
Shitong Wen
68a1a9f648 add to_bytes for int 2019-05-14 16:56:50 +08: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
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
2c77dc208f Add float.__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