Should we care about API compatibility in these two functions? You added
parameters before allow_hosts. Theorically, this breaks API compatibility for
call sites passing things by parameters. Arguably a bad idea with such a
signature, but it's your call :-)
Hi Gary,
My only comment is about some API incompatible changes you made. Not sure it's a problem or not. Otherwise, all fine.
> === modified file 'src/zc/ buildout/ easy_install. py'
> def use_dependency_ links(setting= None): _use_dependency _links sys.executable, always_unzip=None, links=None, allow_hosts= ('*',)) : links=None, include_ site_packages= None, eggs_from_ site_packages= None, allow_hosts= ('*',)) : links, site_packages= include_ site_packages, eggs_from_ site_packages= eggs_from_ site_packages, allow_hosts) install( specs, working_set) sys.executable, ('*',)) : site_packages= None, eggs_from_ site_packages= None, allow_hosts= ('*',)) : allow_hosts) site_packages= include_ site_packages, eggs_from_ site_packages= eggs_from_ site_packages, allow_hosts) build(spec, build_ext)
> old = Installer.
> if setting is not None:
> @@ -858,9 +1014,13 @@
> links=(), index=None,
> executable=
> path=None, working_set=None, newest=True, versions=None,
> - use_dependency_
> + use_dependency_
> + allowed_
> installer = Installer(dest, links, index, executable, always_unzip, path,
> newest, versions, use_dependency_
> + include_
> + allowed_
> + allowed_
> allow_hosts=
> return installer.
>
> @@ -868,9 +1028,14 @@
> def build(spec, dest, build_ext,
> links=(), index=None,
> executable=
> - path=None, newest=True, versions=None, allow_hosts=
> + path=None, newest=True, versions=None, include_
> + allowed_
> installer = Installer(dest, links, index, executable, True, path, newest,
> - versions, allow_hosts=
> + versions,
> + include_
> + allowed_
> + allowed_
> + allow_hosts=
> return installer.
>
Should we care about API compatibility in these two functions? You added
parameters before allow_hosts. Theorically, this breaks API compatibility for
call sites passing things by parameters. Arguably a bad idea with such a
signature, but it's your call :-)