62 Commits (c19bb3279cbb42c84a24255db48ee2d385bb8167)

Author SHA1 Message Date
Yury Selivanov e13f8f3cab Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines. 11 years ago
Yury Selivanov 66f8828bfc Issue #24439: Improve PEP 492 related docs. 11 years ago
Yury Selivanov 5376ba9630 Issue #24400: Introduce a distinct type for 'async def' coroutines. 11 years ago
Yury Selivanov 6ef059097c Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. 11 years ago
Yury Selivanov 683333955a Issue 24237: Raise PendingDeprecationWarning per PEP 479 11 years ago
Serhiy Storchaka 08d230a540 Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 11 years ago
Yury Selivanov df52e67d85 Fix warnings for gen_get_iter() 11 years ago
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 11 years ago
Yury Selivanov 18c30a29f8 Issue #22906: Do incref before SetCause/SetContext 11 years ago
Yury Selivanov 80e4dbea0e Issue 22906: Increment refcount after PyException_SetContext 11 years ago
Yury Selivanov 8170e8c0d1 PEP 479: Change StopIteration handling inside generators. 11 years ago
Antoine Pitrou 7403e91630 Issue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIteration exception. Patch by Stefan Behnel. 11 years ago
Antoine Pitrou 667f545e03 Issue #21938: simplify gen_iternext() 12 years ago
Victor Stinner 40ee30181f Issue #21205: Add a new ``__qualname__`` attribute to generator, the qualified 12 years ago
Victor Stinner 1310510793 Issue #14432: Generator now clears the borrowed reference to the thread state 12 years ago
Antoine Pitrou 58720d6145 Issue #17934: Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles. 13 years ago
Antoine Pitrou 796564c27b Issue #18112: PEP 442 implementation (safe object finalization). 13 years ago
Antoine Pitrou 9396356948 Backout c89febab4648 following private feedback by Guido. 13 years ago
Antoine Pitrou 04e70d19e7 Issue #17807: Generators can now be finalized even when they are part of a reference cycle. 13 years ago
Benjamin Peterson c9314d9e08 don't run frame if it has no stack (closes #17669) 13 years ago
Nick Coghlan 5b0dac12b8 Issue #13783: PEP 380 cleanup part 2, using the new identifier APIs in the generator implementation 14 years ago
Nick Coghlan c40bc09942 Issue #13783: the PEP 380 implementation no longer expands the public C API 14 years ago
Benjamin Peterson d62da9d658 close() doesn't take any args (closes #14717) 14 years ago
Benjamin Peterson ab3da290fe close() doesn't take any args (closes #14717) 14 years ago
Benjamin Peterson f50af113ab space 14 years ago
Benjamin Peterson 2afe6aeae8 perform yield from delegation by repeating YIELD_FROM opcode (closes #14230) 14 years ago
Benjamin Peterson 657e9ebef5 make gi_running a boolean 14 years ago
Benjamin Peterson 9fc309083a indicate we're not running as we leave this block 14 years ago
Benjamin Peterson 099a78fe6d make delegating generators say they running (closes #14220) 14 years ago
Amaury Forgeot d'Arc e557da804a Fix a crash when the return value of a subgenerator is a temporary 14 years ago
Nick Coghlan 1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 14 years ago
Benjamin Peterson 9d9141f5db adjust braces a bit 14 years ago
Antoine Pitrou 551ba20e8e Issue #13188: When called without an explicit traceback argument, 14 years ago
Antoine Pitrou a370fcf3b2 Issue #12791: Break reference cycles early when a generator exits with an exception. 15 years ago
Benjamin Peterson f07c9a1e69 this is expressed better as a for loop 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Georg Brandl 8943caf716 Merged revisions 70642,70648,70656,70661,70765,70773,70789,70824-70825,70828,70830,70832,70836,70838,70842,70851,70855,70857-70858 via svnmerge from 17 years ago
Benjamin Peterson d23f8224e9 Merged revisions 70712,70714,70764-70765,70769-70771,70773,70776-70777,70788-70789,70824,70828,70832,70836,70842,70851,70855,70857,70866-70872,70883,70885,70893-70894,70896-70897,70903,70905-70907,70915,70927,70933,70951,70960,70962-70964,70998,71001,71006,71008,71010-71011,71019,71037,71056,71094,71101-71103,71106,71119,71123,71149-71150,71203,71212,71214-71217,71221,71240 via svnmerge from 17 years ago
Georg Brandl 42827e91ee Fix a wrong struct field assignment (docstring as closure). 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Alexandre Vassalotti bee325387b Merged revisions 63361-63373,63375,63377-63380 via svnmerge from 18 years ago
Georg Brandl 5ffad6646e Make generator repr consistent with function and code object repr. 18 years ago
Alexandre Vassalotti e9f305fd16 Merged revisions 63208-63209,63211-63212,63214-63217,63219-63224,63226-63227,63229-63232,63234-63235,63237-63239,63241,63243-63246,63250-63254,63256-63259,63261,63263-63264,63266-63267,63269-63270,63272-63273,63275-63276,63278,63280-63281,63283-63284,63286-63287,63289-63290,63292-63293,63295-63296,63298-63299,63301-63302,63304-63305,63307,63309-63314,63316-63322,63324-63325,63327-63335,63337-63338,63340-63342,63344-63346,63348 via svnmerge from 18 years ago
Georg Brandl c91210c06b #2863: add gen.__name__ and add this name to generator repr(). 18 years ago