Comment 7 for bug 737936

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 737936] Re: ValueError parsing git-unpeel-map

On 20 March 2011 09:02, Jelmer Vernooij <email address hidden> wrote:
> Great, thanks for confirming.
>
> This wasn't actually related to windows, but rather to the fact that
> some code didn't run when python was used in -O mode. It skipped some
> "assert" statements, one of which had a side-effect that was actually
> required.

Maybe you should stop using (or even ban) assert, like we do in bzr?
I don't find that separate debug builds work as well in Python as they
sometimes can in C. (Especially because users can turn it on or off
without being aware of the consequences.)