Windel Bouwman
|
caae69fc35
|
Merge pull request #658 from RustPython/mro
Cleaner type_type declaration, and faster instance checking.
|
2019-03-11 17:40:09 +01:00 |
|
Windel Bouwman
|
b8aa38db1a
|
Merge pull request #653 from RustPython/joey/pyobject-2.0-prep
Remove PyObjectPayload enum
|
2019-03-11 17:33:51 +01:00 |
|
Adam Kelly
|
d7e1d69430
|
Avoid additional clone in objtype::subinstance.
|
2019-03-11 11:44:25 +00:00 |
|
Adam Kelly
|
4d779bbf98
|
isinstance/issubclass - avoid expensive construction of full mro.
|
2019-03-11 11:18:40 +00:00 |
|
Adam Kelly
|
7894627b9d
|
Use extend_class in objtype.
|
2019-03-11 10:22:53 +00:00 |
|
Joey
|
dfb24d7f11
|
Merge pull request #657 from skinny121/attribute_error
Use new_attribute_error in more places
|
2019-03-10 22:13:38 -07:00 |
|
ben
|
65c26a1f1b
|
Use new_attribute_error in more places
|
2019-03-11 17:38:19 +13:00 |
|
Joey
|
a48340d591
|
Merge pull request #651 from RustPython/make_module_not_mk_module
Rename mk_module to make_module.
|
2019-03-10 21:25:31 -07:00 |
|
Joey Hain
|
2449c12bf9
|
Merge remote-tracking branch 'origin/master' into make_module_not_mk_module
Conflicts:
vm/src/stdlib/weakref.rs
|
2019-03-10 20:43:11 -07:00 |
|
Joey Hain
|
053ceb1a30
|
Move payload boxing into PyObject::new
|
2019-03-10 20:19:28 -07:00 |
|
Joey
|
cf659b80c0
|
Merge pull request #656 from adrian17/master
Support index in list.pop()
|
2019-03-10 17:17:50 -07:00 |
|
Adrian Wielgosik
|
b123e58c55
|
Support index in list.pop()
|
2019-03-11 00:31:26 +01:00 |
|
Joey Hain
|
4510489bba
|
Fix PyObjectPayload usage in wasm
|
2019-03-10 15:19:04 -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
|
45bc8c8f7a
|
Move PyRef to pyobject module
|
2019-03-10 13:01:46 -07:00 |
|
Joey
|
8143adc837
|
Merge pull request #636 from skinny121/weakref_type
Move weakref object type to obj module
|
2019-03-10 12:57:04 -07:00 |
|
Joey Hain
|
6024e3ea0c
|
Fix irrefutable pattern errors
|
2019-03-10 12:43:25 -07:00 |
|
ben
|
7c5be7d6b7
|
Add proper weakref type
|
2019-03-11 07:49:12 +13:00 |
|
Windel Bouwman
|
ded7acc427
|
Merge pull request #643 from palaviv/interactive-shell
Add interactive shell to WASM demo
|
2019-03-10 18:18:41 +01:00 |
|
Adam Kelly
|
0ff5155af9
|
Rename mk_module to make_module.
|
2019-03-10 17:10:51 +00:00 |
|
Aviv Palivoda
|
f27cb5b8ed
|
Don't delete prompt
|
2019-03-10 18:40:03 +02:00 |
|
Aviv Palivoda
|
625e181fd8
|
Use snakeCase
|
2019-03-10 18:38:17 +02:00 |
|
Aviv Palivoda
|
264d218b70
|
Use seperate VM for interactive shell
|
2019-03-10 18:36:29 +02:00 |
|
Windel Bouwman
|
e8ec497b02
|
Merge pull request #637 from RustPython/scope_globals_locals
Scope globals locals
|
2019-03-10 17:13:03 +01:00 |
|
Windel Bouwman
|
1751333686
|
Merge pull request #650 from chylli/add_str__doc__
add __doc__ to str
|
2019-03-10 17:08:13 +01:00 |
|
Chylli
|
e38a82e540
|
add __doc__ to str
|
2019-03-10 22:39:22 +08:00 |
|
Adam Kelly
|
3fbf627582
|
Merge branch 'master' into scope_globals_locals
|
2019-03-10 13:00:03 +00:00 |
|
Adam Kelly
|
4a82c8fad5
|
Rename AttributeProtocol2 -> NameProtocol with method name changes.
|
2019-03-10 12:51:34 +00:00 |
|
Adam Kelly
|
15aaa6d3f6
|
Add builtin_globals.
|
2019-03-10 12:51:34 +00:00 |
|
Adam Kelly
|
372f09aaa3
|
Abstract rc linked list so we can just use a loop.
|
2019-03-10 12:38:43 +00:00 |
|
Adam Kelly
|
ddf4f55af7
|
Enable tests that now pass thanks to new scope scheme.
|
2019-03-10 12:38:43 +00:00 |
|
Adam Kelly
|
6ad528c15c
|
Reintroduce new_scope for the common case of an empty scope.
|
2019-03-10 12:38:43 +00:00 |
|
Adam Kelly
|
0e23e706c9
|
Restructure scope to distinguish between locals and globals.
|
2019-03-10 12:38:43 +00:00 |
|
Adam
|
9e5b76c9b6
|
Merge pull request #635 from skinny121/property_refactor
Unify property like objects
|
2019-03-10 12:35:24 +00:00 |
|
Windel Bouwman
|
eb19eaa6d6
|
Merge pull request #646 from RustPython/joey/memoryview-slice
Convert memoryview and slice to Any payload
|
2019-03-10 10:56:36 +01:00 |
|
Joey Hain
|
f6765cf16e
|
less explicit returns
|
2019-03-10 00:34:21 -08:00 |
|
Windel Bouwman
|
eb14ada7ad
|
Merge pull request #645 from RustPython/joey/convert-iterator
Convert iterator to Any payload
|
2019-03-10 09:18:14 +01:00 |
|
Windel Bouwman
|
79b4f62300
|
Merge pull request #642 from RustPython/joey/function-to-any
Convert function, method, builtin_*, frame, and generator to Any payload
|
2019-03-10 09:12:20 +01:00 |
|
Ryan Liddle
|
f57d2e22bf
|
Merge pull request #649 from jaroel/context-manager-open
Make IOBase a context manager
|
2019-03-10 13:41:26 +11:00 |
|
Ryan Liddle
|
6072954024
|
Merge pull request #647 from RustPython/joey/no-arg-functions
Allow functions that don't take any args
|
2019-03-10 13:34:53 +11:00 |
|
Roel Bruggink
|
8f6257b37f
|
Make open a context manager
|
2019-03-10 03:11:28 +01:00 |
|
Joey Hain
|
cd3ca16693
|
Allow functions that don't take any args
|
2019-03-09 16:46:29 -08:00 |
|
Joey Hain
|
e1d728e81f
|
slice
|
2019-03-09 15:10:44 -08:00 |
|
Joey Hain
|
776dd80591
|
memoryview
|
2019-03-09 14:58:33 -08:00 |
|
Joey
|
157d18d7a1
|
Convert iterator
|
2019-03-09 14:45:55 -08:00 |
|
ben
|
7d01323e09
|
Merge branch 'master' into property_refactor
# Conflicts:
# vm/src/function.rs
|
2019-03-10 09:06:21 +13:00 |
|
ben
|
3c3c1f2b6f
|
Fixed new_attribute_error and added more tests for property
|
2019-03-10 09:01:46 +13:00 |
|
Aviv Palivoda
|
669aa70aab
|
Support ':' in interactive shell
|
2019-03-09 21:23:59 +02:00 |
|
Aviv Palivoda
|
03d431ecac
|
Support backspace in interactive shell
|
2019-03-09 21:17:13 +02:00 |
|