You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
philippedistributive
changed the title
JSArrayProxy_iter and JSObjectProxy_iter should not create copies: implement true iterator types
JSArrayProxy_iter should not create copies: implement true iterator types
Jan 16, 2024
philippedistributive
changed the title
JSArrayProxy_iter should not create copies: implement true iterator types
JSArrayProxy_iter and JSObjectProxy_iter should not create copies: implement true iterator types
Jan 18, 2024
Issue type
Bug
How did you install PythonMonkey?
None
OS platform and distribution
No response
Python version (
python --version
)No response
PythonMonkey version (
pip show pythonmonkey
)No response
Bug Description
implement subtype of PyListIter_Type so that no copying is required as it is now
Standalone code to reproduce the issue
as well as
obj = pm.eval("({ a: 123, b: 'test' })")
result = []
for i in obj:
result.append(i)
Relevant log output or backtrace
No response
Additional info if applicable
No response
What branch of PythonMonkey were you developing on? (If applicable)
No response
The text was updated successfully, but these errors were encountered: