From 2c6587bd9ec0cb7a1895ee7246a2f4a25d8ec04e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 18 Jun 2010 03:21:47 +0000 Subject: [PATCH] debian_linux.abi: Consider symbols equal regardless of the module they are in svn path=/dists/sid/linux-2.6/; revision=15883 --- debian/lib/python/debian_linux/abi.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/lib/python/debian_linux/abi.py b/debian/lib/python/debian_linux/abi.py index 61e8a666c..eae7a8380 100644 --- a/debian/lib/python/debian_linux/abi.py +++ b/debian/lib/python/debian_linux/abi.py @@ -7,8 +7,10 @@ class Symbol(object): if not isinstance(other, Symbol): return NotImplemented + # Symbols are resolved to modules by depmod at installation/ + # upgrade time, not compile time, so moving a symbol between + # modules is not an ABI change. Compare everything else. if self.name != other.name: return False - if self.module != other.module: return False if self.version != other.version: return False if self.export != other.export: return False