Commit Graph

  • 2b97bb904a Add AIFC module stubs (#3075) Rune Tynan 2019-09-11 17:39:41 -05:00
  • 8d053f139f Change SyncManager behaviour when used as a context decorator (#3230) plokmijnuhby 2019-09-11 17:24:36 +01:00
  • 5ccf017ca0 fix: Add MapResult type (#3228) 秋葉 2019-09-12 00:20:40 +08:00
  • 686e21d330 Fix type in argparse.HelpFormatter._fill_text() (#3229) jjmortensen 2019-09-11 17:00:25 +02:00
  • c9f19b1d72 Use protocol for FTP.stor* (#3227) Sebastian Rittau 2019-09-10 23:40:10 +02:00
  • 668988fa8c Return concrete sets from ItemsView and KeysView (#3181) herr kaste 2019-09-05 16:59:59 +02:00
  • 3fc8aec425 Allow passing str to Python 2's bytearray.extend. (#3223) Benjamin Peterson 2019-09-04 14:24:58 -07:00
  • efb4af0108 Mark some types as non-hashable (#3219) Sebastian Rittau 2019-09-04 17:38:09 +02:00
  • 1d21315773 ssl.pyi: Add functions, support Path (#3044) Daniel Holth 2019-09-03 06:10:48 -04:00
  • b94fa842eb Type response of Flask test client methods: get, post, etc. (#2904) Pascal Corpet 2019-09-03 11:12:11 +02:00
  • abc241bd35 Use Literal to improve tempfile.[Named]TemporaryFile. (#3215) Rebecca Chen 2019-08-31 02:25:44 -07:00
  • f9300ed1ed Update pyre_extensions stub (#3214) Shannon Zhu 2019-08-30 16:15:24 -07:00
  • 99e8ed42a4 Mark ParamType.fail() as NoReturn (#3213) Colin Gilgenbach 2019-08-29 11:57:43 -04:00
  • ae881faaf1 Remove custom _Text type (#3211) Sebastian Rittau 2019-08-29 17:51:59 +02:00
  • d78747c0f0 Make target optional in contextlib redirecting managers (#3212) Andriy Teraz 2019-08-29 18:38:53 +03:00
  • f53f52de57 requests: Allow bytes for url parameters. (#3209) Benjamin Peterson 2019-08-28 21:53:19 -07:00
  • a48abb4546 Add unquote_to_bytes to Python 3 six.moves.urllib.parse. (#3208) Benjamin Peterson 2019-08-28 18:01:38 -07:00
  • cd1a0c592a Add typestubs for unittest.util (#3186) Jaromir Latal 2019-08-27 15:34:22 +02:00
  • 3e4a251b2b doctest: fix type of DocTestParser.get_doctest(lineno) (#3206) Ran Benita 2019-08-24 23:30:14 +03:00
  • 282405696e Make inplace sorting require mutable sequences in bisect module (#3199) plokmijnuhby 2019-08-24 17:06:38 +01:00
  • 03b38d4d2e Add sys.flags.utf8_mode. (#3205) Rebecca Chen 2019-08-23 12:06:21 -07:00
  • ce0f5b226f zipfile.ZipFile: Add start_dir attribute. (#3203) Benjamin Peterson 2019-08-22 23:46:16 -07:00
  • 04bcb89aea create_server returns a Server, not AbstractServer (#3131) Scott Belden 2019-08-23 02:31:40 -04:00
  • 75ccbdcab5 cadata param can (and PEM-encoded cadata must) be unicode under PY2 (#3150) Samuel Freilich 2019-08-23 02:25:41 -04:00
  • 72010bc5dc Update how mock classes alias to Any (#3182) Shannon Zhu 2019-08-19 17:10:27 -07:00
  • 1ab5145124 adds threading related members to queue.pyi (#3198) Michael Nix 2019-08-19 18:33:19 +02:00
  • e252094354 multiprocessing.Value can also take a Type (#3200) Alan Du 2019-08-19 11:52:00 -04:00
  • d5a918de7b Add stubs for CGIHTTPServer (#3196) Bouteillebleu 2019-08-19 14:34:29 +01:00
  • b2cd972b17 builtins: int.__pow__ can take a modulo argument (#3192) Ran Benita 2019-08-17 17:23:53 +03:00
  • c7417e8b3f builtins,numbers: harmonize float.__round__ and Real.__round__ (#3193) Ran Benita 2019-08-17 17:23:04 +03:00
  • c0625d3280 builtins: add __trunc__ to int and float (#3194) Ran Benita 2019-08-17 17:22:03 +03:00
  • fab2ee0d7c Remove unnecessary quotes around forward references. (#3191) Rebecca Chen 2019-08-16 20:29:32 -07:00
  • b294782183 Make most contextmanager __exit__ signatures return Optional[bool] (#3179) Michael Lee 2019-08-16 16:13:33 -07:00
  • 3cfc3150f0 Partially restore old (imprecise) signature of Match.group() (#3190) Ivan Levkivskyi 2019-08-16 19:53:52 +01:00
  • 5638d29203 Fix #3187 : Wrong Signatures in socketserver (#3189) Niels Buwen 2019-08-16 17:08:23 +02:00
  • 0ee7c3c38b Update __import__ function annotations (#3188) Jon Dufresne 2019-08-16 02:03:00 -07:00
  • b873894e16 Fix a typo (self -> cls) in stdlib/2/subprocess.pyi. (#3185) Rebecca Chen 2019-08-14 18:14:30 -07:00
  • 1edd6cd8a8 Add Match.regs (#2819) Ville Skyttä 2019-08-11 06:21:54 +03:00
  • 679e1a9a8c Update URL: python/black → psf/black (#3180) Jon Dufresne 2019-08-10 13:31:58 -07:00
  • 15b7cdaf40 Implement ZipExtFile in the zipfile type stubs (#3074) Rune Tynan 2019-08-10 16:25:03 -04:00
  • 26f575130c Add some redis types (#3092) Patrick Valsecchi 2019-08-10 22:22:40 +02:00
  • baea5a7bc3 Widen the annotation of os.write to include buffer. (#3109) Benjamin Peterson 2019-08-10 13:15:46 -07:00
  • 0dc3bf941a Improve type of tornado.testing.gen_test. (#3174) Benjamin Peterson 2019-08-10 13:08:59 -07:00
  • 628eee29f7 Use Literal in a few more places (#3176) Sebastian Rittau 2019-08-10 22:08:18 +02:00
  • c579f91077 Improve werkzeug exceptions slightly (#3178) Sebastian Rittau 2019-08-09 20:05:56 +02:00
  • 3f6cec9872 Fix Match.group problems (#3172) Sebastian Rittau 2019-08-08 16:59:20 +02:00
  • 6f01493edc Move some constants from tokenize to token in Python 3.7+. (#3175) Rebecca Chen 2019-08-07 23:45:08 -07:00
  • 0dea39cb3c make basicConfig parameters Optional[...] (#3170) Evgeny Dedov 2019-08-07 11:43:05 +03:00
  • 50f1988650 concurrent: add private classes and exceptions (#3169) g.denis 2019-08-07 10:39:15 +02:00
  • 29771aa1ee Add missing methods to asyncio stubs (#3088) Cole Maclean 2019-08-05 23:34:38 -07:00
  • d05a9d3d83 Improve enums (#3168) Jelle Zijlstra 2019-08-05 08:08:57 -07:00
  • 1dc24e1c67 Add nbytes to the memoryview definition (#3167) Phil Jones 2019-08-03 14:51:55 +00:00
  • 3c4141982e Declare asyncio.as_completed() as taking an Iterable (#3164) Nicklas Lindgren 2019-07-31 19:53:23 +02:00
  • 02401c836f Add type annotations for Python 3 html.entities (#3161) Jon Dufresne 2019-07-31 06:46:16 -07:00
  • f2fdb54765 Precise the type of Python 2 htmlentitydefs module (#3163) Jon Dufresne 2019-07-31 06:45:50 -07:00
  • edee7cfb3c Remove unused import from stdlib/2/htmlentitydefs.pyi (#3162) Jon Dufresne 2019-07-31 00:06:02 -07:00
  • 4c8d577d68 flask: allow view func body to be dict (#3149) Ilya Konstantinov 2019-07-30 17:04:36 -07:00
  • c3b70d4224 Require the newest pytype version, with a pyi parser fix. (#3160) Rebecca Chen 2019-07-30 13:50:51 -07:00
  • 29dde6c883 Fix type annotations for get_wch / unget_wch (#3157) Anthony Sottile 2019-07-30 08:57:11 -07:00
  • c6cbe4da66 inspect: use more specific arg type for some source retrieve functions (#3155) Ville Skyttä 2019-07-30 18:53:56 +03:00
  • bd2d0fcc85 Add hints for 3 globals from logging/__init__.py (#3159) Brad 2019-07-30 11:28:13 -04:00
  • 32a89809f0 curses: getch returns an integer (#3156) Anthony Sottile 2019-07-30 00:25:01 -07:00
  • 568f1ea555 Add attributes to xml.etree.ElementTree.ParseError. (#3158) Michael R. Shannon 2019-07-30 00:48:28 -06:00
  • 15aa18d0a2 dateutil.rrule can take dates (#3154) Allison Kaptur 2019-07-27 02:39:23 -07:00
  • 9ccf9356bf Remove Python 3.4 support (#3147) Sebastian Rittau 2019-07-27 10:58:21 +02:00
  • 4697adcb1a [stdlib][3] Add missing typing.OrderedDict generic stub for Python 3.7.2 (#3153) Kamil Bar 2019-07-26 20:46:15 +02:00
  • c8e7d98c1f Allow function.__code__ in Python 2 (#3152) Ran Benita 2019-07-26 17:40:22 +03:00
  • c356316c6f Use pytype.config.Options.create() for prettier code. (#3151) Rebecca Chen 2019-07-25 19:43:33 -07:00
  • df8ecf5a67 Fix incorrectly named parameters in logging module (#3148) Connor Brinton 2019-07-25 15:29:55 -04:00
  • e9d1f86591 gettext stubs fixed (#3130) Vasily Zakharov 2019-07-25 17:57:14 +03:00
  • b20e5b6c14 Travis: run mypy with Python 3.8 as well (#3146) Sebastian Rittau 2019-07-25 16:43:52 +02:00
  • 32ee49c79c Add zipfile.ZipFile.filename (#3104) Maarten ter Huurne 2019-07-25 11:26:39 +02:00
  • c9f9530224 xml.etree.ElementTree: use literal type for a more precise return value for tostring() (#3120) Ran Benita 2019-07-25 10:31:12 +03:00
  • b3f7be523a Fix __call__ type for GeneratorContextManager (#3143) Michael J. Sullivan 2019-07-24 13:20:15 -07:00
  • bf50612d76 inspect: get{doc,comments,module,sourcefile} can return None (#3137) Ville Skyttä 2019-07-24 23:05:02 +03:00
  • 9a7b286c66 warnings: ignore the type of category when message is a Warning (#3121) Ran Benita 2019-07-24 22:46:23 +03:00
  • 0177dedc42 Add werkzeug.middleware (#3103) Sebastian Rittau 2019-07-24 17:51:55 +02:00
  • 8794e40d41 Fix ast.Constant availability (#3142) Zsolt Dollenstein 2019-07-24 13:10:51 +01:00
  • 322be1b9e7 Upgrade flake8* and isort versions (#3141) Ville Skyttä 2019-07-24 00:02:19 +03:00
  • 8e0d288ea4 json: require a JSONDecoder/JSONEncoder in cls (#3138) Ville Skyttä 2019-07-23 23:59:57 +03:00
  • 67d091db15 Update google RepeatedCompositeFieldContainer (#3136) Nipunn Koorapati 2019-07-22 00:00:22 -07:00
  • 9dcdc7d481 faulthandler.dump_traceback_later: timeout can be float (#3134) Daniel Hahler 2019-07-21 01:04:25 +02:00
  • 9379cedfa7 remove itertools.accumulate from Python 2 stubs (#3135) Naman 2019-07-19 22:31:32 -07:00
  • 4072ad82fb Fix python 2 subprocess.Popen to produce Popen[bytes] (#3133) Michael J. Sullivan 2019-07-19 14:17:32 -07:00
  • 90c2c22961 Make python 2 subprocess consistent with python 3 (#3132) Michael J. Sullivan 2019-07-19 10:56:59 -07:00
  • dad16f2d43 Update socket exceptions (#3127) Sebastian Rittau 2019-07-19 01:50:28 +02:00
  • 40215d1fa3 Fix the definition of nsmallest() in stdlib/2 and 2and3/heapq.pyi (#3114) Yannack 2019-07-18 15:38:28 -04:00
  • 09d1055cd3 Remove mypy new analyzer tests (#3128) Sebastian Rittau 2019-07-18 17:02:12 +02:00
  • 508f992730 Add __eq__ to protobuf containers (#3126) Ivan Levkivskyi 2019-07-17 23:25:22 +01:00
  • 8e89faa90f Added Optional (#3125) William Ayd 2019-07-17 01:08:46 -07:00
  • 3ad3ed82c7 Overload the constructor of subprocess.Popen (#3113) Michael J. Sullivan 2019-07-16 15:41:33 -07:00
  • e2ec5d0525 Make SyntaxError.text be optional (#3119) 秋葉 2019-07-15 15:11:45 +08:00
  • f76b7b273b Re-export _curses._CursesWindow from curses (#3117) Anthony Sottile 2019-07-13 08:01:10 -07:00
  • 2a57ce2cec Add curses.COLORS and curses.COLOR_PAIRS (#3115) Anthony Sottile 2019-07-13 07:50:13 -07:00
  • 40124b5f4c Update required pytype version to one that supports async def. (#3112) Rebecca Chen 2019-07-11 12:47:46 -07:00
  • 34b47101dd Slice attributes can be of any type. (#3024) Brandt Bucher 2019-07-11 12:13:32 -07:00
  • 4ae4714e00 sys: refine the return type of sys.exc_info() (#3111) Ran Benita 2019-07-11 11:43:37 +03:00
  • b43e1d674f Use Literal overloads to give better types to subprocess (#3110) Michael J. Sullivan 2019-07-10 14:44:27 -07:00
  • f5c107cacd BytesGenerator requires BinaryIO (#3106) Cole Maclean 2019-07-07 22:03:07 -07:00
  • 1436cfdef9 Add types to FileStorage (#3067) Sebastian Rittau 2019-07-04 21:58:51 +02:00