Commit Graph

20 Commits

Author SHA1 Message Date
Jeong YunWon
04e25e8d2d vm/function/{byteslike -> buffer}.rs
those types are buffer utilities
byteslike is one of them
2021-10-07 23:19:37 +09:00
Jeong YunWon
6ba322f261 clean up byteslike api 2021-10-07 23:18:35 +09:00
jfh
c0420721e0 Rename from ArgTypeLike to ArgIntoType, numlike to number. 2021-10-07 15:30:57 +03:00
jfh
a29f9452b8 Add documentation for Arg types. 2021-10-07 14:12:47 +03:00
jfh
b2a2238566 Add ArgBoolLike. 2021-10-07 12:56:01 +03:00
jfh
856f77fb77 Add ArgFloatLike. 2021-10-07 12:34:30 +03:00
jfh
acfdf9ceaa Move try_complex into PyObjectRef 2021-10-07 12:23:12 +03:00
jfh
7387324f59 Add ArgComplexLike 2021-10-07 12:06:26 +03:00
Jeong YunWon
0c56761be1 flexible PyIterIter and PyIter::into_iter 2021-10-04 04:53:46 +09:00
Jeong YunWon
d0615a4ea3 PyIter::iter 2021-10-04 04:53:46 +09:00
Jeong YunWon
d1e9ac85d8 move funciton::PyIterator -> protocol::PyIterIter 2021-10-04 04:53:46 +09:00
Jeong YunWon
31549f8059 PyIterator holds PyIter 2021-10-04 04:53:46 +09:00
Jeong YunWon
910d5e7d11 move iterator::length_hint to vm 2021-10-04 04:53:46 +09:00
Jeong YunWon
ff1129adb7 PyIterReturn for StopIteration
Same as ArithmaticValue for NotImplemented
2021-10-01 22:33:57 +09:00
Jeong YunWon
3273be1a6b PyIter protocol 2021-09-30 05:16:10 +09:00
Jeong YunWon
495ba77ae5 move vm/src/{byteslike.rs -> function/byteslike.rs} 2021-09-29 02:28:43 +09:00
Jeong YunWon
ffef73c1d7 split Arg{Callble,Iterable} from pyobject.rs 2021-09-22 21:01:44 +09:00
Noah
3ff3a2c0a1 Move function/mod.rs back to function.rs 2020-11-27 00:49:11 -06:00
Noah
8ff7a528a2 Replace FuncArgs.insert with prepend_arg, optimize check_signals 2020-11-24 11:41:36 -06:00
carbotaniuman
e572371a46 Fix behavior of pow builtin 2020-11-17 12:52:27 -06:00