Windel Bouwman
|
42dca4433a
|
Implement do_eq for String impl of DictKey. Also move get_item_option to dict type.
|
2019-07-28 21:39:21 +02:00 |
|
Noah
|
c9985499ea
|
Add empty tuple optimization (#1178)
* Add empty tuple optimization
* Add test snippet for empty tuple
|
2019-07-25 17:10:16 +02:00 |
|
Noah
|
a91470d67e
|
Merge pull request #1171 from mpajkowski/iter_str
Implement str iterator support
|
2019-07-24 15:50:32 -04:00 |
|
Windel Bouwman
|
881baf6397
|
Update flame trace names.
|
2019-07-24 16:36:45 +02:00 |
|
Marcin Pajkowski
|
db8eb7b8c3
|
Implement str.__iter__ and str.__next__
|
2019-07-24 03:17:05 +02:00 |
|
Windel Bouwman
|
f994b0580f
|
Move get_item_option back into ItemProtocol
|
2019-07-23 23:31:09 +02:00 |
|
Windel Bouwman
|
e138a7303d
|
Move get_item_option to PyDictRef struct.
|
2019-07-23 21:27:37 +02:00 |
|
Windel Bouwman
|
f7320cf545
|
Move Scope struct to its own file, making the frame module private in the process.
|
2019-07-23 20:39:47 +02:00 |
|
Windel Bouwman
|
25816a2775
|
Add some extra profiling trace points.
|
2019-07-23 19:55:04 +02:00 |
|
Adolfo Gonzalez III
|
18b0f631ac
|
Ran cargo fmt --all
|
2019-07-20 20:24:43 -05:00 |
|
Adolfo Gonzalez III
|
b7c035fdde
|
Implemented list.__reversed__
|
2019-07-19 16:08:16 -05:00 |
|
coolreader18
|
29e046f457
|
Add flamegraph profiling
|
2019-07-08 18:52:57 -05:00 |
|
coolreader18
|
298b05d56d
|
Don't convert errors from js to python
|
2019-06-21 20:20:21 -05:00 |
|
Aviv Palivoda
|
60e799727f
|
Support reversed on sequence
|
2019-06-14 15:25:24 +03:00 |
|
Maxim Kurnikov
|
8a5182a8a1
|
make get_method_or_type_error() error message lazy
|
2019-06-07 16:08:37 +03:00 |
|
Maxim Kurnikov
|
3bfd66bb89
|
make some exception messages more compatible with CPython, split get_method() into two methods and make raising TypeError more explicit for get_method() errors
|
2019-06-03 19:46:32 +03:00 |
|
Maxim Kurnikov
|
3b5cc1ad2f
|
more doc comments, split with_exit() method for context manager __exit__ into two methods
|
2019-06-02 01:37:25 +03:00 |
|
Maxim Kurnikov
|
bc35a64e54
|
fix most of clippy warnings
|
2019-06-01 03:19:22 +03:00 |
|
Daniel Shaulov
|
b2f17a18ea
|
Add support for marshal with loads and dumps
|
2019-05-27 22:09:47 +03:00 |
|
Maxim Kurnikov
|
0098e8485a
|
move PyFuncArgs.kwargs to IndexMap
|
2019-05-22 03:18:15 +03:00 |
|
ben
|
60c9d5004a
|
Add SimpleNamespace and sys.implementation
|
2019-05-19 15:01:22 +12:00 |
|
Jeong YunWon
|
509394080b
|
Inject __builtins__ to scope only when it doesn't exist
|
2019-05-11 03:05:18 +09:00 |
|
Adam Kelly
|
65d602571d
|
Create mappingproxy type with __getitem__ and __contains__.
|
2019-05-02 16:45:00 +01:00 |
|
Adam Kelly
|
1a48fb17df
|
Add PyContext.new_classmethod
|
2019-04-25 09:07:17 +01:00 |
|
coolreader18
|
a6f3b9a5ff
|
Add PyCallable
|
2019-04-19 10:14:57 -05:00 |
|
coolreader18
|
cc76bf7a1f
|
Add weakproxy class
|
2019-04-14 20:09:43 -05:00 |
|
ben
|
d24dd170e9
|
Changes to RustPython to support importing and running unittest
|
2019-04-14 12:09:54 +12:00 |
|
ben
|
6650ad895a
|
Fix a bunch of clippy warnings
|
2019-04-14 10:07:50 +12:00 |
|
Adam
|
31fd2936c5
|
Merge pull request #796 from RustPython/dict_iters
Dict iters
|
2019-04-09 11:11:14 +01:00 |
|
Adam
|
39042e6475
|
Merge pull request #805 from Ryex/ryex-list.__setitem__
implement list.__setitem__ with slice and int indexing
|
2019-04-09 10:24:48 +01:00 |
|
Rachel Powers
|
4c50defa37
|
extend PyIterable::try_from_object to work with sequences
|
2019-04-08 13:46:23 -06:00 |
|
Adam Kelly
|
2d127b9834
|
Use macro to generate full set of views and iterators.
|
2019-04-08 12:11:59 +01:00 |
|
Adam Kelly
|
5c4755ffd7
|
Separate iterators for items/keys/values.
|
2019-04-08 11:08:45 +01:00 |
|
Adam Kelly
|
9c32de954b
|
Add iterator for dictionary keys.
|
2019-04-08 10:35:09 +01:00 |
|
ben
|
5fd3cf2bcd
|
Implemented keyword only defaults
|
2019-04-07 07:38:42 +12:00 |
|
Adam Kelly
|
7b2d92f495
|
Delete DictProtocol. impl ItemProtocol for PyDictRef.
|
2019-04-06 10:15:29 +01:00 |
|
Adam Kelly
|
f354f4ce02
|
Move contains_key to PyDictRef.
|
2019-04-05 16:18:10 +01:00 |
|
Adam Kelly
|
ec94168a15
|
Remove objdict::get_key_value_pairs.
|
2019-04-05 16:16:55 +01:00 |
|
Adam Kelly
|
b943f4a4bb
|
Historic real proper dictionary support.
|
2019-04-05 09:50:31 +01:00 |
|
Adam Kelly
|
7438b0685c
|
Changes suggested by code review.
|
2019-04-05 09:50:31 +01:00 |
|
Adam Kelly
|
c8eda3733d
|
Eliminate ctx.set_attr.
|
2019-04-05 09:50:31 +01:00 |
|
Adam Kelly
|
bce4f1e483
|
Simplify/shrink the dict interface.
|
2019-04-05 09:39:59 +01: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 |
|
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 |
|
coolreader18
|
53b46a7b32
|
Split some of #[pyclass] off into #[pyimpl]
|
2019-03-31 17:23:33 -05:00 |
|
coolreader18
|
ff85838556
|
Add #[py_class] attribute proc macro
|
2019-03-29 00:16:34 -05:00 |
|
Adam Kelly
|
4a5592d461
|
Change types inside Scope to PyDictRef.
|
2019-03-26 15:16:49 +00: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 |
|