Issue type
Bug
How did you install PythonMonkey?
From source
OS platform and distribution
Linux Ubuntu 22.04
Python version (python --version)
3.10.6
PythonMonkey version
0.0.1.dev997+1eb8832
Bug Description
When you pass a JavaScript array to Python, it will coerce to a JsObjectProxy instead of a List which is specified in the readme documentation here. Perhaps the documentation should change if this should be the case.
Standalone code to reproduce the issue
>>> type(pm.eval('[]'))
<class 'pythonmonkey.JSObjectProxy'>
Relevant log output or backtrace
Additional info if applicable
Wes said I should make sure @caleb-distributive sees this (internal Distributive slack link --> https://dstrbtv.slack.com/archives/C03RNFRL4NQ/p1689342401559729)
What branch of PythonMonkey were you developing on? (If applicable)
feature/js-test-coverage
Issue type
Bug
How did you install PythonMonkey?
From source
OS platform and distribution
Linux Ubuntu 22.04
Python version (
python --version)3.10.6
PythonMonkey version
0.0.1.dev997+1eb8832
Bug Description
When you pass a JavaScript array to Python, it will coerce to a JsObjectProxy instead of a List which is specified in the readme documentation here. Perhaps the documentation should change if this should be the case.
Standalone code to reproduce the issue
Relevant log output or backtrace
Additional info if applicable
Wes said I should make sure @caleb-distributive sees this (internal Distributive slack link --> https://dstrbtv.slack.com/archives/C03RNFRL4NQ/p1689342401559729)What branch of PythonMonkey were you developing on? (If applicable)
feature/js-test-coverage