/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: John Arbash Meinel
  • Date: 2009-10-14 15:53:34 UTC
  • Revision ID: john@arbash-meinel.com-20091014155334-dxdm0ns610scz5c9
Add a test case for the bug w/ NotImplemented.

Basically, bool(NotImplemented) == True, which means that you have to
check for 'result == Py_NotImplemented' before you check PyObject_IsTrue().
Going further, though, I simplified the _is_equal a lot by switching to
using object definitions (rather than PyObject *).
This now handles exceptions and refcounts properly, and the code is cleaner
to boot. (Exceptions will now include these lines in the traceback, etc.)
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4449.3.45 16 years ago Martin Pool Add CannedInputUIFactory.assert_all_input_consumed 11.9 KB Diff Download File
text.py 4593 16 years ago Canonical.com Patch Queue Manager (robertc) Partial overhaul of check to do less dup 13.1 KB Diff Download File