[tahoe-lafs-trac-stream] [tahoe-lafs] #1643: presence of MDMF in aliases break the CLI < v1.9.0

tahoe-lafs trac at tahoe-lafs.org
Sun Dec 18 19:16:07 UTC 2011


#1643: presence of MDMF in aliases break the CLI < v1.9.0
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  undecided
    Component:  code-    |    Version:  1.9.0
  mutable                |   Keywords:  versioning forward-compatibility
   Resolution:           |  backward-compatibility mutable mdmf aliases
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by davidsarah):

 For future reference, this should not have been an {{{assert}}}. Asserts
 should be used only for consistency checks that would indicate a bug if
 they ever fail, not for validating input. That is, if an assert can
 actually happen as a result of bad input, then it was the wrong way of
 expressing that constraint (because the resulting error reporting is
 usually ugly and provides insufficient information, and because asserts
 are [http://docs.python.org/reference/simple_stmts.html#the-assert-
 statement sometimes switched off]).

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1643#comment:4>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list