You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7404 Reporter:@alainfrisch Status: acknowledged (set by @damiendoligez on 2017-04-14T14:50:11Z) Resolution: open Priority: normal Severity: feature Category: standard library
Bug description
These datastructures maintain some invariants which can broken because of implementation bugs (as in #7403) or by the user (using marshaling, mutation, or a bad comparison/hash function). Exposing functions to check explicitly for these invariants (ordering + balancing with Set/Map, correct buckets for Hashtbl) would help writing robust unit tests (including QuickCheck-style) in the testsuite and help users investigate tricky bugs. The functions would also act as an operational documentation of those invariants.
The text was updated successfully, but these errors were encountered:
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 7404
Reporter: @alainfrisch
Status: acknowledged (set by @damiendoligez on 2017-04-14T14:50:11Z)
Resolution: open
Priority: normal
Severity: feature
Category: standard library
Bug description
These datastructures maintain some invariants which can broken because of implementation bugs (as in #7403) or by the user (using marshaling, mutation, or a bad comparison/hash function). Exposing functions to check explicitly for these invariants (ordering + balancing with Set/Map, correct buckets for Hashtbl) would help writing robust unit tests (including QuickCheck-style) in the testsuite and help users investigate tricky bugs. The functions would also act as an operational documentation of those invariants.
The text was updated successfully, but these errors were encountered: