530670c Update to the version of typeshed in mypy 0.4.1:

Authored and Committed by dshea 7 years ago
    Update to the version of typeshed in mypy 0.4.1:
    
    - Fix and greatly expand stubs for sqlalchemy.
    - Expand the sqlalchemy stubs related to the Column model.
    - Type Check webbrowser py3 module
    - Add missing exec*, EX_* stubs for python 2 and fix py3 types.
    - Add py2 webbrowser type checking
    - Fix urlunparse stubs for 2.7 to correctly support a list/iterator argument
    - Improvements to builtins min/max
    - Add missing definition of compile() for 2.7.
    - Add abc.abstractproperty (Python 3)
    - Fix incorrect sys.exit() type.
    - Additional type information for asyncio
    - Fix type for reduce
    - Remove invalid Python 3 syntax
    - Fix asyncio.coroutine signature
    - Stub for calendar module
    - Stub for shelve
    - Remove contents of problematic asyncio __all__s
    - Fixed 2.7 stubs for traceback
    - Specify attribute types of SyntaxError
    - Define three argument type() overload (Python 3)
    - reduce use of @overload in socket stubs
    - Update stub for zlib
    - Update stub for gc
    - Add stub for multiprocessing.cpu_count()
    - Stubs for pdb (only the most useful functions).
    - Add missing import of List from typing.
    - Fix traceback.pyi right.
    - Fix typos: termina[ta]te()
    - Make tests version-aware.
    - Type check xml.etree module
    - Improve Python 2.7 inspect stub
    - sqlite3 stub for 2.7  and 3
    - Fix Python 2.7 inspect stub (currentframe + frame type)
    - Improve Python 3 inspect stub
    - Add tornado.locks module
    - Make all function annotations accessible from builtins complete
    - Allow adding custom argparse.Actions in add_argument
    - Bandaid for sqlalchemy.
    - Stubs for setuptools' pkg_resources package
    - Ignore Emacs backup files
    - Complete getpass stubs
    - Add stubs for configparser
    - Complete pickle stubs
    - Complete pickle and cPickle stubs for Python 2
    - remove superfluous type comment in urllib.pyi
    - Better stub for contextlib.contextmanager.
    - add stdlib/2.7/heapq.pyi
    - Use IO[bytes] instead of BytesIO in the pickle stub.
    - Improve Python 3 fcntl stub
    - Add version keyword arg to argparse.ArgumentParser.add_argument
    - Fix signature for reduce in some files.
    - Hopeful fix for fcntl stubs
    - fileinput first version
    - Update dbapi2.pyi to allow `execute` without binding params
    - add `__dict__` attribute to class instance
    - Add note about obtaining consent of package owner for third-party stubs.
    - Implement itertools.chain.from_iterable().
    - Added stubs for 2.7 Selenium WebElement
    - Add missing return type for __init__()
    - Add 2.7/optparse.pyi
    - change ='' to :str=... in httplib
    - Move warnings.pyi into 2and3/.
    - Enable typing.DefaultDict as an alias for collections.defaultdict
    - Precision surgery to take out sqlalchemy test failures
    - Fix select stub for 2.7
    - Various updates to stdlib modules
    - py3: traceback.pyi: added format_stack
    - Add a very basic bz2 stub
    - Simple stub for tornado.testing
    - Break cycle between typing and collections.
    - Update dict(...) to accept keyword arguments
    - Add Text to typing.pyi
    - Support keyword arguments for dict() (Python 2)
    - 2.7 stub updates
    - Add stdlib/3/tokenize.pyi
    - Change logging signatures to allow unicode
    - Fix type error in 2.7 stubs
    - Fixes to urllib2 stubs
    - Make Queue generic in Python 2, similar to Python 3
    - dateutil stubs
    - Fix Py2 hashlib.new arg type
    - Add stubs for typed_ast
    - Add type.__call__.
    - Add missing 3.3+ and 3.5+ math functions
    - stdlib/2.7./codecs.pyi: added missing __enter__() and __exit__()
    - Fixes to os.environ
    - Use overloading rather than Union for MutableMapping.update
    - Add abc.ABCMeta.register method
    - json.dump{s,}' indent parameter also supports str
    - pprint stream type
    - Finish Python 3 hashlib stub
    - Added bisect.pyi and ConfigParser.pyi
    - Add Python 3 ast module; update Python 2.7 ast module; fixup typed_ast
    - Fix 2.7 bisect stubs (lo/hi have defaults).
    - Misc stub fixes
    
        
file modified
+1 -0
file modified
+100 -3
file modified
+1 -1