@basthon/kernel-python3 0.36.8 → 0.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/basthon.js +1 -1
- package/lib/dist/modules/IPython-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/graphviz-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/ipythonblocks-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/ivp-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/lolviz-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/p5-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/proj4py-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/rcviz-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/requests-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/turtle-0.0.1-py3-none-any.whl +0 -0
- package/lib/dist/modules/tutor-0.0.1-py3-none-any.whl +0 -0
- package/lib/kernel.d.ts +1 -1
- package/lib/kernel.js +5 -1
- package/package.json +3 -3
package/lib/dist/basthon.js
CHANGED
|
@@ -175,6 +175,6 @@ Module['FS_createPath']('/lib/python3.8/site-packages', 'basthon', true, true);
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
}
|
|
178
|
-
loadPackage({"files": [{"filename": "/lib/python3.8/site-packages/basthon/utils.py", "start": 0, "end": 2379, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_patch_modules.py", "start": 2379, "end": 14111, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_pyodide_base.py", "start": 14111, "end": 27245, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_patch_builtins.py", "start": 27245, "end": 29523, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_pyodide_console.py", "start": 29523, "end": 41118, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/kernel.py", "start": 41118, "end": 45592, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_console.py", "start": 45592, "end": 50508, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/packages.py", "start": 50508, "end": 56744, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/__init__.py", "start": 56744, "end": 57082, "audio": 0}], "remote_package_size": 38303, "package_uuid": "
|
|
178
|
+
loadPackage({"files": [{"filename": "/lib/python3.8/site-packages/basthon/utils.py", "start": 0, "end": 2379, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_patch_modules.py", "start": 2379, "end": 14111, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_pyodide_base.py", "start": 14111, "end": 27245, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_patch_builtins.py", "start": 27245, "end": 29523, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_pyodide_console.py", "start": 29523, "end": 41118, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/kernel.py", "start": 41118, "end": 45592, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/_console.py", "start": 45592, "end": 50508, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/packages.py", "start": 50508, "end": 56744, "audio": 0}, {"filename": "/lib/python3.8/site-packages/basthon/__init__.py", "start": 56744, "end": 57082, "audio": 0}], "remote_package_size": 38303, "package_uuid": "7927cb41-0d91-4115-b7ae-4ac53c721afc"});
|
|
179
179
|
|
|
180
180
|
})();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/kernel.d.ts
CHANGED
package/lib/kernel.js
CHANGED
|
@@ -130,7 +130,11 @@ export class KernelPython3 extends KernelBase {
|
|
|
130
130
|
* Mimic the CPython's REPL banner.
|
|
131
131
|
*/
|
|
132
132
|
banner() {
|
|
133
|
-
return this.__kernel__.banner();
|
|
133
|
+
/* We don't return this.__kernel__.banner();
|
|
134
|
+
* since the banner should be available ASAP.
|
|
135
|
+
* In tests, we check this.banner() === this.__kernel__.banner().
|
|
136
|
+
*/
|
|
137
|
+
return `Python 3.8.2 (default, Dec 25 2020 21:20:57) on WebAssembly VM\nType "help", "copyright", "credits" or "license" for more information.`;
|
|
134
138
|
}
|
|
135
139
|
/**
|
|
136
140
|
* Complete a code at the end (usefull for tab completion).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basthon/kernel-python3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.1",
|
|
4
4
|
"description": "Basthon - Python3 Kernel",
|
|
5
5
|
"homepage": "https://basthon.fr",
|
|
6
6
|
"bugs": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"clean": "make clean"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@basthon/kernel-base": "^0.
|
|
28
|
+
"@basthon/kernel-base": "^0.37.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"gulp": "^4.0.2",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "e96962e6c2ff24f205c3c8d6f92f133181890ab1"
|
|
44
44
|
}
|