5.4.13. APIs (Python)
5.4.13.1. [Critical] Incompatibility between Python API and other APIs when using int8 type
Communication between Python and the other supported language APIs did not occur when using an int8 type. The int8 types were incorrectly treated as characters instead of octets, leading to communication failures.
[RTI Issue ID PY-190]
5.4.13.2. [Major] Python API didn’t support reading TopicQuery samples exclusively
The Python API didn’t allow creating a ReadCondition with the option
to filter samples received from a TopicQuery. (It was possible to read
all samples, both “live” and from a TopicQuery at the same time.)
The expected way to do that is to create a ReadCondition as follows,
after creating a TopicQuery, and then use that condition in a
WaitSet and a reader.select().condition() statement.
condition = dds.ReadCondition(
reader, dds.DataStateEx(stream_kind=dds.StreamKind.TOPIC_QUERY)
)
However, the creation of the condition above failed with an exception
that didn’t allow the usage of a DataStateEx input argument.
Now the code above is valid.
[RTI Issue ID PY-188]
5.4.13.3. [Minor] Python API didn’t provide enumeration to set Real-Time WAN Transport in code
The Python API didn’t provide the enumeration
dds.TransportBuiltinMask.UDPv4_WAN to enable the Real-Time WAN
Transport in dds.DomainParticipantQos.transport_builtin.mask.
Enabling it via XML configuration was allowed.
The enumeration is now available.
[RTI Issue ID PY-191]