Closed Bug 1654404 Opened 5 years ago Closed 5 years ago

Python: Explore being stricter about types being passed into public API

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mdroettboom, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:m?])

As a follow-on to 1653046, we should explore adding strict type checking to the public API.

This could just result in exceptions (though care needs to be taken to raise them on the caller's thread, not the dispatcher thread to be really useful), or we could use the Glean error reporting mechanism (but that would require supporting reporting errors over the FFI, which we don't currently do).

We consider the implementation time too much for the little gain this has.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.