<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/bltinmodule.c, branch v2.1c2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/bltinmodule.c?h=v2.1c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/bltinmodule.c?h=v2.1c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-04-07T20:34:48Z</updated>
<entry>
<title>SF patch #413552 - Premature decref on object</title>
<updated>2001-04-07T20:34:48Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-04-07T20:34:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=388ed08cbf89ec362541bb165045739866fe9c98'/>
<id>urn:sha1:388ed08cbf89ec362541bb165045739866fe9c98</id>
<content type='text'>
Jeffery Collins pointed out that filterstring decrefs a character object
before it's done using it.  This works by accident today because another
module always happens to have an active reference too at the time.  The
accident doesn't work after his Pippy modifications, and since it *is*
an accident even in the mainline Python, it should work by design there too.
The patch accomplishes that.
</content>
</entry>
<entry>
<title>Extend support for from __future__ import nested_scopes</title>
<updated>2001-03-22T02:47:58Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-22T02:47:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc32024769eecd3c2251e00850e6a5c003aa9253'/>
<id>urn:sha1:bc32024769eecd3c2251e00850e6a5c003aa9253</id>
<content type='text'>
If a module has a future statement enabling nested scopes, they are
also enable for the exec statement and the functions compile() and
execfile() if they occur in the module.

If Python is run with the -i option, which enters interactive mode
after executing a script, and the script it runs enables nested
scopes, they are also enabled in interactive mode.

XXX The use of -i with -c "from __future__ import nested_scopes" is
not supported.  What's the point?

To support these changes, many function variants have been added to
pythonrun.c.  All the variants names end with Flags and they take an
extra PyCompilerFlags * argument.  It is possible that this complexity
will be eliminated in a future version of the interpreter in which
nested scopes are not optional.
</content>
</entry>
<entry>
<title>Move the code implementing isinstance() and issubclass() to new C</title>
<updated>2001-03-21T18:40:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-21T18:40:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=823649d544eec66a61176dbb76b51a9408c7f4ed'/>
<id>urn:sha1:823649d544eec66a61176dbb76b51a9408c7f4ed</id>
<content type='text'>
APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both
returning an int, or -1 for errors.
</content>
</entry>
<entry>
<title>Backed out the unistr() builtin.</title>
<updated>2001-01-19T21:36:19Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-01-19T21:36:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f77667a64e258c324013e35eb4f0e5e99469f7b'/>
<id>urn:sha1:6f77667a64e258c324013e35eb4f0e5e99469f7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clearer error messages for apply() and "no locals"</title>
<updated>2001-01-19T03:25:05Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-01-19T03:25:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c862cf400f90e7ef63fa333d1af141934eb92c59'/>
<id>urn:sha1:c862cf400f90e7ef63fa333d1af141934eb92c59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix for the bug in complex() just reported by Ping.</title>
<updated>2001-01-19T02:11:59Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-19T02:11:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8dabbf149e351c801a7d3b65891c49949be8251c'/>
<id>urn:sha1:8dabbf149e351c801a7d3b65891c49949be8251c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This patch adds a new builtin unistr() which behaves like str()</title>
<updated>2001-01-17T17:09:53Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-01-17T17:09:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad7c98e264bbc9c84e911417c8770f6e95ffb794'/>
<id>urn:sha1:ad7c98e264bbc9c84e911417c8770f6e95ffb794</id>
<content type='text'>
except that it always returns Unicode objects.

A new C API PyObject_Unicode() is also provided.

This closes patch #101664.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
</content>
</entry>
<entry>
<title>Use rich comparisons in min and max.</title>
<updated>2001-01-17T15:47:24Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-17T15:47:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=53451b3fd19be3b6e7db058c34251898000408df'/>
<id>urn:sha1:53451b3fd19be3b6e7db058c34251898000408df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update the docstring for apply() so that "args" is marked as optional</title>
<updated>2001-01-12T17:05:05Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-01-12T17:05:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f1fbc62a8c82dd172beb5def713d3815a562ee65'/>
<id>urn:sha1:f1fbc62a8c82dd172beb5def713d3815a562ee65</id>
<content type='text'>
(since it is).
</content>
</entry>
<entry>
<title>(Modified) patch by Ping - SF Patch #102681.</title>
<updated>2001-01-12T16:03:05Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-12T16:03:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad991775ab57fc5c4647b70d793d52ff6b0d25bf'/>
<id>urn:sha1:ad991775ab57fc5c4647b70d793d52ff6b0d25bf</id>
<content type='text'>
- Make error messages from issubclass() and isinstance() a bit more
  descriptive (Ping, modified by Guido)

- Couple of tiny fixes to other docstrings (Ping)

- Get rid of trailing whitespace (Guido)
</content>
</entry>
</feed>
