A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-July/066937.html below:

[Python-Dev] LOAD_CONST POP_TOP

[Python-Dev] LOAD_CONST POP_TOP [Python-Dev] LOAD_CONST POP_TOPArmin Rigo arigo at tunes.org
Sun Jul 2 13:23:44 CEST 2006
Hi Georg,

On Fri, Jun 30, 2006 at 08:39:13PM +0200, Georg Brandl wrote:
> +                       case LOAD_CONST:
> +                               cumlc = lastlc + 1;
> +                               /* Skip over LOAD_CONST POP_TOP */
> +                               if (codestr[i+3] == POP_TOP) {

This is missing a ISBASICBLOCK() check.  It makes the following example
segfault:

    a = 5
    for i in range(1000):
        a or 4

Attached an updated patch to the SF tracker.


A bientot,

Armin.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4