Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
file is a binary. Patch by Brodie Rao, test by Daniel Diniz.
diff --git a/Misc/ACKS b/Misc/ACKS
index 9db9f61..5cae037 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -171,6 +171,7 @@
Toby Dickenson
Mark Dickinson
Jack Diederich
+Daniel Diniz
Yves Dionne
Daniel Dittmar
Jaromir Dolecek
@@ -577,6 +578,7 @@
Brian Quinlan
Anders Qvist
Burton Radons
+Brodie Rao
Antti Rasinen
Eric Raymond
Edward K. Ream
diff --git a/Misc/NEWS b/Misc/NEWS
index b717729..2203621 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -293,6 +293,9 @@
Library
-------
+- Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
+ file is a binary. Patch by Brodie Rao, tests by Daniel Diniz.
+
- Issue #5977: distutils build_ext.get_outputs was not taking into account the
inplace option. Initial patch by kxroberto.