summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
Commit message (Expand)AuthorAgeFilesLines
* bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (G...Yury Selivanov2018-06-081-8/+7
* bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter t...Serhiy Storchaka2018-02-221-6/+4
* bpo-32703: Fix coroutine resource warning in case where there's an error (GH-...Yury Selivanov2018-01-291-6/+7
* bpo-32670: Enforce PEP 479. (#5327)Yury Selivanov2018-01-261-50/+8
* bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code ...Serhiy Storchaka2018-01-251-12/+9
* bpo-32591: Add native coroutine origin tracking (#5250)Nathaniel J. Smith2018-01-211-4/+57
* Add the const qualifier to "char *" variables that refer to literal strings. ...Serhiy Storchaka2017-11-111-4/+4
* Move exc state to generator. Fixes bpo-25612 (#1773)Mark Shannon2017-10-221-11/+35
* bpo-31709: Drop support for asynchronous __aiter__. (#3903)Yury Selivanov2017-10-061-94/+0
* bpo-30860: Consolidate stateful runtime globals. (#3397)Eric Snow2017-09-081-0/+1
* Fix wrapping into StopIteration of return values in generators and coroutines...Yury Selivanov2017-03-121-2/+1
* Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE whereverSerhiy Storchaka2017-01-231-2/+1
* Backed out changeset 99c34e47348bVictor Stinner2016-12-091-1/+1
* Inline PyEval_EvalFrameEx() in callersVictor Stinner2016-12-091-1/+1
* Issue #28858: Remove _PyObject_CallArg1() macroVictor Stinner2016-12-051-1/+1
* Backed out changeset b9c9691c72c5Victor Stinner2016-12-041-2/+2
* Replace PyObject_CallFunction() with fastcallVictor Stinner2016-12-011-1/+1
* Replace PyObject_CallFunctionObjArgs() with fastcallVictor Stinner2016-12-011-2/+2
* Fix _PyGen_yf()Victor Stinner2016-11-241-0/+9
* Issue #28721: Fix asynchronous generators aclose() and athrow()Yury Selivanov2016-11-161-3/+11
* Issue #28003: Make WrappedVal, ASend and AThrow GC typesYury Selivanov2016-11-091-14/+48
* Merge 3.5Yury Selivanov2016-11-091-2/+2
|\
| * genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapperYury Selivanov2016-11-091-2/+2
* | Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-21/+51
|\ \ | |/
| * Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-10/+50
* | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raisingSerhiy Storchaka2016-10-211-30/+2
* | Issue #27129: Replaced wordcode related magic constants with macros.Serhiy Storchaka2016-09-111-2/+2
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators.Yury Selivanov2016-09-091-46/+986
* | Add NULL check for gen->gi_code in gen_send_ex()Christian Heimes2016-09-081-1/+1
* | merge 3.5 (#27968)Benjamin Peterson2016-09-071-12/+15
|\ \ | |/
| * supress coroutine warning when an exception is pending (#27968)Benjamin Peterson2016-09-071-12/+15
* | Avoid calling functions with an empty string as format stringVictor Stinner2016-09-061-1/+1
* | merge 3.5 (#27812)Benjamin Peterson2016-09-051-1/+4
|\ \ | |/
| * clear out f_gen during generator finalization (closes #27812)Benjamin Peterson2016-09-051-1/+4
* | merge 3.5 (closes #27811)Benjamin Peterson2016-09-051-12/+13
|\ \ | |/
| * do not allow _PyGen_Finalize to fail (closes #27811)Benjamin Peterson2016-09-051-12/+13
* | Merge 3.5 (issue #27243)Yury Selivanov2016-06-091-0/+94
|\ \ | |/
| * Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-0/+94
* | Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka2016-05-241-2/+2
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-2/+2
|\ \ | |/
* | Merge 3.5 (issue #25888)Yury Selivanov2016-03-021-6/+6
|\ \ | |/
| * coroutines: Error when awaiting on coroutine that's being awaitedYury Selivanov2016-03-021-6/+6
* | Merge 3.5 (issue #25887)Yury Selivanov2016-02-131-12/+21
|\ \ | |/
| * Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-131-12/+21
* | Issue #26136: Upgrade the generator_stop warning to DeprecationWarningMartin Panter2016-02-101-1/+1
* | Issue #20440: Cleaning up the code by using Py_SETREF.Serhiy Storchaka2016-01-051-10/+2
|/
* Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.Yury Selivanov2015-07-031-0/+22
* Issue #24439: Improve PEP 492 related docs.Yury Selivanov2015-06-241-5/+5
* Issue #24400: Introduce a distinct type for 'async def' coroutines.Yury Selivanov2015-06-221-57/+268
* Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.Yury Selivanov2015-05-281-1/+1