E501 mistake
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pep8 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: pep8
I have the docstring in Russian: ex:
#/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Модуль загрузки информации о проверках из указанной директории
"""
But pep8 script doesn't decode this string to unicode before processing as I see:
$ pep8 check_make_out.py
check_make_
this line is 62 characters long;
$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> len('Модуль загрузки информации о проверках из указанной директории')
117
>>> len(u'Модуль загрузки информации о проверках из указанной директории')
62
pep8 v. 0.4.2-3, Ubuntu 10.04
Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pep8 0.4.2-3
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Wed Jan 12 13:41:28 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
PackageArchitec
ProcEnviron:
LANG=ru_RU.utf8
SHELL=/bin/bash
SourcePackage: pep8
Still a problem in oneiric.
Regards
chuck