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 |
|
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
|
e5615593bd
|
Merge pull request #139 from RustPython/with
With statement implementation
|
2018-09-12 20:35:14 +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
|
7b005c75a3
|
Merge branch 'master' of https://github.com/RustPython/RustPython into with
|
2018-09-12 19:05:29 +02:00 |
|
Windel Bouwman
|
8a28d1f2fc
|
Merge pull request #142 from OddBloke/clippy
Accept slices to function calls
|
2018-09-12 19:05:12 +02:00 |
|
rmliddle
|
77772abedf
|
div_mod attribute on float and int
|
2018-09-12 22:56:57 +10:00 |
|
Daniel Watkins
|
23910f78e7
|
Accept slices to function calls
Instead of allocated types, per [0].
[0] https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#ptr_arg
|
2018-09-11 15:05:33 -04:00 |
|
Windel Bouwman
|
797e7f341f
|
Merge branch 'master' of https://github.com/RustPython/RustPython into with
|
2018-09-11 19:21:13 +02:00 |
|
Windel Bouwman
|
6388891ac6
|
Merge pull request #141 from OddBloke/clippy
Apply some clippy lints
|
2018-09-11 19:20:43 +02:00 |
|
Windel Bouwman
|
28d58550df
|
Merge pull request #140 from OddBloke/import
Cache imported modules in sys.modules
|
2018-09-11 19:19:36 +02:00 |
|
rmliddle
|
256d518c4a
|
floordiv, float mod
|
2018-09-11 21:56:08 +10:00 |
|
Daniel Watkins
|
5a27e34e4c
|
Pass label by value to VirtualMachine.jump()
Per [0], this is more efficient for usize.
[0] https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#trivially_copy_pass_by_ref
|
2018-09-11 00:11:03 -04:00 |
|
Daniel Watkins
|
5a68005388
|
Remove needless .ok() calls in main.rs
|
2018-09-11 00:11:03 -04:00 |
|
Daniel Watkins
|
d88917f5a2
|
Remove needless clone of scope in main.rs
|
2018-09-11 00:11:03 -04:00 |
|
Daniel Watkins
|
ea7f6b4d37
|
Pass a string slice around in main.rs
We only need to convert it to a String once we're passing it in to
compile::compile.
|
2018-09-11 00:11:03 -04:00 |
|