https://bugs.documentfoundation.org/show_bug.cgi?id=173479
Bug ID: 173479
Summary: Add a mode to pyuno (and others) that disables access
to unpublished interfaces
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
When writing a script or macro using the API it’s quite easy to use an
interface without realising that it’s an unpublished interface that might be
changed or removed later on.
To make detecting this situation easier maybe we could add an opt-in mode that
disables access to unpublished APIs within a certain scope. If it threw an
exception or something along those lines then it would be easy to detect and
verify that a script is only using published interfaces.
I think ideally this would be an option for an entire module. In that case it
would probably have to be implemented separately for each language binding so
that it can use the right approach for each language.
--
You are receiving this mail because:
You are the assignee for the bug.