Jeong YunWon
|
8c7e01b4f6
|
pyslot guess slot name from function name
|
2020-01-15 10:28:39 +09:00 |
|
coolreader18
|
098393d4d6
|
Add __length_hint__ to a bunch of iterators
|
2020-01-10 18:24:23 +00:00 |
|
Jeong YunWon
|
c1306726c4
|
Fix clippy warnings
|
2019-12-21 18:49:48 +09:00 |
|
Jeong YunWon
|
6c0f852b62
|
Refactor pymethod return types to be smaller as possible
|
2019-10-11 03:27:23 +09:00 |
|
Daniel Alley
|
c254c7eec1
|
Adopt new style for several more object impls
|
2019-10-04 13:53:06 -04:00 |
|
coolreader18
|
c46b5b50bd
|
Fix weirdness with type.__new__()/type()/metaclass.__new__()
|
2019-09-29 23:14:31 -05:00 |
|
Windel Bouwman
|
589c431c8c
|
Merge master branch
|
2019-08-15 18:59:29 +02:00 |
|
Marcin Pajkowski
|
e65e9ff7c3
|
Make func_ref an &PyObjectRef
|
2019-08-15 13:45:47 +02:00 |
|
Windel Bouwman
|
d06dec77ea
|
Attempt to reduce the size of the pyobject.rs files by splitting out builtin types.
|
2019-08-14 19:08:47 +02:00 |
|
Adrian Wielgosik
|
c7fd54e809
|
Convert iterators to pyclass macros
|
2019-05-01 21:26:37 +02:00 |
|
Adrian Wielgosik
|
cba8aa9be5
|
Drop iter_type_init, explicitly define __iter__ for iterators
|
2019-04-01 19:45:07 +02:00 |
|
Adrian Wielgosik
|
d5e2b3a8b6
|
Convert iterators next() to new args style
Except objiter, as it'll need to be reworked anyway
|
2019-03-28 23:08:46 +01:00 |
|
ben
|
c1d5ce715f
|
Change isinstance/issubclass to accept PyClassRef instead of PyCObject.
Also changed PyValue::class to return a PyClassRef.
|
2019-03-23 19:32:31 +13:00 |
|
Windel Bouwman
|
68ba050030
|
Use the extend class macro more.
|
2019-03-22 20:45:34 +01:00 |
|
coolreader18
|
a9051ab462
|
Convert all &mut VirtualMachine to &VirtualMachine
|
2019-03-22 01:48:14 -05:00 |
|
Adam Kelly
|
aeaa94966f
|
Remove PyObject::new from objmap.
|
2019-03-19 16:24:19 +00:00 |
|
Joey
|
7bfd2e6e84
|
Move function items out of pyobject module
|
2019-03-15 21:27:11 -07:00 |
|
Joey
|
fa9e48a5b3
|
Take &mut VirtualMachine insteadof &PyContext
|
2019-03-14 21:43:19 -07:00 |
|
Joey
|
737ec12fa5
|
Rename PyValue::{required_type => class}
|
2019-03-14 20:08:41 -07:00 |
|
Joey Hain
|
053ceb1a30
|
Move payload boxing into PyObject::new
|
2019-03-10 20:19:28 -07:00 |
|
Joey Hain
|
5971fc3bd4
|
rename PyObjectPayload2 to PyValue
|
2019-03-10 13:48:51 -07:00 |
|
Joey Hain
|
e2e13af7ea
|
Remove PyObjectPayload
|
2019-03-10 13:45:38 -07:00 |
|
Joey Hain
|
9d8bdd7012
|
zip
|
2019-03-08 18:29:51 -08:00 |
|
Joey Hain
|
303e19d713
|
map
|
2019-03-08 18:29:41 -08:00 |
|
Windel Bouwman
|
d7f8961a12
|
Simplify some PyFuncArgs occurences.
|
2019-03-06 22:30:11 +01:00 |
|
Joey Hain
|
f10fa6db44
|
Remove outer RefCell from PyObjectRef
|
2019-02-25 21:01:37 -08:00 |
|
Joey
|
eec76ef8e8
|
Don't require objtype import to use arg_check! macro
|
2019-02-21 08:38:02 -08:00 |
|
Joey
|
df76ffe116
|
Replace most relative imports with 2018-style crate
|
2019-02-20 08:50:53 -08:00 |
|
Adrian Wielgosik
|
21299ecf3d
|
Refactor arg_check macro
|
2019-02-13 21:05:23 +01:00 |
|
ZapAnton
|
050bf459b0
|
Fixed the into_iter_on_ref clippy warning
|
2019-02-12 16:40:08 +03:00 |
|
Windel Bouwman
|
b14dc20adc
|
Merge branch 'master' into map_doc
|
2019-02-09 18:58:37 +01:00 |
|
ZapAnton
|
c05f7dc83a
|
map type: Added __doc__
|
2019-02-08 19:01:18 +03:00 |
|
ben
|
5896f049ef
|
Add enumerate and zip types and made them lazy.
|
2019-02-08 20:57:16 +13:00 |
|
ben
|
6c8ec39882
|
Make map and filter into proper types
|
2019-02-06 12:45:14 +13:00 |
|