Commit Graph

743 Commits

Author SHA1 Message Date
zer0
268cb8d217 fix str.maketrans 2 and 3 arguments cases 2019-05-11 23:58:42 +03:00
zer0
6e05795521 added str.maketrans 2019-05-11 01:03:22 +03:00
zer0
b15a584168 added small test to snippets 2019-05-10 23:47:11 +03:00
Windel Bouwman
88e52ef842 Merge pull request #884 from adrian17/imul
Support list.__imul__
2019-04-27 21:08:39 +02:00
Windel Bouwman
a2858cee7e Merge pull request #882 from youknowone/add-type-name
Add type.__name__
2019-04-27 21:07:17 +02:00
Jeong YunWon
d87468a1cb Add type.__name__ 2019-04-28 03:21:26 +09:00
Adrian Wielgosik
9d40a4c9d8 Support list.__imul__ 2019-04-27 17:44:21 +02:00
Agent
180ec22d4b Add constants to os module (#883) 2019-04-27 09:41:19 -05:00
Seo Sanghyeon
e6f08cf93e Enable dict round trip test for json 2019-04-26 06:29:01 +09:00
Windel Bouwman
3145d2a8fd Merge pull request #870 from RustPython/dict_fromkeys
Dict fromkeys
2019-04-25 20:35:57 +02:00
Seo Sanghyeon
f38f263d93 Implement stripping with arguments 2019-04-25 20:33:30 +09:00
Adam Kelly
4f0b17e84f Add dict.fromkeys. 2019-04-25 09:07:17 +01:00
Adam
6f04bebae5 Merge pull request #866 from RustPython/dict_popitem
dict.popitem & dict.setdefault
2019-04-25 09:06:28 +01:00
Adam Kelly
1c43a6bfbe Add dict.setdefault. 2019-04-25 08:04:54 +01:00
Adam Kelly
ceac014a6c Add dict.popitem. 2019-04-25 08:04:24 +01:00
Windel Bouwman
a8b2d1384c Merge pull request #865 from sanxiyn/test-comparison-error
Test error cases of comparisons
2019-04-25 07:18:02 +02:00
ben
d84b8b52a5 Fix the tuple from rpartition being in wrong order when sub isn't
contained within the string
2019-04-25 10:37:59 +12:00
Seo Sanghyeon
fb62653c5c Test error cases of comparisons 2019-04-24 19:28:21 +09:00
Windel Bouwman
1081ea048a Merge pull request #864 from sanxiyn/test-integer-literal
Test integer literals
2019-04-24 09:28:15 +02:00
Windel Bouwman
86acb7aa3a Merge pull request #860 from palaviv/os-stat
Add os.stat
2019-04-24 09:27:21 +02:00
Seo Sanghyeon
f9124f41a8 Test integer literals 2019-04-24 04:00:52 +09:00
Jeong YunWon
2eb97aa1e8 Add __main__.py support 2019-04-23 20:27:25 +09:00
Jeong YunWon
1d5adc4353 Add built-in dict.pop 2019-04-23 10:34:06 +09:00
Aviv Palivoda
55bd00b600 Add stat_result.{st_size} 2019-04-22 18:52:35 +03:00
Aviv Palivoda
56958552f4 Add stat_result.{st_nlink, st_uid, st_gid} 2019-04-22 18:47:10 +03:00
Aviv Palivoda
9a1caa08c3 Add stat_result.{st_ino, st_dev} 2019-04-22 18:35:38 +03:00
Aviv Palivoda
384bf5b545 Add os.stat 2019-04-22 18:27:39 +03:00
Windel Bouwman
adb66322c5 Merge pull request #852 from palaviv/scandir
Add os.scandir
2019-04-21 18:56:29 +02:00
coolreader18
d55d8841ad Merge pull request #854 from sanxiyn/delete-tuple
Implement deleting tuples
2019-04-21 11:47:46 -05:00
Seo Sanghyeon
2aeb0ad59b Assert deleted variables are really deleted 2019-04-22 00:26:30 +09:00
Seo Sanghyeon
87f9a8e634 Implement deleting tuples 2019-04-21 23:48:13 +09:00
Aviv Palivoda
3986e2f87d Add set.isdisjoint 2019-04-21 16:41:36 +03:00
Aviv Palivoda
64e6ea0016 Add DirEntry.{is_file} 2019-04-21 12:06:49 +03:00
Aviv Palivoda
548f3f34c4 Add DirEntry.{is_dir} 2019-04-21 12:04:12 +03:00
Aviv Palivoda
858a6d03b0 Add DirEntry.{name, path} 2019-04-21 11:42:57 +03:00
Windel Bouwman
3afb5d39ed Merge pull request #850 from palaviv/socket-fileno
Socket.fileno
2019-04-20 14:36:05 +02:00
coolreader18
89aa07720d Merge pull request #851 from RustPython/coolreader18/pycallable
Add PyCallable
2019-04-19 13:34:33 -05:00
coolreader18
148ef5cd09 Merge pull request #849 from palaviv/os-temp-dir
Use temp directory for os test
2019-04-19 12:39:53 -05:00
coolreader18
a984fd34d9 Update callable test 2019-04-19 12:11:18 -05:00
Aviv Palivoda
d704a0fcda Rename os test folder 2019-04-19 17:14:14 +03:00
Aviv Palivoda
8215ec0a7c Don't delete test dir 2019-04-19 17:04:04 +03:00
Aviv Palivoda
f42c2a6ba5 Test fileno only on posix 2019-04-19 16:58:43 +03:00
Aviv Palivoda
aef973802c Close open reference to test file 2019-04-19 16:20:44 +03:00
Aviv Palivoda
e7b059ed9c Add socket.fileno for windows 2019-04-19 16:00:00 +03:00
Aviv Palivoda
cf0a920743 Add socket.fileno for unix 2019-04-19 15:50:06 +03:00
Aviv Palivoda
08f2a5705b Add prints for windows debug 2019-04-19 14:40:01 +03:00
Aviv Palivoda
00e46b7d72 Try to fix windows test 2019-04-19 13:50:34 +03:00
Aviv Palivoda
abb9cde62c Use temp dir for os test 2019-04-19 12:23:45 +03:00
Aviv Palivoda
a75e7635d5 Add os.sep 2019-04-19 12:09:11 +03:00
Windel Bouwman
319bb807fb Merge pull request #843 from jgirardet/parsenew
support bytes creation from hex and ascii
2019-04-18 08:35:45 +02:00