<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/compile.c, branch v2.2a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-09-07T08:45:55Z</updated>
<entry>
<title>SF bug [#458941] Looks like a unary minus bug.</title>
<updated>2001-09-07T08:45:55Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-07T08:45:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=51e2651b298cf59653133baf556f4cca3c569583'/>
<id>urn:sha1:51e2651b298cf59653133baf556f4cca3c569583</id>
<content type='text'>
com_factor():  when a unary minus is attached to a float or imaginary zero,
don't optimize the UNARY_MINUS opcode away:  the const dict can't
distinguish between +0.0 and -0.0, so ended up treating both like the
first one added to it.  Optimizing UNARY_PLUS away isn't a problem.

(BTW, I already uploaded the 2.2a3 Windows installer, and this isn't
important enough to delay the release.)
</content>
</entry>
<entry>
<title>When re-writing a factor containing a unary negation of a literal, only</title>
<updated>2001-08-30T18:53:25Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-08-30T18:53:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14ef244dfe8b79694d4baa48ceda874fe27ec05d'/>
<id>urn:sha1:14ef244dfe8b79694d4baa48ceda874fe27ec05d</id>
<content type='text'>
affect nodes without another operator.  This was causing negated
exponentiations to drop the exponentiation.  This closes SF bug #456756.
</content>
</entry>
<entry>
<title>Removed unreachable goto statement to silence SGI compiler.</title>
<updated>2001-08-30T14:06:45Z</updated>
<author>
<name>Sjoerd Mullender</name>
<email>sjoerd@acm.org</email>
</author>
<published>2001-08-30T14:06:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a2c2ae62df16b2a6d4b7fe14d0aaff5e09f7035d'/>
<id>urn:sha1:a2c2ae62df16b2a6d4b7fe14d0aaff5e09f7035d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>If an integer constant can't be generated from an integer literal</title>
<updated>2001-08-27T19:45:25Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-27T19:45:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=71b6af91d382a0e084b55f1d519aedc1b71a97d4'/>
<id>urn:sha1:71b6af91d382a0e084b55f1d519aedc1b71a97d4</id>
<content type='text'>
because of overflow, generate a long instead.
</content>
</entry>
<entry>
<title>Patch #445762: Support --disable-unicode</title>
<updated>2001-08-17T18:39:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-17T18:39:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339d0f720e86dc34837547c90d3003a4a68d7d46'/>
<id>urn:sha1:339d0f720e86dc34837547c90d3003a4a68d7d46</id>
<content type='text'>
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
</content>
</entry>
<entry>
<title>Fix SF bug [ #450909 ] __future__.division fails at prompt</title>
<updated>2001-08-14T20:01:59Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-14T20:01:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=481081e3693e1a7169cf8127725f7dc0e1750f29'/>
<id>urn:sha1:481081e3693e1a7169cf8127725f7dc0e1750f29</id>
<content type='text'>
When code is compiled and compiler flags are passed in, be sure to
update cf_flags with any features defined by future statements in the
compiled code.
</content>
</entry>
<entry>
<title>SF Patch [ 429024 ] deal with some unary ops at compile time</title>
<updated>2001-08-12T01:54:38Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-12T01:54:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d5e5a2aa284d610b2bf1fb948c0e8da348ad2733'/>
<id>urn:sha1:d5e5a2aa284d610b2bf1fb948c0e8da348ad2733</id>
<content type='text'>
Revised version of Fred's patch, including support for ~ operator.

If the unary +, -, or ~ operator is applied to a constant, don't
generate a UNARY_xxx opcode. Just store the approriate value as a
constant.  If the value is negative, extend the string containing the
constant and insert a negative in the 0th position.

For ~, compute the inverse of int and longs and use them directly, but
be prepared to generate code for all other possibilities (invalid
numbers, floats, complex).
</content>
</entry>
<entry>
<title>Remove st_nested_scopes from struct symtable,</title>
<updated>2001-08-11T21:51:24Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-11T21:51:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1abf610b154cc727f219fd52b2c1f868584a6e7b'/>
<id>urn:sha1:1abf610b154cc727f219fd52b2c1f868584a6e7b</id>
<content type='text'>
because nested scopes are always enabled.

(Accidentally checked in one small change along this path yesterday,
wreaking havoc in the Windows build.)
</content>
</entry>
<entry>
<title>st_nested_scopes was uninitialized trash.  Jeremy should fix in a better</title>
<updated>2001-08-11T01:06:35Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-11T01:06:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff1f8521ace7449743f93e5de3d58752f42eca08'/>
<id>urn:sha1:ff1f8521ace7449743f93e5de3d58752f42eca08</id>
<content type='text'>
way; see code comments.
</content>
</entry>
<entry>
<title>Refactor future feature handling</title>
<updated>2001-08-10T21:41:33Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-10T21:41:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b857ba261fc468d956e350f51469efd7d5773da2'/>
<id>urn:sha1:b857ba261fc468d956e350f51469efd7d5773da2</id>
<content type='text'>
Replace uses of PyCF_xxx with CO_xxx.

Replace individual feature slots in PyFutureFeatures with single
bitmask ff_features.

When flags must be transfered among the three parts of the interpreter
that care about them -- the pythonrun layer, the compiler, and the
future feature parser -- can simply or (|) the definitions.
</content>
</entry>
</feed>
