[med-svn] [mypy] branch upstream updated (e236de0 -> 64fcc72)

Andreas Tille tille at debian.org
Fri Dec 22 08:24:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a change to branch upstream
in repository mypy.

      from  e236de0   New upstream version 0.540
       new  64fcc72   New upstream version 0.560

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 LICENSE                                            | 227 +++++++++
 MANIFEST.in                                        |   1 +
 PKG-INFO                                           |   3 +-
 README.md                                          |   4 +-
 docs/source/builtin_types.rst                      |   2 +
 docs/source/cheat_sheet.rst                        |   3 +
 docs/source/cheat_sheet_py3.rst                    |   3 +
 docs/source/class_basics.rst                       | 285 ++++++++++-
 docs/source/command_line.rst                       |  74 ++-
 docs/source/common_issues.rst                      |  26 +-
 docs/source/config_file.rst                        |  38 +-
 docs/source/faq.rst                                |  13 +-
 docs/source/generics.rst                           |  42 +-
 docs/source/getting_started.rst                    |   2 +-
 docs/source/kinds_of_types.rst                     |   8 +-
 docs/source/revision_history.rst                   |  22 +
 extensions/LICENSE                                 |  27 +
 extensions/MANIFEST.in                             |   1 +
 extensions/setup.py                                |   3 +
 mypy.egg-info/PKG-INFO                             |   3 +-
 mypy.egg-info/SOURCES.txt                          |  49 +-
 mypy.egg-info/entry_points.txt                     |   1 +
 mypy.egg-info/requires.txt                         |   1 +
 mypy/build.py                                      | 470 +++++++++++++----
 mypy/checker.py                                    |  91 ++--
 mypy/checkexpr.py                                  |  49 +-
 mypy/checkmember.py                                |   6 +-
 mypy/constraints.py                                |   8 +-
 mypy/dmypy.py                                      | 341 +++++++++++++
 mypy/dmypy_server.py                               | 289 +++++++++++
 mypy/dmypy_util.py                                 |  27 +
 mypy/errors.py                                     |  19 +-
 mypy/fastparse.py                                  |  36 +-
 mypy/fastparse2.py                                 |  11 +-
 mypy/main.py                                       | 116 +++--
 mypy/meet.py                                       |  53 +-
 mypy/messages.py                                   |  95 ++--
 mypy/myunit/__main__.py                            |   9 -
 mypy/nodes.py                                      |  54 +-
 mypy/options.py                                    |  28 +-
 mypy/parse.py                                      |   3 +
 mypy/report.py                                     |  33 +-
 mypy/semanal.py                                    | 294 ++++++-----
 mypy/semanal_pass1.py                              |  77 ++-
 mypy/semanal_pass3.py                              |  73 ++-
 mypy/server/astdiff.py                             | 332 +++++++++---
 mypy/server/astmerge.py                            |  79 ++-
 mypy/server/aststrip.py                            |  66 ++-
 mypy/server/deps.py                                | 523 ++++++++++++++++---
 mypy/server/target.py                              |  13 +-
 mypy/server/update.py                              | 565 ++++++++++++++++++---
 mypy/solve.py                                      |   1 +
 mypy/stats.py                                      | 108 +---
 mypy/strconv.py                                    |  10 +-
 mypy/stubgen.py                                    |  14 +-
 mypy/test/data.py                                  |  72 ++-
 mypy/test/testdeps.py                              |  42 +-
 mypy/test/testdiff.py                              |  10 +-
 mypy/test/{testcheck.py => testdmypy.py}           | 230 ++++-----
 mypy/test/testfinegrained.py                       |  65 +--
 mypy/test/testinfer.py                             |   2 +-
 mypy/test/testmerge.py                             | 101 ++--
 mypy/test/testparse.py                             |   5 +-
 mypy/test/testreports.py                           |   2 +-
 mypy/test/testsolve.py                             |   2 +-
 mypy/test/testsubtypes.py                          |   2 +-
 mypy/test/testtypes.py                             |  14 +-
 mypy/{ => test}/typefixture.py                     |   4 +-
 mypy/traverser.py                                  |   4 +
 mypy/treetransform.py                              |  13 +-
 mypy/tvar_scope.py                                 |  12 +-
 mypy/typeanal.py                                   |  41 +-
 mypy/types.py                                      |  86 ++--
 mypy/util.py                                       |   5 +
 mypy/version.py                                    |   2 +-
 mypy_self_check.ini                                |  13 +-
 runtests.py                                        |   1 +
 scripts/{stubgen => dmypy}                         |   8 +-
 scripts/finegrained.py                             | 100 ++++
 setup.py                                           |  13 +-
 test-data/unit/check-abstract.test                 |  15 +
 test-data/unit/check-class-namedtuple.test         |   2 +-
 test-data/unit/check-classes.test                  |  66 ++-
 test-data/unit/check-expressions.test              |  27 +-
 test-data/unit/check-fastparse.test                |  73 ++-
 test-data/unit/check-flags.test                    | 110 ++--
 test-data/unit/check-functions.test                |  92 +++-
 test-data/unit/check-generics.test                 |  29 +-
 test-data/unit/check-incremental.test              | 201 +++++++-
 test-data/unit/check-inference-context.test        |   8 +
 test-data/unit/check-inference.test                |  51 +-
 test-data/unit/check-isinstance.test               |  30 ++
 test-data/unit/check-kwargs.test                   |  24 +-
 test-data/unit/check-namedtuple.test               |  23 +-
 test-data/unit/check-optional.test                 |  31 ++
 test-data/unit/check-overloading.test              |  80 +++
 test-data/unit/check-tuples.test                   |  27 +
 test-data/unit/check-typevar-values.test           |  15 +
 test-data/unit/check-unions.test                   |   6 +-
 test-data/unit/check-unreachable-code.test         |  32 +-
 test-data/unit/check-warnings.test                 |  12 +
 test-data/unit/cmdline.test                        | 130 +----
 test-data/unit/deps-classes.test                   |  21 +
 test-data/unit/deps-expressions.test               | 435 ++++++++++++++++
 test-data/unit/deps-generics.test                  | 142 ++++++
 test-data/unit/deps-statements.test                | 551 ++++++++++++++++++++
 test-data/unit/deps-types.test                     | 151 ++++++
 test-data/unit/deps.test                           | 269 +++++++++-
 test-data/unit/diff.test                           | 192 ++++++-
 test-data/unit/fine-grained-blockers.test          | 368 ++++++++++++++
 test-data/unit/fine-grained-cycles.test            | 218 ++++++++
 test-data/unit/fine-grained-modules.test           | 534 +++++++++++++++++++
 test-data/unit/fine-grained.test                   | 126 +++++
 test-data/unit/fixtures/async_await.pyi            |   3 +-
 test-data/unit/fixtures/tuple.pyi                  |   1 +
 test-data/unit/fixtures/typing-full.pyi            |   3 +-
 test-data/unit/lib-stub/blocker.pyi                |   2 +
 test-data/unit/lib-stub/blocker2.pyi               |   2 +
 test-data/unit/lib-stub/broken.pyi                 |   2 +
 test-data/unit/merge.test                          | 431 +++++++++++++++-
 test-data/unit/parse-errors.test                   |   1 +
 test-data/unit/pythoneval.test                     |  16 +
 test-data/unit/semanal-errors.test                 |   4 +-
 test-data/unit/semanal-symtable.test               |  34 ++
 typeshed/stdlib/2/SocketServer.pyi                 |   3 +-
 typeshed/stdlib/2/__builtin__.pyi                  |  98 ++--
 typeshed/stdlib/2/array.pyi                        |  56 --
 typeshed/stdlib/2/builtins.pyi                     |  98 ++--
 typeshed/stdlib/2/commands.pyi                     |  15 +-
 typeshed/stdlib/2/decimal.pyi                      |   4 +-
 typeshed/stdlib/2/shelve.pyi                       |  10 +-
 typeshed/stdlib/2/typing.pyi                       |  48 +-
 typeshed/stdlib/2/unittest.pyi                     |   4 +
 typeshed/stdlib/2/urllib2.pyi                      |   4 +-
 typeshed/stdlib/2/wsgiref/types.pyi                |   5 +-
 typeshed/stdlib/{3 => 2and3}/array.pyi             |  22 +-
 typeshed/stdlib/2and3/asynchat.pyi                 |   2 +-
 typeshed/stdlib/2and3/asyncore.pyi                 |   4 +-
 typeshed/stdlib/2and3/bz2.pyi                      |  48 +-
 typeshed/stdlib/2and3/calendar.pyi                 |   4 +-
 typeshed/stdlib/2and3/distutils/cmd.pyi            |  27 +-
 typeshed/stdlib/2and3/distutils/core.pyi           |   2 +-
 typeshed/stdlib/2and3/distutils/log.pyi            |  28 +
 typeshed/stdlib/2and3/fractions.pyi                |  14 +-
 typeshed/stdlib/2and3/imaplib.pyi                  | 133 +++++
 typeshed/stdlib/2and3/logging/__init__.pyi         |   2 +-
 typeshed/stdlib/2and3/numbers.pyi                  |   2 +-
 typeshed/stdlib/2and3/pdb.pyi                      |  10 +-
 typeshed/stdlib/2and3/pkgutil.pyi                  |   4 +-
 typeshed/stdlib/2and3/plistlib.pyi                 |  21 +-
 typeshed/stdlib/2and3/py_compile.pyi               |   2 +-
 typeshed/stdlib/2and3/threading.pyi                |   6 +-
 typeshed/stdlib/2and3/traceback.pyi                |   4 +-
 typeshed/stdlib/2and3/xml/sax/__init__.pyi         |   4 +-
 typeshed/stdlib/3.4/asyncio/futures.pyi            |   4 +-
 typeshed/stdlib/3.4/asyncio/locks.pyi              |   4 +-
 typeshed/stdlib/3.4/asyncio/protocols.pyi          |   4 +-
 typeshed/stdlib/3.4/asyncio/tasks.pyi              |  12 +-
 typeshed/stdlib/3.4/enum.pyi                       |   2 +-
 typeshed/stdlib/3/_importlib_modulespec.pyi        |   6 +-
 typeshed/stdlib/3/builtins.pyi                     | 180 +++----
 typeshed/stdlib/3/collections/__init__.pyi         |  13 +-
 typeshed/stdlib/3/concurrent/futures/_base.pyi     |   7 +-
 typeshed/stdlib/3/configparser.pyi                 |  12 +-
 typeshed/stdlib/3/curses/__init__.pyi              |   3 +
 typeshed/stdlib/3/datetime.pyi                     |   4 +-
 typeshed/stdlib/3/email/message.pyi                |  16 +-
 typeshed/stdlib/3/getpass.pyi                      |   2 +-
 typeshed/stdlib/3/gzip.pyi                         |  70 +--
 typeshed/stdlib/3/hashlib.pyi                      |  38 +-
 typeshed/stdlib/3/http/__init__.pyi                |   7 +-
 typeshed/stdlib/3/importlib/__init__.pyi           |   8 +-
 typeshed/stdlib/3/importlib/abc.pyi                |   6 +-
 typeshed/stdlib/3/importlib/machinery.pyi          |   6 +-
 typeshed/stdlib/3/importlib/util.pyi               |  14 +-
 typeshed/stdlib/3/inspect.pyi                      |  14 +-
 typeshed/stdlib/3/io.pyi                           |  11 +-
 typeshed/stdlib/3/json/decoder.pyi                 |  12 +-
 typeshed/stdlib/3/json/encoder.pyi                 |   4 +-
 typeshed/stdlib/3/multiprocessing/__init__.pyi     |  39 +-
 typeshed/stdlib/3/multiprocessing/connection.pyi   |  39 ++
 typeshed/stdlib/3/multiprocessing/context.pyi      |  41 +-
 typeshed/stdlib/3/multiprocessing/pool.pyi         |  30 +-
 typeshed/stdlib/3/multiprocessing/synchronize.pyi  |  64 +++
 typeshed/stdlib/3/shelve.pyi                       |  10 +-
 typeshed/stdlib/3/socketserver.pyi                 |   3 +-
 typeshed/stdlib/3/sre_constants.pyi                |  74 +++
 typeshed/stdlib/3/subprocess.pyi                   |  57 ++-
 typeshed/stdlib/3/sys.pyi                          |   2 +-
 typeshed/stdlib/3/types.pyi                        |   4 +
 typeshed/stdlib/3/typing.pyi                       |  80 ++-
 typeshed/stdlib/3/unittest/mock.pyi                |  35 +-
 typeshed/stdlib/3/urllib/request.pyi               |   4 +-
 typeshed/stdlib/3/wsgiref/types.pyi                |   7 +-
 typeshed/tests/pytype_test.py                      |  85 +++-
 typeshed/third_party/2/croniter.pyi                |  23 -
 typeshed/third_party/2/dateutil/parser.pyi         |  40 +-
 typeshed/third_party/2/dateutil/relativedelta.pyi  |  20 +-
 typeshed/third_party/2/dateutil/tz/__init__.pyi    |   2 +-
 typeshed/third_party/2/dateutil/tz/_common.pyi     |   2 +-
 typeshed/third_party/2/dateutil/tz/tz.pyi          |  14 +-
 typeshed/third_party/2/enum.pyi                    |  20 +-
 .../2/google/protobuf/message_factory.pyi          |   2 +-
 typeshed/third_party/2/itsdangerous.pyi            |  52 +-
 .../2/selenium/webdriver/remote/webdriver.pyi      |   4 +-
 .../2/selenium/webdriver/remote/webelement.pyi     |   2 +-
 typeshed/third_party/2/six/__init__.pyi            |   1 +
 typeshed/third_party/2/werkzeug/wrappers.pyi       |  14 +-
 .../third_party/2and3/atomicwrites/__init__.pyi    |  11 +-
 typeshed/third_party/2and3/boto/s3/__init__.pyi    |   2 +-
 .../third_party/2and3/characteristic/__init__.pyi  |  26 +-
 typeshed/third_party/2and3/click/core.pyi          | 130 ++---
 typeshed/third_party/2and3/click/decorators.pyi    | 252 +++++----
 typeshed/third_party/2and3/click/exceptions.pyi    |  32 +-
 typeshed/third_party/2and3/click/formatting.pyi    |  22 +-
 typeshed/third_party/2and3/click/globals.pyi       |   4 +-
 typeshed/third_party/2and3/click/parser.pyi        |  22 +-
 typeshed/third_party/2and3/click/termui.pyi        | 118 ++---
 typeshed/third_party/2and3/click/types.pyi         |  72 +--
 typeshed/third_party/2and3/click/utils.pyi         |  39 +-
 typeshed/third_party/2and3/croniter.pyi            |  41 ++
 typeshed/third_party/2and3/markupsafe/__init__.pyi |  18 +-
 typeshed/third_party/2and3/pymysql/connections.pyi |   2 +-
 typeshed/third_party/2and3/pymysql/cursors.pyi     |   2 +-
 typeshed/third_party/2and3/requests/__init__.pyi   |   1 +
 typeshed/third_party/2and3/requests/adapters.pyi   |   8 +-
 typeshed/third_party/2and3/requests/api.pyi        |   2 +-
 typeshed/third_party/2and3/requests/models.pyi     |   3 +
 typeshed/third_party/2and3/requests/sessions.pyi   |  13 +-
 .../third_party/{2 => 2and3}/thrift/Thrift.pyi     |   0
 .../third_party/{2 => 2and3}/thrift/__init__.pyi   |   0
 .../thrift/protocol/TBinaryProtocol.pyi            |   0
 .../{2 => 2and3}/thrift/protocol/TProtocol.pyi     |   0
 .../{2 => 2and3}/thrift/protocol/__init__.pyi      |   0
 .../{2 => 2and3}/thrift/transport/TSocket.pyi      |   0
 .../{2 => 2and3}/thrift/transport/TTransport.pyi   |   0
 .../{2 => 2and3}/thrift/transport/__init__.pyi     |   0
 typeshed/third_party/2and3/yaml/__init__.pyi       |  11 +-
 typeshed/third_party/3/dateutil/parser.pyi         |  61 +--
 typeshed/third_party/3/dateutil/relativedelta.pyi  |  73 +--
 typeshed/third_party/3/dateutil/tz/__init__.pyi    |  13 +-
 typeshed/third_party/3/dateutil/tz/tz.pyi          |  14 +-
 typeshed/third_party/3/enum.pyi                    |   2 +-
 typeshed/third_party/3/itsdangerous.pyi            |  54 +-
 typeshed/third_party/3/lxml/__init__.pyi           |   0
 typeshed/third_party/3/lxml/etree.pyi              | 134 -----
 typeshed/third_party/3/lxml/objectify.pyi          |  13 -
 typeshed/third_party/3/six/__init__.pyi            |   9 +-
 typeshed/third_party/3/werkzeug/wrappers.pyi       |  14 +-
 249 files changed, 10318 insertions(+), 2983 deletions(-)
 create mode 100644 LICENSE
 create mode 100644 extensions/LICENSE
 create mode 100644 extensions/MANIFEST.in
 create mode 100644 mypy/dmypy.py
 create mode 100644 mypy/dmypy_server.py
 create mode 100644 mypy/dmypy_util.py
 copy mypy/test/{testcheck.py => testdmypy.py} (60%)
 rename mypy/{ => test}/typefixture.py (98%)
 copy scripts/{stubgen => dmypy} (62%)
 mode change 100644 => 100755
 create mode 100644 scripts/finegrained.py
 create mode 100644 test-data/unit/deps-classes.test
 create mode 100644 test-data/unit/deps-expressions.test
 create mode 100644 test-data/unit/deps-generics.test
 create mode 100644 test-data/unit/deps-statements.test
 create mode 100644 test-data/unit/deps-types.test
 create mode 100644 test-data/unit/fine-grained-blockers.test
 create mode 100644 test-data/unit/fine-grained-cycles.test
 create mode 100644 test-data/unit/fine-grained-modules.test
 create mode 100644 test-data/unit/lib-stub/blocker.pyi
 create mode 100644 test-data/unit/lib-stub/blocker2.pyi
 create mode 100644 test-data/unit/lib-stub/broken.pyi
 delete mode 100644 typeshed/stdlib/2/array.pyi
 rename typeshed/stdlib/{3 => 2and3}/array.pyi (75%)
 create mode 100644 typeshed/stdlib/2and3/imaplib.pyi
 create mode 100644 typeshed/stdlib/3/multiprocessing/connection.pyi
 create mode 100644 typeshed/stdlib/3/multiprocessing/synchronize.pyi
 delete mode 100644 typeshed/third_party/2/croniter.pyi
 create mode 100644 typeshed/third_party/2and3/croniter.pyi
 rename typeshed/third_party/{2 => 2and3}/thrift/Thrift.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/__init__.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/protocol/TBinaryProtocol.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/protocol/TProtocol.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/protocol/__init__.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/transport/TSocket.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/transport/TTransport.pyi (100%)
 rename typeshed/third_party/{2 => 2and3}/thrift/transport/__init__.pyi (100%)
 delete mode 100644 typeshed/third_party/3/lxml/__init__.pyi
 delete mode 100644 typeshed/third_party/3/lxml/etree.pyi
 delete mode 100644 typeshed/third_party/3/lxml/objectify.pyi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mypy.git



More information about the debian-med-commit mailing list