[Python-Dev] [Python-checkins] python/dist/src/Lib sre_compile.py, 1.57, 1.58

Raymond Hettinger python at rcn.com
Thu Jun 2 21:34:17 CEST 2005


> Index: sre_compile.py
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Lib/sre_compile.py,v
> retrieving revision 1.57
> retrieving revision 1.58
> diff -u -d -r1.57 -r1.58
> --- sre_compile.py	28 Feb 2005 19:27:52 -0000	1.57
> +++ sre_compile.py	2 Jun 2005 13:35:52 -0000	1.58
> @@ -167,7 +167,7 @@
>              emit(av-1)
>          elif op is GROUPREF_EXISTS:
>              emit(OPCODES[op])
> -            emit((av[0]-1)*2)
> +            emit(av[0]-1)
>              skipyes = _len(code); emit(0)
>              _compile(code, av[1], flags)
>              if av[2]:


The times two operation also occurs twice in nearby code.  Are those
also incorrect?


Raymond Hettinger


More information about the Python-Dev mailing list