/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to doc/developers/miscellaneous-notes.txt

  • Committer: John Arbash Meinel
  • Date: 2009-10-14 15:53:34 UTC
  • mto: This revision was merged to the branch mainline in revision 4746.
  • 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.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Miscellaneous notes
 
2
===================
 
3
 
 
4
.. toctree::
 
5
   :hidden:
 
6
 
 
7
   dirstate
 
8
   update
 
9
 
 
10
 
 
11
* `dirstate <dirstate.html>`_ |--| An observation re. the dirstate file
 
12
 
 
13
* `"bzr update" performance analysis <update.html>`_ |--| "bzr update"
 
14
  performance analysis
 
15
 
 
16
 
 
17
.. |--| unicode:: U+2014
 
18
 
 
19
..
 
20
   vim: ft=rst tw=74 ai