UTF-8 encoded files in python no longer work with pyflakes

Bug #1276744 reported by Adi Roiban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocket-lint
Triaged
High
Unassigned

Bug Description

With the latest code the text is kept internally as Unicode.

It is passed to pyflakes as unicode, but at least on Py 2.7 it fails as pyflakes wants byte string.

I will submit the test and a fix for that.

Error is:
0: Could not compile; encoding declaration in Unicode string:

Related branches

Adi Roiban (adiroiban)
description: updated
Curtis Hovey (sinzui)
Changed in pocket-lint:
status: New → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.