Commit Graph

3679 Commits

Author SHA1 Message Date
Jeong YunWon
0004fa3b80 pymodule _collections 2020-04-27 00:11:51 +09:00
Jeong YunWon
fe0b854995 pymodule for _random 2020-04-27 00:11:51 +09:00
Jeong YunWon
06f8d0bb98 pyclass member support for #[pymodule] 2020-04-27 00:11:51 +09:00
Jeong YunWon
7cea2c3953 use #[pymodule] for stdlib struct 2020-04-27 00:11:51 +09:00
Jeong YunWon
9b3fa53f88 Merge pull request #1843 from RustPython/coolreader18/clippy-fixes
Fix some clippy lints that were previously 'allow'ed
2020-04-27 00:10:01 +09:00
Jeong YunWon
d3449ae794 Merge pull request #1876 from youknowone/share-strip
shared string strip implemenetation
2020-04-26 01:44:04 +09:00
Aviv Palivoda
c29b678525 Remove mut in Dict test 2020-04-25 12:37:09 +03:00
Aviv Palivoda
95812e90ab Fix clippy warnings 2020-04-25 12:23:42 +03:00
Aviv Palivoda
08f74bb63c Make PyDict ThreadSafe 2020-04-25 12:23:42 +03:00
Aviv Palivoda
38cb24df66 Make PySet and PyFrozenSet ThreadSafe 2020-04-25 12:23:42 +03:00
Aviv Palivoda
b3cadbd47e Convert Dict to ThreadSafe 2020-04-25 12:23:42 +03:00
Aviv Palivoda
a53c29e0b1 Mark PyString, PyStringIterator, PyStringReverseIterator as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
f46715ae3c Mark PyStaticMethod as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
4f7e1ea483 Mark PySlice as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
54a9994f7c Make PyRange, PyRangeIterator ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
dc81354473 Make PyProperty ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
9d1eadc1b9 Mark PyMemoryView as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
99be207366 Mark PyCallableIterator, PySequenceIterator as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
7c4fd239c7 Mark PyFilter as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
a03f28ff44 Make PyEnumerate ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
ceb7ca6682 Mark PyCode as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
804d9c5fab Mark PyClassMethod as ThreadSafe 2020-04-25 10:03:39 +03:00
Aviv Palivoda
c4ab76c1e8 Mark PyMap as ThreadSafe 2020-04-25 10:03:39 +03:00
Jeong YunWon
81abec4913 common string strip implemenetation 2020-04-25 04:17:19 +09:00
Jeong YunWon
ce2d9d8d7c Fix build warnings for Rust 1.43.0 2020-04-25 04:14:36 +09:00
Jeong YunWon
4082b13622 Merge pull request #1873 from youknowone/fromargs-generic
merge SplitArgs + Generic support for FromArgs
2020-04-25 03:37:55 +09:00
Jeong YunWon
98b5876de8 Merge pull request #1864 from youknowone/bytes-setslice
Fix bytes.__setitem__ slice for inversed range
2020-04-25 03:37:36 +09:00
Jeong YunWon
85751dc70a Merge pull request #1847 from youknowone/fix-bytes-replace
Fix bytes.replace
2020-04-25 03:21:38 +09:00
Noah
6dccc98d1c Fix formatting 2020-04-24 00:45:31 -05:00
Jeong YunWon
14f1a4294d Move SplitLinesArgs and ExpandTabsArg to pystr 2020-04-19 04:23:32 +09:00
Jeong YunWon
b7a399ec4b merge SplitArgs from PyByte* and PyString 2020-04-19 04:09:56 +09:00
Jeong YunWon
dc69601110 Drop lifetime generic argument from PyCommonString 2020-04-19 04:08:17 +09:00
Jeong YunWon
67a9dfd7e9 PyByteInner::replace_in_place 2020-04-19 03:26:08 +09:00
Jeong YunWon
20bdcac136 PyByteInner::replace_delete 2020-04-19 03:23:59 +09:00
Jeong YunWon
37e5c9bd7e Fix bytes.replace 2020-04-19 03:23:56 +09:00
Aviv Palivoda
f60b07aa1a Merge pull request #1840 from palaviv/pathlib
Add Pathlib
2020-04-18 18:09:04 +03:00
Aviv Palivoda
43e2504233 Simplify os.fspath 2020-04-18 17:01:13 +03:00
Aviv Palivoda
d8585940ff Fix os.stat on Windows 2020-04-18 17:01:13 +03:00
Aviv Palivoda
4c58bcc043 Convert PyPathLike path to OsString 2020-04-18 17:01:13 +03:00
Aviv Palivoda
fdf27bf6a4 Convert os methods to support path-like objects 2020-04-18 17:01:13 +03:00
Aviv Palivoda
e5e0f5cbf3 Support __fspath__ in PyPathLike 2020-04-18 17:01:13 +03:00
Aviv Palivoda
cc8d853c63 Add stub os.utime 2020-04-18 17:01:13 +03:00
Aviv Palivoda
caf894a462 Add os.link 2020-04-18 17:01:13 +03:00
Noah
5ee6ca62d7 Merge pull request #1872 from RustPython/coolreader18/wasi-io
Enable the os and io modules on wasi
2020-04-17 12:19:08 -05:00
Jeong YunWon
4f40fa1aee Merge pull request #1863 from youknowone/single_or_tuple_any
Fix bytes.{start|end}swith
2020-04-18 00:47:30 +09:00
Aviv Palivoda
1ecd94b6a1 Merge pull request #1871 from palaviv/threading-2
Make PyList to ThreadSafe
2020-04-17 16:02:49 +03:00
Aviv Palivoda
a67c2875d4 Use std::mem to swap elements 2020-04-17 15:16:59 +03:00
Noah
9a6509dd6a Enable the os and io modules on wasi 2020-04-16 15:26:22 -05:00
Jeong YunWon
4c9486fb97 Fix bytes.{start|end}swith 2020-04-16 17:26:30 +09:00
Jeong YunWon
0d2b817dd3 single_or_tuple_any uses TryFromObject instead of PyValue 2020-04-16 15:38:48 +09:00