Files
RustPython/tests/snippets
AgentMacklin 79a3b13252 Implement most of the string methods. (#239)
* implemented more functions

* backup

* Improve demo site

* Formatting; move the `+ '\n'` hack to eval().

* Rename run_code() to run_from_textbox()

* Switch to using json.dumps for py_to_js()

* Clarify names of wasm builtins

* Remove dependency on num_bigint

* Allow injecting JS variables into python with eval_py()

eval_py(`return js_vars["a"]`, { a: 9 }) == 9

* dict() now should work properly

e.g.
``` dict(a=2, b=3) == {"a": 2, "b": 3} ```

* Add documentation for eval_py() and update error message handling

Also, switch from iterating over the values of js_injections and
serializing each of them individually to asserting it's an object and
then just stringifying the whole thing.

* Finish revamping `dict_new()`

* Add 'from x import *' syntax.

This is a separate opcode in CPython so I added it as such here.

* Add test for dicts

* added functions

* ran rustfmt and fixed isidentifier

* fixed zfill and make_title

* python3.6 doesn't contain isascii()
2018-12-27 20:22:04 +01:00
..
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-08-14 22:44:55 +02:00
2018-09-09 20:35:48 +02:00
2018-11-03 11:32:21 +01:00
2018-08-07 23:49:42 -04:00
2018-09-13 08:00:52 +10:00
2018-12-16 16:21:40 -05:00
2018-07-09 22:06:49 +02:00
2018-09-09 00:05:13 +10:00
2018-08-15 12:58:18 +01:00
2018-08-20 21:37:21 +02:00
2018-11-07 09:41:16 +01:00
2018-08-11 23:37:01 -04:00
2018-10-27 17:05:22 +02:00
2018-11-02 22:04:18 +01:00
2018-10-14 20:04:19 +02:00
2018-10-20 11:47:23 +02:00
2018-12-22 00:04:13 -06:00
2018-08-05 10:32:25 -04:00
2018-10-28 00:36:51 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-10-17 08:45:16 +02:00
2018-10-27 17:05:22 +02:00
2018-07-09 22:06:49 +02:00
2018-10-10 22:12:30 +11:00
2018-12-22 22:40:02 -05:00
2018-12-22 22:40:02 -05:00
2018-12-16 17:11:37 -05:00
2018-09-09 20:35:48 +02:00
2018-09-03 19:24:02 +01:00
2018-12-16 12:22:31 +00:00
2018-07-09 22:06:49 +02:00
2018-10-17 19:39:17 +02:00
2018-11-02 22:09:12 +00:00
2018-07-09 22:06:49 +02:00
2018-09-01 17:10:00 +01:00
2018-10-10 22:12:30 +11:00
2018-08-12 20:20:56 +01:00
2018-07-09 22:06:49 +02:00
2018-10-14 10:59:00 +02:00
2018-10-14 09:43:09 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00
2018-07-09 22:06:49 +02:00