<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/code.py, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>- Finally fixed the bug in compile() and exec where a string ending</title>
<updated>2003-02-13T22:07:59+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-13T22:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=69e05a124cc22e3eb35be442ac83a0d1c8e79575'/>
<id>69e05a124cc22e3eb35be442ac83a0d1c8e79575</id>
<content type='text'>
  with an indented code block but no newline would raise SyntaxError.
  This would have been a four-line change in parsetok.c...  Except
  codeop.py depends on this behavior, so a compilation flag had to be
  invented that causes the tokenizer to revert to the old behavior;
  this required extra changes to 2 .h files, 2 .c files, and 2 .py
  files.  (Fixes SF bug #501622.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  with an indented code block but no newline would raise SyntaxError.
  This would have been a four-line change in parsetok.c...  Except
  codeop.py depends on this behavior, so a compilation flag had to be
  invented that causes the tokenizer to revert to the old behavior;
  this required extra changes to 2 .h files, 2 .c files, and 2 .py
  files.  (Fixes SF bug #501622.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert a pile of obvious "yes/no" functions to return bool.</title>
<updated>2002-04-04T22:55:58+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-04-04T22:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=6466fec7b159fc14149632409a49b3ff86d011a8'/>
<id>6466fec7b159fc14149632409a49b3ff86d011a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make default banner match what the real interpreter displays</title>
<updated>2002-03-25T22:04:23+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2002-03-25T22:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d5e901f80e03857ce97e34bf5d9b1a1a6a8b47b5'/>
<id>d5e901f80e03857ce97e34bf5d9b1a1a6a8b47b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove unqualified excepts - catch ImportError when trying to import</title>
<updated>2002-03-25T21:44:07+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2002-03-25T21:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=da2fdfbc3f63e9317342a940cb950b6f771dfa10'/>
<id>da2fdfbc3f63e9317342a940cb950b6f771dfa10</id>
<content type='text'>
readline and get rid of string exception fallback when showing syntax
errors.
see bug 411881
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
readline and get rid of string exception fallback when showing syntax
errors.
see bug 411881
</pre>
</div>
</content>
</entry>
<entry>
<title>softspace(): be prepared to catch AttributeError as well as TypeError</title>
<updated>2001-09-18T13:33:01+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-18T13:33:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=afabacfa4263334a61e71c36e7d759071581d30b'/>
<id>afabacfa4263334a61e71c36e7d759071581d30b</id>
<content type='text'>
upon attempted attribute assignment.  Caught by MWH, SF bug #462522.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
upon attempted attribute assignment.  Caught by MWH, SF bug #462522.
</pre>
</div>
</content>
</entry>
<entry>
<title>A fiddled version of the rest of Michael Hudson's SF patch</title>
<updated>2001-08-17T22:11:27+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-17T22:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=7ad101516809460230df9b5a5167c6511142c420'/>
<id>7ad101516809460230df9b5a5167c6511142c420</id>
<content type='text'>
    #449043 supporting __future__ in simulated shells
which implements PEP 264.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    #449043 supporting __future__ in simulated shells
which implements PEP 264.
</pre>
</div>
</content>
</entry>
<entry>
<title>InteractiveInterpreter.showsyntaxerror():</title>
<updated>2001-05-03T04:58:49+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-05-03T04:58:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=26871a59e6c3786a75d1905110c9ea73eead01ab'/>
<id>26871a59e6c3786a75d1905110c9ea73eead01ab</id>
<content type='text'>
    When replacing the exception object, be sure we stuff the new value
    in sys.last_value (which we already did for the original value).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    When replacing the exception object, be sure we stuff the new value
    in sys.last_value (which we already did for the original value).
</pre>
</div>
</content>
</entry>
<entry>
<title>String method conversion.</title>
<updated>2001-02-09T08:56:30+00:00</updated>
<author>
<name>Eric S. Raymond</name>
<email>esr@thyrsus.com</email>
</author>
<published>2001-02-09T08:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=2ae8b7f00bd114a86ad2b1837b88db32765b44cd'/>
<id>2ae8b7f00bd114a86ad2b1837b88db32765b44cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added __all__ lists to a number of Python modules</title>
<updated>2001-01-20T19:54:20+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-01-20T19:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=f198fbe2cda31538803057349f53fe8032e017fa'/>
<id>f198fbe2cda31538803057349f53fe8032e017fa</id>
<content type='text'>
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
</pre>
</div>
</content>
</entry>
<entry>
<title>mwh@sourceforge found that UnicodeError can be raised by compiling.</title>
<updated>2001-01-15T18:13:35+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-15T18:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=7917d52233071002db1b713581d8b6f939fce873'/>
<id>7917d52233071002db1b713581d8b6f939fce873</id>
<content type='text'>
Its base class ValueError can be raised too, so catch that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Its base class ValueError can be raised too, so catch that.
</pre>
</div>
</content>
</entry>
</feed>
