Changes between Version 119 and Version 120 of j2p
- Timestamp:
- 09/02/24 09:18:57 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v119 v120 374 374 ||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|| 375 375 ||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 nonecan handle type variables.||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. none of the existing libraries to add this functionality can handle type variables.||