c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26566
[Bug 796789] Re: PEP 0263 - coding (instead of encoding)
The more formal rule to follow is stated at
http://docs.python.org/reference/lexical_analysis.html#encoding-
declarations
As long as the first or second line matches the following regex
coding[=:]\s*([-\w.]+)
we are good.
I will move this report to opinion/wishlist.
** Changed in: openobject-addons
Status: Triaged => Opinion
** Changed in: openobject-client
Status: Triaged => Opinion
** Changed in: openobject-client-web
Status: Triaged => Opinion
** Changed in: openobject-addons
Importance: Undecided => Wishlist
** Changed in: openobject-client
Importance: Undecided => Wishlist
** Changed in: openobject-client-web
Importance: Undecided => Wishlist
** Changed in: openobject-server
Importance: Undecided => Wishlist
** Changed in: openobject-server
Status: Triaged => Opinion
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/796789
Title:
PEP 0263 - coding (instead of encoding)
Status in OpenERP Modules (addons):
Opinion
Status in OpenERP GTK Client:
Opinion
Status in OpenERP Web Client:
Opinion
Status in OpenERP Server:
Opinion
Bug description:
IMHO
http://www.python.org/dev/peps/pep-0263/
and
http://www.python.org/dev/peps/pep-3120/
suggest to use
#!/usr/bin/python
# -*- coding: <encoding name> -*-
instead of
# -*- encoding: <encoding name> -*-
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/796789/+subscriptions
References