Windel Bouwman
|
d0c4fcb2fa
|
Doing what is needed for all our non-latin friends.
|
2019-03-24 13:14:38 +01:00 |
|
Joey
|
fbd0860f1b
|
Merge pull request #740 from skinny121/into_object_cleanup
Use specific PyRef where possible - code object/type_new_class
|
2019-03-23 21:28:39 -07:00 |
|
ben
|
3f363585e8
|
Panic if value poped of stack isn't a code object.
|
2019-03-24 16:08:17 +13:00 |
|
Joey
|
5441f3f89c
|
Merge pull request #739 from RustPython/joey/range-getitem-either
Introduce Either extractor and convert range.__getitem__
|
2019-03-23 19:10:37 -07:00 |
|
Joey
|
84d47d21cf
|
Rename to just Either
|
2019-03-23 17:51:12 -07:00 |
|
ben
|
6eb93a7000
|
Move code methods into impl PyCodeRef
|
2019-03-24 13:50:50 +13:00 |
|
ben
|
db8e648646
|
Make PyFunction.code a PyCodeRef, PyGenerator.frame a FrameRef, and
other improvements to increase use of specific ref types.
|
2019-03-24 13:41:37 +13:00 |
|
ben
|
dc68101577
|
Refactor type_new_class to use more specific ref types
|
2019-03-24 12:08:15 +13:00 |
|
Joey
|
3c15d892c5
|
Avoid some cloning
|
2019-03-23 15:57:06 -07:00 |
|
Joey
|
e5066da94e
|
Merge remote-tracking branch 'origin/master' into joey/range-getitem-either
|
2019-03-23 15:50:12 -07:00 |
|
Joey
|
b6f1ecdb4b
|
Fix example
|
2019-03-23 15:49:31 -07:00 |
|
Joey
|
a1560103ea
|
Merge pull request #737 from skinny121/object_type_pyclassref
Change PyObject.typ to PyClassRef
|
2019-03-23 15:41:19 -07:00 |
|
Joey
|
a5558e0e32
|
Introduce Either extractor and convert range.__getitem__
|
2019-03-23 15:05:12 -07:00 |
|
ben
|
faf1925a25
|
Remove usages of PyClassRef::from_pyobj
|
2019-03-24 10:51:52 +13:00 |
|
ben
|
00540dec35
|
Fix wasm, to reflect that PyObject.typ is now a PyClassRef
|
2019-03-24 10:51:52 +13:00 |
|
ben
|
6fa059fd6c
|
Make PyObject.typ a PyClassRef
|
2019-03-24 10:51:52 +13:00 |
|
Joey
|
4666a09b20
|
Merge pull request #735 from RustPython/joey/range-cleanup
Range cleanups
|
2019-03-23 14:35:18 -07:00 |
|
Joey
|
da3dfa6c03
|
Merge pull request #734 from RustPython/joey/socket-cleanup
Some socket and io cleanups
|
2019-03-23 14:18:14 -07:00 |
|
Joey
|
3177824474
|
Fix test-
|
2019-03-23 12:57:17 -07:00 |
|
Joey
|
18ed00a653
|
Range cleanups
|
2019-03-23 12:48:37 -07:00 |
|
Joey
|
e4e7da3d54
|
Some socket cleanups
|
2019-03-23 12:21:55 -07:00 |
|
coolreader18
|
cecc2e1835
|
Merge pull request #732 from palaviv/super-classmethod
Support classmethod super
|
2019-03-23 14:17:06 -05:00 |
|
Joey
|
65e00a8f32
|
Merge pull request #730 from RustPython/joey/remove-frompyobjecterf
Remove FromPyObjectRef, replace with downcast
|
2019-03-23 11:05:10 -07:00 |
|
Aviv Palivoda
|
1d820a9586
|
Use payload_is
|
2019-03-23 20:01:11 +02:00 |
|
Aviv Palivoda
|
2f9a49d077
|
Support classmethod super
|
2019-03-23 19:56:00 +02:00 |
|
Joey
|
af0194d51e
|
Merge pull request #731 from RustPython/cleaning-tweaks
Use extend_class macro even more
|
2019-03-23 10:49:09 -07:00 |
|
Joey
|
f413beb051
|
Fix test
|
2019-03-23 10:03:40 -07:00 |
|
Windel Bouwman
|
fa8d3524bf
|
Use extend_class macro even more
|
2019-03-23 17:49:49 +01:00 |
|
Joey
|
2aee2981e3
|
Remove FromPyObjectRef, replace with downcast
|
2019-03-23 09:38:03 -07:00 |
|
Windel Bouwman
|
9b4d719197
|
Merge pull request #728 from RustPython/remove_attribute_protocol
Remove attribute protocol
|
2019-03-23 13:13:34 +01:00 |
|
Adam Kelly
|
441560b691
|
Delete Attribute Protocol.
|
2019-03-23 11:29:22 +00:00 |
|
Adam Kelly
|
386f90fa25
|
Remove PyContext.get_attr.
|
2019-03-23 11:29:22 +00:00 |
|
Windel Bouwman
|
9630c5cee1
|
Merge pull request #727 from RustPython/wasm_no_attribute_protocol
Remove attribute protocol from wasm.
|
2019-03-23 12:13:02 +01:00 |
|
Windel Bouwman
|
8fa315110e
|
Merge pull request #726 from RustPython/bool_magic_methods
Replace special cases in boolval with __bool__ method on types.
|
2019-03-23 11:41:36 +01:00 |
|
Adam Kelly
|
c8bdb249b0
|
Remove attribute protocol from wasm.
|
2019-03-23 10:11:39 +00:00 |
|
Adam Kelly
|
9ebbde8126
|
Replace special cases in boolval with __bool__ method on types.
|
2019-03-23 09:31:42 +00:00 |
|
Adam
|
26a238085f
|
Merge pull request #724 from RustPython/cleaning-tweaks
Increase usage of extend_class macro.
|
2019-03-23 09:14:50 +00:00 |
|
Adam
|
cea5341473
|
Merge pull request #723 from skinny121/isinstance_classref
Change isinstance/issubclass to accept PyClassRef
|
2019-03-23 09:14:16 +00:00 |
|
Windel Bouwman
|
b93f96d491
|
Increase usage of extend_class macro.
|
2019-03-23 09:16:32 +01:00 |
|
ben
|
983cb9e886
|
Fix Never::class signature
|
2019-03-23 19:35:42 +13:00 |
|
ben
|
4e7e503785
|
Fix wasm build, to reflect that isinstance now takes a PyClassRef
|
2019-03-23 19:32:31 +13:00 |
|
ben
|
ad584df120
|
Allow context.set_attr to accept PyRef values in addition to PyObjectRef
|
2019-03-23 19:32:31 +13: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 |
|
Joey
|
b7fa08eb36
|
Merge pull request #722 from RustPython/joey/unboxed-payload-2
Remove Box from PyObject
|
2019-03-22 20:29:36 -07:00 |
|
Joey
|
3f98a8ab1b
|
Merge pull request #721 from skinny121/context_ref_types
Change types in PyContext to be PyClassRef's than PyObjectRef's
|
2019-03-22 19:14:01 -07:00 |
|
Joey
|
050bf0730e
|
Remove HeldRcInner
|
2019-03-22 19:10:22 -07:00 |
|
Joey Hain
|
85ffde7382
|
Fix wasm
|
2019-03-22 18:37:06 -07:00 |
|
Joey Hain
|
c06b1c70df
|
Fix merge issue
|
2019-03-22 18:05:24 -07:00 |
|
Joey Hain
|
7b4b0979f4
|
Merge remote-tracking branch 'origin/master' into joey/unboxed-payload-2
|
2019-03-22 18:04:15 -07:00 |
|
Joey Hain
|
bb161a5a67
|
Remove Box from PyObject
|
2019-03-22 18:04:09 -07:00 |
|