Commit Graph

  • 14ffe7ea17 Inherit from Any in threading.local and SimpleNamespace Daniel Shaulov 2016-01-22 12:24:36 +02:00
  • c83f4b57c7 Merge pull request #49 from ddfisher/master Guido van Rossum 2016-01-19 17:23:47 -08:00
  • 1a10134d54 Fix up uses of Future as an argument in asyncio David Fisher 2016-01-19 16:49:48 -08:00
  • 7c8797441b Make Generator __iter__ method return itself David Fisher 2016-01-19 16:49:20 -08:00
  • a080d6cee5 Make Future stub resemble reality better. Guido van Rossum 2016-01-19 14:23:09 -08:00
  • 740568ed25 Use NamedTuple for inspect.ArgSpec and .FullArgSpec. Guido van Rossum 2016-01-18 16:50:00 -08:00
  • f1beef02e7 Replace some unicode argument defaults with ... (the type checker does not care about the value). Guido van Rossum 2016-01-18 16:44:44 -08:00
  • 2d82816e14 Add Iterable base class to csv.DictReader. Fixes #47. Guido van Rossum 2016-01-18 16:39:08 -08:00
  • c0377b6753 Merge pull request #45 from bdarnell/updates Guido van Rossum 2016-01-16 14:13:59 -08:00
  • 1626c25087 Add some third_party modules. Ben Darnell 2016-01-16 16:56:25 -05:00
  • b7b7da1a85 Stubgen some more stdlib modules. Ben Darnell 2016-01-16 16:54:47 -05:00
  • 3a674645a5 Assorted fixes to stubs Ben Darnell 2016-01-16 16:52:01 -05:00
  • 01d96e4ac4 Fix signatures of __init__ for Thread and Timer Daniel Shaulov 2016-01-16 00:21:24 +02:00
  • 43fcb6c185 Merge pull request #44 from DanielShaulov/patch-1 Guido van Rossum 2016-01-15 08:29:56 -08:00
  • 723ed4f98f Add timer class to threading.pyi DanielShaulov 2016-01-15 18:13:22 +02:00
  • 5463335be2 Make deque inherit from MutableMapping (with difficulty). Fixes #43. Guido van Rossum 2016-01-14 09:14:38 -08:00
  • 71d15d6943 Remove outdated things from README. Guido van Rossum 2016-01-13 20:15:16 -08:00
  • d98f4a585b Merge pull request #42 from python/move Guido van Rossum 2016-01-12 14:14:00 -08:00
  • 8c2118bace Move contents of builtins/* to stdlib/*. This simplifies finding stubs. Guido van Rossum 2016-01-12 12:53:18 -08:00
  • 0938e8f5de Add flush keyword arg to print() (even though 3.2 does not support it). Guido van Rossum 2016-01-12 11:18:20 -08:00
  • 8539624f05 Fix Reversible.__reversed__() return type. (I should do more testing.) Guido van Rossum 2016-01-11 16:04:44 -08:00
  • 1c02f14dc1 Make Reversible covariant. Fixes #19. (Though it does not seem to be *necessary*.) Guido van Rossum 2016-01-11 15:32:43 -08:00
  • 0673b7bab9 Add Generator to 2.7/typing.pyi. Fixes #29. Guido van Rossum 2016-01-11 15:26:22 -08:00
  • 605c189f29 Merge pull request #39 from rmcgibbo/json Guido van Rossum 2016-01-11 13:49:24 -08:00
  • dfd7ceecd8 Add type annotations for json.load(s) Robert T. McGibbon 2016-01-11 13:20:59 -08:00
  • e463890df7 2.7 does not have lru_cache(). Guido van Rossum 2016-01-11 08:14:11 -08:00
  • 129bf57659 Merge pull request #40 from rmcgibbo/lru_cache Matthias Kramm 2016-01-11 05:55:32 -08:00
  • a40418ed7b Enhance type information for lru_cache Robert T. McGibbon 2016-01-11 01:16:10 -08:00
  • 0735ec0251 Add keyword args to stdlib's json.pyi Robert T. McGibbon 2016-01-10 23:30:10 -08:00
  • 87bc00eb2a Unify 2.7 and 3 stubs for functools. Guido van Rossum 2016-01-08 10:10:50 -08:00
  • 42da4e56f9 Have ast.pyi re-export symbols from _ast.pyi. Matthias Kramm 2016-01-08 10:02:16 -08:00
  • 0d7b6ce135 Fix Python 3 six.moves Jukka Lehtosalo 2016-01-08 15:21:11 +00:00
  • 505b108ced Merge pull request #35 from mrwright/master Guido van Rossum 2016-01-07 15:59:42 -08:00
  • 72e8813a1a Fix types for timetuple and utctimetuple Matthew Wright 2016-01-07 15:45:01 -08:00
  • 5cf2fa45b8 Add cStringIO, cPickle to six.moves. Add six.moves for PY3. Guido van Rossum 2016-01-06 16:41:22 -08:00
  • 0f21b59a30 Some updates now typing.Container is defined. Guido van Rossum 2016-01-06 16:38:14 -08:00
  • 9aabb149e3 Simplify PY3 len() spec, no Union with tuple needed. Guido van Rossum 2016-01-06 16:34:53 -08:00
  • 0eac99679c Add object.__setattr__ for 2.7. Guido van Rossum 2016-01-06 16:34:26 -08:00
  • 017f4efa0f Simplify SystemRandom now it subclasses Random, for 2.7 and 3. Guido van Rossum 2016-01-06 16:29:04 -08:00
  • cb40959116 Improve 2.7 stub for tempfile. Guido van Rossum 2016-01-06 16:21:35 -08:00
  • ee8e8fcb69 Swap max() and min() overloads so max(x, y) and min(x, y) work as expected. Guido van Rossum 2016-01-06 16:14:34 -08:00
  • 71b8a9f9ec Update 2.7 built-in set to be the same as PY3 set. AbstractSet does not have a union() method. Guido van Rossum 2016-01-06 16:06:58 -08:00
  • 76b746ba3f Add object.__new__ so it can be called. Guido van Rossum 2016-01-06 15:54:39 -08:00
  • f37bd69266 Add abstractproperty.__new__ so it can be used. Guido van Rossum 2016-01-06 15:48:47 -08:00
  • cff4aa066b Merge pull request #34 from catch22/patch-2 Matthias Kramm 2015-12-30 13:21:23 -08:00
  • c62821221a Update random.pyi Michael Walter 2015-12-30 22:18:10 +01:00
  • 28e1cbec46 Merge pull request #33 from catch22/patch-1 Matthias Kramm 2015-12-30 13:04:28 -08:00
  • 05a711ec27 Update shlex.pyi Michael Walter 2015-12-30 21:59:56 +01:00
  • 4a1674a148 Improve Python 2 stub for abc; _weakrefset stub. Matthias Kramm 2015-12-22 15:37:03 -08:00
  • 2bb0d98b6d add Python 2 stubs for ast, tokenize Matthias Kramm 2015-12-22 12:01:02 -08:00
  • cbb8014508 Add __version__ to _ast.pyi. Matthias Kramm 2015-12-22 09:53:38 -08:00
  • a3987c09e6 Merge pull request #32 from gnprice/sequence Matthias Kramm 2015-12-22 05:50:56 -08:00
  • 08d08fbabb builtins: Reversible is redundant when Sequence is already present Greg Price 2015-12-21 18:12:23 -08:00
  • f3b499fd99 typing: update 2 to match 3 on Sequence and Container Greg Price 2015-12-21 18:11:14 -08:00
  • c0493bd3d0 Merge pull request #31 from gnprice/operator matthiaskramm 2015-12-17 15:31:48 -08:00
  • 667b98040a operator: Make attrgetter, itemgetter, methodcaller usable Greg Price 2015-12-17 15:12:47 -08:00
  • b46b66c187 Share operator in 2and3 Greg Price 2015-12-17 14:49:34 -08:00
  • bd36a37481 Add __setattr__ to object Jukka Lehtosalo 2015-12-05 15:41:10 -08:00
  • a4c268c4e4 The typing stub should not import asyncio. Fixes https://github.com/JukkaL/mypy/issues/1050 . Guido van Rossum 2015-12-05 14:22:45 -08:00
  • 107104dfe5 Fix type annotation syntax used in asyncio/futures.pyi. Guido van Rossum 2015-12-04 11:41:55 -08:00
  • 0687239f53 Inaugurate six.moves with zip (copied from builtins). Guido van Rossum 2015-12-04 09:00:28 -08:00
  • d7b9c96ec9 Merge pull request #30 from rowillia/master Guido van Rossum 2015-12-03 15:31:12 -08:00
  • 7f22db0492 Add Async classes to typing stub. Roy Williams 2015-12-01 11:38:01 -08:00
  • 30af935dc7 Make partial a generic type (the parameter being the return type). Guido van Rossum 2015-11-30 15:12:26 -08:00
  • cea5060892 Add sqlite3 stubs. Guido van Rossum 2015-11-30 14:56:08 -08:00
  • 4c547fc4f6 Add object.__new__ Jukka Lehtosalo 2015-11-29 12:18:42 -08:00
  • e7f731e74b Revert "Improve typing of 2.7/contextlib::contextmanager." Guido van Rossum 2015-11-26 21:02:23 -08:00
  • 76c3a5bab0 Improve typing of 2.7/contextlib::contextmanager. Guido van Rossum 2015-11-25 16:59:50 -08:00
  • 00f8e62751 Add __getattr__(), __setattr__(), __delattr__() to 2.7 threading.local(). Guido van Rossum 2015-11-25 15:59:20 -08:00
  • bbbccf61dc Add 'closing' to 2.7 contextlib stubs (same as for 3). Guido van Rossum 2015-11-24 21:08:02 -08:00
  • d3efa5d6bc Add missing definitions to Python 3 'traceback' Jukka Lehtosalo 2015-11-23 21:45:21 -08:00
  • a0deb69be9 Updated stub for 2.7 httplib; new stubs for 2.7 mimetools, rfc822. Guido van Rossum 2015-11-23 10:29:38 -08:00
  • 7b75dec702 Make last two slice() args optional in 2.7. Guido van Rossum 2015-11-22 21:08:38 -08:00
  • 1f7b00e451 Add more constants to 2.7 os stub, copied from 3.x os stub. Guido van Rossum 2015-11-22 17:02:41 -08:00
  • 9ae0c0b337 Fix argparse.Namespace better. Guido van Rossum 2015-11-22 16:28:54 -08:00
  • 830dc1f95b Add discard() method to 2.7 set(). Guido van Rossum 2015-11-22 16:20:19 -08:00
  • dc5a1e34a3 Fix 2.7 signature of fnmatch.translate(). Guido van Rossum 2015-11-22 16:18:29 -08:00
  • ea35d5c8e6 Add __getattr__ to argparse.Namespace. Guido van Rossum 2015-11-20 14:38:23 -08:00
  • 32cce184cf Backport enum for 2.7. Guido van Rossum 2015-11-20 14:34:33 -08:00
  • 54b49839fc Improve return value of ArgumentParser.parse_args Matthias Kramm 2015-11-11 16:31:35 -08:00
  • 87f4f54000 Fix duplicate definition in array.pyi. Matthias Kramm 2015-11-09 15:37:29 -08:00
  • 2601a12c88 fix return types in _io.pyi Matthias Kramm 2015-11-09 14:06:49 -08:00
  • 3b47859261 Add missing 'type:' Matthias Kramm 2015-11-09 13:58:09 -08:00
  • 94c9ce8fd0 Consistently use '= ...' for optional parameters. Matthias Kramm 2015-11-09 13:55:00 -08:00
  • 375bf063b1 Fix parse errors Matthias Kramm 2015-11-09 13:37:08 -08:00
  • 20f8635d73 fix syntax errors in unicodedata.pyi Matthias Kramm 2015-11-09 10:36:29 -08:00
  • 4fe8915d44 Add missing '-> None' to all __init__ methods. Matthias Kramm 2015-11-09 10:25:08 -08:00
  • d2a3d4a4ed Use explicit "# type: str" instead of '' shortcut. Matthias Kramm 2015-11-09 07:59:14 -08:00
  • 63e441e804 Merge pull request #23 from o11c/six-no-moves matthiaskramm 2015-10-29 13:11:43 -07:00
  • 617e93fb11 add link to o11c/stubtool Matthias Kramm 2015-10-28 13:27:06 -07:00
  • 2e5489d0e6 Add six, except six.moves Ben Longbons 2015-10-27 14:53:11 -07:00
  • c0aea8e8aa Finish implementation of the types module Ben Longbons 2015-10-26 17:35:14 -07:00
  • 33036f1b3b Rename _ellipsis to ellipsis. Matthias Kramm 2015-10-21 10:54:28 -07:00
  • e158a97ab2 Add BufferError, Ellipsis to 2.7/ Matthias Kramm 2015-10-21 10:51:12 -07:00
  • 4f06e3b964 Add a 2.7 symlink builtins.pyi --> __builtin__.pyi Matthias Kramm 2015-10-20 10:06:20 -07:00
  • 7ccc71aa85 Merge pull request #20 from o11c/builtin matthiaskramm 2015-10-20 10:03:45 -07:00
  • bc5880c749 Fix name of the builtin module in python2 Ben Longbons 2015-10-19 19:28:54 -07:00
  • ee1930d861 Merge pull request #15 from o11c/lots matthiaskramm 2015-10-20 07:17:17 -07:00
  • c2f892a409 Fix stubs that assumed reexport without as Ben Longbons 2015-10-16 14:48:27 -07:00
  • 2f49dfa1f5 Backport enum for pre-3.4 Ben Longbons 2015-10-16 16:57:44 -07:00