[Python-apps-team] Bug#739073: fixed upstream

Julian Taylor jtaylor.debian at googlemail.com
Sun Mar 2 16:57:39 UTC 2014


seems to be fixed upstream by this commit on the 0.20.x branch:
commit da2af6e346b9b5afd72b955eb4e3fb7a5bf1cfe2
Author: Stefan Behnel <stefan_ml at behnel.de>
Date:   Thu Jan 30 08:22:05 2014 +0100

    fix signature embedding test in recent Py3.4
---
 tests/run/embedsignatures.pyx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/run/embedsignatures.pyx b/tests/run/embedsignatures.pyx
index f9bf820..5702da4 100644
--- a/tests/run/embedsignatures.pyx
+++ b/tests/run/embedsignatures.pyx
@@ -4,6 +4,8 @@ import sys
 
 if sys.version_info >= (3, 4):
     def funcdoc(f):
+        if not f.__text_signature__:
+            return f.__doc__
         doc = '%s%s' % (f.__name__, f.__text_signature__)
         if f.__doc__:
             if '\n' in f.__doc__:



More information about the Python-apps-team mailing list