Avoid decoding pyvo query results.
- Feb 24, 2022
-
-
John Swinbank authored
This is functionally a no-op — it's the default — but should avoid whining in log messages.
-
John Swinbank authored
Recent pyvo (Astropy, etc) returns strings, rather than bytes. Trying to decode them will raise an exception. Previously, the exceptions were (usually) masked, as we had them wrapped inside a try-except, so it wasn't obvious that this was broken. But broken it was, and it would fail in pathological circumstances.
-
John Swinbank authored
Cleaner to use a single form of join than switching depending on the details of the query.
-
John Swinbank authored
To prevent whining about “Broken libmagic installation detected”.
-
John Swinbank authored
Recent pyvo, Astropy, etc return results as strings, rather than bytes. Attempting to decode the string as UTF-8 will raise, and the query will fail.
-