Pylint crashes if the word "coding" is used as keyword argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pylint (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pylint
Example code:
--- pylint.py -------
def do_something(
pass
-------
Now run pylint:
user@localhost:~$ pylint pylint.py
No config file found, using default configuration
Traceback (most recent call last):
File "/usr/bin/pylint", line 4, in <module>
lint.
File "/usr/lib/
linter.
File "/usr/lib/
self.
File "/usr/lib/
checker.
File "/usr/lib/
self.
File "/usr/lib/
for (tok_type, token, start, _, line) in tokens:
File "/usr/lib/
line = readline()
File "/usr/lib/
readline = lambda: stream.
LookupError: unknown encoding: None):
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pylint 0.23.0-1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon May 9 18:14:40 2011
PackageArchitec
ProcEnviron:
LANGUAGE=de_DE:en
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: pylint
UpgradeStatus: Upgraded to natty on 2011-05-04 (4 days ago)
Thank you for taking the time to report this bug and helping to make Ubuntu better. This issue is still reproducible in Ubuntu 11.10 (which have the same version of pylint which this bug was filed against). However, I am closing it because it is fixed in version 0.25.0-1ubuntu1 available in Ubuntu 12.04 (and presumably later releases).
If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "Requesting a Backport" at https:/ /wiki.ubuntu. com/UbuntuBackp orts#Requesting _a_Backport