2024.8.2
版本发布时间: 2024-08-05 22:31:23
pyscript/pyscript最新发布版本:2024.8.2(2024-08-05 22:31:23)
Release notes
-
BREAKING CHANGE PyScript now uses a top level await by default. You used to have to include the
async
flag to enable this. Now, instead, useasync="false"
to revert the behaviour back to the old default behaviour. We made this change because many folks wereawait
-ing functions and missing or not realising the need for the (old)async
attribute. Hence the flip in behaviour (#2134). - We've fixed a bug where
async
methods attached to JavaScript references did not return the expected result (#2136). - Updated to latest versions of various dependencies.