Python3.0 has more duplication in source code than Python2.5

Terry terry.yinzhe at gmail.com
Sat Feb 7 19:51:15 EST 2009


On 2月8日, 上午12时20分, Benjamin Peterson <benja... at python.org> wrote:
> Terry <terry.yinzhe <at> gmail.com> writes:
>
> > On 2月7日, 下午7时10分, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> > > Do you by any chance have a few examples of these? There is a lot of
> > > idiomatic code in python to e.g. acquire and release the GIL or doing
> > > refcount-stuff. If that happens to be done with rather generic names as
> > > arguments, I can well imagine that as being the cause.
> > Starting at line 5119 of D:\DOWNLOADS\Python-3.0\Python\Python-ast.c
>
> This isn't really fair because Python-ast.c is auto generated. ;)

Oops! I don't know that! Then the analysis will not be valid, since
too many duplications are from there.



More information about the Python-list mailing list