Commit Graph

483 Commits

Author SHA1 Message Date
coolreader18
bd749eae2d Use more platform checks 2019-07-12 20:18:54 -05:00
coolreader18
afd7a33848 Implement os.stat for redox 2019-07-12 20:02:21 -05:00
coolreader18
fc6c683c03 Fix os module again 2019-07-12 16:18:50 -05:00
coolreader18
67813f186c Fix os module 2019-07-12 11:44:42 -05:00
coolreader18
869ea2e679 Remove pwd on redox 2019-07-11 19:26:59 -05:00
coolreader18
0b7ca175a8 Add fnmatch and shlex 2019-07-11 09:38:13 -05:00
Windel Bouwman
98e6486c98 Merge pull request #1128 from RustPython/re-kung-fu
Add time.gmtime function.
2019-07-10 20:06:43 +02:00
Windel Bouwman
fb23cc6e03 Add time.ctime, time.strftime 2019-07-10 17:37:42 +02:00
coolreader18
9204035d97 Cover up bare trait objects with a dyn 2019-07-10 09:41:58 -05:00
Windel Bouwman
0ab39651b8 Add time.gmtime function. 2019-07-10 16:12:30 +02:00
Windel Bouwman
d16c288ef1 Improve re module. Favor string.py over string.rs 2019-07-10 11:19:01 +02:00
Windel Bouwman
e5d0a02fad Merge pull request #1119 from silmeth/text_file_io
make TextIOBase writable, handle malformed utf-8 in read()
2019-07-09 11:57:26 +02:00
silmeth
afec714a44 use vm.call_method() instead of get_method&invoke, remove String alloc 2019-07-09 10:53:40 +02:00
silmeth
5450f8e8a3 use vm.try_class, early return on unsupported op error 2019-07-08 20:44:36 +02:00
silmeth
03b7299150 make TextIOBase writable, handle malformed utf-8 in read() 2019-07-08 19:57:38 +02:00
coolreader18
1c1440eb78 Add __len__ to deque 2019-07-07 15:38:57 -05:00
coolreader18
deca878c4b Use VecDeque::rotate_{left,right} 2019-07-07 15:38:52 -05:00
coolreader18
d891c87c4f Add maxlen as a named arg 2019-07-07 15:38:49 -05:00
coolreader18
9d3fa18ec8 Add __mul__ to deque 2019-07-07 15:38:47 -05:00
coolreader18
1c1ee5bb69 Add setter for maxlen 2019-07-07 15:38:46 -05:00
coolreader18
5153ad52ca Add cmp methods to deque 2019-07-07 15:38:44 -05:00
coolreader18
805d536fa8 Add repr to deque 2019-07-07 15:38:43 -05:00
coolreader18
5956bcbf2c Add maxlen argument and getter 2019-07-07 15:38:43 -05:00
coolreader18
2be70eb353 Add deque to collections 2019-07-07 15:38:41 -05:00
Maxim Kurnikov
347d48198e fix remaining clippy warnings 2019-07-07 06:27:07 +03:00
Windel Bouwman
ef649be941 Add git information in sys and platform modules. 2019-07-06 17:00:03 +02:00
Aviv Palivoda
f740845bab Use vm.class 2019-07-04 17:38:55 +03:00
Aviv Palivoda
42d17138eb Remove old import 2019-07-04 17:32:17 +03:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
4a108c1ef5 Merge pull request #1059 from RustPython/unicodedata
Add initial unicodedata module.
2019-07-01 20:44:14 +02:00
Windel Bouwman
e05a75c363 Merge pull request #1092 from RustPython/bytecode-crate
Make parser and compiler optional features for vm crate.
2019-07-01 20:43:06 +02:00
Windel Bouwman
13be2cf3f4 Merge master branch 2019-06-30 21:22:33 +02:00
Windel Bouwman
f816a50110 Change get_row() into row() 2019-06-30 20:23:01 +02:00
Windel Bouwman
3954dbe716 Make parser and compiler optional features for vm crate. 2019-06-30 20:11:40 +02:00
Windel Bouwman
7ab5d53642 update to newer version of DynDigest trait which allows clone. 2019-06-30 10:10:17 +02:00
Windel Bouwman
e88f7536b3 Improve single arm match. 2019-06-29 16:48:03 +02:00
Windel Bouwman
df31abea98 Merge branch 'master' of https://github.com/RustPython/RustPython into cryptomods 2019-06-29 16:46:00 +02:00
Windel Bouwman
d185f53195 Merge pull request #1079 from sanxiyn/os-lstat
Implement os.lstat
2019-06-29 16:19:04 +02:00
Windel Bouwman
f4d63c923a Switch to better supported crypto lib. 2019-06-29 14:03:19 +02:00
Seo Sanghyeon
87d866d414 Implement os.lstat 2019-06-29 17:21:11 +09:00
Windel Bouwman
57de0ebc05 Merge pull request #1061 from RustPython/xdrlib
Add endianness support to struct module.
2019-06-29 09:05:54 +02:00
Aviv Palivoda
a3dc98d172 Add empty _imp._fix_co_filename 2019-06-28 10:46:55 +03:00
Aviv Palivoda
3c54494132 Merge pull request #1054 from mkurnikov/keyerror-cpython
KeyError should have passed key object as a first element of .args
2019-06-28 09:23:51 +03:00
Aviv Palivoda
da39dde31f Merge pull request #1062 from palaviv/file-io-fd
Improve FileIO
2019-06-28 09:18:54 +03:00
Windel Bouwman
0a369d821d Add initial hashlib module. 2019-06-27 19:09:35 +02:00
Maxim Kurnikov
848714e18e save passed object into the first .args parameter for dict/mappingproxy KeyError 2019-06-26 23:40:24 +03:00
coolreader18
c78c95f03a Add CPython library modules needed for unittest 2019-06-26 11:39:10 -05:00
Aviv Palivoda
8cdf19c5f9 FileIO.write support ByteArray 2019-06-26 18:17:47 +03:00
Windel Bouwman
9e194b3904 Add endianness support to struct module. 2019-06-26 16:38:11 +02:00
Windel Bouwman
4db83aca7f Add initial unicodedata module. 2019-06-26 13:41:58 +02:00