Commit Graph

588 Commits

Author SHA1 Message Date
jgirardet
ec98b4d6bf repr len eq 2019-04-07 22:36:13 +02:00
jgirardet
2eb8e7bf2b new ok for pybytes 2019-04-07 18:55:35 +02:00
Windel Bouwman
59d8612cfa Merge pull request #782 from skinny121/abc_module
Add abc module from CPython
2019-04-05 17:05:45 +02:00
Adam Kelly
77d5f57df1 Add some additional dictionary tests. 2019-04-05 14:36:19 +01:00
Adam Kelly
b943f4a4bb Historic real proper dictionary support. 2019-04-05 09:50:31 +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
ben
c01dc5310a Add callback parameter to weakref, at the moment this callback isn't yet
implement though.
2019-04-04 20:11:53 +13:00
ben
ea872521d6 Make object by default hashable 2019-04-04 20:11:53 +13:00
ben
0bd08618af Change _py_abc to workaround current issue, and run test with PYTHONPATH
linking to Lib directory.
2019-04-04 20:11:53 +13:00
ben
39d4d64a4c Copy abc and dependent python files over from CPython 3.7 branch 2019-04-04 20:11:53 +13:00
Windel Bouwman
29a137bf0f Drop testlist2. Also add test cases for trailing comma in for statement and tuple addition example. 2019-04-03 22:24:19 +02:00
coolreader18
c6e875f209 Merge pull request #773 from RustPython/coolreader18/whats_left-overhaul
Redo much of whats_left_to_implement.py
2019-04-03 10:29:33 -05:00
coolreader18
e078614e05 Change to classes and remove unnecesary if 2019-04-03 08:50:55 -05:00
Windel Bouwman
23f57f757c Improve trailing comma situation 2019-04-03 14:08:12 +02:00
Adrian Wielgosik
2fb3fc92ec Support chained comparisons 2019-04-02 23:22:54 +02:00
coolreader18
9ff1e41422 Give values instead of types, list comprehension, remove methods not in CPython 2019-04-01 18:28:15 -05:00
coolreader18
6276241d59 Redo much of whats_left_to_implement.py 2019-04-01 18:12:28 -05:00
Adrian Wielgosik
2f2a8438b5 Add iterable tests 2019-04-01 19:45:20 +02:00
Aviv Palivoda
6d53fe6924 Add more tests for class 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
c76b31866d Add more tests for function doc 2019-03-31 18:52:27 +03:00
Aviv Palivoda
f994f8660e Function support __doc__ 2019-03-31 18:51:57 +03:00
Windel Bouwman
69c81730d3 Merge pull request #760 from RustPython/parser-fixes
Add support for trailing comma in function defs. Parser code simplica…
2019-03-31 10:57:51 +02:00
Joey Hain
c2d04f97d8 bytes: add tests for NotImplemented 2019-03-30 13:33:50 -07:00
ben
b5dc5a28e7 Merge branch 'master' into int_new_args
# Conflicts:
#	vm/src/function.rs
2019-03-29 18:51:19 +13:00
Windel Bouwman
73cd680d8d Add support for trailing comma in function defs. Parser code simplications. 2019-03-28 17:50:41 +01:00
Joey Hain
62842e6d19 convert some builtins 2019-03-27 19:01:13 -07:00
ben
3ca387b509 Enhance FromArgs derive proc macro to allow positional, and positional
or keyword arguments.
2019-03-28 05:55:15 +13:00
Adrian Wielgosik
c5203a4934 Remove .gcno files before a coverage run 2019-03-26 19:00:06 +01:00
Windel Bouwman
20c09f025a Merge pull request #747 from adrian17/master
Update grcov
2019-03-25 20:41:39 +01:00
Windel Bouwman
983be0f944 Merge pull request #725 from palaviv/frozen-set-2
frozenset
2019-03-25 19:54:52 +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
Adrian Wielgosik
602f2a83da Update grcov 2019-03-25 17:35:21 +01: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
Joey
9a0113deed range: represent w/ int refs 2019-03-24 09:59:06 -07: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
Aviv Palivoda
2f9a49d077 Support classmethod super 2019-03-23 19:56:00 +02:00
Aviv Palivoda
2626a800ab Support frozenset 2019-03-23 17:27:33 +02:00
Aviv Palivoda
84e89d37e2 Use __class__ cell in super 2019-03-22 16:37:28 +02:00
Aviv Palivoda
6230a25c4b Use first argument in super 2019-03-22 16:37:28 +02:00
ben
4ad8d5ed9b Make property.__get__ owner parameter optional 2019-03-21 19:57:35 +13:00
ben
a5f6a7b10d Implement calling __set__ and __delete__ 2019-03-21 19:34:47 +13:00
Adam Kelly
1958e47022 Add __class__ cell to method scopes. 2019-03-20 09:20:28 +00:00
ben
a5050ebafe Make property return itself if invoke by class binding 2019-03-20 19:58:54 +13:00
ben
48dd507cad Remove dict from object 2019-03-20 19:58:46 +13:00
ben
c77b1f3cf5 Fix bug with __getattr__ 2019-03-20 19:56:25 +13:00