]> granicus.if.org Git - python/commit
Previously these would return the binary data, so since this fix is a
authorR. David Murray <rdmurray@bitdance.com>
Wed, 13 May 2009 17:18:07 +0000 (17:18 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 13 May 2009 17:18:07 +0000 (17:18 +0000)
commit53907d45c30b4ee74c2c049cf1d0a855a6a4b502
tree0773fed764291c514bfa19fc960713441bd4f1b8
parent98c7879b655031dbe276500b8019fa2cee9c89a3
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.
........