Today (PR: <https://github.com/krzema12/kotlin-pyt...
# python-contributors
s
Today (PR: https://github.com/krzema12/kotlin-python/pull/123): • found out that do-while is implemented with a bug that made it practically nonworking, partially fixed it (+19 box tests pass). However, it can improved further: https://github.com/krzema12/kotlin-python/issues/122; • supported same-named local variables (+12); • supported more reinterpret casts (+47). Bumped into those problems while researching what can be adjusted in the stdlib (started with "name 'Array' is not defined"). And was able to fix those without changes to the stdlib. Next time: I think I will delay changes to the stdlib because now we can apply it only to tests. Current three topics are worth further research, so will continue with them.
android dance 1
🙌 1
K 2
p
awesome, +78 tests supported, plus list's size can be fetched 🙂 👏
s
Actually, also the list can be created 😆 It wasn't working before: https://discuss.kotlinlang.org/t/idea-python-backend/19852/13?u=krzema12#talk-is-cheap-show-me-the-code-3
p
yeah! great 🙂 can you also fetch an element from it by index?
or, I dare to ask, call
map
or
filter
?
s
can you also fetch an element from it by index?
Nope, unfortunately
get
doesn't work. Some problem with type checking. I guess here we should just adjust the stdlib.
map or filter?
They involve mutable list construction and it doesn't work atm
👍 1