[BUG] python -O bzr selftest fails
Aaron Bentley
aaron.bentley at utoronto.ca
Mon Oct 31 21:48:57 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John A Meinel wrote:
> What if we changed the BzrNewError message such that it checks to see if
> there is a docstring, and if none is available, it tries its best.
>
> Maybe just printing self.__dict__
> Or maybe something like:
>
> bzr: ERROR: docstring unavailable, run without -OO, here is what I do know:
>
> I realize that isn't the best text. But the idea is to have something
> like that.
I think bzr is dependent enough on docstrings, and that -OO is rare
enough, that we should just refuse to run. I'd consider it a bug that
python -OO bzr commit -h didn't produce help, or that error messages
were broken. At the bare minimum, we should do "Warning: bzr was
designed to be used with docstrings enabled."
If someone cares enough about -OO, they'll suggest how we can deal with
the problems. Let's wait until there's evidence someone cares.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDZpFJ0F+nu1YWqI0RAldwAKCA+NSO1nc74PPF5yR7IBAQ9Le6XACfRu1y
R+E7UPksnvd7eC7yEQFcJpM=
=TlaM
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list