Skip to content

BF: Fix Auto->JS isinstance(list) to Array#7533

Merged
TEParsons merged 1 commit intopsychopy:releasefrom
stephenmjerge:fix/autojs-list-to-array
Jan 28, 2026
Merged

BF: Fix Auto->JS isinstance(list) to Array#7533
TEParsons merged 1 commit intopsychopy:releasefrom
stephenmjerge:fix/autojs-list-to-array

Conversation

@stephenmjerge
Copy link
Copy Markdown
Contributor

Fixes #7526

  • Translate isinstance(x, list) to instanceof Array in py2js transpiler
  • Add test to prevent regression

Test: python -m pytest psychopy/tests/test_experiment/test_py2js.py -k isinstance

@TEParsons TEParsons changed the base branch from 2025.1 to release January 28, 2026 13:33
@TEParsons TEParsons changed the title Fix Auto->JS isinstance(list) to Array BF: Fix Auto->JS isinstance(list) to Array Jan 28, 2026
@TEParsons TEParsons merged commit 748ab61 into psychopy:release Jan 28, 2026
1 check passed
@stephenmjerge stephenmjerge deleted the fix/autojs-list-to-array branch January 29, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants