Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decref all if ensure_fromlist fails. Fixes #876533. | Martin v. Löwis | 2004-03-23 | 1 | -2/+3 |
| | | | | Backported to 2.3. | ||||
* | Lost reference. | Armin Rigo | 2004-03-22 | 1 | -6/+8 |
| | |||||
* | Fix SF bug #765624. | Armin Rigo | 2004-03-22 | 1 | -5/+12 |
| | |||||
* | Fix for line events in the case: | Armin Rigo | 2004-03-22 | 1 | -1/+31 |
| | | | | | | | | def f(a): if a: print 5 else: pass | ||||
* | Moved tracebackobject to traceback.h, Closes SF Bug #497067 | Nicholas Bastin | 2004-03-21 | 1 | -23/+16 |
| | |||||
* | Improve byte coding for multiple assignments. | Raymond Hettinger | 2004-03-21 | 1 | -3/+74 |
| | | | | Gives 30% speedup on "a,b=1,2" and 25% on "a,b,c=1,2,3". | ||||
* | Cancelled checkin, sorry. | Armin Rigo | 2004-03-20 | 1 | -10/+6 |
| | |||||
* | A 2% speed improvement with gcc on low-endian machines. My guess is that this | Armin Rigo | 2004-03-20 | 1 | -6/+10 |
| | | | | | new pattern for NEXTARG() is detected and optimized as a single (*short) loading. | ||||
* | LIST_APPEND is predicably followed by JUMP_ABSOLUTE. | Raymond Hettinger | 2004-03-12 | 1 | -1/+5 |
| | | | | Reduces loop overhead by an additional 10%. | ||||
* | Move the code for BREAK and CONTINUE_LOOP to be near FOR_ITER. | Raymond Hettinger | 2004-03-12 | 1 | -9/+9 |
| | | | | | Makes it more likely that all loop operations are in the cache at the same time. | ||||
* | Speedup for-loops by inlining PyIter_Next(). Saves duplicate tests | Raymond Hettinger | 2004-03-12 | 1 | -8/+10 |
| | | | | | and a function call resulting in a 15% reduction of total loop overhead (as measured by timeit.Timer('pass')). | ||||
* | Refactor and optimize code for UNPACK_SEQUENCE. | Raymond Hettinger | 2004-03-08 | 1 | -27/+13 |
| | | | | | | | | | | * Defer error handling for wrong number of arguments to the unpack_iterable() function. Cuts the code size almost in half. * Replace function calls to PyList_Size() and PyTuple_Size() with their smaller and faster macro counterparts. * Move the constant structure references outside of the inner loops. | ||||
* | SF patch #910929: Optimize list comprehensions | Raymond Hettinger | 2004-03-07 | 2 | -3/+10 |
| | | | | | Add a new opcode, LIST_APPEND, and apply it to the code generation for list comprehensions. Reduces the per-loop overhead by about a third. | ||||
* | SF Patch #902444: Use process scope thread on FreeBSD. System scope | Hye-Shik Chang | 2004-03-04 | 1 | -1/+1 |
| | | | | | is too expensive on FreeBSD's KSE threading infrastructure and even test_threadedimport fails on default setting. | ||||
* | typo | Skip Montanaro | 2004-03-03 | 1 | -1/+1 |
| | |||||
* | Add pystack definition to Misc/gdbinit with some explanation of its behavior | Skip Montanaro | 2004-03-01 | 1 | -0/+4 |
| | | | | | and add flag comments to ceval.c and main.c alerting people to the coupling between pystack and the layout of those files. | ||||
* | This is my patch #876198 plus a NEWS entry and a header frob. | Michael W. Hudson | 2004-02-12 | 1 | -1/+1 |
| | | | | | Remove the ability to use (from C) arbitrary objects supporting the read buffer interface as the co_code member of code objects. | ||||
* | remove support for missing ANSI C header files (limits.h, stddef.h, etc). | Skip Montanaro | 2004-02-10 | 3 | -21/+0 |
| | |||||
* | SF patch #884022: dynamic execution profiling vs opcode prediction | Raymond Hettinger | 2004-02-08 | 1 | -0/+9 |
| | | | | | | | | | (Contributed by Andrew I MacIntyre.) disables opcode prediction when dynamic execution profiling is in effect, so the profiling counters at the top of the main interpreter loop in eval_frame() are updated for each opcode. | ||||
* | Remove support for systems defining Py_PTHREAD_D[467] in | Skip Montanaro | 2004-02-07 | 1 | -72/+0 |
| | | | | Python/thread_pthread.h. | ||||
* | SF patch #864059: optimize eval_frame | Raymond Hettinger | 2004-02-06 | 1 | -5/+6 |
| | | | | | | Simplified version of Neal Norwitz's patch which adds gotos for opcodes that set "why". This skips a number of tests where the outcome of the tests are known in advance. | ||||
* | Fix input() builtin function to respect compiler flags. | Hye-Shik Chang | 2004-02-02 | 1 | -1/+4 |
| | | | | (SF patch 876178, patch by mwh, unittest by perky) | ||||
* | Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld | Skip Montanaro | 2004-01-17 | 1 | -4/+0 |
| | |||||
* | remove DGUX support. | Skip Montanaro | 2004-01-17 | 2 | -14/+2 |
| | |||||
* | Apply pre-sizing optimization to a broader class of objects. | Raymond Hettinger | 2004-01-04 | 1 | -8/+4 |
| | | | | | Formerly, the length was only fetched from sequence objects. Now, any object that reports its length can benefit from pre-sizing. | ||||
* | Apply map/zip pre-sizing optimization to a broader class of objects. | Raymond Hettinger | 2004-01-04 | 1 | -11/+7 |
| | | | | | Formerly, the length was only fetched from sequence objects. Now, any object that reports its length can benefit from pre-sizing. | ||||
* | Add comment to mollify Tim. | Jeremy Hylton | 2004-01-02 | 1 | -0/+2 |
| | |||||
* | Fix gcc 3.3 warnings related to Py_UNICODE_WIDE. | Hye-Shik Chang | 2003-12-29 | 1 | -2/+20 |
| | |||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 1 | -0/+45 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | Remove the PendingDeprecationWarning from apply(). apply() will | Fred Drake | 2003-12-05 | 1 | -4/+0 |
| | | | | remain deprecated in the documentation. | ||||
* | Py_Finalize(): disabled the second call of cyclic gc, and added extensive | Tim Peters | 2003-12-01 | 1 | -2/+27 |
| | | | | | | | comments about why both calls to cyclic gc here can cause problems. I'll backport to 2.3 maint. Since the calls were introduced in 2.3, that will be the end of it. | ||||
* | - Removed FutureWarnings related to hex/oct literals and conversions | Guido van Rossum | 2003-11-29 | 1 | -13/+1 |
| | | | | | | | | | | and left shifts. (Thanks to Kalle Svensson for SF patch 849227.) This addresses most of the remaining semantic changes promised by PEP 237, except for repr() of a long, which still shows the trailing 'L'. The PEP appears to promise warnings for operations that changed semantics compared to Python 2.3, but this is not implemented; we've suffered through enough warnings related to hex/oct literals and I think it's best to be silent now. | ||||
* | Getting rid of all the code inside #ifdef macintosh too. | Jack Jansen | 2003-11-20 | 6 | -146/+2 |
| | |||||
* | Getting rid of code dependent on GUSI or the MetroWerks compiler. | Jack Jansen | 2003-11-19 | 2 | -12/+0 |
| | |||||
* | Getting rid of code conditional on TARGET_API_MAC_*. | Jack Jansen | 2003-11-19 | 1 | -37/+0 |
| | |||||
* | WITHOUT_FRAMEWORKS conditional code bites the dust: this was for | Jack Jansen | 2003-11-19 | 1 | -4/+0 |
| | | | | pre-carbon MacOS9 support. | ||||
* | Getting rid of support for the ancient Apple MPW compiler. | Jack Jansen | 2003-11-19 | 4 | -23/+0 |
| | |||||
* | MacOS9 support is gone. | Jack Jansen | 2003-11-19 | 1 | -113/+0 |
| | |||||
* | * Migrate set() and frozenset() from the sandbox. | Raymond Hettinger | 2003-11-16 | 1 | -0/+2 |
| | | | | | | | | * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming. | ||||
* | Patch #804543: strdup saved locales. Backported to 2.3. | Martin v. Löwis | 2003-11-13 | 1 | -1/+2 |
| | |||||
* | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 1 | -0/+1 |
| | |||||
* | Make undetected error on stack unwind a fatal error. | Jeremy Hylton | 2003-11-05 | 1 | -4/+4 |
| | |||||
* | Deleting cyclic object comparison. | Armin Rigo | 2003-10-28 | 1 | -20/+36 |
| | | | | | SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html | ||||
* | regressing the performance bugfix -- Guido wants the performance bug left | Alex Martelli | 2003-10-25 | 1 | -1/+1 |
| | | | | alone, because there can be no guarantee re the semantics of += vs + . | ||||
* | oh dear. Wrong manipulation. Committed a version of ceval.c from my | Armin Rigo | 2003-10-25 | 1 | -28/+20 |
| | | | | | | no-cyclic-comparison patch at the same time as errors.c. Reverting ceval.c to the previous revision. | ||||
* | Made function declaration a proper C prototype | Armin Rigo | 2003-10-25 | 2 | -21/+29 |
| | |||||
* | Changed builtin_sum to use PyNumber_InPlaceAdd (same semantics, but fixes | Alex Martelli | 2003-10-25 | 1 | -1/+1 |
| | | | | a performance bug in sum(manylists)), same as in 2.3 maintenance branch. | ||||
* | Use PyArg_UnpackTuple() where possible. | Raymond Hettinger | 2003-10-25 | 1 | -1/+1 |
| | |||||
* | Patch #828384: Don't discard nested exception in AddObject. | Martin v. Löwis | 2003-10-24 | 1 | -2/+3 |
| | |||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) |