Changeset 14154


Ignore:
Timestamp:
Nov 25, 2019 8:38:38 AM (3 weeks ago)
Author:
randersson
Message:

#5819 Updated the property version to use the method get_version and not _get_version since _get_version is deprecated and does not decode the data type when using Python 3.

Location:
PyFMI/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • PyFMI/trunk/CHANGELOG

    r14039 r14154  
    11--- CHANGELOG ---
     2
     3--- PyFMI-2.5.8 ---
     4    * The version property on FMUs should now always properly be decoded with Python 3.
    25
    36--- PyFMI-2.5.7 ---
  • PyFMI/trunk/src/pyfmi/fmi.pyx

    r14015 r14154  
    12871287        return decode(version)
    12881288
     1289    version = property(fget=get_version)
     1290
    12891291    def _get_version(self):
    12901292        """
     
    13041306        return version
    13051307
    1306     version = property(fget=_get_version)
    13071308
    13081309    def get_ode_sizes(self):
Note: See TracChangeset for help on using the changeset viewer.