[Python-checkins] CVS: python/nondist/peps pep-0263.txt,1.7,1.8

M.-A. Lemburg lemburg@users.sourceforge.net
2002年2月28日 01:08:41 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv3326
Modified Files:
	pep-0263.txt 
Log Message:
Extended the coding RE
Index: pep-0263.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0263.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** pep-0263.txt	27 Feb 2002 11:07:16 -0000	1.7
--- pep-0263.txt	28 Feb 2002 09:08:39 -0000	1.8
***************
*** 53,57 ****
 
 More precise, the first or second line must match the regular
! expression "coding[:=]\s*([\w-_]+)". The first group of this
 expression is then interpreted as encoding name. If the encoding
 is unknown to Python, an error is raised during compilation.
--- 53,57 ----
 
 More precise, the first or second line must match the regular
! expression "coding[:=]\s*([\w-_.]+)". The first group of this
 expression is then interpreted as encoding name. If the encoding
 is unknown to Python, an error is raised during compilation.
***************
*** 146,149 ****
--- 146,150 ----
 History
 
+ 1.8: Added '.' to the coding RE.
 1.7: Added warnings to phase 1 implementation. Replaced the
 Latin-1 default encoding with the interpreter's default

AltStyle によって変換されたページ (->オリジナル) /