<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/compile.c, branch v2.1c2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v2.1c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v2.1c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-04-14T17:55:09Z</updated>
<entry>
<title>Make some private symbols static.</title>
<updated>2001-04-14T17:55:09Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-14T17:55:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f68d8e52e7ce833d123de034a4f123ec710a639f'/>
<id>urn:sha1:f68d8e52e7ce833d123de034a4f123ec710a639f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Warn when assigning to __debug__ instead of raising an error.</title>
<updated>2001-04-09T16:07:59Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-09T16:07:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a830b3859baafd78964f98c7587b3bd7da6ba6ae'/>
<id>urn:sha1:a830b3859baafd78964f98c7587b3bd7da6ba6ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make it illegal to assign to __debug__ as per Guido's request.</title>
<updated>2001-03-23T14:08:38Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-23T14:08:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=897b82123d3b446778a1ef7537404cd8df1da9c9'/>
<id>urn:sha1:897b82123d3b446778a1ef7537404cd8df1da9c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set the line number correctly for a nested function with an exec or</title>
<updated>2001-03-22T03:57:58Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-22T03:57:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e2cded1b56cc5488f49d395b46131fd995b02bc'/>
<id>urn:sha1:2e2cded1b56cc5488f49d395b46131fd995b02bc</id>
<content type='text'>
import *.  Mark the offending stmt rather than the function def line.
</content>
</entry>
<entry>
<title>Make error messages clearer for illegal combinations of nested</title>
<updated>2001-03-22T03:51:05Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-22T03:51:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=280e6bd742a50cf7f00739c7904f1b5aa66bdad9'/>
<id>urn:sha1:280e6bd742a50cf7f00739c7904f1b5aa66bdad9</id>
<content type='text'>
functions and import */exec.
</content>
</entry>
<entry>
<title>If a code object is compiled with nested scopes, define the CO_NESTED flag.</title>
<updated>2001-03-22T02:32:48Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-22T02:32:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=061d106a0f56c5b4171ad8c56ecfaa6cefb27385'/>
<id>urn:sha1:061d106a0f56c5b4171ad8c56ecfaa6cefb27385</id>
<content type='text'>
Add PyEval_GetNestedScopes() which returns a non-zero value if the
code for the current interpreter frame has CO_NESTED defined.
</content>
</entry>
<entry>
<title>Update PyNode_CompileSymtable() to understand future statements</title>
<updated>2001-03-21T19:01:33Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-21T19:01:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ded4bd776f25d892e5dbdc642f3b92aacd43dae1'/>
<id>urn:sha1:ded4bd776f25d892e5dbdc642f3b92aacd43dae1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix PyFrame_FastToLocals() and counterpart to deal with cells and</title>
<updated>2001-03-21T16:43:47Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-21T16:43:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=220ae7c0bf2054ad01f58e1cf669ac069eb9a574'/>
<id>urn:sha1:220ae7c0bf2054ad01f58e1cf669ac069eb9a574</id>
<content type='text'>
frees.  Note there doesn't seem to be any way to test LocalsToFast(),
because the instructions that trigger it are illegal in nested scopes
with free variables.

Fix allocation strategy for cells that are also formal parameters.
Instead of emitting LOAD_FAST / STORE_DEREF pairs for each parameter,
have the argument handling code in eval_code2() do the right thing.

A side-effect of this change is that cell variables that are also
arguments are listed at the front of co_cellvars in the order they
appear in the argument list.
</content>
</entry>
<entry>
<title>Fixup handling of free variables in methods when the class scope also</title>
<updated>2001-03-20T00:25:43Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-20T00:25:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ce7ef599d2df7c43f8228f22a77de4554039dc0f'/>
<id>urn:sha1:ce7ef599d2df7c43f8228f22a77de4554039dc0f</id>
<content type='text'>
has a binding for the name.  The fix is in two places:

  - in symtable_update_free_vars, ignore a global stmt in a class scope
  - in symtable_load_symbols, add extra handling for names that are
    defined at class scope and free in a method

Closes SF bug 407800
</content>
</entry>
<entry>
<title>Fix crashes in nested list comprehensions</title>
<updated>2001-03-19T20:38:06Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-19T20:38:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=23b4227ec899bb0e3e6f41d58e354418999fae8c'/>
<id>urn:sha1:23b4227ec899bb0e3e6f41d58e354418999fae8c</id>
<content type='text'>
SF bugs 409230 and 407800

Also remove bogus list comp code from symtable_assign().
</content>
</entry>
</feed>
