[Rest2web-develop] Problem with keywords in python source
Brought to you by:
mjfoord
From: Grzegorz A. H. <gr...@ti...> - 2006-12-06 20:10:06
|
At some point I performed a checkout and running it generated: /home/gradha/instalacion_manual/rest2web-dist-229/rest2web/restprocessor.= py:41: DeprecationWarning: Non-ASCII character '\xc3' in file /home/gradh= a/instalacion_manual/rest2web-dist-229/rest2web/restindex.py on line 4, b= ut no encoding declared; see http://www.python.org/peps/pep-0263.html for= details from rest2web.restindex import read_restindex, default_keywords, defaul= t_restindex Looking at the culprit, it is the expanded svn keyword LastChangedDate which expands on my sistem to "2006-10-11 00:50:49 +0200 (mi=C3=A9, 11 oct 2006)". This is an evil feature carried from CVS. Depending on future versions this warning may become an error, in which case performing checkouts of python source from svn on non-English locales may be impossible. Personally I see no use in expanded keywords (they were good when you had to share code printing it on paper, but today...) which are also a threat to clean merges between development branches, but there you go. Know that it can be problematic. |