[
https://issues.apache.org/jira/browse/THRIFT-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430481#comment-16430481
]
ASF GitHub Bot commented on THRIFT-4207:
----------------------------------------
jeking3 commented on issue #1274: THRIFT-4207: Make sure Python Accelerated
protocol does not allow invalid UTF-8
URL: https://github.com/apache/thrift/pull/1274#issuecomment-379740486
Question: when do we drop python 2.7 support?
Folks using python 2.7 can continue to use existing shipping versions of
thrift.
> Python 3.0 was released in 2008. The final 2.x version 2.7 release came
out in mid-2010, with a statement of extended support for this end-of-life
release. The 2.x branch will see no new major releases after that. 3.x is under
active development and has already seen over five years of stable releases,
including version 3.3 in 2012, 3.4 in 2014, 3.5 in 2015, and 3.6 in 2016. This
means that all recent standard library improvements, for example, are only
available by default in Python 3.x.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Accelerated version of TBinaryProtocol allows invalid input to string fields.
> -----------------------------------------------------------------------------
>
> Key: THRIFT-4207
> URL: https://issues.apache.org/jira/browse/THRIFT-4207
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.10.0
> Reporter: Elvis Pranskevichus
> Assignee: Aki Sukegawa
> Priority: Major
>
> {{TBinaryProtocolAccelerated}} and {{TCompactProtocolAccelerated}} currently
> accept arbitrary bytes as input to string fields even when {{py:utf8strings}}
> is on.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)