Changes between Version 117 and Version 118 of j2p


Ignore:
Timestamp:
08/27/24 15:56:12 (2 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v117 v118  
    374374||I get an error that casting primitives is not supported.||Casting of primitives is different from normal casting, it fundamentally changes the data. Instead use Double.valueOf(), Integer.valueOf(), Character.toChars() etc||
    375375||I get an error {{{UnboundLocalError: local variable ... referenced before assignment}}} (where ... is a variable name)||Usually this happens if the variable has a name that collides with a method name or library in python, eg "list". Rename the variable so that it is not colliding||
     376||I get "Python can not handle overloaded methods that use type vars"|| This happens if you overloaded a method (you have two or more methods with the same method name) and one of them uses a type var (you have <T> and use T in the method declaration). Python does not support overloading. Various libraries exist to add this to python but few are working well and none can handle type variables.||