[Python-modules-commits] r28308 - in packages/nose/trunk/debian (3 files)
mitya57-guest at users.alioth.debian.org
mitya57-guest at users.alioth.debian.org
Sun Mar 23 14:24:52 UTC 2014
Date: Sunday, March 23, 2014 @ 14:24:52
Author: mitya57-guest
Revision: 28308
Backport a patch (issue780) to fix UnboundMethod regression with
Python 3.
Added:
packages/nose/trunk/debian/patches/issue780
Modified:
packages/nose/trunk/debian/changelog
packages/nose/trunk/debian/patches/series
Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog 2014-03-22 23:33:02 UTC (rev 28307)
+++ packages/nose/trunk/debian/changelog 2014-03-23 14:24:52 UTC (rev 28308)
@@ -1,3 +1,10 @@
+nose (1.3.1-2) UNRELEASED; urgency=medium
+
+ * Backport a patch (issue780) to fix UnboundMethod regression with
+ Python 3.
+
+ -- Dmitry Shachnev <mitya57 at gmail.com> Sun, 23 Mar 2014 18:24:00 +0400
+
nose (1.3.1-1) unstable; urgency=medium
* Team upload.
Added: packages/nose/trunk/debian/patches/issue780
===================================================================
--- packages/nose/trunk/debian/patches/issue780 (rev 0)
+++ packages/nose/trunk/debian/patches/issue780 2014-03-23 14:24:52 UTC (rev 28308)
@@ -0,0 +1,16 @@
+Description: UnboundMethod: fix a regression with Python 3
+Origin: upstream, https://github.com/nose-devs/nose/commit/43c35e49106916
+Last-Update: 2014-03-24
+
+--- a/nose/pyversion.py
++++ b/nose/pyversion.py
+@@ -89,7 +89,8 @@
+ self.__dict__ = func.__dict__.copy()
+ self._func = func
+ self.__self__ = UnboundSelf(cls)
+- self.im_class = cls
++ if sys.version_info < (3, 0):
++ self.im_class = cls
+
+ def address(self):
+ cls = self.__self__.cls
Modified: packages/nose/trunk/debian/patches/series
===================================================================
--- packages/nose/trunk/debian/patches/series 2014-03-22 23:33:02 UTC (rev 28307)
+++ packages/nose/trunk/debian/patches/series 2014-03-23 14:24:52 UTC (rev 28308)
@@ -2,6 +2,7 @@
no-google-analytics
no-distribute_setup
disable-unstable-tests
+issue780
issue782
issue783
issue788
More information about the Python-modules-commits
mailing list