Commit Graph
6356 Commits
Author SHA1 Message Date
Jeong YunWon f2fa5b849b mark test_zlib compressobj pickling tests as expected failures 2020-08-20 03:23:13 +09:00
Jeong YunWon b1946f0074 fix broken zlib.Compress 2020-08-20 03:17:58 +09:00
Jeong YunWon 3c01e9f1d4 Merge pull request #2130 from youknowone/io-file
io.FileIO into #[pyclass]
2020-08-19 16:27:01 +09:00
Jeong YunWon a5f73452d6 io.FileIO into #[pyclass] 2020-08-19 11:09:47 +09:00
Jeong YunWon 88df6fbfc1 Merge pull request #2129 from youknowone/fix-delete
defer remove by actual variable name, not _
2020-08-19 10:42:02 +09:00
Jeong YunWon 74253e2c56 Remove redundant clone 2020-08-19 10:00:48 +09:00
Jeong YunWon c6c1ec52fb defer remove by actual variable name, not _ 2020-08-19 07:40:23 +09:00
Jeong YunWon 55eb5974b0 Merge pull request #2127 from youknowone/frugal-dict
Dict/set deletes existed element after returning borrow
2020-08-18 19:14:03 +09:00
Jeong YunWon 3728bc84dc Use drop instead of |_| () 2020-08-18 18:15:39 +09:00
Jeong YunWon baf70d95a8 Unmark test_set skips 2020-08-18 18:13:33 +09:00
Jeong YunWon b0541c5e0c remove skip markers from dict tests 2020-08-18 18:13:33 +09:00
Jeong YunWon 8949e7cd1e Defer deletes from list 2020-08-18 18:13:33 +09:00
Jeong YunWon a839034338 Defer decrease frame 2020-08-18 18:13:33 +09:00
Jeong YunWon 7df8f1793e defer rc for dict/set delete 2020-08-18 18:13:31 +09:00
Jeong YunWon d1e782154f Dict deletes the existed element after returning borrow 2020-08-18 17:37:33 +09:00
Youngchan Lee ec5d168de2 Implement objcomplex::parse_str() to replace Complex64::from_str() 2020-08-18 02:19:58 +09:00
Jeong YunWon d4a35b9a92 Merge pull request #2122 from edwardycl/complex
Allow keyword arguments in complex()
2020-08-18 00:55:17 +09:00
Youngchan Lee 7693b47fb0 Allow keyword arguments in complex() 2020-08-17 23:59:19 +09:00
Jeong YunWon 59dc6c9844 Merge pull request #2119 from ohgree/fix-os-execve
check '=' character in environment variable name in os.execve to pass test_os.py
2020-08-17 20:25:08 +09:00
Minjun Shin d992eec95a check for '=' in environment variable name in os.execve 2020-08-17 02:30:26 +09:00
Noah a35408a058 Merge pull request #2028 from ugaemi/master
Implement __ne__ methods for array, bytearray
2020-08-15 14:41:46 -05:00
ugaemi 1d554eb065 Fix fmt 2020-08-16 03:25:37 +09:00
ugaemi b1eb20275d Add crate BorrowValue 2020-08-16 03:19:12 +09:00
ugaemi 32584a6c63 Fix test bug 2020-08-16 02:59:55 +09:00
ugaemi 6abb67398d Modify return type 2020-08-16 02:59:40 +09:00
ugaemi 148e6cc5bc Fix ne for objbyteinner 2020-08-16 02:59:27 +09:00
ugaemi 620e4b93ea Add __ne__ for array, bytearray 2020-08-16 02:59:15 +09:00
Jeong YunWon b57d943031 Merge pull request #2117 from youknowone/pymodule-attr-use
Allow `use` for `#[pyattr]`
2020-08-16 02:11:47 +09:00
Jeong YunWon cf10a34e2e Merge pull request #2114 from edwardycl/complex
Allow complex numbers as arguments of complex()
2020-08-16 02:03:59 +09:00
Jeong YunWon fef9bbbcf6 Merge pull request #2116 from clemado1/itertools
Fix index and overflow error in itertools
2020-08-16 02:03:01 +09:00
Jeong YunWon fa46ab1c04 Merge pull request #2115 from minoring/support-__all__
Support __all__
2020-08-16 02:00:07 +09:00
Noah 861aa4d122 Merge pull request #2118 from tobark/test-unexpected-success
unexpected success on local
2020-08-15 09:02:06 -05:00
Youngchan Lee 3f4234de8d Allow complex numbers as arguments of complex() 2020-08-15 21:29:02 +09:00
Jeong YunWon 33bb4e1dc0 Adapt pyattr use for zlib 2020-08-15 18:58:02 +09:00
Jeong YunWon 1c0b6e9d81 pyattr use for zlib 2020-08-15 18:56:06 +09:00
Jeong YunWon 1ed00a4866 Allow use for #[pyattr] 2020-08-15 18:56:06 +09:00
Yi Hyunjoon 499a86e2c2 unexpected success on local 2020-08-15 18:53:18 +09:00
clemado1 5f8fa320b9 Fix value and overflow error in itertools 2020-08-15 18:49:04 +09:00
minoring 754563554e Add some function to __all__ to run tests
This change is result from the supporting __all__ in modules
2020-08-15 18:11:07 +09:00
Jeong YunWon ad08843c78 Merge pull request #2113 from youknowone/pymodule
more pymodule
2020-08-15 18:02:42 +09:00
Youngchan Lee e2e514a060 Mark unsupported tests in test_complex 2020-08-15 17:42:18 +09:00
Jeong YunWon 3ba8dcb621 pymodule for zlib 2020-08-15 17:23:42 +09:00
Jeong YunWon cd6b3212c2 pymodule for _warnings 2020-08-15 17:23:42 +09:00
Jeong YunWon 7df01d3f21 pymodule tokenize 2020-08-15 17:23:42 +09:00
Jeong YunWon 4728ff555d pymodule for symtable 2020-08-15 17:23:41 +09:00
Youngchan Lee ed80407782 Copy test_complex.py from cpython 3.8.5 2020-08-15 17:17:39 +09:00
minoring c3cb5b9349 Modify method call as_str() -> as_ref()
as_str() was removed at commit ab37e455f
2020-08-15 16:21:56 +09:00
Bolun Thompson cfa7121382 Module dict star import error checking
This changes it so that with star imports (e.g from foo import *), if an
item in the module.__dict__ isn't a string, raises a type error.

This can be caused by modifying globals(), adding a non string key. e.g:
>>>>> globals()[b"invalid"] = "invalid"
2020-08-15 15:37:33 +09:00
Bolun Thompson 13c6045b15 Add support for __all__ in modules 2020-08-15 15:37:07 +09:00
Jeong YunWon f651980c87 Merge pull request #2111 from youknowone/avoid-pystr
avoid to_pystr to generate type name
2020-08-14 05:53:52 +09:00