Commit Graph

2153 Commits

Author SHA1 Message Date
coolreader18
e1865fed82 Merge pull request #743 from RustPython/coolreader18/update-deps
Update cargo dependencies
2019-03-28 11:16:21 -04:00
coolreader18
b621a13415 Merge branch 'master' into coolreader18/update-deps 2019-03-27 22:32:42 -04:00
Joey
e048037146 Merge pull request #756 from adrian17/objobject
Convert objobject.rs to new args style
2019-03-27 17:51:20 -07:00
Adrian Wielgosik
89f63e4c9a Convert objobject.rs to new args style 2019-03-27 23:25:09 +01:00
Windel Bouwman
c2eb6643f3 Merge pull request #754 from adrian17/master
Upgrade lalrpop
2019-03-27 21:09:01 +01:00
Adrian Wielgosik
40dd75d513 Upgrade lalrpop 2019-03-27 18:55:08 +01:00
Windel Bouwman
1cda87a239 Merge pull request #752 from RustPython/more_dict_cleanup
More dict cleanup
2019-03-27 15:53:14 +01:00
Adam Kelly
c644176547 Modules have attributes, not items. 2019-03-27 10:53:08 +00:00
Adam Kelly
4cb7f026de Remove unnecessary cast to pyobject in kwarg construction. 2019-03-27 10:53:08 +00:00
Windel Bouwman
14d3aab528 Merge pull request #753 from adrian17/master
Remove .gcno files before a coverage run
2019-03-26 19:34:05 +01:00
Adrian Wielgosik
c5203a4934 Remove .gcno files before a coverage run 2019-03-26 19:00:06 +01:00
Joey
5ef8220d20 Merge pull request #751 from RustPython/scope_holds_dictionaries
Change types inside Scope to PyDictRef.
2019-03-26 09:33:31 -07:00
Adam Kelly
4a5592d461 Change types inside Scope to PyDictRef. 2019-03-26 15:16:49 +00:00
Adam
e68eb9c409 Merge pull request #750 from RustPython/joey/cleanup-type-protocol
Clean up type protocol
2019-03-26 12:00:12 +00:00
Joey Hain
625d2357bd Fix wasm 2019-03-25 19:34:24 -07:00
Joey Hain
8bdc766bed Use name field directly 2019-03-25 19:32:58 -07:00
Joey Hain
6474a4a6ef Remove objtype::get_type_name() 2019-03-25 19:18:07 -07:00
Joey Hain
cc4f3fdb40 Clean up TypeProtocol 2019-03-25 19:18:01 -07:00
coolreader18
e819ca6b87 Merge branch 'master' into coolreader18/update-deps 2019-03-25 21:41:32 -04:00
coolreader18
ac2a5e281c Add comment explaining bytes -> Uint8Array conversion 2019-03-25 19:37:16 -05:00
Adam Kelly
17b816fbf8 Fix objset compilation error caused by merge race. 2019-03-25 20:37:47 +00:00
Adam
cac9da4c35 Merge pull request #748 from RustPython/attributes_and_dictionaries
Attributes and dictionaries
2019-03-25 20:30:46 +00:00
Windel Bouwman
20c09f025a Merge pull request #747 from adrian17/master
Update grcov
2019-03-25 20:41:39 +01:00
Windel Bouwman
6ae10ed938 Fix build and add extend_class macro usage for set and frozenset 2019-03-25 20:23:13 +01:00
Windel Bouwman
983be0f944 Merge pull request #725 from palaviv/frozen-set-2
frozenset
2019-03-25 19:54:52 +01:00
Windel Bouwman
e47032f9e4 Merge pull request #749 from adrian17/tests-cleanup
Tests cleanups
2019-03-25 19:38:11 +01:00
Adrian Wielgosik
2131a8130c Clean up some tests 2019-03-25 17:59:51 +01:00
Adrian Wielgosik
16e04cf298 Run rustpython tests without cargo middleman 2019-03-25 17:54:04 +01:00
Adrian Wielgosik
4ab59a8e4c Do not run benchmarks in the main test suite 2019-03-25 17:53:13 +01:00
Adrian Wielgosik
e44b02b88f Avoid trace log in tests 2019-03-25 17:52:37 +01:00
Adam Kelly
55e0fb1f19 AST class for nodes instead of just using object everywhere. 2019-03-25 16:39:25 +00:00
Adam Kelly
bbb7162472 Various dictionary changes.
* vm.ctx.new_dict returns a PyDictRef
* Special case for module goes away.
* Instances get a real dictionary.
2019-03-25 16:37:20 +00:00
Adrian Wielgosik
602f2a83da Update grcov 2019-03-25 17:35:21 +01:00
Adam Kelly
17c3f9f024 builtin_locals can just return a reference to the locals dict. 2019-03-25 16:34:07 +00:00
Adam Kelly
3562b8f59c Store class attributes inside PyClass struct. 2019-03-25 11:21:01 +00:00
Adam
9989795141 Merge pull request #742 from RustPython/emoji-support
Doing what is needed for all our non-latin friends.
2019-03-25 10:39:09 +00:00
Windel Bouwman
ca11e7dea7 Add support for emoji as name. 2019-03-24 20:16:38 +01:00
Joey
0409e8197b Merge pull request #744 from RustPython/joey/range-new-style
Convert range to new args style
2019-03-24 11:49:34 -07:00
Joey
f2d562a4cc pyint: use as_bigint() everywhere 2019-03-24 10:05:25 -07:00
Joey
9a0113deed range: represent w/ int refs 2019-03-24 09:59:06 -07:00
Joey
c2e1e9b0dc Convert range to new args style 2019-03-24 09:59:06 -07:00
coolreader18
565719dcda Update cargo dependencies 2019-03-24 11:26:41 -05:00
coolreader18
3b582760b4 Merge pull request #733 from RustPython/coolreader18/wasm-browser-dom
[WASM] Add PyDocument and PyElement classes to browser
2019-03-24 10:47:46 -05:00
Joey
9d78fa5df2 Merge pull request #719 from adrian17/type-subclasses
Type __subclasses__()
2019-03-24 08:22:11 -07:00
coolreader18
6450612bdf Merge branch 'master' into coolreader18/wasm-browser-dom 2019-03-24 08:54:51 -05:00
Windel Bouwman
d0c4fcb2fa Doing what is needed for all our non-latin friends. 2019-03-24 13:14:38 +01:00
Adrian Wielgosik
e39df6daef Basic implementation of T.__subclasses__().
Ideally, the weak list should be updated whenever a type is removed,
and the list shouldn't be a Vec, but this should be good enough for
starters.
2019-03-24 12:49:04 +01:00
Adrian Wielgosik
a895ab35ae Make PyWeak::downgrade take a reference 2019-03-24 11:56:15 +01:00
Adrian Wielgosik
9a6f7aa8a1 Make PyRef::clone not require T implementing Clone
It seems to be a weird consequence of using PhantomData,
so I just rolled a custom Clone.
2019-03-24 11:56:15 +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