Commits

Anonymous committed fc557c0

Make demos/subst work in Python 3.2

Comments (0)

Files changed (3)

 from waflib import Logs
 
 # python 2.3 tends to hang for whatever reason :-/
-PYTHONS = "2.4 2.5 2.6 2.7 3.0 3.1 3.2".split()
+PYTHONS = "2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3".split()
 
 DIRS = ['c', 'python']
 

waflib/Context.py

 WAFVERSION="1.7.6"
 """Constant updated on new releases"""
 
-WAFREVISION="96e3676951305cd761e7f8b8c9c432ae7252c071"
+WAFREVISION="704f85f131c77b2244eaf134afe8fe04373d3707"
 """Constant updated on new releases"""
 
 ABI = 98

waflib/TaskGen.py

 		upd = self.m.update
 
 		if getattr(self.generator, 'subst_fun', None):
-			upd(Utils.h_fun(self.generator.subst_fun))
+			upd(Utils.h_fun(self.generator.subst_fun).encode())
 
 		# raw_deps: persistent custom values returned by the scanner
 		vars = self.generator.bld.raw_deps.get(self.uid(), [])