Changes between Initial Version and Version 1 of Ticket #23982, comment 2
- Timestamp:
- Dec 11, 2014, 11:25:11 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23982, comment 2
initial v1 1 1 Third party applications supporting both Python 2 and 3 should consistently import `unicode_literals` to avoid such behavior. 2 2 3 Previous changes made sure migrations generated on Python 2 can be run on Python 3 (and vice versa) but it used`unicode_literals` were used.3 Previous changes made sure migrations generated on Python 2 can be run on Python 3 (and vice versa) but it assumes `unicode_literals` were used. 4 4 5 5 The underlying issue here is that `b'foo' == u'foo'` on Python 2 but not on 3.