Commit Graph

86 Commits

Author SHA1 Message Date
Guido van Rossum 014a869a2a Short subsection on annotating coroutines (Ivan L, #225). 2016-05-24 12:18:54 -07:00
Guido van Rossum 9fd8df6d0c Improve wording on covariance of Type[] (Ivan L, #107). 2016-05-20 11:33:13 -07:00
Guido van Rossum e70675917d Clarify a sentence that mentioned LoggedVar[t]. 2016-05-19 10:15:48 -07:00
Guido van Rossum 92eb68bca0 Add section to PEP 484 on new feature Type[C]. 2016-05-18 10:04:22 -07:00
Guido van Rossum 1b9ff5e69b Fix some cursive markup. 2016-05-09 20:42:47 -07:00
Guido van Rossum aee868bdea Edits by Ivan Levkivskyi to be more precise about types vs. classes.
From https://github.com/python/typing/pull/214.
2016-05-06 16:06:56 -07:00
Serhiy Storchaka 3dad438872 Issue #26916: Fixed words duplications. 2016-05-03 12:03:16 +03:00
Guido van Rossum 6372e0621d Rip out the promotion from bytearray/memoryview to bytes. See http://bugs.python.org/issue26800. 2016-04-24 17:55:04 -07:00
Guido van Rossum 348da7712a Add Text alias. 2016-04-05 16:35:54 -07:00
Guido van Rossum 3f5669021e Add DefaultDict to PEP 484. 2016-04-05 09:16:06 -07:00
Guido van Rossum 9f33fa7793 Update the section on type erasure to disallow Node[int]() -- you must use a type alias. 2016-04-04 17:39:26 -07:00
Guido van Rossum 11e9267809 Show example of 2.7 syntax for argument-less function, and mention skipping 'self'. 2016-03-22 18:12:14 -07:00
Guido van Rossum 6ce45f1256 Give an explicit example for how to annotate *args, **kwds. 2016-03-22 14:54:38 -07:00
Guido van Rossum cf6962bc20 Clarify what's allowed in the base classes when making a new generic class. 2016-03-22 08:56:19 -07:00
Guido van Rossum db9caac261 Relax constraints on @overload. It may occur in modules if followed by a non-@overload version. 2016-03-21 13:51:08 -07:00
Guido van Rossum f81fd32c43 Updates to PEP 484 concerning the syntax for Python 2.7 and straddling code. 2016-03-21 13:31:02 -07:00
Guido van Rossum 70a63a4751 Moved ambv/typehinting repo to python/typing. Yeah! 2016-01-22 16:26:17 -08:00
Guido van Rossum 238df5a182 Update PEP 484 with recommended Python 2 alternative. 2016-01-11 09:36:24 -08:00
Guido van Rossum 0edb99f346 Add Awaitable, AsyncIterable, AsyncIterator to PEP 484 (to be released 3.5.2). 2015-12-03 15:27:36 -08:00
Ethan Furman b3a934952e fix typo 2015-10-30 08:45:05 -07:00
Guido van Rossum 10aeb49768 Special case in stub files for import *. 2015-10-30 08:40:37 -07:00
Guido van Rossum 0990eb2b1b Update typeshed link. 2015-07-29 18:44:48 +02:00
Guido van Rossum 90da49bb4b Add Python-Version header; some formatting fixes. 2015-07-16 09:44:36 +02:00
Guido van Rossum 1f813b8347 Clarify isinstance(x, Callable). Drop reference to isinstance() implementation. 2015-06-05 08:08:43 -07:00
Guido van Rossum c41c6fcc29 Typo fix (thanks Yuval G.). 2015-05-26 07:05:50 -07:00
Guido van Rossum 768662f9e8 PEP 484 (type hints) accepted by BDFL-Delegate (Mark Shannon). 2015-05-22 19:00:21 -07:00
Guido van Rossum e2ebedeb23 Update PEP 484. Mostly clarifications and edits; dropped predefined platform constants. 2015-05-22 08:21:26 -07:00
Guido van Rossum cc952ce033 Updated version of PEP 484. 2015-05-20 08:26:09 -07:00
Guido van Rossum 532c8f3c4c Discuss issue #105 and a solution. 2015-05-07 08:22:27 -07:00
Berker Peksag 12260a062d Fix PEP generation error. 2015-04-18 09:44:19 +03:00
Guido van Rossum 4f41b1f9e3 New version of PEP 484 for review by python-dev. 2015-04-17 14:44:03 -07:00
Guido van Rossum 2d90c47e44 Add section on PEP Development Process, with github links. 2015-03-20 10:26:19 -07:00
Guido van Rossum 908c2eb563 A new type hints draft. I've decided to publish more drafts.
Significant changes in this draft:
- Define stubs.
- Define `@overload`.
- Describe `cast()`.
- Fix description of `Any`.
- Describe `Callable[..., t]`.
- Explain why `List[t]` instead of `List<t>`.
- Add section on rejected alternatives.
- Various other edits for clarity.
2015-03-20 09:47:17 -07:00
Guido van Rossum 9d3cc6ea4d PEP 48{2,3} title changes (typing -> types) and add some cross-links. 2015-01-16 09:11:05 -08:00
Guido van Rossum e8ede28ac9 First public draft of PEP 484 2015-01-16 09:05:19 -08:00
Guido van Rossum c636a8b201 Add PEP 482, 483, 484 -- type hints. The latter two are stubs. 2015-01-08 11:10:25 -08:00