Commit Graph
6234 Commits
Author SHA1 Message Date
Jeong YunWon 97122cf2c6 py* macro checks type before generation 2020-08-11 01:06:38 +09:00
Jeong YunWon 6b5b99b404 new module attribute pyattr for evaluated attributes 2020-08-11 01:06:38 +09:00
Jeong YunWon 6b6d70534b Fix duplicated attribute checker for pymodule 2020-08-11 01:06:38 +09:00
Jeong YunWon d9b2a25d8a Fix duplicated attribute checker for pyclass 2020-08-11 01:06:38 +09:00
Noah b0f0631ba2 Merge pull request #2078 from youknowone/new-object
vm.new_pystr and vm.ctx.new_str
2020-08-10 10:42:59 -05:00
Jeong YunWon c99f7f8006 Merge pull request #2093 from BasixKOR/win-tests
Disable certain CPython tests on Windows
2020-08-10 03:02:40 +09:00
Basix e2279bea2b Disable test_threadedtempfile on Windows
Calling test.support.start_thread hangs.
2020-08-10 02:36:29 +09:00
Basix 9868f63f50 Skip CPython-specific test on Windows
Check its comments for details
2020-08-10 02:36:29 +09:00
Basix e5178574f0 Skip rescursion tests on Windows
See #2050
2020-08-10 02:36:29 +09:00
Jeong YunWon 7587806eae BigInt into_pyobject shares impl 2020-08-10 02:16:50 +09:00
Jeong YunWon e253095f75 new_str allows &str and &String 2020-08-10 02:16:50 +09:00
Jeong YunWon eba638ec9b impl &String for PyString 2020-08-10 02:16:50 +09:00
Jeong YunWon 7b6ab8da72 Replace vm.new_{int,str,bool} with vm.new_pyobj 2020-08-10 02:16:29 +09:00
Jeong YunWon df20a26253 vm.new_pyobj 2020-08-10 01:54:32 +09:00
Jeong YunWon 4506e21af9 Merge pull request #2092 from youknowone/small-fix
Small edits
2020-08-10 01:53:41 +09:00
Jeong YunWon 921310a59b PyMatch::captures use Range<usize> instead of (usize, usize) 2020-08-10 00:15:25 +09:00
Jeong YunWon 93a5b9116d Prevent clone from dir 2020-08-09 23:56:53 +09:00
Jeong YunWon a197fc0af1 move instead of ref for format_internal 2020-08-09 23:56:29 +09:00
Jeong YunWon 54eb1686b0 Merge pull request #2095 from BasixKOR/winreg-openkeyex
Add OpenKeyEx
2020-08-09 23:30:03 +09:00
Jeong YunWon ebaf434401 Merge pull request #2094 from minoring/fix-objmodule-new
Fix module.__new__ to give uninitialized object.
2020-08-09 23:29:23 +09:00
Jeong YunWon 01e6970a32 clean up PyFloat 2020-08-09 22:52:35 +09:00
Jeong YunWon feb1b895d7 PyArithmaticValue for PyComplex 2020-08-09 22:52:29 +09:00
Basix 134dd74b8b Add OpenKeyEx
https://docs.python.org/3.8/library/winreg.html#winreg.OpenKeyEx
2020-08-09 22:48:43 +09:00
minoring 7abfb6bbb3 Fix module.__new__ to give uninitialized object. 2020-08-09 21:58:37 +09:00
Jeong YunWon 7f3fa70d10 clean up PyComplex 2020-08-09 21:46:16 +09:00
Jeong YunWon 4fc69d43d0 Merge pull request #2068 from hatee-hatee-hatee-ho/setiter
Support pysetiterator.
2020-08-09 20:44:32 +09:00
Jeong YunWon 4a01bf4dfd Merge pull request #2088 from BasixKOR/win-execv
Implement os.execv on Windows
2020-08-09 20:44:12 +09:00
Jeong YunWon efa8d62309 Move more funcitons into float_ops 2020-08-09 18:58:38 +09:00
Jeong YunWon 1be0810853 Merge pull request #2091 from BasixKOR/fix-waitpid-errno
Use errno_err on Windows waitpid
2020-08-09 18:45:01 +09:00
Basix 0c9e365bdc Apply suggestions from code review 2020-08-09 18:39:25 +09:00
Jeong YunWon 31373116c0 Merge pull request #2089 from tobark/test_os
Copy test_os.py from CPython 3.8.3
2020-08-09 18:29:17 +09:00
Jeong YunWon 3e1584cd89 lenhint -> length_hint 2020-08-09 18:16:35 +09:00
Jeong YunWon 9cf1f297e9 use Self instead of type name 2020-08-09 18:00:04 +09:00
Basix f5d56371f1 Use errno_err on Windows waitpid 2020-08-09 17:58:26 +09:00
Jeong YunWon 7c30793974 get_py_int is not pub anymore 2020-08-09 17:56:31 +09:00
Basix 5a7169cab6 Enable supress_iph on calling _wexecv 2020-08-09 17:55:52 +09:00
Basix e552aeeb60 Fix errors on creating arguments for _wexecv 2020-08-09 17:55:27 +09:00
Jeong YunWon ac60464efb Merge pull request #2082 from clemado1/tuple_tp_new
Fix objtuple.tp_new so that return cloned when a parameter is tuple
2020-08-09 17:41:36 +09:00
Yi Hyunjoon 10b5c2f078 Patch for ubuntu-latest CI 2020-08-09 17:36:36 +09:00
Basix 7ef533520b Implement TryFromObject for OsString 2020-08-09 17:33:53 +09:00
Basix 93337b9aaa Use errno_err for Windows execv 2020-08-09 17:24:56 +09:00
Jeong YunWon 57ba386d4b Merge pull request #2087 from hyperbora/dev
Fix problems with different hash values for str and bytes
2020-08-09 16:54:54 +09:00
clemado1 2733b4dfa1 Fix objtuple.tp_new so that return cloned when a parameter is tuple 2020-08-09 16:37:34 +09:00
Yi Hyunjoon 70e4ee92bd Expect failure for tests raise various errors 2020-08-09 16:33:26 +09:00
Yi Hyunjoon 7a3ebfcd95 Comment EnvironTests class 2020-08-09 16:33:26 +09:00
Yi Hyunjoon e4770ebdf1 Expect failrure for tests raise TypeError 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 35667e7a48 Expect failure for failed tests 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 1f1e2ee001 Expect failure for tests raise AttributeError 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 06176954b1 Skip tests that raise invalid mode: x 2020-08-09 16:33:25 +09:00
Yi Hyunjoon 74fe9d30d2 Skip tests that use mmap 2020-08-09 16:33:25 +09:00