Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
commit67104aed68612ab53e65f066c934787938943d5e
authorr.david.murray <r.david.murray@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 13 May 2009 17:14:11 +0000 (13 17:14 +0000)
committerr.david.murray <r.david.murray@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 13 May 2009 17:14:11 +0000 (13 17:14 +0000)
treeffa48c50f106b6b38d084551e6cdc609e43237ae
parentb4b8c97325a090777bf1d519620daf745df3d1b8
Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
file is a binary.  Patch by Brodie Rao, test by Daniel Diniz.

git-svn-id: http://svn.python.org/projects/python/trunk@72605 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/inspect.py
Lib/test/test_inspect.py
Misc/ACKS
Misc/NEWS