98 Commits (f111fd2e65ef7aefd4ebeadbb48e84d609bf3733)

Author SHA1 Message Date
Yury Selivanov b7c9150b68 Fix wrapping into StopIteration of return values in generators and coroutines (#644) 9 years ago
Serhiy Storchaka 228b12edcc Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 9 years ago
Victor Stinner 59a73276e9 Backed out changeset 99c34e47348b 9 years ago
Victor Stinner 0ca246c5e7 Inline PyEval_EvalFrameEx() in callers 9 years ago
Victor Stinner 7bfb42d5b7 Issue #28858: Remove _PyObject_CallArg1() macro 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 4778eab1f2 Replace PyObject_CallFunction() with fastcall 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Victor Stinner f7d199ff32 Fix _PyGen_yf() 9 years ago
Yury Selivanov 41782e4970 Issue #28721: Fix asynchronous generators aclose() and athrow() 9 years ago
Yury Selivanov 29310c47a7 Issue #28003: Make WrappedVal, ASend and AThrow GC types 9 years ago
Yury Selivanov 33499b7eed genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper 9 years ago
Serhiy Storchaka 24411f8a8d Issue #23996: Added _PyGen_SetStopIterationValue for safe raising 9 years ago
Serhiy Storchaka 467ab194fc Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising 9 years ago
Serhiy Storchaka ab8740058a Issue #27129: Replaced wordcode related magic constants with macros. 9 years ago
Yury Selivanov eb6364557f Issue #28003: Implement PEP 525 -- Asynchronous Generators. 9 years ago
Christian Heimes 884332b45a Add NULL check for gen->gi_code in gen_send_ex() 9 years ago
Benjamin Peterson b88db8745b supress coroutine warning when an exception is pending (#27968) 9 years ago
Benjamin Peterson bdddb11b0e clear out f_gen during generator finalization (closes #27812) 9 years ago
Benjamin Peterson 2f40ed4b94 do not allow _PyGen_Finalize to fail (closes #27811) 9 years ago
Victor Stinner 3466bde1cc Avoid calling functions with an empty string as format string 9 years ago
Yury Selivanov a6f6edbda8 Issue #27243: Fix __aiter__ protocol 10 years ago
Serhiy Storchaka b0f80b0312 Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. 10 years ago
Yury Selivanov c724bae51c coroutines: Error when awaiting on coroutine that's being awaited 10 years ago
Yury Selivanov 77c96813ab Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. 10 years ago
Martin Panter 7e3a91a5fc Issue #26136: Upgrade the generator_stop warning to DeprecationWarning 10 years ago
Serhiy Storchaka 576f132b98 Issue #20440: Cleaning up the code by using Py_SETREF. 10 years ago
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