Changes between Initial Version and Version 1 of Ticket #23982, comment 2


Ignore:
Timestamp:
Dec 11, 2014, 11:25:11 AM (10 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23982, comment 2

    initial v1  
    11Third party applications supporting both Python 2 and 3 should consistently import `unicode_literals` to avoid such behavior.
    22
    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.
     3Previous changes made sure migrations generated on Python 2 can be run on Python 3 (and vice versa) but it assumes `unicode_literals` were used.
    44
    55The underlying issue here is that `b'foo' == u'foo'` on Python 2 but not on 3.
Back to Top