~bzr-pqm/bzr/bzr.dev

  • Committer: Lukáš Lalinský
  • Date: 2008-08-17 19:31:03 UTC
  • mto: (3650.1.1 bzr.ab.integration)
  • Revision ID: lalinsky@gmail.com-20080817193103-nph9o92j2177iq96
Handle references to line data in _patiencediff_c.c properly

This code is called in bzrlib only with lists or tuples of strings, which works fine, because PySequence_Fast always returns the same object and so the items from PySequence_Fast_GET_ITEM will not be deleted until the original sequence is deleted. But if it's called with a sequence than needs to be converted to list (e.g. PyUnicode), the items will be garbage collected in the contructor and still used later in code (which leads to segfaults).
Filename Latest Rev Last Changed Committer Comment Size
..
developers 2481.1.1 17 years ago Robert Collins Move HACKING to docs/developers/HACKING and adjust Diff
en 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
es 3405.2.1 16 years ago Martin Albisetti * Added directory structure for docs en spanish Diff
bazaar-vcs.org.kid 2691.1.17 17 years ago Ian Clatworthy Fix pretty doc generation so works for all html do 18.2 KB Diff Download File
default.css 3211.7.3 17 years ago Andrew Bennetts Add a comment to the new CSS. 2.1 KB Diff Download File
index.es.txt 3405.2.6 16 years ago Martin Albisetti Added spanish index 1.2 KB Diff Download File
index.txt 3464.3.9 16 years ago Martin Pool Add plugin and integration guides to doc indexes 1.4 KB Diff Download File