* add print_, exec_ and _reraise helpers for 2-3 compatible code

* consolidate builtins implementation to be compatible with >=2.3

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-08-28 16:25:29 +02:00
parent 91f90d27ee
commit 5e95feaf90
23 changed files with 231 additions and 760 deletions

View File

@@ -706,7 +706,7 @@ class SvnWCCommandPath(common.PathBase):
result = []
blamelines = out.splitlines()
reallines = py.path.svnurl(self.url).readlines()
for i, (blameline, line) in py.builtin.enumerate(
for i, (blameline, line) in enumerate(
zip(blamelines, reallines)):
m = rex_blame.match(blameline)
if not m: