[ https://issues.apache.org/jira/browse/THRIFT-4920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-4920: ------------------------------- Fix Version/s: (was: 0.13.0) > Binary constants emit non-binary Python literals > ------------------------------------------------ > > Key: THRIFT-4920 > URL: https://issues.apache.org/jira/browse/THRIFT-4920 > Project: Thrift > Issue Type: Bug > Components: Python - Compiler > Affects Versions: 0.12.0 > Reporter: Elvis Pranskevichus > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Currently a binary constant declared as > {{const binary FOO = "bar"}} > would generate a regular string constant in Python: > {{FOO = "bar"}} > which is not really a binary string. Instead a bytestring literal should be > generated: > {{FOO = b"bar"}} -- This message was sent by Atlassian Jira (v8.3.4#803005)