Éloi Rivard
|
b18156ac21
|
Added set object membership test
|
2018-10-17 19:39:17 +02:00 |
|
Windel Bouwman
|
77a4369b61
|
Merge pull request #164 from azmeuk/max
max and min snippets
|
2018-10-17 16:32:29 +02:00 |
|
Éloi Rivard
|
abf113798f
|
Added builtin max and min snippets
|
2018-10-17 14:06:25 +02:00 |
|
Éloi Rivard
|
e415ee1fbf
|
Basic membership implementation
|
2018-10-17 13:57:38 +02:00 |
|
Windel Bouwman
|
c9aa103cce
|
Change target of for loops into single expression.
|
2018-10-17 13:12:04 +02:00 |
|
Windel Bouwman
|
6105a836ad
|
Initial variant of list comprehensions
|
2018-10-17 12:05:10 +02:00 |
|
Windel Bouwman
|
adfb750129
|
Added ternary if operator
|
2018-10-17 08:45:16 +02:00 |
|
Éloi Rivard
|
3e7f168359
|
builtin ord basic implementation. Fixes #151
|
2018-10-16 19:17:49 +02:00 |
|
Windel Bouwman
|
3eafcbec3d
|
Add decorator functionality
|
2018-10-14 20:04:19 +02:00 |
|
Windel Bouwman
|
133d72fcb1
|
Add tokenize module. Change call_method to take a reference to a PyObjectRef. Add new method to list class.
|
2018-10-14 15:21:48 +02:00 |
|
Windel Bouwman
|
bccb6f3bf5
|
Add draft re module
|
2018-10-14 10:59:00 +02:00 |
|
Windel Bouwman
|
82af5b2981
|
Add struct unpack function
|
2018-10-14 09:43:09 +02:00 |
|
Windel Bouwman
|
5e27cc45b0
|
Initial struct module
|
2018-10-13 22:04:49 +02:00 |
|
Windel Bouwman
|
70c7f275cb
|
Create spiffy macro to generate math functions.
|
2018-10-10 19:15:36 +02:00 |
|
rmliddle
|
e7942264d6
|
added __name__ to scope
|
2018-10-10 22:12:30 +11:00 |
|
Windel Bouwman
|
d650476f85
|
Add additional methods to string objects
|
2018-09-29 10:31:59 +02:00 |
|
Windel Bouwman
|
dd7b4a086a
|
Merge pull request #143 from RustPython/with
Add prototype of context manager handling during exceptions.
|
2018-09-19 10:36:06 +02:00 |
|
Daniel Watkins
|
d438ddcdfd
|
Merge pull request #144 from rmliddle/added_builtins
Added builtins
|
2018-09-12 22:01:37 -04:00 |
|
rmliddle
|
1e1e9d2669
|
divmod builtin
|
2018-09-13 08:00:52 +10:00 |
|
Windel Bouwman
|
1110bdeb79
|
Add prototype of context manager handling during exceptions.
|
2018-09-12 21:26:26 +02:00 |
|
Windel Bouwman
|
013964549b
|
Add example with two context managers in a single with statement
|
2018-09-12 19:25:21 +02:00 |
|
Windel Bouwman
|
638af166df
|
Process review comments
|
2018-09-12 19:13:34 +02:00 |
|
Windel Bouwman
|
0f148e1214
|
Merge branch 'master' of https://github.com/RustPython/RustPython into with
|
2018-09-10 20:10:38 +02:00 |
|
Windel Bouwman
|
1eab9165bf
|
Initial work on 'with' context manager logic
|
2018-09-10 20:10:31 +02:00 |
|
Windel Bouwman
|
803a823d51
|
Merge pull request #138 from RustPython/assignment
Assignment
|
2018-09-10 19:45:22 +02:00 |
|
rmliddle
|
43489bed4c
|
added abs builtin, __abs__ attributes on float and int objects
|
2018-09-10 23:01:07 +10:00 |
|
Adam Kelly
|
b48d77b78e
|
Add tests to check assignment works with tuple unpacking.
|
2018-09-09 21:19:27 +01:00 |
|
Windel Bouwman
|
0acfc10a09
|
Merge with master branch
|
2018-09-09 20:36:42 +02:00 |
|
Windel Bouwman
|
9f06835ca0
|
Add built-ins next and iter
|
2018-09-09 20:35:48 +02:00 |
|
rmliddle
|
abba4ae9cc
|
implemented pow builtin
|
2018-09-09 00:05:13 +10:00 |
|
Windel Bouwman
|
da7745cf27
|
Fix module type
|
2018-09-05 14:31:06 +02:00 |
|
Windel Bouwman
|
f914b4848f
|
Add two asserts to the ast snippets to check attributes of ast nodes.
|
2018-09-05 12:36:28 +02:00 |
|
Windel Bouwman
|
6293117886
|
Initial attempt at ast builtin module
|
2018-09-04 21:07:57 +02:00 |
|
Adam Kelly
|
6068ef6a7a
|
Update json tests to use is.
|
2018-09-03 19:24:02 +01:00 |
|
cthulahoops
|
9394fec620
|
Merge pull request #128 from OddBloke/json
Create objects with correct types in json.rs
|
2018-09-03 19:00:25 +01:00 |
|
Daniel Watkins
|
10f0ef33d6
|
Implement no-args int() construction
|
2018-09-02 17:00:35 -04:00 |
|
Daniel Watkins
|
8c167ac4f5
|
Clean up unwrapping of string objects in json.loads
|
2018-09-02 16:49:50 -04:00 |
|
Daniel Watkins
|
91a6989515
|
Remove completed TODO
|
2018-09-02 14:13:02 -04:00 |
|
Daniel Watkins
|
0e33aa397a
|
Create objects with correct types in json.rs
Fixes #120.
|
2018-09-02 14:13:02 -04:00 |
|
Adam Kelly
|
a7af78be54
|
Merge branch 'master' into repr
|
2018-09-02 18:11:37 +01:00 |
|
Adam Kelly
|
04b73d4628
|
Bool is a subclass of int, so doesn't need a special kind.
|
2018-09-02 14:10:36 +01:00 |
|
Adam Kelly
|
8816e5d362
|
Implement more complete version of str_repr.
|
2018-09-02 13:05:03 +01:00 |
|
Adam Kelly
|
7277e63a53
|
Add vm.to_repr and call for formatting list/tuple/dict elements.
|
2018-09-02 12:09:57 +01:00 |
|
Adam Kelly
|
ec0eb47fc6
|
Add snippet to check that int.__init__ doesn't mutate int.
|
2018-09-02 10:59:42 +01:00 |
|
Adam Kelly
|
dc021fd1f2
|
Json library produces invalid objects - commenting broken tests.
|
2018-09-01 21:54:19 +01:00 |
|
Adam Kelly
|
8d8816ce04
|
Merge branch 'master' into equality
|
2018-09-01 20:46:22 +01:00 |
|
Adam Kelly
|
8780d58857
|
Define __eq__ for lists and tuples.
|
2018-09-01 17:10:00 +01:00 |
|
Adam Kelly
|
28f8cdbda9
|
Define __eq__ for basic types.
|
2018-09-01 17:09:20 +01:00 |
|
Windel Bouwman
|
5cdd0ab7b8
|
Check list elements on int type
|
2018-09-01 09:54:58 +02:00 |
|
Windel Bouwman
|
999c6258e6
|
Merge branch 'master' of https://github.com/RustPython/RustPython into objtyp
|
2018-09-01 09:26:08 +02:00 |
|