Remove userquery code
Remove unused user-query code. Similar changes to Carl Bordum's change mentioned here, but there's no sign that ever got reviewed.
Tests still pass with Python 3.9; I haven't tested all the 3.x versions but it doesn't seem a subtle change. :-)
Closes #29749 (closed)
Edited by pwalker