From: R David Murray Date: Mon, 10 Mar 2014 01:07:37 +0000 (-0400) Subject: whatsnew: dis.stack_effect (#19722). X-Git-Tag: v3.4.1rc1~233^2~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ad765169c176ad9a0f26c28e06bcfd0156ff6f2;p=thirdparty%2FPython%2Fcpython.git whatsnew: dis.stack_effect (#19722). --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 45fc6540f8cb..d2745f5c9f42 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -696,6 +696,10 @@ to ``distb(tb)``). (Contributed by Nick Coghlan, Ryan Kelly and Thomas Kluyver in :issue:`11816` and Claudiu Popa in :issue:`17916`) +New function :func:`~dis.stack_effect` computes the effect on the Python stack +of a given opcode and argument, information that is not otherwise available. +(Contributed by Larry Hastings in :issue:`19722`.) + doctest -------