<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/compile.c, branch v3.2rc2</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=v3.2rc2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v3.2rc2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-12-04T10:26:46Z</updated>
<entry>
<title>Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.</title>
<updated>2010-12-04T10:26:46Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-12-04T10:26:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8334fd9285a8e9f0864b0453ae738fe3f6893b21'/>
<id>urn:sha1:8334fd9285a8e9f0864b0453ae738fe3f6893b21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant includes of headers that are already included by Python.h.</title>
<updated>2010-11-30T09:41:01Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-11-30T09:41:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5b99f0fb306b80118849048b3d145c1a614c38b'/>
<id>urn:sha1:e5b99f0fb306b80118849048b3d145c1a614c38b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiler_error(): use PyUnicode_DecodeFSDefault() to decode the filename,</title>
<updated>2010-10-17T19:16:33Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-17T19:16:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c049982ea5dd26282e82d4874a0854df617ec45e'/>
<id>urn:sha1:c049982ea5dd26282e82d4874a0854df617ec45e</id>
<content type='text'>
instead of utf-8 in strict mode.
</content>
</entry>
<entry>
<title>Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects</title>
<updated>2010-10-16T13:14:10Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-10-16T13:14:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c7c8c30235e42c47500b91549c2b6154b61f883'/>
<id>urn:sha1:4c7c8c30235e42c47500b91549c2b6154b61f883</id>
<content type='text'>
filenames encoded to the filesystem encoding with surrogateescape error handler
(to support undecodable bytes), instead of UTF-8 in strict mode.
</content>
</entry>
<entry>
<title>add column offset to all syntax errors</title>
<updated>2010-09-20T23:02:10Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-09-20T23:02:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4efd9eb1534eeead7f56c89d1b5e394d8633990'/>
<id>urn:sha1:d4efd9eb1534eeead7f56c89d1b5e394d8633990</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#4617: Previously it was illegal to delete a name from the local</title>
<updated>2010-09-10T21:39:53Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2010-09-10T21:39:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba117ef7e9b2f7f2fbec62a9fcfe371a68024769'/>
<id>urn:sha1:ba117ef7e9b2f7f2fbec62a9fcfe371a68024769</id>
<content type='text'>
namespace if it occurs as a free variable in a nested block.  This limitation
of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF).

This sample was valid in 2.6, but fails to compile in 3.x without this change::

   &gt;&gt;&gt; def f():
   ...     def print_error():
   ...        print(e)
   ...     try:
   ...        something
   ...     except Exception as e:
   ...        print_error()
   ...        # implicit "del e" here


This sample has always been invalid in Python, and now works::

   &gt;&gt;&gt; def outer(x):
   ...     def inner():
   ...        return x
   ...     inner()
   ...     del x

There is no need to bump the PYC magic number: the new opcode is used
for code that did not compile before.
</content>
</entry>
<entry>
<title>Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced</title>
<updated>2010-09-04T18:43:52Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-09-04T18:43:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=74a69fa662fb844ad3c60eb27b09e5fa1e577305'/>
<id>urn:sha1:74a69fa662fb844ad3c60eb27b09e5fa1e577305</id>
<content type='text'>
by the new (and simpler) DUP_TOP_TWO.  Performance isn't changed, but
our bytecode is a bit simplified.  Patch by Demur Rumed.
</content>
</entry>
<entry>
<title>revert unintended changes</title>
<updated>2010-07-20T22:39:34Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-07-20T22:39:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=20f9c3c50f5e642295040c05e574ff9dc84bf207'/>
<id>urn:sha1:20f9c3c50f5e642295040c05e574ff9dc84bf207</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move test_trace.py so as not to conflict with future tests for the trace module</title>
<updated>2010-07-20T22:37:19Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-07-20T22:37:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=013783c529cfc459d05d261f5053ad7bf7d88c29'/>
<id>urn:sha1:013783c529cfc459d05d261f5053ad7bf7d88c29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged revisions 82169 via svnmerge from</title>
<updated>2010-06-22T21:49:39Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-06-22T21:49:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9aee2c81eaf28aef0f9f12f857693c3508791839'/>
<id>urn:sha1:9aee2c81eaf28aef0f9f12f857693c3508791839</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82169 | antoine.pitrou | 2010-06-22 23:42:05 +0200 (mar., 22 juin 2010) | 4 lines

  Fix misindents in compile.c (for Benjamin).
  Of course, whoever used the wrong indentation rules needs to be spanked.
........
</content>
</entry>
</feed>
