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
Noah
410096b800
Merge pull request #2109 from youknowone/cut-debug
...
Prevent recursive reference by cutting down PyClass debug fmt
2020-08-13 12:57:51 -05:00
Jeong YunWon
f45d2f03ef
avoid to_pystr to generate type name
2020-08-14 02:34:36 +09:00
Jeong YunWon
12c8af6065
Prevent recursive reference by cutting down PyClass debug fmt
2020-08-14 02:23:00 +09:00
Jeong YunWon
96926daf6f
Merge pull request #2106 from RustPython/coolreader18/unittest-tests
...
unittest tests
2020-08-13 21:33:46 +09:00
Noah
43e18e496a
Skip unsupported tests
2020-08-12 16:17:31 -05:00
Noah
0550bb19a5
Set __doc__ to None on lambdas
2020-08-12 16:04:13 -05:00
Noah
cc4ae0831c
Make HAVE_DICT a type flag
2020-08-12 16:04:13 -05:00
Noah
1385c06e25
Fix some minor things required for unittest
2020-08-12 16:03:20 -05:00
Noah
f12a78ba23
Add unittest.test and test.test_unittest from CPython 3.7.0
2020-08-12 16:01:05 -05:00
Yiqun Ling
230f91582f
Add nested and optimized for symtable
2020-08-13 04:12:28 +09:00
Noah
55d940620d
Merge branch 'support-pdb' into master
2020-08-12 14:02:42 -05:00
Alan Justino
a855dfe5ed
Revert python-based sys.displayhook implementation
...
This reverts commit c0b11de36f .
2020-08-12 14:00:02 -05:00
Alan Justino
edbc7a94e4
Disable gc on RustPython tests
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
0122837126
No .unwrap() is needed on PyRef !!
2020-08-12 14:00:01 -05:00
Alan Justino
e55e27c3b8
Comment on incompatibility on Frame.__delattr__
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
Noah
1db5dce63c
Merge pull request #2107 from clemado1/develop
...
Fix error message in objsequence.get_item
2020-08-12 10:39:52 -05:00
clemado1
6523abcac1
Fix error message in objsequence.get_item
2020-08-12 23:21:03 +09:00
Minjun Shin
1011f48012
Implement os.execve for unix system
2020-08-12 14:19:22 +09:00
Noah
c351fb3f6b
Merge pull request #2104 from RustPython/coolreader18/downcast-exact
...
Make it a safety invariant that PyRef<T>.obj has a payload of T
2020-08-11 17:01:08 -05:00