Commit Graph

1328 Commits

Author SHA1 Message Date
Noah
4e80bfd158 Merge pull request #2141 from RustPython/coolreader18/pynativefunc-rework
Just use normal Box for PyNativeFunc
2020-08-22 22:17:37 -05:00
Jeong YunWon
bd3d4cfdb2 earlier returning for error 2020-08-23 06:54:25 +09:00
Jeong YunWon
a4a02439be Either::as_object 2020-08-23 06:52:40 +09:00
Jeong YunWon
ab112a9adf exactly_one 2020-08-23 06:52:40 +09:00
Noah
7218d1d998 Make more dyn Fn()s threading-optional 2020-08-22 16:18:26 -05:00
Jeong YunWon
a3b33a668e Merge pull request #2110 from youknowone/imp-threading
non-threading compatibility for imp.rs
2020-08-23 06:14:12 +09:00
Jeong YunWon
f497c99ec7 Give correct names to types 2020-08-22 06:32:39 +09:00
Jeong YunWon
2c1eff49d6 PyClass::extend_class cannot be called with bare py_clas! 2020-08-21 09:49:03 +09:00
Jeong YunWon
23c2c58140 Move out read-only flags of slots. 2020-08-21 09:47:02 +09:00
Noah
5099255cd0 Revert "Trying revert for regression" 2020-08-20 11:41:21 -05:00
Noah
068b301c83 Merge pull request #2133 from clemado1/itertools
Fix panic in itertools pruduct
2020-08-19 23:09:03 -05:00
clemado1
fb18a8d66e Fix panic in itertools pruduct 2020-08-20 11:52:31 +09:00
Jeong YunWon
39699ca970 Fix zlib.Z_DEFLATED 2020-08-20 05:50:00 +09:00
Jeong YunWon
7efac0ef49 revert HAVE_DICT 2020-08-20 04:18:21 +09:00
Noah
ebecc1ac0f Fix some minor things required for unittest 2020-08-20 04:18:21 +09:00
Jeong YunWon
8bfc218b2d Revert "Merge pull request #2106 from RustPython/coolreader18/unittest-tests"
This reverts commit 96926daf6f, reversing
changes made to 230f91582f.
2020-08-20 04:18:21 +09:00
Jeong YunWon
b1946f0074 fix broken zlib.Compress 2020-08-20 03:17:58 +09:00
Jeong YunWon
a5f73452d6 io.FileIO into #[pyclass] 2020-08-19 11:09:47 +09:00
Jeong YunWon
74253e2c56 Remove redundant clone 2020-08-19 10:00:48 +09:00
Minjun Shin
d992eec95a check for '=' in environment variable name in os.execve 2020-08-17 02:30:26 +09: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
6abb67398d Modify return type 2020-08-16 02:59:40 +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
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
clemado1
5f8fa320b9 Fix value and overflow error in itertools 2020-08-15 18:49:04 +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
Jeong YunWon
c89d9ed62c non-threading compatibility for imp.rs 2020-08-14 02:24:02 +09: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
Yiqun Ling
230f91582f Add nested and optimized for symtable 2020-08-13 04:12:28 +09:00
Minjun Shin
1011f48012 Implement os.execve for unix system 2020-08-12 14:19:22 +09:00
Noah
ee124eb85d Make ReprGuard vm-local 2020-08-11 11:07:51 -05:00
Jeong YunWon
e821cf90dd os.execv reuse first arg for validation 2020-08-11 02:34:51 +09:00
Jeong YunWon
8b1abf64c3 Merge pull request #2096 from youknowone/proc-dupcheck
Enhance pyclass/pymodule
2020-08-11 02:05:40 +09:00
Jeong YunWon
2144644e56 pymodule select 2020-08-11 01:32:38 +09:00
Jeong YunWon
c7b156026c pymodule _posixsubprocess 2020-08-11 01:32:38 +09:00
Jeong YunWon
2f7c4b4d9b pymodule _multiprocessing 2020-08-11 01:32:37 +09:00
Jeong YunWon
b675556502 Merge pull request #2085 from RustPython/coolreader18/no-unimplemented-os
Don't panic when a os function isn't supported on a platform
2020-08-11 01:17:17 +09:00
Jeong YunWon
dcf80e606d pymodule marshal 2020-08-11 01:13:47 +09:00
Jeong YunWon
e7848b1eec pymodule faulthandler 2020-08-11 01:13:47 +09:00
Jeong YunWon
db45e07bce _functools into pymodule 2020-08-11 01:11:10 +09:00
Jeong YunWon
287aaacb81 pymodule keyword 2020-08-11 01:11:09 +09:00
Jeong YunWon
c93ea3df34 pymodule _json 2020-08-11 01:10:18 +09:00
Jeong YunWon
be39c8cd93 pymodule dis 2020-08-11 01:06:38 +09:00