Commit 0dafd857 authored by Robert Bradshaw's avatar Robert Bradshaw

Remove string semantics change warning.

parent 124fd89a
...@@ -802,7 +802,6 @@ class StringNode(ConstNode): ...@@ -802,7 +802,6 @@ class StringNode(ConstNode):
# Arrange for a Python version of the string to be pre-allocated # Arrange for a Python version of the string to be pre-allocated
# when coercing to a Python type. # when coercing to a Python type.
if dst_type.is_pyobject and not self.type.is_pyobject: if dst_type.is_pyobject and not self.type.is_pyobject:
warn_once(self.pos, "String literals will no longer be Py3 bytes in Cython 0.12.", 1)
node = self.as_py_string_node(env) node = self.as_py_string_node(env)
else: else:
node = self node = self
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment