#15546: Fix GzipFile.peek()'s handling of pathological input data.
This is a backport of changeset 8c07ff7f882f.
Null merge
Add some tests for XPath numeric indexing