]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
When re-writing a factor containing a unary negation of a literal, only
authorFred Drake <fdrake@acm.org>
Thu, 30 Aug 2001 18:53:25 +0000 (18:53 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 30 Aug 2001 18:53:25 +0000 (18:53 +0000)
commit14ef244dfe8b79694d4baa48ceda874fe27ec05d
treee6efd23ed34b577d293e4dff143c782e4d611969
parent4b8c0f6d7d66e2ca8f3a80d1b9ba01afee88f574
When re-writing a factor containing a unary negation of a literal, only
affect nodes without another operator.  This was causing negated
exponentiations to drop the exponentiation.  This closes SF bug #456756.
Python/compile.c