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.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to