RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.34k stars 1.26k forks source link

pydrake common: Hide assertion failure methods #9589

Open EricCousineau-TRI opened 6 years ago

EricCousineau-TRI commented 6 years ago

At present, assertion failures are publicly available from pydrake.common. They should be hidden.

EricCousineau-TRI commented 4 years ago

Relates #7912

jwnimmer-tri commented 3 years ago

To be clear, there are two baddies:

Renaming them to use a leading underscore seems like the best solution.

jwnimmer-tri commented 1 year ago

The first one was fixed already in #18141.

The trigger_an_assertion_failure still needs a rename to have a leading underscore.