Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/455#discussion_r11919159
--- Diff: python/pyspark/serializers.py ---
@@ -114,11 +113,6 @@ class FramedSerializer(Serializer):
where C{length} is a 32-bit integer and data is C{length} bytes.
"""
- def __init__(self):
- # On Python 2.6, we can't write bytearrays to streams, so we need
to convert them
- # to strings first. Check if the version number is that old.
- self._only_write_strings = sys.version_info[0:2] <= (2, 6)
--- End diff --
Why was this removed? It seems you did a git merge or rebase from an
earlier version and lost some fixes added in-between
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---