CLN: fix invalid python26 exception specification
Merge pull request #4000 from cpcloud/fix-invalid-exception-spec

CLN: fix python26 invalid exception
ENH: print sequences like numpy if they are large