Commit Graph

1690 Commits

Author SHA1 Message Date
É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
7f263d14f3 Implement multilevel list comprehensions 2018-10-17 13:28:52 +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
Windel Bouwman
c7b4984ae8 Merge pull request #161 from azmeuk/5>
Restored the 5> in the repl prompt
2018-10-16 23:30:49 +02:00
Windel Bouwman
c4bdb63af0 Merge branch 'master' of https://github.com/RustPython/RustPython 2018-10-16 23:26:47 +02:00
Windel Bouwman
7728ee1e63 Minor change to keyword arguments in function call 2018-10-16 23:26:37 +02:00
Éloi Rivard
ba9483d96c Restored the 5> in the repl prompt 2018-10-16 23:01:38 +02:00
Windel Bouwman
de6fabfa1f Merge pull request #160 from azmeuk/repl
Basic repl based on rustyline
2018-10-16 22:02:04 +02:00
Windel Bouwman
50fdda4900 Merge pull request #154 from cgm616/builtins
Add max and min builtins
2018-10-16 21:52:17 +02:00
Windel Bouwman
950ef7e86f Merge branch 'master' into builtins 2018-10-16 21:51:42 +02:00
Windel Bouwman
75d73e6263 Merge pull request #159 from azmeuk/builtin_ord
builtin ord basic implementation. Fixes #151
2018-10-16 21:43:07 +02:00
Éloi Rivard
4e72c5204f Basic repl based on rustyline 2018-10-16 20:57:51 +02:00
Éloi Rivard
3e7f168359 builtin ord basic implementation. Fixes #151 2018-10-16 19:17:49 +02:00
rmliddle
302784df51 sysmod.argv added + snippet 2018-10-16 23:02:09 +11:00
cgm616
2ca0a39a4c Add tests for new max and min 2018-10-15 18:06:06 -04:00
Windel Bouwman
2f424eb713 Merge pull request #156 from gabhijit/23_update_readme_for_python3
Updated README to reflect Python 3 support explicitly #23
2018-10-15 19:11:26 +02:00
Abhijit Gadgil
277ffa614e Updated README to reflect Python 3 support explicitly 2018-10-15 13:43:13 +05:30
cgm616
62bb15faef Add max and min builtins 2018-10-15 01:02:56 -04: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
8503a80433 Add initial types module 2018-10-14 13:09:44 +02:00
Windel Bouwman
d3b0c872ec Add additional math functions to math module 2018-10-14 12:17:36 +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
cef6707bef Initial structure for io module 2018-10-13 11:36:51 +02:00
Windel Bouwman
ce91a25106 Added -m option to main program. 2018-10-13 11:17:09 +02:00
Windel Bouwman
bc60969091 Update formatting and readme file 2018-10-13 09:44:42 +02:00
Windel Bouwman
c94c5f7049 Add keyword module 2018-10-10 19:40:52 +02:00
Windel Bouwman
70c7f275cb Create spiffy macro to generate math functions. 2018-10-10 19:15:36 +02:00
Windel Bouwman
e782342d36 Add initial math module 2018-10-10 18:54:19 +02:00
Windel Bouwman
204e2e3e56 Merge pull request #150 from almarklein/master
Improve behavior wrt errors during import
2018-10-10 18:41:29 +02:00
Windel Bouwman
75ab46e933 Merge pull request #149 from rmliddle/added-__name__-to-scope
Added name to scope
2018-10-10 18:38:05 +02:00
Almar Klein
2330534fff improve multiline command behavior + setup for using sys.ps1 and sys.ps 2018-10-10 14:41:45 +02:00
Almar Klein
c95caa1e6e Fix multiline input on Windows 2018-10-10 14:02:10 +02:00
Almar Klein
22a961075b Improve behavior wrt errors during import 2018-10-10 13:32:47 +02:00
rmliddle
cb0ca5cd61 set __name__ on import 2018-10-10 22:18:19 +11: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
2d7b0e0d4b Moved objbool into obj folder 2018-09-29 09:38:07 +02:00
Windel Bouwman
a3af930787 Merge pull request #145 from rmliddle/minor-readme-cleanup
Minor readme cleanup
2018-09-23 12:12:11 +02:00
rmliddle
0f4aeeb4cf Added license badge 2018-09-23 16:39:00 +10:00
rmliddle
4035f4da16 highlighting on code org 2018-09-23 16:31:36 +10:00
rmliddle
c9fdc68937 readme and example change 2018-09-23 16:25:48 +10: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
e19c3c113b removed commented out function in builtins 2018-09-13 08:07:52 +10:00