/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-13 16:44:43 UTC
  • Revision ID: john@arbash-meinel.com-20091013164443-b92lnyiir2ucyguj
Stop using hash() because of bugs wrt pyrex 0.9.8.5

Rather than going directly to the Py_TYPE() object, I also use PyObject_Hash()
everywhere now. This simplifies the code a little bit, as I can declare it
returns -1 as an exception, rather than having to manually check the return
value.

What is really strange is that pyrex 0.9.7.2 gets it right, strange
regression to have. cython 0.11.3 also gets it right, but I don't know
that all versions of cython handle it correctly, either.


The main problem is that we are mixing, and then comparing
'other_hash = this_hash'. If we always used the 32-bit form, we would
be okay for our purposes, or always use the 64-bit form. I'm focusing
on the latter.

Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.8 KB Diff Download File
test_branch.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.5 KB Diff Download File
test_cat.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2 KB Diff Download File
test_checkout.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.4 KB Diff Download File
test_commit.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.5 KB Diff Download File
test_init.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.2 KB Diff Download File
test_init_repository.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.3 KB Diff Download File
test_merge.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.4 KB Diff Download File
test_missing.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.4 KB Diff Download File
test_pull.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2 KB Diff Download File
test_push.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.6 KB Diff Download File
test_update.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.4 KB Diff Download File