<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/compile.c, branch v2.2</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.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/compile.c?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-03T21:32:01Z</updated>
<entry>
<title>Patch #50002: Display line information for bad \x escapes:</title>
<updated>2002-03-03T21:32:01Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-03-03T21:32:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59509f511ed8eacbefecc4357c69036fc036effe'/>
<id>urn:sha1:59509f511ed8eacbefecc4357c69036fc036effe</id>
<content type='text'>
- recognize "SyntaxError"s by the print_file_and_line attribute.
- add the syntaxerror attributes to all exceptions in compile.c.
Fixes #221791
</content>
</entry>
<entry>
<title>Fix a bunch of typos found by nnorwitz.</title>
<updated>2002-02-06T17:06:03Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-02-06T17:06:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fa338d7fad1c2e9f1c16849e9eac59ccfe9d878b'/>
<id>urn:sha1:fa338d7fad1c2e9f1c16849e9eac59ccfe9d878b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>It's merge time!  (well, this is the last one for the moment)</title>
<updated>2002-01-28T16:06:11Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-01-28T16:06:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7043010028ae15e3f23b2dc0516d39fd2a3e2359'/>
<id>urn:sha1:7043010028ae15e3f23b2dc0516d39fd2a3e2359</id>
<content type='text'>
Backport gvanrossum's checkin of revision 2.236:

A tentative fix for SF bug #503837 (Roeland Rengelink):
type.__module__ problems (again?)

This simply initializes the __module__ local in a class statement from
the __name__ global.  I'm not 100% sure that this is the correct fix,
although it usually does the right thing.  The problem is that if the
class statement executes in a custom namespace, the __name__ global
may be taken from __builtins__, in which case it would have the value
__builtin__, or it may not exist at all (if the custom namespace also
has a custom __builtins__), in which case the class statement will
fail.

Nevertheless, unless someone finds a better solution, this is a 2.2.1
bugfix too.

(apparently noone has :()
</content>
</entry>
<entry>
<title>Fix for SF bug [ #492403 ] exec() segfaults on closure's func_code</title>
<updated>2001-12-13T19:51:56Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-13T19:51:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=733c8935f9dfd1be70c472649eb845ea22bbc878'/>
<id>urn:sha1:733c8935f9dfd1be70c472649eb845ea22bbc878</id>
<content type='text'>
Based on the patch from Danny Yoo.  The fix is in exec_statement() in
ceval.c.

There are also changes to introduce use of PyCode_GetNumFree() in
several places.
</content>
</entry>
<entry>
<title>SF bug #488687 reported by Neal Norwitz</title>
<updated>2001-12-04T02:41:46Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-04T02:41:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=86424e333f1736591114da975c8d2926ba6f51f5'/>
<id>urn:sha1:86424e333f1736591114da975c8d2926ba6f51f5</id>
<content type='text'>
The error for assignment to __debug__ used ste-&gt;ste_opt_lineno instead
of n-&gt;n_lineno.  The latter was at best incorrect; often the slot was
uninitialized.  Two fixes here: Use the correct lineno for the error.
Initialize ste_opt_lineno in PySymtable_New(); while there are no
current cases where it is referenced unless it has already been
assigned to, there is no harm in initializing it.
</content>
</entry>
<entry>
<title>code_repr(), com_addop_varname(), com_list_comprehension(),</title>
<updated>2001-11-28T21:10:39Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-11-28T21:10:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f6d868bbb6d503765d9be5cc08e359fedb53fe9'/>
<id>urn:sha1:8f6d868bbb6d503765d9be5cc08e359fedb53fe9</id>
<content type='text'>
com_arglist(), symtable_check_unoptimized(), symtable_params(),
symtable_global(), symtable_list_comprehension():

    Conversion of sprintf() to PyOS_snprintf() for buffer overrun
    avoidance.
</content>
</entry>
<entry>
<title>Fixes for possible buffer overflows in sprintf() usages.</title>
<updated>2001-11-28T11:47:00Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-11-28T11:47:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4c0a9c59b399bfa0d36030663f78aa18a68e051'/>
<id>urn:sha1:d4c0a9c59b399bfa0d36030663f78aa18a68e051</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use PyObject_CheckReadBuffer().</title>
<updated>2001-11-09T22:02:48Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-09T22:02:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9f64caaf00340fce95c2980435ef819e385cf5ff'/>
<id>urn:sha1:9f64caaf00340fce95c2980435ef819e385cf5ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SF buf #480096: Assign to __debug__ still allowed</title>
<updated>2001-11-09T19:50:08Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-09T19:50:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=778e26546284f956cbf8a85a8b7a0bf28c194410'/>
<id>urn:sha1:778e26546284f956cbf8a85a8b7a0bf28c194410</id>
<content type='text'>
Easy enough to catch assignment in the compiler.  The perverse user
can still change the value of __debug__, but that may be the least he
can do.
</content>
</entry>
<entry>
<title>Part of SF bug #478003 possible memory leaks in err handling.</title>
<updated>2001-11-04T19:26:58Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-04T19:26:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c5e41559c6f9c3493a03b69325a02b89c2d6d94'/>
<id>urn:sha1:8c5e41559c6f9c3493a03b69325a02b89c2d6d94</id>
<content type='text'>
PyNode_CompileSymtable:  if symtable_init() fails, free the memory
allocated for the PyFutureFeatures struct.
</content>
</entry>
</feed>
