This is a backport of (some) Python 3.3 inspect module features to 2.7 (piggybacking on aliles/funcsigs).
NOTE: While aliles/funcsigs targets Python 2.6 and 2.7, backports.inspect only targets 2.7.
BUGS: There are currently no unit tests :-( ...which must mean there are no bugs! :-) We welcome issues to expose this assertion as incorrect, and pull requests to rectify that...
backports.inspect is licensed under the BSD "3-clause" license. See LICENSE for details. The original Python 3.3 inspect module, from which most (all?) of this library is derived, is licensed under the PSF license, and is copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved.