From: R. David Murray Date: Wed, 13 May 2009 17:18:07 +0000 (+0000) Subject: Previously these would return the binary data, so since this fix is a X-Git-Tag: v2.6.3rc1~290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53907d45c30b4ee74c2c049cf1d0a855a6a4b502;p=thirdparty%2FPython%2Fcpython.git Previously these would return the binary data, so since this fix is a behavior change, blocking backport. Blocked revisions 72605 via svnmerge ........ r72605 | r.david.murray | 2009-05-13 13:14:11 -0400 (Wed, 13 May 2009) | 3 lines Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source' file is a binary. Patch by Brodie Rao, test by Daniel Diniz. ........ ---