This is the release notes for the pycanlib module.
Contents
Restructuring of code in order to make the API simpler and the code base more maintainable have resulted in the following changes (old style is deprecated, shown in details while running Python with the -Wd argument):
canlib.kvMessage has been renamed canlib.Frame
canlib.canlib:
canlib.kvmlib:
canlib.kvlclib:
Added method canlib.kvlclib.addDatabaseFile and helper object canlib.kvlclib.ChannelMask.
The canlib.kvlclib.KvlcLib object has been deprecated.
All functions that relate to converters have been moved to the more appropriately named canlib.kvlclib.Converter.
Some of these functions have been renamed:
IsOutputFilenameNew, IsOverrunActive, and IsDataTruncated have all had their initial "i" lower-cased, as the upper case "I" was an error.
getPropertyDefault and isPropertySupported are no longer available on the Converter object, they must be accessed via the format attribute:
converter.format.getPropertyDefault(...)
canlib.kvlclib.WriterFormat.getFirstWriterFormat and canlib.kvlclib.WriterFormat.getNextWriterFormat now returns a kvlclib.FileFormat object (which is based on the IntEnum class).
Other functions have been moved to the canlib.kvlclib module.
deleteConverter is no longer supported. Instead, converters are automatically deleted when garbage collected. If their contents must be flushed to file, see the new canlib.kvlclib.Converter.flush method.
The class canlib.kvlclib.KvlcVersion has been removed, and canlib.kvmlib.kvlclib.getVersion now returns a canlib.VersionNumber. The new class still supports conversion to string and accessing .major, .minor, and .build attributes.
canlib.kvrlib:
canlib.kvamemolibxml:
Exceptions: