Windel Bouwman
|
d0c4fcb2fa
|
Doing what is needed for all our non-latin friends.
|
2019-03-24 13:14:38 +01:00 |
|
Aviv Palivoda
|
2f9a49d077
|
Support classmethod super
|
2019-03-23 19:56:00 +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 |
|
ben
|
63d40edbc6
|
Added bunch af attribute has/get/set/delete tests and fixed getattr and
hasattr handling of exceptions.
|
2019-03-20 19:56:23 +13:00 |
|
Windel Bouwman
|
415f44da79
|
Merge pull request #673 from RustPython/string-io
Add write method to io.StringIO
|
2019-03-19 19:12:08 +01:00 |
|
Aviv Palivoda
|
50cc9fa91f
|
super works in class methods
|
2019-03-18 22:00:54 +02:00 |
|
Windel Bouwman
|
ac2aecd6fe
|
Disable file argument in test.
|
2019-03-18 20:00:55 +01:00 |
|
Windel Bouwman
|
18fc8c150b
|
Merge master
|
2019-03-18 20:00:00 +01:00 |
|
Chylli
|
6923490afc
|
more test
|
2019-03-16 13:55:29 +08:00 |
|
Chylli
|
144a8ae179
|
more test
|
2019-03-16 13:33:14 +08:00 |
|
Chylli
|
cf82a256da
|
test any
|
2019-03-16 11:16:09 +08:00 |
|
Adam Kelly
|
5b41cc4b0d
|
Fix subclasses of string. (Fixes #130)
|
2019-03-14 09:06:29 +00:00 |
|
ben
|
3f301bd684
|
Implement property attributes and functions
|
2019-03-14 17:19:43 +13:00 |
|
Windel Bouwman
|
c0b7ddfd2c
|
Add write method to io.StringIO
|
2019-03-13 13:32:57 +01:00 |
|
Windel Bouwman
|
f0e285d124
|
Merge pull request #665 from RustPython/type_mro
Type mro
|
2019-03-13 12:05:59 +01:00 |
|
Windel Bouwman
|
3cfee902ab
|
Merge pull request #630 from lili668668/dict_get
Implement dict.get
|
2019-03-12 19:59:25 +01:00 |
|
Adam Kelly
|
48fba05e20
|
Change .__mro__ to read-only attribute so type.__mro__ works.
|
2019-03-12 11:27:42 +00:00 |
|
Aviv Palivoda
|
a3823b4540
|
Test override __import__
|
2019-03-11 22:49:55 +02:00 |
|
Aviv Palivoda
|
87e6d8d13d
|
Add __import__
|
2019-03-11 22:29:50 +02:00 |
|
Adrian Wielgosik
|
b123e58c55
|
Support index in list.pop()
|
2019-03-11 00:31:26 +01:00 |
|
Adam Kelly
|
3fbf627582
|
Merge branch 'master' into scope_globals_locals
|
2019-03-10 13:00:03 +00:00 |
|
Adam Kelly
|
15aaa6d3f6
|
Add builtin_globals.
|
2019-03-10 12:51:34 +00:00 |
|
Adam Kelly
|
ddf4f55af7
|
Enable tests that now pass thanks to new scope scheme.
|
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 |
|
Roel Bruggink
|
8f6257b37f
|
Make open a context manager
|
2019-03-10 03:11:28 +01: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 |
|
Joey
|
1444a1f98c
|
Merge pull request #640 from RustPython/type_annotations2
Add __annotations__ attribute to functions.
|
2019-03-09 07:04:32 -08:00 |
|
Windel Bouwman
|
c1ddcbb05f
|
Merge pull request #632 from palaviv/socket-errors
Socket OSError
|
2019-03-09 11:55:03 +01:00 |
|
Windel Bouwman
|
3f492e5a3f
|
Add __annotations__ attribute to functions.
|
2019-03-09 11:48:35 +01:00 |
|
Aviv Palivoda
|
8df0e46c32
|
Try to fix windows CI errors
|
2019-03-09 09:29:33 +02:00 |
|
Adam
|
9a3b731894
|
Merge pull request #612 from RustPython/type_annotations2
Compile type annotations on function.
|
2019-03-08 21:34:40 +00:00 |
|
Aviv Palivoda
|
76c43457b5
|
Add more OSError exceptions to socket
|
2019-03-08 17:05:05 +02:00 |
|
Aviv Palivoda
|
de0e76baf8
|
socket connect and bind throws OSError with indicative error message
|
2019-03-08 16:43:11 +02:00 |
|
Aviv Palivoda
|
3fae8ccfbc
|
Handle unknown socket kind
|
2019-03-08 16:19:26 +02:00 |
|
Aviv Palivoda
|
40c10ab70a
|
Handle unknown address family
|
2019-03-08 16:16:59 +02:00 |
|
Adam
|
406ec46ce8
|
Merge pull request #619 from skinny121/class_property
Fix __class__
|
2019-03-08 06:47:55 +00:00 |
|
Tzu-Yin Hong
|
cdba098e70
|
Implement dict.get
|
2019-03-08 14:41:08 +08:00 |
|
Adrian Wielgosik
|
b81a0a16d8
|
Convert most remaining string methods to implicit args
Also support out-of-range start/end params for some functions.
|
2019-03-07 20:39:57 +01:00 |
|
Adam
|
cae87f6384
|
Merge pull request #604 from RustPython/unit-payload
Unit payload
|
2019-03-07 08:17:43 +00:00 |
|
ben
|
9d03abf652
|
Move __class__ attribute to object to make it work in more situations
|
2019-03-07 20:47:31 +13:00 |
|
Adam Kelly
|
10bbfc6a34
|
Implement dir via __dir__.
|
2019-03-06 19:05:18 +00:00 |
|
Adam Kelly
|
5afbfafa8b
|
Remove special case for None payload from boolval.
|
2019-03-06 16:04:26 +00:00 |
|