Commit Graph
522 Commits
Author SHA1 Message Date
Alan Justino a855dfe5ed Revert python-based sys.displayhook implementation
This reverts commit c0b11de36f.
2020-08-12 14:00:02 -05:00
Alan Justino d0d454b8e5 gc.collect() is dumb to always return 0 collected objects 2020-08-12 14:00:01 -05:00
Alan Justino 018bf505ca Merge branch 'master' into support-pdb 2020-08-12 13:59:58 -05:00
Alan Justino 445078abef Added pdb.py from Python 3.5
Also got its pure-python dependencies bdb.py and cmd.py
Also stubbed the C-based gc.py using `pystubber` (https://pypi.org/project/pystubber/)
2020-08-11 16:38:35 -03:00
Noah 3a6442f63f Merge pull request #2006 from Lynskylate/try-to-use-local
Use loadname local replace loadname free
2020-08-11 10:13:35 -05:00
lynskylate 2f267378c2 Fix redefine error 2020-08-10 01:50:39 +08: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 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
minoring 7abfb6bbb3 Fix module.__new__ to give uninitialized object. 2020-08-09 21:58:37 +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 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 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
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
Yi Hyunjoon 46f22981a8 Add modules for test_os 2020-08-09 16:33:24 +09:00
Yi Hyunjoon d31497bb34 Copy test_os.py from CPython 3.8.3 2020-08-09 16:33:24 +09:00
hatee-hatee-hatee-hoandDaniel Alley 4903f8e5ab Implemented SetIterator
skip test TestWeirdBugs.test_merge_and_mutate

Co-Authored-By: Daniel Alley <dalley@redhat.com>
2020-08-09 16:24:38 +09:00
hyperbora e7eab050f4 Fix problems with different hash values for str and bytes 2020-08-09 16:09:46 +09:00
Jeong YunWon 7d75c4eaa6 Merge pull request #2079 from youknowone/small-int
small int cache for int.__new__
2020-08-09 11:43:10 +09:00
Jeong YunWon 0daf60a066 Merge pull request #2080 from skinny121/struct_fixes
Implement the rest of the struct module
2020-08-09 04:07:07 +09:00
hyperbora ced829f655 Fix problem that cannot check overflow in len function. 2020-08-08 23:05:21 +09:00
Jeong YunWon 6b71a89281 small int cache for int.__new__ 2020-08-08 15:17:22 +09:00
Ben Lewis 386b899d82 Change error messages to match CPython's. 2020-08-08 12:52:16 +12:00
Ben Lewis ae8d64fdd0 Fix several struct module tests. 2020-08-08 10:49:46 +12:00
Jeong YunWon aa899f6a1a convert skip to expectedFailure 2020-08-08 06:03:59 +09:00
Ben Lewis 7129e76d62 Implement iter_unpack 2020-08-08 08:50:40 +12:00
Ben Lewis dc994e3c6f Accept array as byte like/buffer. 2020-08-08 08:50:40 +12:00
Jeong YunWon 2a0e84828e Optimize int parsing based on bytes rather than str 2020-08-08 04:41:48 +09:00
Noah 0876c19c04 Unskip test_json.test_tool 2020-08-03 13:20:06 -05:00
Noah 83e2a2d25f Add _osx_support.py from CPython 3.8.2 2020-08-03 10:31:35 -05:00
Noah a822ef6275 Mark unsupported tests for test_sys.py, remove redundant test_sys_executable 2020-08-02 21:00:04 -05:00
Noah e1656149aa Add test/test_sys.py from CPython 3.8.2 2020-08-02 20:57:56 -05:00
Noah 3d5ea1b38d Merge pull request #2060 from skinny121/zlib_decompress
Fix zlib decompression
2020-08-02 09:48:47 -05:00
Jeong YunWon 2c86359051 Merge pull request #2045 from Lynskylate/feature-symtable
Add is_imported and is_annotation for symtable
2020-08-02 17:42:51 +09:00
Ben Lewis dc2ca629a8 Mark failing test_zipimport.py tests. 2020-08-02 19:49:57 +12:00
Ben Lewis fa1a436a8f Fix test_zipimport.py from CPython 3.8.5 2020-08-02 19:49:57 +12:00
Ben Lewis 43434d8559 Fix zlib decompress 2020-08-02 19:49:57 +12:00
Yi Hyunjoon ad7f171998 Copy test_repl.py from CPython 3.8.3 2020-08-02 14:07:16 +09:00
Ben Lewis fa3e571889 Unmark tests that are now passing in test_unicode.py. 2020-08-02 07:22:05 +12:00
Ben Lewis 0bfe830e7a Mark failing test_string.py tests. 2020-08-02 07:22:05 +12:00
Ben Lewis 815572beb3 Copy test_string.py from CPython 3.8.3. 2020-08-02 07:22:05 +12:00