[rfc] avoid assert statements?

Aaron Bentley aaron.bentley at utoronto.ca
Mon Oct 1 19:07:42 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicholas Allen wrote:
> I would think that you would want to keep the assertions in bzr.dev as
> an extra safety check when running selftest. The test suite would need
> to complete without any assertions failing. When the user is using
> bzr.dev though the assertions would be disabled for performance.

It's hard to have some commands run with -O while selftest runs without it.

And since we have no control over how bzr selftest is run, it is best if
- -O does not disable safety checks.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHATdt0F+nu1YWqI0RAhRLAJ9DT8vKnssLPvIQgNHuDbUg3yktHwCfSUow
IYZDOPYxlwE1uzaj+IEuQlc=
=1Z56
-----END PGP SIGNATURE-----



More information about the bazaar mailing list