Changes between Version 41 and Version 42 of j2p
- Timestamp:
- 07/13/23 10:52:01 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v41 v42 63 63 If function calls in python deliver a wrong object (not matching the above mapping), the translator has to inject additional code to convert it to the proper object. For example, {{{Map.getKeys()}}} in python would be {{{set(map.keys())}}} where the extra {{{set}}} converts the dict_keys into a proper set. 64 64 65 === Stream65 ===== Stream 66 66 Stream classes are currently not translated. It might be possible to translate them automatically but it looks pretty complex because the python way to deal with streams is list comprehension and the translation is quite far from straightforward. 67 67