986 Commits (46874c26ee1fc752e2e6930efa1d223b2351edb8)

Author SHA1 Message Date
Guido van Rossum 46add98758 Do the int inlining only if the type is really an int, not whenever 25 years ago
Sjoerd Mullender 2f38f81fec Removed some unreachable break statements to silence SGI compiler. 25 years ago
Guido van Rossum 87780dfa97 When an inlined operation on two small ints causes overflow, don't 25 years ago
Guido van Rossum 50d756e262 Fix SF bug #443600: 25 years ago
Tim Peters e2c18e90da ceval, PyEval_MergeCompilerFlags: wasn't merging in the 25 years ago
Martin v. Löwis e3eb1f2b23 Patch #427190: Implement and use METH_NOARGS and METH_O. 25 years ago
Jeremy Hylton 910d7d46dc Remove much dead code from ceval.c 25 years ago
Jeremy Hylton b857ba261f Refactor future feature handling 25 years ago
Guido van Rossum 4668b000a1 Implement PEP 238 in its (almost) full glory. 25 years ago
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 25 years ago
Tim Peters 5ba5866281 Part way to allowing "from __future__ import generators" to communicate 25 years ago
Neil Schemenauer f8c7c20ba5 GC for generator objects. 25 years ago
Fred Drake 9e3ad78444 This change adjusts the profiling/tracing support so that the common 25 years ago
Fred Drake 5755ce693d Revise the interface to the profiling and tracing support for the 25 years ago
Tim Peters e77f2e2798 gen_getattr: make the gi_running and gi_frame members discoverable (but 25 years ago
Tim Peters d8e1c9e177 Add "gi_" (generator-iterator) prefix to names of genobject members. 25 years ago
Tim Peters ad1a18b78e Change the semantics of "return" in generators, as discussed on the 25 years ago
Tim Peters 5eb4b87ae6 gen_iternext(): Don't assume that the current thread state's frame is 25 years ago
Tim Peters 8c96369513 PyFrameObject: rename f_stackbottom to f_stacktop, since it points to 25 years ago
Tim Peters d6d010b874 Teach the UNPACK_SEQUENCE opcode how to tease an iterable object into 25 years ago
Neil Schemenauer 2b13ce8317 Try to avoid creating reference cycles involving generators. Only keep a 25 years ago
Tim Peters 6302ec63fc gen_iternext(): repair subtle refcount problem. 25 years ago
Neil Schemenauer 43afb24c30 Remove unused code. 25 years ago
Tim Peters 5ca576ed0a Merging the gen-branch into the main line, at Guido's direction. Yay! 25 years ago
Fred Drake d083839fb4 Instead of initializing & interning the strings passed to the profile 25 years ago
Tim Peters 239508cd10 SF bug 433228: repr(list) woes when len(list) big 25 years ago
Fred Drake 904aa7bb00 call_trace(): Add an additional parameter -- pointer to a PyObject* 25 years ago
Jeremy Hylton 4c9dace392 Fix bug reported by Tim Peters on python-dev: 25 years ago
Jeremy Hylton da20fce9c3 Add a second special case to the inline function call code in eval_code2(). 25 years ago
Tim Peters f4848dac41 Make PyIter_Next() a little smarter (wrt its knowledge of iterator 25 years ago
Jeremy Hylton 960d948e7c improved error message-- names the type of the unexpected object 25 years ago
Guido van Rossum 213c7a6aa5 Mondo changes to the iterator stuff, without changing how Python code 25 years ago
Tim Peters cf96de052f SF but #417587: compiler warnings compiling 2.1. 25 years ago
Guido van Rossum 59d1d2b434 Iterators phase 1. This comprises: 25 years ago
Jeremy Hylton c76770c68c Change error message raised when free variable is not yet bound. It 25 years ago
Guido van Rossum d9994e0115 Patch by Ping (SF bug 415879, Exception.__init__() causes segfault): 25 years ago
Jeremy Hylton 512a237725 Fix exception handling for non-PyFunction objects, SF bug 414743. 25 years ago
Jeremy Hylton bc32024769 Extend support for from __future__ import nested_scopes 25 years ago
Jeremy Hylton 061d106a0f If a code object is compiled with nested scopes, define the CO_NESTED flag. 25 years ago
Guido van Rossum 66b0e9c2a7 Use PyObject_IsInstance() to check whether the first argument to an 25 years ago
Jeremy Hylton 220ae7c0bf Fix PyFrame_FastToLocals() and counterpart to deal with cells and 25 years ago
Jeremy Hylton 30c9f3991c Variety of small INC/DECREF patches that fix reported memory leaks 25 years ago
Thomas Wouters fc93b0a81a Remove trailing comma from 'why_code' enum, which was introduced by the 25 years ago
Jeremy Hylton 8af6b83e61 When calling a PyCFunction that has METH_KEYWORDS defined, don't 25 years ago
Jeremy Hylton 2524d699f5 SF patch 103596 by Nick Mathewson: rause UnboundLocalError for 25 years ago
Jeremy Hylton 3faa52ecc4 Allow 'continue' inside 'try' clause 25 years ago
Jeremy Hylton 483638c9a8 Undo recent change that banned using import to bind a global, as per 25 years ago
Tim Peters 1ff31f9534 SF bug #130532: newest CVS won't build on AIX. 25 years ago
Jeremy Hylton 2b724da8d9 Remove f_closure slot of frameobject and use f_localsplus instead. 25 years ago
Jeremy Hylton 64949cb753 PEP 227 implementation 25 years ago