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

Bug #1276744 reported by Adi Roiban on 2014-02-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocket-lint
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) on 2014-02-05
description: updated
Curtis Hovey (sinzui) on 2014-02-07
Changed in pocket-lint:
status: New → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers