<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/ceval.c, branch v2.2a3</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/ceval.c?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/ceval.c?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-09-04T19:03:35Z</updated>
<entry>
<title>Move call_trace(..., PyTrace_CALL, ...) call to top of eval_frame.  That</title>
<updated>2001-09-04T19:03:35Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-09-04T19:03:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6c0f20088f81d9d84124c265d58a2a8e7d47b059'/>
<id>urn:sha1:6c0f20088f81d9d84124c265d58a2a8e7d47b059</id>
<content type='text'>
way it's called each time a generator is resumed.  The tracing of normal
functions should be unaffected by this change.
</content>
</entry>
<entry>
<title>Do the int inlining only if the type is really an int, not whenever</title>
<updated>2001-08-30T16:06:23Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-30T16:06:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46add98758415f6180532326571d73f22966c34e'/>
<id>urn:sha1:46add98758415f6180532326571d73f22966c34e</id>
<content type='text'>
PyInt_Check() succeeds.  That returns true for subtypes of int, which
may override __add__ or __sub__.
</content>
</entry>
<entry>
<title>Removed some unreachable break statements to silence SGI compiler.</title>
<updated>2001-08-30T14:05:20Z</updated>
<author>
<name>Sjoerd Mullender</name>
<email>sjoerd@acm.org</email>
</author>
<published>2001-08-30T14:05:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2f38f81fec40071cb781b552f781de90366d0189'/>
<id>urn:sha1:2f38f81fec40071cb781b552f781de90366d0189</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When an inlined operation on two small ints causes overflow, don't</title>
<updated>2001-08-23T02:58:07Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-23T02:58:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=87780dfa97ade2fbc5be60ea8f8b17ba30a03d29'/>
<id>urn:sha1:87780dfa97ade2fbc5be60ea8f8b17ba30a03d29</id>
<content type='text'>
raise the exception here -- call the generic function (which may
convert the arguments to long and try again).
</content>
</entry>
<entry>
<title>Fix SF bug #443600:</title>
<updated>2001-08-18T17:43:36Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-18T17:43:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=50d756e262fc6804336e5a624aee0d885a195973'/>
<id>urn:sha1:50d756e262fc6804336e5a624aee0d885a195973</id>
<content type='text'>
Change to get/set/del slice operations so that if the object doesn't
support slicing, *or* if either of the slice arguments is not an int
or long, we construct a slice object and call the get/set/del item
operation instead.  This makes it possible to design classes that
support slice arguments of non-integral types.
</content>
</entry>
<entry>
<title>ceval, PyEval_MergeCompilerFlags:  wasn't merging in the</title>
<updated>2001-08-17T20:47:47Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-17T20:47:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2c18e90dace36a90b5aa83b8974a5fac8f67e43'/>
<id>urn:sha1:e2c18e90dace36a90b5aa83b8974a5fac8f67e43</id>
<content type='text'>
CO_FUTURE_DIVISION flag.  Redid this to use Jeremy's PyCF_MASK #define
instead, so we dont have to remember to fiddle individual feature names
here again.

pythonrun.h:  Also #define a PyCF_MASK_OBSOLETE mask.  This isn't used
yet, but will be as part of the PEP 264 implementation (compile() mustn't
raise an error just because old code uses a flag name that's become
obsolete; a warning may be appropriate, but not an error; so compile() has
to know about obsolete flags too, but nobody is going to remember to
update compile() with individual obsolete flag names across releases either
-- i.e., this is the flip side of PyEval_MergeCompilerFlags's oversight).
</content>
</entry>
<entry>
<title>Patch #427190: Implement and use METH_NOARGS and METH_O.</title>
<updated>2001-08-16T13:15:00Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-16T13:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3eb1f2b2320bceb10a763ec8691200b85ec287a'/>
<id>urn:sha1:e3eb1f2b2320bceb10a763ec8691200b85ec287a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove much dead code from ceval.c</title>
<updated>2001-08-12T21:52:24Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-12T21:52:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=910d7d46dce571fa81428718e9be5307a56adeee'/>
<id>urn:sha1:910d7d46dce571fa81428718e9be5307a56adeee</id>
<content type='text'>
The descr changes moved the dispatch for calling objects from
call_object() in ceval.c to PyObject_Call() in abstract.c.
call_object() and the many functions it used in ceval.c were no longer
used, but were not removed.

Rename meth_call() as PyCFunction_Call() so that it can be called by
the CALL_FUNCTION opcode in ceval.c.

Also, fix error message that referred to PyEval_EvalCodeEx() by its
old name eval_code2().  (I'll probably refer to it by its old name,
too.)
</content>
</entry>
<entry>
<title>Refactor future feature handling</title>
<updated>2001-08-10T21:41:33Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-10T21:41:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b857ba261fc468d956e350f51469efd7d5773da2'/>
<id>urn:sha1:b857ba261fc468d956e350f51469efd7d5773da2</id>
<content type='text'>
Replace uses of PyCF_xxx with CO_xxx.

Replace individual feature slots in PyFutureFeatures with single
bitmask ff_features.

When flags must be transfered among the three parts of the interpreter
that care about them -- the pythonrun layer, the compiler, and the
future feature parser -- can simply or (|) the definitions.
</content>
</entry>
<entry>
<title>Implement PEP 238 in its (almost) full glory.</title>
<updated>2001-08-08T05:00:18Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-08T05:00:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4668b000a1d9113394941ad39875c827634feb49'/>
<id>urn:sha1:4668b000a1d9113394941ad39875c827634feb49</id>
<content type='text'>
This introduces:

- A new operator // that means floor division (the kind of division
  where 1/2 is 0).

- The "future division" statement ("from __future__ import division)
  which changes the meaning of the / operator to implement "true
  division" (where 1/2 is 0.5).

- New overloadable operators __truediv__ and __floordiv__.

- New slots in the PyNumberMethods struct for true and floor division,
  new abstract APIs for them, new opcodes, and so on.

I emphasize that without the future division statement, the semantics
of / will remain unchanged until Python 3.0.

Not yet implemented are warnings (default off) when / is used with int
or long arguments.

This has been on display since 7/31 as SF patch #443474.

Flames to /dev/null.
</content>
</entry>
</feed>
