On Thu, Nov 28, 2019 at 4:05 PM Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> Yasuhito FUTATSUKI wrote on Thu, Nov 28, 2019 at 20:36:25 +0900:
> > And there seems to be also some scripts calling Python
> > interpreter with -c option.
> >
> > I roughly searched:
> > [[[
> > $ find . -name .svn -prune -or -type f -print0 | xargs -0 egrep -i '(^|[^-])python.* -c'
>
> I suggest to also grep for «sys.executable»; there are several
> instances of that in trunk.
I did such a search and sys.executable is found in:
./build/run_tests.py
./build/generator/gen_win.py
./build/generator/gen_vcnet_vcproj.py
./build/generator/gen_make.py
./subversion/tests/cmdline/svntest/main.py
./subversion/tests/cmdline/svnadmin_tests.py
./subversion/bindings/ctypes-python/setup.py
I did not find files with extension other than .py containing
sys.executable in latest trunk.
I think nothing has changed about sys.executable in Python 3, so this
should not affect anything.
> Y'all might consider starting a wiki page or a jira issue tracking
> the categorization. I think it might be helpful to tracking the
> work done/punted/pending.
Agreed. I just wanted to get an initial list that is more-or-less
accurate first. I think we're at that starting point now.
Now, I wonder, how should we handle updates to the list as work
progresses? With the wiki we can move items around in the list. With a
Jira issue, would we add a comment with an updated list each time
item(s) change status?
Meanwhile, here is a summary of the changes between my original list
and the updated list by Yasuhito:
Moved to "Python 3 Supported":
. gen-make.py
Moved to "Python 3 Not Supported Yet":
. contrib/client-side/svnmerge/svnmerge-migrate-test.sh
Moved to a new section "Unmaintained":
. subversion/bindings/ctypes-python/test/*
. subversion/libsvn_subr/genctype.py
Added to "Python 3 Supported":
. Makefile.in
. build/ac-macros/swig.m4
. subversion/tests/cmdline/davautocheck.sh
. subversion/tests/cmdline/svnserveautocheck.sh
Added to "Not Checked For Python 3 Yet":
. tools/hook-scripts/mailer/tests/mailer-t1.sh
. tools/dev/benchmarks/large_dirs/create_bigdir.sh
. tools/backup/hot-backup.py.in
. tools/server-side/svnpubsub/svnpubsub.tac
. tools/examples/SvnCLBrowse
. contrib/hook-scripts/enforcer/enforcer
. contrib/server-side/load_repo_with_mergesensitive_copy.sh
Cheers,
Nathan
Received on 2019-12-01 16:58:55 CET