Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197643 - gnome-base/gnome-applets-2.18 don't honour PEP-0263
Summary: gnome-base/gnome-applets-2.18 don't honour PEP-0263
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://www.python.org/dev/peps/pep-0263/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 14:57 UTC by Santiago M. Mola (RETIRED)
Modified: 2007-12-13 07:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2007-10-31 14:57:52 UTC
In /usr/lib/python2.5/site-packages/invest/about.py
in line 30, col 28, there's a non-ASCII character.

In order to respect PEP-0263 and work flawlessly with
Python 2.5, encoding must be declared at the beggining of the file.

So, it's just adding:
# -*- coding: utf-8 -*-
at the first or second line (others are not valid).
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-13 07:04:17 UTC
gnome-applets 2.20 stable on all arches, has this fixed.