Commit Graph

5444 Commits

Author SHA1 Message Date
Aviv Palivoda
d8585940ff Fix os.stat on Windows 2020-04-18 17:01:13 +03:00
Aviv Palivoda
709010f80c Mark unsupported tests 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
Aviv Palivoda
f78ef86c8d Add test_pathlib from CPython 3.8 2020-04-18 17:00:26 +03:00
Aviv Palivoda
8d3cbe610c Add pathlib.py from CPython 3.8 2020-04-18 17:00:26 +03: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
Jeong YunWon
1c93a36891 Merge pull request #1861 from youknowone/str-split
Fix str.split bytes.split
2020-04-16 15:17:46 +09:00
Noah
8276803cac Merge pull request #1869 from RustPython/coolreader18/unicode-name-escape
Remove unnecessary unic dependencies and add `\N{}` unicode name escapes
2020-04-15 22:32:56 -05:00
Noah
d7f28949e2 Add test for unicode escape 2020-04-15 19:24:00 -05:00
Noah
336698f27c Merge pull request #1870 from RustPython/coolreader18/misc-io-fixes
Miscellaneous io-related fixes
2020-04-15 10:49:48 -05:00
Aviv Palivoda
970d17f098 Make PyList ThreadSafe 2020-04-15 13:28:43 +03:00
Jeong YunWon
2423a046fa Unmark test_bytes test_returns_new_copy
which uses tons of bytes methods
2020-04-15 11:36:40 +09:00
Jeong YunWon
2516f69879 Fix bytes.split 2020-04-15 11:36:38 +09:00
Jeong YunWon
14b4fdc5a0 Fix str.split 2020-04-15 11:25:41 +09:00
Noah
a540f042e8 Add _codecs.charmap_build, fix other _codecs issues 2020-04-14 14:59:54 -05:00
Noah
942a7d612c Fix os.lseek on Windows 2020-04-14 14:59:54 -05:00
Noah
a529fdbc6e Fix os.set_inheritable on windows 2020-04-14 14:59:48 -05:00
Noah
000ec722f8 Allow dummy faulthandler functions to accept kwargs 2020-04-14 14:41:14 -05:00
Noah
f87b2d9af9 Improve unwrap_pyresult for wasm 2020-04-14 14:41:14 -05:00
Noah
71e8c5e56e Add msvcrt.setmode 2020-04-14 14:41:14 -05:00
Noah
d92cebd953 Unskip tests that depend on \N 2020-04-14 13:06:32 -05:00
Noah
c39ac3393a Add unicode name string escapes 2020-04-14 13:04:15 -05:00
Noah
8c13eeaf21 Specify individual unic dependencies 2020-04-14 13:03:54 -05:00
Aviv Palivoda
0e853f7cb2 Merge pull request #1868 from palaviv/bytearry-fix
Fix PyByteArray locking issue
2020-04-14 18:15:54 +03:00
Aviv Palivoda
b63b9fca46 Mark PyTuple as ThreadSafe 2020-04-14 13:57:48 +03:00
Aviv Palivoda
2412264cc0 Temporary define PyObject as Send+Sync 2020-04-14 13:55:20 +03:00
Aviv Palivoda
fce9ce7550 Fix PyByteArray locking issue 2020-04-14 12:56:16 +03:00
Jeong YunWon
f2098eb3c4 Merge pull request #1867 from RustPython/coolreader18/fix-openssl-vendor-certs
Fix openssl certificates not being found when openssl is vendored
2020-04-14 01:00:03 +09:00
Noah
984fcdc589 Fix openssl certificates not being found when openssl is vendored 2020-04-12 23:18:05 -05:00
Jeong YunWon
bcc2946c9a Merge pull request #1862 from RustPython/coolreader18/upgrade-deps
Update cargo dependencies; use new bindings in openssl
2020-04-13 12:20:58 +09:00
Noah
d6206bddaf Update cargo dependencies; use new bindings in openssl 2020-04-12 11:15:05 -05:00
Jeong YunWon
e19cb3e8be Merge pull request #1855 from youknowone/strbytes-partition
Fix str, bytes partition
2020-04-12 21:55:59 +09:00
Jeong YunWon
7d7d048758 Fix {str|bytes|bytearray}.partition 2020-04-12 14:14:49 +09:00
Noah
f2fbb0750f Merge pull request #1837 from RustPython/coolreader18/prep-multithread
Prep some things for threading
2020-04-11 16:37:00 -05:00
Noah
7ae0244927 Make byte* iterators atomic to fix a shared list/bytearray test 2020-04-11 15:56:24 -05:00
Noah
a10936cabf Fix atomic iterator increments 2020-04-11 15:16:51 -05:00
Noah
219802a165 Fix lasti operations deadlocking 2020-04-11 15:16:51 -05:00
Noah
b8a3a38b25 Manage the frame separation with 'ExecutingFrame' 2020-04-11 15:16:51 -05:00
Noah
2368eae9c7 Make Frame Send + Sync using a mutex 2020-04-11 15:16:51 -05:00
Noah
a0cd62aa74 Make objiter use atomic types 2020-04-11 15:16:51 -05:00
Noah
2511b2f13c Make some of objlist use atomic types 2020-04-11 15:16:50 -05:00
Noah
c82b9864bf Fix WASM Rc/Arc/Weak usage 2020-04-11 15:16:50 -05:00
Noah
0ebb7debad Make PyObjectRef = Arc<...> 2020-04-11 15:16:50 -05:00
Noah
90d184c1b3 Make objtuple use atomic types 2020-04-11 15:16:50 -05:00
Noah
0e55bc9821 Make PyObject.dict private and a Mutex; add some TODOs 2020-04-11 15:16:50 -05:00