Commit Graph

  • 2d3edbd348 Slightly improve annotation of tkinter.Tk (#2498) Sebastian Rittau 2018-10-02 05:15:22 +02:00
  • 94a1b09d1d Support PathLike arguments in the logging module. (#2500) Jan Teske 2018-10-02 05:13:37 +02:00
  • 7be20fcf91 Return Any, not Union from IP parsing functions (#2499) Sebastian Rittau 2018-10-01 17:48:39 +02:00
  • 3814d47aff Change json arguments in requests to Any (#2497) Ruben Berenguel 2018-09-30 17:23:34 +01:00
  • 45a11b974e Update parse_multipart return type to support Python 3.7 (#2474) Adam Dangoor 2018-09-27 21:19:02 +01:00
  • a8cfde79c4 Use structural inference for enum34 EnumMeta. (#2490) Benjamin Peterson 2018-09-27 09:27:41 -07:00
  • 25c9fdc20d Add bytes as legal type for RawConfigParser.read. (#2484) Scott Colby 2018-09-26 23:27:33 -07:00
  • 4f396f8130 Improve the pytz stubs (#2475) Ran Benita 2018-09-26 17:11:24 +03:00
  • 3af4ff9f94 PY2: UUID accepts both unicode and str (#2478) Michael R. Crusoe 2018-09-26 14:31:04 +03:00
  • 6968ff6cb0 error:"IPv4Network" has no attribute "hostmask" (#2482) spdkils 2018-09-25 22:58:05 -07:00
  • 9fda6b20ec Make the signature of optparse.OptionParser.parse_args more precise. (#2464) Rebecca Chen 2018-09-25 21:15:10 -07:00
  • cfa52c7c38 Add a stub for google.protobuf.json_format. (#2479) Rebecca Chen 2018-09-25 21:03:27 -07:00
  • 2a30462c4a The filter function may return str, tuple or list (#2472) Israel Tsadok 2018-09-26 06:26:23 +03:00
  • f73d060042 Use Text under Python 2 in shutil.pyi. (#2471) Siva Chandra 2018-09-25 20:25:04 -07:00
  • 9f98737119 weakproxy fixes (#2450) Sebastian Rittau 2018-09-26 05:23:02 +02:00
  • 65863bebf4 make __class__ refer to the current object's class (#2480) Michael J. Sullivan 2018-09-25 18:04:37 -07:00
  • 2e0af18dda slices of MutableSequences are also MutableSequences (#2428) Michael R. Crusoe 2018-09-25 23:06:59 +03:00
  • ea2122741f os.path.exists (Py 3) accepts a file descriptor (#2451) Sebastian Rittau 2018-09-24 16:53:44 +02:00
  • cca6ee43e6 Fix traceback.FrameSummary's "line" parameter (#2470) Nathaniel Manista 2018-09-21 16:58:25 -07:00
  • eb09e2898b Update pytype_test to be easier to run manually. (#2469) Rebecca Chen 2018-09-21 09:38:33 -07:00
  • 4f4a025409 Remove tuple's __init__ method (#2467) Michael J. Sullivan 2018-09-18 20:01:14 -07:00
  • 9827132d5b Fix return types in urllib.request (#2389) Sebastian Rittau 2018-09-19 01:45:09 +02:00
  • d70a6cbcc0 Add missing instance attributes to logging.LoggerAdapter (#2462) Emil Hessman 2018-09-18 20:23:04 +02:00
  • 1bc1fc2117 add constructor arguments for TimeoutExpired (#2466) Jelle Zijlstra 2018-09-18 05:02:38 -07:00
  • b7c262523b Fix the Python 2 signature of tempfile._TemporaryFileWrapper.write. (#2465) Rebecca Chen 2018-09-18 04:54:56 -07:00
  • 7dbc8748dc Add __iter__ method to codecs.StreamReader. (#2463) Rebecca Chen 2018-09-18 04:46:16 -07:00
  • 110ebf4bfe Add exc_text to LogRecord (#2461) Matthew Christopher 2018-09-18 04:39:05 -07:00
  • c1eb946324 Add name attribute to logging.Handler (#2459) Matt Robinson 2018-09-17 10:36:49 -07:00
  • daae0c7980 Allow any keyword argument in argparse add_argument() method (#2460) Christian Haudum 2018-09-15 22:05:15 +02:00
  • 9e72a7fd0c Fix the return type of decimal.Decimal.__new__. (#2458) Rebecca Chen 2018-09-15 09:12:52 -07:00
  • 77e4d5d5a8 Add six.moves.urllib_request and six.moves.urllib_response. (#2455) Rebecca Chen 2018-09-13 13:01:56 -07:00
  • b40cae139f Add more complete type hints for pkg_resources. (#2433) Teddy Sudol 2018-09-13 13:00:04 -07:00
  • 47f22a341e Add def __getattr__(name) -> Any: ... to all docutils stubs (#2439) Jon Dufresne 2018-09-13 12:59:13 -07:00
  • 75e13a0f36 Add Final to typing_extensions (#2453) Ivan Levkivskyi 2018-09-13 15:07:42 +01:00
  • 5cda4224fe Add type hint for fold arguments to datetime.datetime and datetime.time when Python >= 3.6 (#2449) kitsuyui 2018-09-12 10:30:29 +09:00
  • c6c8d7e540 unittest: make assertIn/assertNotIn accept iterables (#2447) Dmitry Shachnev 2018-09-11 19:48:44 +03:00
  • 60548f122f AbstractEventLoop exception handler is optional (#2446) Sebastian Rittau 2018-09-11 17:26:57 +02:00
  • 27514df2bd Fix annotation of boto Key.set_contents_from_string (#2445) Sebastian Rittau 2018-09-11 17:25:25 +02:00
  • 44bdf6c6c7 Fix RawConfigParser.readfp() annotation (#2443) Sebastian Rittau 2018-09-11 17:22:36 +02:00
  • 6afa610191 memoryview is a context manager (#2442) Zac Hatfield-Dodds 2018-09-11 22:13:38 +10:00
  • 8b9e4c378a fix module argument to unittest.main (#2403) Jelle Zijlstra 2018-09-10 11:04:05 -07:00
  • a08c6eae23 Add two more third_party libraries to pytype_test. (#2437) Rebecca Chen 2018-09-07 23:42:24 -07:00
  • c96812425a Overload the definitions of dataclasses.asdict and dataclasses.astuple (#2422) Sebastian Kreft 2018-09-07 07:14:28 +02:00
  • 55b9aaf916 Add Optional to typed_ast's arguments.type_comments (#2430) Michael J. Sullivan 2018-09-06 18:56:10 -07:00
  • 9d62d6d5c5 fix __metaclass_ references (#2402) Jelle Zijlstra 2018-09-06 18:24:03 -07:00
  • 19708fac61 add __enter__, __exit__ and __getattr__ to streamreader/writer (#2411) Martin DeMello 2018-09-04 13:38:18 -07:00
  • 8ed0159445 Remove duplicate method definitions in importlib and jinja2 (#2427) Ivan Levkivskyi 2018-09-04 15:50:47 +01:00
  • 50b5650a11 Add stub for datetime.time.fromisoformat introduced in 3.7 (#2426) Emil Hessman 2018-09-04 16:35:56 +02:00
  • 2e1c81684e fix duplicate definitions in tornado (#2424) Jelle Zijlstra 2018-09-03 16:39:51 -07:00
  • 6f62466d6f fix selftest (#2425) Jelle Zijlstra 2018-09-03 10:35:20 -07:00
  • 01abd34327 Use class with __call__ method instead of callable. (#2418) Siva Chandra 2018-09-03 09:50:01 -07:00
  • 5ed39dd8ce bring protocols.pyi more inline with documentation (#2421) Zsolt Dollenstein 2018-08-31 12:56:57 +01:00
  • 761b620e1a add @srittau to maintainers (#2420) Jelle Zijlstra 2018-08-28 07:50:50 -07:00
  • bbe9b94b00 smtplib improvements (#2419) Sebastian Rittau 2018-08-28 05:22:19 +02:00
  • c3cf369c6f Document required= argument for add_subparsers in py37+ (#2416) Anthony Sottile 2018-08-23 19:39:34 -07:00
  • c52c59f521 Remove duplicate adapters import. (#2414) Teddy Sudol 2018-08-23 17:01:47 -07:00
  • 2e7e8cc009 Add 3.7 variant of subprocess.run (#2409) Ollie Ford 2018-08-23 19:50:23 +01:00
  • 50a62b6a6a Improve werkzeug/exceptions typings (#2405) Tomasz Trębski 2018-08-22 17:49:11 +02:00
  • 8ab951c371 profile.run(sort=...) can be a string (#2413) Ran Benita 2018-08-22 17:48:18 +03:00
  • df516fab59 Some optparse improvements (#2290) Philipp Hahn 2018-08-22 06:51:30 +02:00
  • 2cd0aa16b5 Fix pkg_resources.pyi formatting (#2396) Teddy Sudol 2018-08-21 21:51:04 -07:00
  • fe04d3aa2d Accept str in cast (#2408) Ilya Konstantinov 2018-08-21 07:53:35 -07:00
  • 9e023e7586 minor namedtuple fixes (#2227) Jelle Zijlstra 2018-08-18 19:47:10 -07:00
  • c3b5513475 Add annotations to runpy.pyi (#2395) Goldstein 2018-08-19 05:25:48 +03:00
  • ebea29a0ed Make defaultdict.default_factory Optional. (#2401) Matt Gilson 2018-08-18 22:22:15 -04:00
  • 0386f3daec Change mode: unicode to mode: Text (#2398) Teddy Sudol 2018-08-17 16:33:35 -07:00
  • b209a649a0 Add date.fromisoformat() (#2393) Sebastian Rittau 2018-08-17 17:50:10 +02:00
  • 25ac4d6af4 Implement StartResponse using a protocol (#2392) Sebastian Rittau 2018-08-17 17:36:00 +02:00
  • a2676ec972 Improve werkzeug stubs (#2391) Sebastian Rittau 2018-08-17 17:35:14 +02:00
  • d45fc3daaf Fix typed_ast's Num type (#2387) Michael J. Sullivan 2018-08-16 03:36:13 -07:00
  • 700efc43dd add missing stubs in cryptography rsa/serialization (#2376) Brandon Lin 2018-08-15 20:50:56 -07:00
  • f25c9548ed Replace StartResponse arguments with ... (#2379) Sebastian Rittau 2018-08-15 19:41:39 +02:00
  • dc6d1ff8d3 Re-add .resolve() method to package_resources.Entrypoint (#2385) MinJune Kim 2018-08-16 02:40:45 +09:00
  • 099081016e Add more mmap constants (#2386) David Zbarsky 2018-08-15 13:39:47 -04:00
  • 7ad682b0ae Improve annotations for json.load() and loads() (#2382) Sebastian Rittau 2018-08-14 19:41:33 +02:00
  • 80a0a75f5f Add stubs for contextvars backport (3.5 and 3.6) (#2378) stevenjackson121 2018-08-14 11:05:02 -04:00
  • 29522f87c3 Allow sqlite3.connect to take PathLike object on Python 3.7+ (#2380) Yusuke Miyazaki 2018-08-12 14:49:49 +09:00
  • 126b3e17fd Revert #2347 (#2377) Ivan Levkivskyi 2018-08-09 21:22:12 +01:00
  • b0e9998c99 Complete smtplib and sync with 3.5+ (#2371) Ville Skyttä 2018-08-09 21:30:24 +03:00
  • 047040887b fix: list_commands returns strings (#2372) Devin Fee 2018-08-09 10:24:23 -07:00
  • 066d8becf9 socket.create_connection source_address can be bytes or bytearray too (#2370) Ville Skyttä 2018-08-09 20:02:34 +03:00
  • 850d16a668 socket.recv* return type improvements (#2363) Ville Skyttä 2018-08-09 18:07:17 +03:00
  • f6e2fb4401 Allow DictReader values to be None (#2346) (#2347) Chelsea Voss 2018-08-09 08:04:44 -07:00
  • 0f6f2abc30 Add another undocumented mypy_extension that we are trying out (#2374) Michael J. Sullivan 2018-08-09 07:57:46 -07:00
  • bc8d68cd34 Add constructor for HTTPError in urllib2/urllib.error (#2373) Michael Lee 2018-08-08 17:05:35 -07:00
  • 5b2c8dc883 concurrent.futures: Sync with Python 3.7 (#2343) Ville Skyttä 2018-08-08 18:26:01 +03:00
  • e9a7f7cc0d Add missing protobuf stubs (#2368) Max Murin 2018-08-08 01:40:40 -07:00
  • 7c263e3935 add set_time to OpenSSL.crypto.X509Store (#2367) Brandon Lin 2018-08-07 22:22:26 -07:00
  • e4656b1ac6 Add undocumented trait decorator to mypy_extensions (#2369) Michael J. Sullivan 2018-08-07 22:18:00 -07:00
  • 631d2768d6 Add stub for pathlib2 on Python 2.7 (#2351) Daniel Li 2018-08-07 13:27:18 -04:00
  • 5fc149bb31 Mark GzipFile.mtime as Optional[int] (#2365) Ville Skyttä 2018-08-07 20:22:46 +03:00
  • c1f89a90b4 Make dataclasses available as a backported third_party library. (#2354) Gary van der Merwe 2018-08-07 19:04:33 +02:00
  • 9a01b817f7 Add sockets attribute to asyncio.events.AbstractServer (#2364) Yusuke Miyazaki 2018-08-08 02:03:14 +09:00
  • 92a697cabd Make BaseManager.register a classmethod (#2356) (#2357) Stig Johan Berggren 2018-08-07 19:02:21 +02:00
  • dddca3b167 Add _field_defaults field to typing.NamedTuple (#2362) EFanZh 2018-08-08 01:01:40 +08:00
  • 5a1ea5efb2 Minor fixes for zipfile (#2360) tikki 2018-08-06 18:48:53 +02:00
  • 7e62d3cdb1 Add missing sqlite3.dbapi2.Cursor return types (#2359) Ville Skyttä 2018-08-06 18:08:17 +03:00
  • 1965e9dd22 Add stub for toml (#2355) Guido van Rossum 2018-08-02 23:02:49 -07:00
  • 4ca0a63027 Relate _curses.wrapper return type to its function arg (#2353) Olmo Kramer 2018-08-01 16:57:45 +02:00
  • 8b5d4708a0 Change a use of frozenset[int] to FrozenSet[int] (#2352) Michael J. Sullivan 2018-07-31 15:51:14 -07:00