CLN: Newer syntax + iterator range, zip, etc
CLN: Use new syntax throughout

CLN: python-modernize unicode fixes

CLN: Use 'except as' throughout

CLN: Use print as function throughout

CLN: Fix print statements in vb_suite

CLN: Use new raise syntax in io/sql

CLN: Use next function rather than next method.

next and __next__ defined throughout

CLN: Modernize range + xrange.

Now range is always equivalent to 2.X xrange throughout (but need to
import range from py3compat to use it). Also remove range fixer from
setup.py.

CLN: Use Python 2/3 compatible iteritems.

Switches calls to `iteritems` method to use
`pandas.util.compat.iteritems`, which calls `iteritems` if it exists and
otherwise calls `items`.

CLN: iterkv --> iteritems

CLN: Change long literals to long function

add compat import in pandas/util/testing

CLN: Modernize bench

CLN: Modernize scripts

CLN: Modernize the rest of vb_suite

CLN: Modernize ez_setup.py

fix reverse list in tools/plotting

remove numliteral (long) fixer

CLN: Use cross-compatible map, zip
CLN: Modernize usage of map

fixup to tests/test_frame

CLN: Change filter to any in core/format

CLN: Modernize zip

CLN: Modernize zip in bench

CLN: scripts - modernize zip

CLN: Modernize zip in finance

CLN: Modernize zip pt2

CLN: More zip and other modernization

update vb suite for py2/3 compat

attempt2 to block numliteral fixes in setup.py

CLN: Fix incorrect octals in datetime setup

remove 2to3 altogether

fix error in examples/finance

CLN: Fixup exec statement in plot directive

2.6 reversed requires a known sequence to work

fix zip in tests/test_frame.py

fix zip addition issue in io/stata

fix zip issue in tests/test_groupby
CLN: Modernize doc builders
CLN: Unicode --> six.text_type

CLN: unicode --> six.text_type

CLN: basestring --> six.string_types

CLN: Use py3compat's StringIO

Py2/3 StringIO usage

basestring fixup

StringIO fixups

fixup for string type

try fixing io/stata

CLN: Use reduce from six.moves
TST/ENH: Add assert_isinstance util to util/testing + better type checking

cleanup instance checks in pandas/tests, add assert_isinstance method

and also pandas/tseries/tests, pandas/stats/tests

CLN: Modernize pandas/tests + better type checks

Use assert_isinstance + replace type(a) == b with assert_isinstance.
Some 2/3 fixes of .sort() --> sorted

Better instance tests in io/tests

CLN: assert_(isinstance --> assert_isinstace

CLN: better instance checks in scripts/

CLN: better type check in perf_HEAD
CLN: Python 2/3 compatible sort in ez_setup
change 1 to True in doc
CLN: 2/3 fixes to util/decorators
CLN: Use compatible long in io/stata
CLN: Cleanup type checks in core/config

Make is_instance_factory cleaner + basestring --> (str, bytes)

fixup for wrong isinstance change
add in some missing imports for six and tm

Fix import / cruft from fixes
CLN/ENH: Fixup to iteritems in util/compat

CLN: more .iteritems() --> compat.iteritems

Left doc with six.iteritems.
use list(range in pytables tests

last range fixes
CLN: modernize compat + remove cruft
Fix thread imports for Python 3

add missing six import to io/stata

thread's get_ident only needed in 2.6
CLN: Fix imports, etc.

Remove wildcard import from test_merge and fixup

remove unnecessary imports from io/__init__

make _WINDOW_TYPES update 2/3 compatible
CLN: Py2/3 compatible __builtin__
CLN/ENH: Refactor url methods to be Py2/3 compatible
CLN: Use py2/3 compatible pickle import
CLN: py2/3 compat unichr, callable

CLN: py2/3 compatible unichr

CLN: Py2/3: callable --> six.callable

import fixes to wrap it all together

fixup erroneous find/replace
CLN: Py2/3-compatible dict keys/items/values.