Commit Graph

1690 Commits

Author SHA1 Message Date
Joey
cbcf7c3e75 Merge pull request #534 from AdamGS/new_float_attributes
Addred real property and is_integer function to float.
2019-02-23 22:19:37 -08:00
Joey Hain
2919d7f520 Initial arg type checking 2019-02-23 19:27:22 -08:00
Joey Hain
fb0384d24d Some prerequisite data types for arg checking 2019-02-23 18:16:24 -08:00
Joey Hain
a74cbbbe19 Impl PyNativeFuncFactory for up to 5-tuples 2019-02-23 18:16:18 -08:00
Joey Hain
c14a8302e8 Initial prototype of "extractor pattern" for native funcs 2019-02-23 18:16:02 -08:00
Adam Gutglick
f4e6e5dec8 Addred real property and is_integer function to float. 2019-02-24 04:02:24 +02:00
coolreader18
9d99f94a3f Add! 2019-02-23 16:21:10 -06:00
coolreader18
2b9adfea8a Add fetch demo snippet 2019-02-23 15:25:12 -06:00
coolreader18
7f626b50b9 Merge branch 'master' into wasm-fetch-builtin 2019-02-23 15:20:59 -06:00
Windel Bouwman
d44f1b3e29 Merge pull request #528 from coolreader18/multiple-demo-snippets
Allow for different demo snippets to be selected
2019-02-23 22:15:00 +01:00
coolreader18
ff66bb602e Follow clippy's advice 2019-02-23 15:05:52 -06:00
coolreader18
878c131af4 Make panic errors available and display them nicely for the demo 2019-02-23 14:52:02 -06:00
coolreader18
fd184a1e68 Add a WASM browser module with fetch() available 2019-02-23 13:58:19 -06:00
coolreader18
5a472e46aa Merge branch 'master' into wasm-fetch-builtin 2019-02-23 12:28:17 -06:00
coolreader18
6e8b88e1fd Add mandelbrot snippet 2019-02-23 11:05:51 -06:00
coolreader18
b89d95c4c6 Add fizzbuzz demo 2019-02-23 10:50:07 -06:00
coolreader18
4dde810e9c Move snippets directory 2019-02-23 10:22:36 -06:00
coolreader18
d02e8352ea Allow for multiple demo snippets to be selected 2019-02-23 09:17:00 -06:00
Windel Bouwman
c675a59288 Merge pull request #526 from palaviv/assertRaises
Add assertRaises context manager to testutils
2019-02-23 13:35:19 +01:00
Aviv Palivoda
b530733c1a Add assertRaises context manager to testutils 2019-02-23 13:11:26 +02:00
Windel Bouwman
7032de96d7 Merge pull request #311 from nhynes/compile-wasm
Allow compiling VM for wasm32-unknown-unknown
2019-02-23 10:42:09 +01:00
Windel Bouwman
b15ade1130 Merge pull request #267 from coolreader18/wasm-vm-class
Add a VirtualMachine class to the WASM library
2019-02-23 10:36:23 +01:00
Windel Bouwman
3f8f0e2ff4 Merge pull request #524 from palaviv/Improve-set-5
Add set.{__iter__,__ior__,__iand__,__isub__,__ixor__}
2019-02-23 08:50:26 +01:00
coolreader18
e0f222cf4f Don't hold on to a PyObjectRef from a python -> js closure 2019-02-23 00:20:15 -06:00
coolreader18
09e2a7a493 Add js_name for .set_stdout() 2019-02-23 00:02:12 -06:00
coolreader18
7fa0a0cee3 Fix open in new make_module 2019-02-22 22:59:15 -06:00
coolreader18
955d0b3a91 Merge branch 'master' into wasm-vm-class 2019-02-22 22:53:34 -06:00
coolreader18
65857e7261 Merge 2019-02-22 22:20:05 -06:00
Windel Bouwman
2d19486192 Merge pull request #520 from RustPython/py_module
Py module
2019-02-22 17:20:27 +01:00
Joey
2df741452b Merge pull request #523 from AdamGS/complex_and_ints_addition
Complex and ints addition
2019-02-22 07:34:47 -08:00
Aviv Palivoda
fc10560308 Add set.{__ior__,__iand__,__isub__,__ixor__} 2019-02-22 16:50:40 +02:00
Aviv Palivoda
7cf25440fa Add set.__iter__ 2019-02-22 16:25:55 +02:00
Adam Gutglick
f333c75fd6 Added the ability to do addition between complex numbers and ints. 2019-02-22 08:42:44 -05:00
coolreader18
9e176902b9 Use crate:: imports 2019-02-21 23:25:05 -06:00
Joey
c22fb58437 Merge pull request #521 from chapeupreto/patch-1
fix typos
2019-02-21 19:06:47 -08:00
Rod Elias
b518867220 fix typos 2019-02-21 23:41:43 -03:00
Adam Gutglick
38b4c10833 Added the ability to do addition between complex numbers and ints. 2019-02-21 19:28:46 -05:00
Joey
8f37b9f443 Merge pull request #519 from AdamGS/testutil_back_comp
Backwards compitability for python 3.5 to run tests.
2019-02-21 14:31:03 -08:00
Adam Kelly
0cbcc70359 builtins - use py_module. 2019-02-21 21:14:08 +00:00
Adam Kelly
2ab90b234a Fix unused variable warning in objint. 2019-02-21 21:05:46 +00:00
Adam Kelly
2c97a50e6e sys - use py_module. 2019-02-21 21:05:00 +00:00
Adam Kelly
d420c7f400 dis - use py_module. 2019-02-21 21:04:42 +00:00
Adam Gutglick
999ca431d5 Fixed typo. 2019-02-21 16:03:07 -05:00
Adam Gutglick
365680c272 Changed to syntax RustPython supports. 2019-02-21 15:55:18 -05:00
Windel Bouwman
7dd1eec936 Merge pull request #517 from palaviv/set-more-funcs
Add set.{pop,update,intersection_update,difference_update,symmetric_difference_update}
2019-02-21 20:53:41 +01:00
Windel Bouwman
565023f55b Merge pull request #518 from AdamGS/add_int_attributes
Added real/imag attributes to int type.
2019-02-21 20:52:06 +01:00
Windel Bouwman
5bd2db817f Merge pull request #516 from RustPython/joey/argcheck-objtype
Don't require objtype import to use arg_check! macro
2019-02-21 20:49:14 +01:00
Adam Gutglick
81a9e6984d Changed syntax in testutils.py that is introduced in 3.6 to a backwards compatible version. 2019-02-21 14:47:36 -05:00
Windel Bouwman
2c1afc4ef0 Merge pull request #513 from RustPython/py_module_macro
Py module macro
2019-02-21 20:47:35 +01:00
Windel Bouwman
1d3db316da Merge pull request #512 from RustPython/mod_dis
Mod dis
2019-02-21 20:44:27 +01:00