Commit Graph

  • 1c8c6ec7d9 Add type hints to werkzeug's AcceptMixin (#2349) Sebastian Rittau 2018-07-29 07:01:56 +02:00
  • 4e40b035c8 BaseException does not take keyword arguments (#2348) David Euresti 2018-07-27 13:28:43 -07:00
  • 0c9f0d21d2 allow for unicode entity dicts in saxutils (#2345) Martin DeMello 2018-07-24 11:18:23 -07:00
  • f5fc356928 markupbase: Fix unkown_decl typo (#2342) Ville Skyttä 2018-07-22 09:37:21 +03:00
  • 14fb9df49c Fix annotation shadowed by forward reference of preoprty in datetime constructor. (#2337) Dominik Gabi 2018-07-20 17:21:32 -07:00
  • b5bddc479d Add werkzeug annotations (#2339) Sebastian Rittau 2018-07-20 17:13:32 +02:00
  • 7bdf4655e0 Add missing asyncio 3.7 top-level functions (#2320) Hynek Schlawack 2018-07-20 17:10:52 +02:00
  • 4b8c37462e Fix decimal (#2323) Sebastian Rittau 2018-07-19 06:59:08 +02:00
  • 0f8e0ad661 Add missing slow_callback_duration attribute to AbstractEventLoop (#2340) Linda_pp 2018-07-19 13:57:46 +09:00
  • fd6f99ca2c fix mypy-selftest (#2341) Jelle Zijlstra 2018-07-18 21:12:37 -07:00
  • 574807d9ea os.get_terminal_size also exists on Windows (#2338) Jelle Zijlstra 2018-07-18 10:25:12 -07:00
  • 42db5ad4f7 Add missing int.__index__() signature (#2335) Omar Sandoval 2018-07-16 15:30:06 -07:00
  • 7d3ec1e0be Improvements to pymysql (#2220) Jelle Zijlstra 2018-07-13 19:43:09 -07:00
  • fc290167eb Fixes to boto.s3.key stub (#2317) Jelle Zijlstra 2018-07-13 19:39:24 -07:00
  • 99f25d0cd3 Click: Make group and command decorators return the correct types (#2331) David Euresti 2018-07-13 19:23:47 -07:00
  • dc9f9db77f Assorted thirdparty fixes (#2332) Sebastian Rittau 2018-07-14 04:23:23 +02:00
  • cc45366ca5 Merge 2/genericpath and 2and3/genericpath (#2330) Ethan Smith 2018-07-13 22:07:15 +01:00
  • 8000513868 Change return type for click.Context.fail and click.Context.abort to NoReturn (#2326) Amol Bhave 2018-07-11 23:16:55 -04:00
  • 66e9aa644b Fix type for click.Context.exit (#2325) Amol Bhave 2018-07-11 22:58:18 -04:00
  • 8d13a377d4 Allow to specify None to encoding parameter of fdopen (fix #2321) (#2324) Linda_pp 2018-07-12 11:43:13 +09:00
  • 2899d0a6aa Make click decorators not modify the type (#2322) David Euresti 2018-07-11 12:35:05 -07:00
  • 0bc98a18f0 Add stdlib/2and3/imghdr stubs (#2318) Ran Benita 2018-07-10 18:10:25 +03:00
  • cadacab088 Add missing attributes to the dateutil/relativedelta stub (#2319) Ran Benita 2018-07-10 18:08:39 +03:00
  • a38dbc6c1e Merge decimal (#2306) Sebastian Rittau 2018-07-10 04:03:01 +02:00
  • 5bb58af6c8 Use float instead of Union[int, float] (#2308) Yusuke Miyazaki 2018-07-10 11:02:03 +09:00
  • 2a888416b2 Remove annotations from http.HTTPStatus enum members (#2314) justinpawela 2018-07-09 19:59:34 -06:00
  • c541077ffb Accept AnyStr in unittest.assertRegex (#2315) Bruce Merry 2018-07-09 22:23:18 +02:00
  • f582b53ff7 Add stub file for click.testing (#2243) Bertrand Bonnefoy-Claudet 2018-07-06 05:40:49 +02:00
  • c78b9eb022 Allow IMAP4.search() to accept "None" charset as docs say (#2310) NAKAMURA Yoshitaka 2018-07-05 15:24:51 +09:00
  • 347595bafb Make argument to sys.settrace optional (#2309) Josh Holland 2018-07-04 18:15:30 +01:00
  • 853c6e88a9 Merge stdlib/3.3 into stdlib/3 (#2297) Sebastian Rittau 2018-07-04 03:56:28 +02:00
  • 2a36b4cf01 Move asyncio from 3.4 to 3 (#2307) Sebastian Rittau 2018-07-03 18:06:04 +02:00
  • d4c15011e4 add __new__ to tuple in python2 (#2304) Steven Karas 2018-07-03 18:18:01 +03:00
  • 9229dd8f0c Merge stdlib/3.4 into stdlib/3 (#2303) Sebastian Rittau 2018-07-03 17:13:54 +02:00
  • 1ae2ba0fbe Use sys.platform instead of comments (#2286) Yusuke Miyazaki 2018-07-04 00:13:04 +09:00
  • 6192cce9d9 Avoid using string literals in type annotations (#2294) Yusuke Miyazaki 2018-07-03 12:23:29 +09:00
  • 25ad95de4f Drop Python 3.3 support from asyncio and ipaddress (#2293) Sebastian Rittau 2018-07-03 05:22:58 +02:00
  • d3865574a9 Remove asyncio.tasks.async (#2296) Sebastian Rittau 2018-07-02 23:34:18 +02:00
  • ce1504d9e9 Add missing cls argument to FileFinder.path_hook() (#2299) Sebastian Rittau 2018-07-02 22:19:04 +02:00
  • e767c38c37 Move lineno and col_offset to ast.AST (#2298) Sebastian Rittau 2018-07-02 22:18:38 +02:00
  • 236ed3f731 Add genericpath stub (#2300) Ethan Smith 2018-07-02 21:13:38 +01:00
  • 6a18bd3ec2 Add missing self to TestCase.addCleanup() (#2301) Sebastian Rittau 2018-07-02 21:12:59 +02:00
  • 02192ecaf0 Install pytype from PyPI (#2302) Yusuke Miyazaki 2018-07-03 03:57:20 +09:00
  • 581705d9ee Prefer to use ellipsis over pass (#2292) Yusuke Miyazaki 2018-06-29 02:29:45 +09:00
  • 187aaaced9 Use protocols for shutils.copyfileobj() (#2291) Sebastian Rittau 2018-06-28 19:28:24 +02:00
  • 7ebd609643 Add pyexpat and xml.parsers (#2276) Sebastian Rittau 2018-06-28 19:26:17 +02:00
  • f35c5d1349 Jinja2 async support (#2278) potykion 2018-06-28 20:24:37 +03:00
  • b261b228ba Merge Python 2 and 3 shutil (#2259) Sebastian Rittau 2018-06-28 05:42:58 +02:00
  • 86883d3df9 Remove unused import statements (#2282) Yusuke Miyazaki 2018-06-28 12:14:57 +09:00
  • f8041d08db logging.BASIC_FORMAT also for python2.7 (#2283) Philipp Hahn 2018-06-28 05:14:06 +02:00
  • ee07115c96 urllib2.build_open() accepts instances and classes (#2284) Philipp Hahn 2018-06-28 05:13:46 +02:00
  • 4e3b8f7e15 tty.set*() accepts fd or file object (#2285) Philipp Hahn 2018-06-28 05:12:04 +02:00
  • b7df5a670a Add type stubs for google.protobuf.service (#2187) Nipunn Koorapati 2018-06-27 15:38:29 -07:00
  • 5b32e79f4a [gflags] Give DEFINE* default values Optional types (#2279) Guido van Rossum 2018-06-26 13:53:39 -07:00
  • b91cb87249 Add a convention for platform-dependent APIs to CONTRIBUTING.md (#2281) Yusuke Miyazaki 2018-06-27 01:14:12 +09:00
  • de1755b263 Remove type cycle in click (#2277) Ethan Smith 2018-06-26 10:24:55 -04:00
  • 41e5fe4457 Message.WhichOneof returns Text, not bytes (#2274) Guido van Rossum 2018-06-23 15:42:13 -07:00
  • 16ed540c95 Fix type for imaplib.IMAP4.error and related (#2273) NAKAMURA Yoshitaka 2018-06-23 00:43:25 +09:00
  • 39d95f16cf Drop Python 3.3 support from importlib stubs (#2264) Sebastian Rittau 2018-06-22 17:36:00 +02:00
  • 507ad2dcbe importlib.util.find_spec has optional return type (#2270) Ethan Smith 2018-06-22 11:06:06 -04:00
  • 95eff73ab2 Drop Python 3.3 support from several stubs (#2265) Sebastian Rittau 2018-06-21 01:49:47 +02:00
  • b05e99297c Drop Python 3.3 support from several stubs (#2266) Sebastian Rittau 2018-06-21 01:46:11 +02:00
  • 1184726417 Drop Python 3.3 support from email stubs (#2263) Sebastian Rittau 2018-06-20 21:04:22 +02:00
  • 40b176b195 Fix annotation for difflib.SequenceMatcher.find_longest_match (#2253) John Reese 2018-06-20 10:52:39 -07:00
  • fb92ee84c5 Make overloads in the Python 2 builtins with a 'None' fallback come first (#2261) Michael Lee 2018-06-20 08:26:06 -07:00
  • fa74160e1f Drop support for Python 3.3 (#2258) Sebastian Rittau 2018-06-20 00:37:13 +02:00
  • 07374a8251 Fix requests.post signature (#2256) Jukka Lehtosalo 2018-06-19 17:08:55 +01:00
  • feeb4e71ef Change mock classes to Any values to avoid false positives (#2255) Jukka Lehtosalo 2018-06-19 16:28:19 +01:00
  • a88d942f91 Add missing protobuf container methods (#2254) Jukka Lehtosalo 2018-06-19 15:52:54 +01:00
  • a5b7ddd96c Accepy bytes in sock.connect() and family (#2252) Andrew Svetlov 2018-06-18 20:30:41 +03:00
  • 96e3e23d9b Add locale.windows (#2251) Sekou Diao 2018-06-18 18:19:55 +02:00
  • e404bc7cd6 Allow pathlib.Path in zipfile.ZipFile (#2238) strager 2018-06-18 08:29:23 -07:00
  • 1a8455b444 Add thread_name_prefix to ThreadPoolExecutor stub (#2249) Daniel Li 2018-06-17 21:33:37 -04:00
  • 00cda79cf5 add io.TextIOWrapper.read in 3.3 (#2248) Jelle Zijlstra 2018-06-17 15:47:07 -07:00
  • 3032fbdff1 make http.client.HTTPResponse concrete in 3.4 (#2244) Jelle Zijlstra 2018-06-17 09:29:02 -07:00
  • da8de48f6d UserList and UserString in 2.7 (#2246) Jelle Zijlstra 2018-06-17 09:24:31 -07:00
  • 8084dc1c1f Fix abstract classes in 2.7 (#2247) Jelle Zijlstra 2018-06-17 09:21:17 -07:00
  • 6b36b1befe Iterator provides a concrete __iter__ in 2.7 (#2245) Jelle Zijlstra 2018-06-17 04:00:42 -07:00
  • 0393de4bd7 fix some abstract classes in Python 2 (#2240) Jelle Zijlstra 2018-06-16 16:56:00 -07:00
  • 7c3edba6ce python2/gettext improvements (#2235) Philipp Hahn 2018-06-16 19:19:24 +02:00
  • 94ab32ba59 Fix abstract classes for Python 3 (#2239) Jelle Zijlstra 2018-06-16 10:18:54 -07:00
  • 341fa375ef cleanup in typing.pyi (#2241) Jelle Zijlstra 2018-06-16 08:24:52 -07:00
  • c06a718c5b always run mypy with --no-implicit-optional (#2242) Jelle Zijlstra 2018-06-15 21:34:14 -07:00
  • 499f852e37 add --show-traceback to mypy_test.py flags (#2236) Jelle Zijlstra 2018-06-15 16:46:59 -07:00
  • 5054465746 Make concurrent.futures stubs identical (#2237) Daniel Li 2018-06-15 13:03:19 -04:00
  • a9366df7e8 Improve signatures in concurrent.futures backport (#2233) Daniel Li 2018-06-15 11:21:01 -04:00
  • 56c93c85c0 Add NoReturn to execv* family of functions (#2226) Anthony Sottile 2018-06-15 07:55:45 -07:00
  • ff821f9751 Update pytype_test and pytype_blacklist (#2225) Rebecca Chen 2018-06-15 07:53:17 -07:00
  • 451deba4ef memoryview type information inconsistent with runtime behavior (#2230) Jason Fried 2018-06-15 07:51:56 -07:00
  • 395ab5abd1 Values of data are Optional (#2231) Anthony Sottile 2018-06-15 07:48:55 -07:00
  • 4b5a63d10f Fix werkzeug.wrappers.BaseResponse.__init__ (#2232) Bertrand Bonnefoy-Claudet 2018-06-15 16:24:22 +02:00
  • 15ad132393 Werkzeug stub fixes (#2229) Bertrand Bonnefoy-Claudet 2018-06-14 18:04:18 +02:00
  • 02c42c9cf6 optparse.Values.__getattr__ like argparse.Namespace (#2228) Philipp Hahn 2018-06-14 15:13:10 +02:00
  • be3c43cf63 A Thread(target=...) function can return anything (#2224) Anthony Sottile 2018-06-13 11:50:17 -07:00
  • caff008ff2 test files under stdlib/2and3 with both python versions (#2222) Martin DeMello 2018-06-12 15:48:00 -07:00
  • c4ee2ed36a Correct annotation for fileinput.input (#2223) Anthony Sottile 2018-06-12 15:45:11 -07:00
  • de86f15fa0 Make http.client.HTTPResponse a BinaryIO (#2218) Jelle Zijlstra 2018-06-12 09:20:24 -07:00
  • 6bbf3d89eb Further improve codecs stubs (#2217) Jelle Zijlstra 2018-06-11 22:24:34 -07:00
  • 978c0913c8 Add stub for first (#2141) Ilya Konstantinov 2018-06-11 19:50:56 -07:00
  • 52c02a2364 Allow Any type to be acceptable for the msg parameter in `logging.{info, warn, error, ...} (#1776) Roy Williams 2018-06-11 19:10:31 -04:00