Public bug reported:

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_out.py:5:80: E501 line too long (117 characters)

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
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
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)
PackageArchitecture: all
ProcEnviron:
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: pep8

** Affects: pep8 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701854

Title:
  E501 mistake

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to