Commit Graph

  • 548dbbbc71 yaml.dump(..., stream) is optional (#2289) Philipp Hahn 2019-05-06 16:10:11 +02:00
  • 5081d1e132 Switch pytype_test from a whitelist to a blacklist for third_party. (#2956) Rebecca Chen 2019-05-05 22:02:53 -04:00
  • bf2d51742b unittest: Add overloads to assert(Not)AlmostEqual(s) (#2901) Jan Szopinski 2019-05-05 20:15:17 +01:00
  • 12fa5c4fdb Added defs for undocumented attrs on enums (#2941) Ethan Madden 2019-05-05 12:07:22 -07:00
  • 54069f4341 Annotate copy for MappingProxyType (#2955) Michael A. Smith 2019-05-05 14:10:59 -04:00
  • c4b249c9a8 Use dunder parameter name in _Writer.write (#2954) Jia Chen 2019-05-04 19:51:39 -07:00
  • ec16e435eb Use dunder parameter name in Container.__contains__ (#2953) Jia Chen 2019-05-04 19:00:47 -07:00
  • 337c382196 Added termios.error (#2951) Jonathan Slenders 2019-05-04 13:13:53 -07:00
  • 910c71050d Update Black URL (#2950) Jon Dufresne 2019-05-04 08:42:44 -07:00
  • 8bd744a38f fix type of msg argument to HTTPRedirectHandler.redirect_request (#2949) Jelle Zijlstra 2019-05-03 14:44:56 -04:00
  • 4d61442004 click/types.pyi: Add case_sensitive wrt click 7.0 (#2948) Utkarsh Gupta 2019-05-03 14:44:36 +00:00
  • 1726b31013 Change WatchedFileHandler to inherit from FileHandler (#2947) Callum Ryan 2019-05-02 12:55:56 -07:00
  • df953ca385 config.pyi: Return a Thread instance (#2945) Utkarsh Gupta 2019-05-02 10:22:51 +00:00
  • 556f354e1e add BadRequestKeyError (#2944) Scott Belden 2019-05-02 05:45:05 -04:00
  • cda204a151 Remove MutableMapping from requests.Session.cookies's type (#2946) Jia Chen 2019-05-02 01:39:42 -07:00
  • 6d8e610d75 itertools.pyi: Replace Iterable with Iterator. (#2943) Utkarsh Gupta 2019-04-30 21:53:59 +00:00
  • 1fddec3f90 Positional-only arguments for built-in functions. (#2921) Brandt Bucher 2019-04-30 02:22:25 -07:00
  • 67b42aff6b Add initializer for http.cookiejar.Cookie (#2932) Sushain Cherivirala 2019-04-29 01:34:28 -07:00
  • ff650d3275 socket: add .set_inheritable() (#2935) Jelle Zijlstra 2019-04-28 08:13:20 -07:00
  • 5acc22d82a Specify default = ..., positional-only for orjson API (#2936) ijl 2019-04-27 18:09:26 +00:00
  • 4e572ae6a3 Remove format_map from Python 2 unicode. (#2933) Benjamin Peterson 2019-04-23 16:42:27 -07:00
  • fd57aee5da Make shlex.shlex convertable to a list in Python 2. (#2927) Rebecca Chen 2019-04-21 00:21:00 -07:00
  • 97240083c4 Correct the type signature of assertRaisesRegexp (#2926) Stephen Thorne 2019-04-19 04:31:00 +01:00
  • 4cd9a8ef91 Make loop optional in asyncio.Queue (#2923) Yegor Roganov 2019-04-14 22:43:33 +03:00
  • cf88c79a93 locale.format_string takes strings and numbers, too. (#2922) Utkarsh Gupta 2019-04-14 16:30:07 +00:00
  • d9c5422ebf Add stub for multiprocessing.Value.get_lock() (#2920) Philipp Schrader 2019-04-13 11:35:52 -07:00
  • efb67946f8 Use variable annotations everywhere (#2909) Michael Lee 2019-04-13 01:40:52 -07:00
  • b3c76aab49 KeysView and ItemsView should accecpt Iterable argument in set operation (#2906) 秋葉 2019-04-13 01:05:58 -05:00
  • f06f2e97bb Make os.altsep Optional on non-win32 platforms (#2918) Michael J. Sullivan 2019-04-12 23:00:19 -07:00
  • bd10d8aad4 Add @typing.type_check_only (#2679) Sebastian Rittau 2019-04-13 00:32:22 +02:00
  • 4230e6f313 Fix quit's argument and return types to match those of exit. (#2915) Brandt Bucher 2019-04-12 07:57:26 -07:00
  • c85fed8d98 Fix TextTestResult and TextTestRunner in unittest (#2910) Masashi SHIBATA 2019-04-12 19:50:12 +09:00
  • bec2fef7fa threading.Lock issue when using it with ExitStack (#2908) Sergey Machulskis 2019-04-11 19:39:17 +00:00
  • b87064a274 Add type hints for the turtle module (#2905) Michael Lee 2019-04-10 23:00:53 -07:00
  • 0350e9fa89 Fix some issues with __round__ (#2907) Michael J. Sullivan 2019-04-09 11:45:10 -07:00
  • 50a661afed Complete the stub for _thread.pyi. (#2900) Rebecca Chen 2019-04-09 11:02:04 -07:00
  • cfa65b831b flask.Flask.run: port can be str (#2903) Anthony Sottile 2019-04-08 11:41:37 -07:00
  • d46d36b7d7 Add six.moves types for email_mime sources. (#2902) Josh Morton 2019-04-08 10:56:29 -07:00
  • ce2b8a838c reword "What to include" (#2861) Jelle Zijlstra 2019-04-08 10:02:01 -07:00
  • cb7de8adfa Fix typo in FrameType 3.7 attributes (#2899) Rune Tynan 2019-04-03 17:52:34 -04:00
  • a651e2f3cd Update pytype_test to remove now-unnecessary parse-only functionality. (#2897) Rebecca Chen 2019-04-03 12:47:20 -07:00
  • 0f5302b3b5 Accept bytes as 1st argument of simplejson.loads (#2896) Shahar Evron 2019-04-02 17:40:59 +03:00
  • f11d061849 Add mmap as a valid buffer type. (#2895) Alex Chamberlain 2019-03-30 17:47:30 +00:00
  • d371513b80 werkzeug: ETagRequestMixin's functions are properties (#2894) Brendan Long 2019-03-30 13:44:10 -04:00
  • 9b9ff64fc5 tempfile.mkdtemp() should return a str when passed no arguments. (#2893) Rebecca Chen 2019-03-29 15:11:42 -07:00
  • f7c00b8b33 yaml: add full_load and full_load_all stubs (#2892) Christopher Dignam 2019-03-29 03:26:13 -04:00
  • bce70d1ca6 Added excepthandler to ast stubfiles (#2891) William Ayd 2019-03-28 08:23:56 -07:00
  • cc596aefbc Add a type: ignore as a hacky workaround for some mypy bazel issues (#2887) Michael J. Sullivan 2019-03-27 15:10:47 -07:00
  • 598d0d6ae1 [builtins] Add 'AST' type to 'source' parameter for 'compile()' (#2889) Chen Li 2019-03-27 00:29:16 -07:00
  • a1d1870779 Fix a py2 parameter type in string.Template.(safe_)substitute. (#2888) Rebecca Chen 2019-03-26 23:25:15 -07:00
  • c526975a1b Add overloads for min/max that don't take default (#2885) Michael J. Sullivan 2019-03-25 15:38:21 -07:00
  • 7646506c14 Add missing dateutil.tz.UTC (#2883) Hynek Schlawack 2019-03-22 15:42:55 -05:00
  • 0f1e453606 Fix werkzeug.UserAgentMixin annotation (#2881) yoshiyuho 2019-03-22 16:24:44 +09:00
  • 168a968564 [third_party/click] add Exit exception definition (#2880) Jeff 2019-03-21 15:08:59 -07:00
  • 094974c3f5 [re] Add attribute '_pattern_type' to re. (#2877) Chen Li 2019-03-19 17:20:24 -07:00
  • afe665690c Add missing BaseException.__suppress_context__ attribute (#2876) wouter bolsterlee 2019-03-16 22:16:01 +01:00
  • 7c80c52a7a Add missing class pdb.Pdb. (#2872) Rebecca Chen 2019-03-16 14:14:16 -07:00
  • e541cdd1a6 Add unicode support to py2 string.Template. (#2871) Rebecca Chen 2019-03-16 14:12:36 -07:00
  • 03878d732a Add attribute queue.Queue.queue. (#2870) Rebecca Chen 2019-03-16 14:11:48 -07:00
  • 437d8e0ddd Add tarfile.filemode. (#2869) Rebecca Chen 2019-03-16 01:45:01 -07:00
  • 8c252052f9 Move pydoc from 2/ to 2and3/. (#2873) Rebecca Chen 2019-03-16 01:37:24 -07:00
  • 4743d2521a Remove asyncio.tasks from the pytype blacklist. (#2874) Rebecca Chen 2019-03-16 01:35:30 -07:00
  • 45e52de188 Speed up pytype_test by reducing subprocess calls. (#2868) Rebecca Chen 2019-03-14 19:04:40 -07:00
  • 15e1f76f61 move pycurl.pyi from 2 to 2and3 (#2867) JinyuanShanghai 2019-03-14 15:14:52 -07:00
  • 7b6bb60fe2 Remove an unused import from stdlib/3/importlib/__init__.pyi. (#2866) Rebecca Chen 2019-03-14 11:51:19 -07:00
  • 66bdf523ff Update signature of webbrowser.register for Python 3.7 (#2865) Cary Yang 2019-03-14 09:29:17 -07:00
  • 26fefcc704 Use protocol for print() file argument (#2848) Sebastian Rittau 2019-03-13 03:26:32 +01:00
  • cd088c44d2 Click: add 'length' and 'label' properties to ProgressBar. (#2860) Tom Briggs 2019-03-12 15:58:40 -04:00
  • d595a46912 Fix several Flask types (#2858) Gabriel Corona 2019-03-12 20:57:37 +01:00
  • b71ccbb136 Add timeit.main (#2731) Luke Granger-Brown 2019-03-12 16:37:10 +00:00
  • 6b6d8c82ac Support new ast features and node types introduced in Python 3.8 (#2859) Guido van Rossum 2019-03-12 08:34:56 -07:00
  • 5918098576 [traceback] Expose print_list method in traceback for python3. (#2837) Chen Li 2019-03-11 16:11:40 -07:00
  • 34cc5545fe email.mime.application.MIMEApplication expects data to be bytes, while it should be Union[str, bytes] (#2855) Vasily Zakharov 2019-03-11 22:42:55 +03:00
  • e4e19d6e98 Add email.charset.SHORTEST, QP, BASE64 to the stub for Python 2 (#2857) Vasily Zakharov 2019-03-11 22:41:19 +03:00
  • 08555f80d1 Make vars arguments Optional, as they default to None (#2853) Vasily Zakharov 2019-03-11 17:12:35 +03:00
  • 4856458251 Add logging.Formatter.formatMessage method (#2850) Lawrence Chan 2019-03-11 02:46:21 -05:00
  • 832bf52c28 asyncio: make type alias private and CamelCase (#2849) Jelle Zijlstra 2019-03-11 00:43:00 -07:00
  • 6f00053511 Add stubs for bleach (#2709) Sebastian Rittau 2019-03-11 05:08:46 +01:00
  • 012901e318 [asyncio] Change _set_running_loop(loop: AbstractEventLoop) to _set_running_loop(loop: Optional[AbstractEventLoop]) (#2828) Chen Li 2019-03-10 16:29:53 -07:00
  • 6282e9f59f Update asyncio streams stub (#2845) Gleb Chipiga 2019-03-11 02:15:03 +03:00
  • bf370b5908 Update attr stubs to 19.1.0 (#2846) Gleb Chipiga 2019-03-11 02:11:26 +03:00
  • ef5fc92b98 Added missing default value annotation (#2841) Eric Traut 2019-03-10 04:19:29 -07:00
  • 06c682449f Fix inconsistent self/cls parameter names (#2838) Eric Traut 2019-03-09 18:17:55 -08:00
  • 20b3b54460 Changed parameter name of several methods in logging module from 'lvl' to 'level' to match the implementation. Use in a keyword arg of 'lvl' results in runtime errors. (#2840) Eric Traut 2019-03-09 18:04:31 -08:00
  • 748ad3d21f Removed extraneous import statement that was redefining three symbols in markupsafe/__init__.py. This redefinition triggered type checking/linting errors. (#2842) Eric Traut 2019-03-09 17:57:54 -08:00
  • ab4c262043 Add isascii methods to str, bytes, and bytearray [Python 3.7]. (#2834) Brandt Bucher 2019-03-08 11:07:28 -08:00
  • 4dcd516caa Improve min/max (#2833) herr kaste 2019-03-08 19:25:34 +01:00
  • 979534c764 Prefer Mapping to Dict for input of csv DictWriter methods. (#2829) Pascal Corpet 2019-03-07 15:04:56 +01:00
  • b588d43a32 Add sunder names to enum (#2822) 秋葉 2019-03-06 22:31:53 +08:00
  • 939be9a787 Make 2.7's json.load use a protocol for fp (#2826) Michael J. Sullivan 2019-03-05 12:14:00 -08:00
  • e0211269d1 Add itermonthdays3 and itermonthdays4, fix incorrect 'cssclass_today' (#2825) Sean McLemon 2019-03-05 20:12:57 +01:00
  • 17cd91eeb3 multiprocessing.spawn submodule and multiprocessing.pool stubs (#2823) Sean McLemon 2019-03-05 14:52:02 +01:00
  • b80b2e4b98 make IMapIterator a subclass of Iterator (#2814) Maxim Kurnikov 2019-03-05 12:15:25 +03:00
  • f569957bbe Make urllib2.urlopen return a non-optional addinfourl (#2821) Michael J. Sullivan 2019-03-01 16:08:26 -08:00
  • 14e387b6fd fix some minor lint errors (#2820) Jelle Zijlstra 2019-03-01 03:29:23 -08:00
  • 3d638b0677 Revert "Fixing signature for Mapping.get's default parameter (#2810)" (#2817) Ivan Levkivskyi 2019-02-27 18:09:46 +00:00
  • 0efb2469d4 README.md suggests running tests with PYTHONPATH instead of MYPYPATH (#2813) Sean McLemon 2019-02-25 18:34:08 +01:00
  • af9082c302 Fix signature of asyncio.create_connection. (#2756) Aymeric Augustin 2019-02-23 19:04:15 +01:00
  • b5897d5643 fix undefined name in flask stub (#2811) Jelle Zijlstra 2019-02-23 01:28:03 -08:00
  • 2aee28cb6f fix missing space in imghdr (#2812) Jelle Zijlstra 2019-02-23 01:26:51 -08:00