Adam Kelly
|
c8eda3733d
|
Eliminate ctx.set_attr.
|
2019-04-05 09:50:31 +01:00 |
|
Adam Kelly
|
25c17b4829
|
Change all the ctx.set_attr in ast.
|
2019-04-05 09:50:31 +01:00 |
|
Adam Kelly
|
f840bdcd7f
|
Generalise set_attr.
|
2019-04-05 09:39:59 +01:00 |
|
Adam Kelly
|
bce4f1e483
|
Simplify/shrink the dict interface.
|
2019-04-05 09:39:59 +01:00 |
|
Windel Bouwman
|
95cbb530d8
|
Merge pull request #779 from RustPython/syntax-enhancements
Improve trailing comma situation
|
2019-04-04 19:45:28 +02:00 |
|
Joey
|
1c958c93b1
|
Merge pull request #774 from RustPython/joey/match-class
Add match_class! macro
|
2019-04-04 07:13:31 -07:00 |
|
Joey Hain
|
88bf2a32c4
|
address feedback
|
2019-04-03 17:30:04 -07:00 |
|
Windel Bouwman
|
23f57f757c
|
Improve trailing comma situation
|
2019-04-03 14:08:12 +02:00 |
|
Windel Bouwman
|
a59db050ac
|
Merge pull request #776 from adrian17/comparisons
Support chained comparisons
|
2019-04-03 09:17:11 +02:00 |
|
Adrian Wielgosik
|
2fb3fc92ec
|
Support chained comparisons
|
2019-04-02 23:22:54 +02:00 |
|
Joey
|
6863c19fb7
|
complex: convert to new args style
|
2019-04-02 09:51:06 -07:00 |
|
Joey
|
75d02a1725
|
complex: move to impl block
|
2019-04-02 09:30:18 -07:00 |
|
coolreader18
|
a77b3489b7
|
Merge pull request #764 from RustPython/coolreader18/py_class-proc-macro
Add #[py_class] attribute proc macro
|
2019-04-01 23:17:38 -05:00 |
|
Joey Hain
|
8549ea22a3
|
Use match_class! in objint::to_int
|
2019-04-01 20:22:11 -07:00 |
|
Joey Hain
|
98889d5339
|
match_class! macro
|
2019-04-01 20:09:45 -07:00 |
|
Adrian Wielgosik
|
de5b1c4055
|
Support iter() for types with only __getitem__
|
2019-04-01 19:45:16 +02:00 |
|
Adrian Wielgosik
|
c918e9d5d3
|
Split iterators into separate types
|
2019-04-01 19:45:14 +02:00 |
|
Adrian Wielgosik
|
bbfca26b27
|
Move PyIteratorValue to objiter.rs
|
2019-04-01 19:45:10 +02:00 |
|
Adrian Wielgosik
|
cba8aa9be5
|
Drop iter_type_init, explicitly define __iter__ for iterators
|
2019-04-01 19:45:07 +02:00 |
|
Adrian Wielgosik
|
016ecf204d
|
Move iterator __contains__ to 'in' implementation
|
2019-04-01 19:45:00 +02:00 |
|
coolreader18
|
43b0760173
|
Merge branch 'master' into coolreader18/py_class-proc-macro
|
2019-03-31 21:16:25 -05:00 |
|
coolreader18
|
53b46a7b32
|
Split some of #[pyclass] off into #[pyimpl]
|
2019-03-31 17:23:33 -05:00 |
|
Aviv Palivoda
|
4e99350e5c
|
Use StoreAttr for __doc__
|
2019-03-31 18:52:27 +03:00 |
|
Aviv Palivoda
|
ab3cde77b4
|
Support class __doc__
|
2019-03-31 18:52:27 +03:00 |
|
Aviv Palivoda
|
f994f8660e
|
Function support __doc__
|
2019-03-31 18:51:57 +03:00 |
|
coolreader18
|
15cffc4d2b
|
Clean up a bit
|
2019-03-30 22:30:14 -05:00 |
|
coolreader18
|
f11f04da70
|
Split rustpython_derive into multiple files
|
2019-03-30 18:43:31 -05:00 |
|
Joey Hain
|
83c1d4fe10
|
Merge remote-tracking branch 'origin/master' into joey/convert-bytes
|
2019-03-30 13:31:43 -07:00 |
|
coolreader18
|
d9efe4ea37
|
Require a #[pymethod] for a method to be recognized
|
2019-03-29 16:16:31 -05:00 |
|
coolreader18
|
8376ec2d98
|
Use doc comments for python __doc__
|
2019-03-29 15:17:58 -05:00 |
|
coolreader18
|
ab6031871c
|
impl PyStringRef using py_class
|
2019-03-29 14:51:42 -05:00 |
|
coolreader18
|
4222d87e31
|
Merge branch 'master' into coolreader18/py_class-proc-macro
|
2019-03-29 13:55:08 -05:00 |
|
Joey
|
c5c91818a5
|
Merge pull request #755 from skinny121/int_new_args
Use new style args for int.__new__
|
2019-03-29 09:13:25 -07:00 |
|
coolreader18
|
c724fdaabe
|
Merge pull request #761 from adrian17/re
Convert re to new style args
|
2019-03-29 10:58:11 -04:00 |
|
ben
|
ce9a909b9d
|
Change kind identifier to fully use python terminology
|
2019-03-29 19:03:13 +13:00 |
|
ben
|
b5dc5a28e7
|
Merge branch 'master' into int_new_args
# Conflicts:
# vm/src/function.rs
|
2019-03-29 18:51:19 +13:00 |
|
coolreader18
|
ff85838556
|
Add #[py_class] attribute proc macro
|
2019-03-29 00:16:34 -05:00 |
|
Adrian Wielgosik
|
8f1ec3dd23
|
Convert slice::{start, stop, stop} to new args style
|
2019-03-28 23:08:46 +01: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 |
|
Adrian Wielgosik
|
792c6a103e
|
Convert re to new style args
|
2019-03-28 21:32:18 +01:00 |
|
Joey
|
149aefe470
|
Merge pull request #757 from RustPython/joey/convert-bytearray
bytearray: convert to new args style
|
2019-03-28 08:16:49 -07:00 |
|
ben
|
657d025592
|
Change syntax of attributes in FromArgs proc macro
|
2019-03-28 21:34:11 +13:00 |
|
Joey Hain
|
e0aca86473
|
bytes: convert methods to new args style
|
2019-03-27 19:23:23 -07:00 |
|
Joey Hain
|
e4272126cf
|
bytes: return NotImplemented where appropriate
|
2019-03-27 19:15:38 -07:00 |
|
Joey Hain
|
b0d7960cc5
|
bytes: move methods to impl block
|
2019-03-27 19:14:37 -07:00 |
|
Joey Hain
|
62842e6d19
|
convert some builtins
|
2019-03-27 19:01:13 -07:00 |
|
Joey
|
57fa041d08
|
bytearray: convert to new args style
|
2019-03-27 18:55:56 -07: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 |
|
ben
|
3ca387b509
|
Enhance FromArgs derive proc macro to allow positional, and positional
or keyword arguments.
|
2019-03-28 05:55:15 +13:00 |
|