Changes between Version 83 and Version 84 of pyson
- Timestamp:
- 01/08/25 09:30:28 (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyson
v83 v84 356 356 357 357 == Overloading the constructor 358 If you overload the constructor, you need to put the constructor that is needed for pyson first. This bit hacky solution is needed because introspection of overloaded methods in plum only gives information on the first constructor. 358 359 Overloading is not supported natively in Python. One option if you really need to overload methods is to use the plum library. 360 361 Unfortunately plum does not fix the native introspection, and thus introspection only gives information on the first declared method. Therefore finding the overloaded methods and the method parameters is not possible for anything but the first of a set of overloaded methods. One way to combine plum with pyson is to put the constructor that is needed for pyson first. 362 359 363 360 364 == Download sources