components/python/python26/patches/Python26-28-pep263.patch
author Brian Cameron <brian.cameron@oracle.com>
Tue, 02 Apr 2013 15:14:34 -0700
changeset 1246 164605dfef4e
permissions -rw-r--r--
15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail 15713641 - Unexpected shebang in /usr/lib/python2.6/test/test_pep263.py 15620181 - pyCC injects CC pro incompatible flags RTI: 373415

Backported this code change from Python 2.7 to avoid a test failure.

--- Python-2.6.8/Lib/test/test_pep263.py-orig	2012-12-19 13:33:11.257595413 -0800
+++ Python-2.6.8/Lib/test/test_pep263.py	2012-12-19 13:33:17.715857751 -0800
@@ -1,3 +1,5 @@
+# -*- coding: koi8-r -*-
+
 #!/usr/bin/python2.6
 
 import unittest