[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [issue26891] CPython doesn't work when you disable refcounting
From:       Larry Hastings <report () bugs ! python ! org>
Date:       2016-04-30 12:29:52
Message-ID: 1462019392.26.0.588475309596.issue26891 () psf ! upfronthosting ! co ! za
[Download RAW message or body]


Larry Hastings added the comment:

Here is my theory: if the code asserts that it's true, and the code normally runs \
fine, then it's normally true, and therefore I can remove the assertion and the code \
will run correctly.  I haven't hit that assertion in the peephole optimizer.  But I \
have assertions turned off.

The checks in unicode / set / bytes (maybe) were not regulated by _NDEBUG, they were \
unconditional "if (refcnt != 1) BadInternalCall();" code.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue26891>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic