Commit Graph

5727 Commits

Author SHA1 Message Date
Aviv Palivoda
2862845645 Fix clippy warning 2020-05-29 19:56:32 +03:00
Aviv Palivoda
3b03674170 Set mode in io_open 2020-05-29 18:31:56 +03:00
Aviv Palivoda
38c0bf9d08 Support sign before dot in float parsing 2020-05-29 18:07:31 +03:00
Aviv Palivoda
6f9d882300 Support name,mode in TextIOWrapper, _BufferedIOBase 2020-05-29 17:49:42 +03:00
Aviv Palivoda
7b6b92938f Support converting from string in complex 2020-05-29 17:06:41 +03:00
Aviv Palivoda
510d62ab98 Add test_argparse from CPython 3.8 2020-05-29 15:49:22 +03:00
Aviv Palivoda
02e3c228bc Add code attribute to SystemExit 2020-05-29 12:13:09 +03:00
Noah
0ec86f17ee Add num_expected_failures stat to jsontests 2020-05-28 23:38:28 -05:00
Noah
8452dbe846 Merge pull request #1942 from RustPython/coolreader18/init-with-_io
Initialize the vm with imports from _io instead of io
2020-05-28 10:30:27 -05:00
Noah
802913b849 Merge pull request #1946 from CodeTriangle/master
Incrementally adding OpenBSD support (pt. 1)
2020-05-27 21:07:11 -05:00
Noah
0d7d4f0472 Add expected_failure result type to jsontests 2020-05-27 20:53:25 -05:00
Reuben Staley
eafb741f51 premature push, whoops 2020-05-27 19:20:52 -06:00
Reuben Staley
d3dc52431a rustfmt was not pleased 2020-05-27 19:15:38 -06:00
Reuben Staley
b35b84064d more conditional compiling, this time for errors 2020-05-27 15:07:08 -06:00
Reuben Staley
f2eb588e5f Add the OpenBSD support that I am smart enough to 2020-05-27 01:41:07 -06:00
Noah
3ba023b738 Add todos in front of unittest.skip("RustPython") notes 2020-05-26 15:27:12 -05:00
Noah
e14adc42c7 Merge pull request #1936 from RustPython/coolreader18/_thread-start_new_thread
Add _thread.start_new_thread
2020-05-24 21:31:37 -05:00
Noah
3b29fb7265 Initialize the vm with imports from _io instead of io 2020-05-24 21:08:51 -05:00
Noah
b2cd95cb22 Merge pull request #1941 from jamestwebber/patch-1
update rust version in readme
2020-05-24 21:06:04 -05:00
Noah
90223d85ee Add TODO for parking_lot git dependency 2020-05-24 21:03:13 -05:00
James Webber
86800760ef update rust version in readme 2020-05-24 12:37:22 -07:00
Noah
a6afd9e855 Add _thread._count, repr(lock), and respect TIMEOUT_MAX 2020-05-23 20:13:56 -05:00
Noah
fc2f2d13f1 Add TODO in snippets.test_threading 2020-05-23 18:49:19 -05:00
Noah
3a8daf1966 Fix thread tests a bit 2020-05-23 18:47:29 -05:00
Noah
846aa96db8 Add test.{lock_tests,test_thread} from CPython 3.8.2 2020-05-23 18:44:47 -05:00
Noah
304f403586 Fix WeakSet equality testing 2020-05-23 17:37:48 -05:00
Noah
4c5dc2982d Box signal_handlers to reduce size_of::<VirtualMachine>() 2020-05-23 16:04:44 -05:00
Noah
2e536ec7b1 Add some TODO comments 2020-05-23 16:04:41 -05:00
Noah
0b98c185ed Disable _thread on wasm 2020-05-23 16:03:58 -05:00
Noah
56cfd83cc2 Add more _thread APIs 2020-05-23 16:03:57 -05:00
Noah
97c51be6b8 Add _thread.start_new_thread 2020-05-23 16:03:08 -05:00
Noah
7967d30453 Merge pull request #1939 from RustPython/coolreader18/random-std-rng
Use StdRng instead of ThreadRng in _random
2020-05-23 15:52:19 -05:00
Noah
63873e3343 Box StdRng 2020-05-23 12:09:01 -05:00
Noah
6ed172d84a Merge pull request #1933 from RustPython/coolreader18/arc-vm-state
Move some vm fields to an Arc-wrapped struct
2020-05-22 12:32:16 -05:00
Noah
901e7666be Merge pull request #1935 from RustPython/coolreader18/_thread-mutexes
Update the _thread module to have actual mutexes
2020-05-22 10:09:43 -05:00
Noah
970981c5f6 Merge pull request #1938 from mrmiywj/support_initgroups_in_os
support initgroups in os module
2020-05-21 23:23:01 -05:00
Noah
2ecfd48841 Merge pull request #1931 from TheAnyKey/TheAnyKey/p39_generalize_decorators
Implement Py39 generalized decorators (PEP 614)
2020-05-21 23:19:34 -05:00
Noah
c7bb84f7a2 Use StdRng instead of ThreadRng in _random 2020-05-21 21:06:27 -05:00
mrmiywj
d4a24fa3ff support initgroups in os module 2020-05-21 16:47:08 -07:00
Noah
93f697cc67 Use a git version for RawReentrantMutex + RawMutexStatus 2020-05-19 11:21:25 -05:00
Jeong YunWon
53ada9f541 Merge pull request #1932 from RustPython/coolreader18/minor-stuff
Some minor changes
2020-05-19 09:20:00 +09:00
TheAnyKey
daaf906320 Implement Python 3.9 style string functions: removeprefix and removesuffix PEP616
* implement and test Py39 string operations removeprefix and removesuffix.
* Added test snippets for it using an also contained extension of testutils
2020-05-19 09:17:13 +09:00
Noah
2b5597d923 Merge pull request #1937 from mrmiywj/add_setregid_support_os
support setregid in os module
2020-05-18 11:41:50 -05:00
mrmiywj
9df037424d support setregid in os module 2020-05-18 00:04:57 -07:00
Noah
e110f5efd2 Impl Send + Sync for RawReentrantMutex 2020-05-17 14:56:23 -05:00
Noah
93894b06c9 Merge pull request #1930 from palaviv/threading-support
Make PyValue Send + Sync
2020-05-17 14:37:53 -05:00
Noah
b31f23ff9e Add RLock.tp_new 2020-05-17 14:32:06 -05:00
Noah
f103b0cab1 Update the _thread module to have actual mutexes 2020-05-17 14:32:04 -05:00
Noah
198e449ae0 recursion_limit is actually thread-local 2020-05-17 01:05:49 -05:00
Noah
5f93f833f8 Move more fields 2020-05-17 00:44:36 -05:00