Changes between Version 41 and Version 42 of j2p


Ignore:
Timestamp:
07/13/23 10:52:01 (22 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v41 v42  
    6363If 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.
    6464
    65 === Stream
     65===== Stream
    6666Stream 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.
    6767