Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | Patch #792869: Clarify error message for parameters declared global, | Martin v. Löwis | 2003-10-18 | 1 | -4/+3 |
| | | | | rename LOCAL_GLOBAL to PARAM_GLOBAL. | ||||
* | Simplify and speedup uses of Py_BuildValue(): | Raymond Hettinger | 2003-10-12 | 6 | -14/+14 |
| | | | | | | * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a) | ||||
* | Fix SF bug [ 808594 ] leak on lambda with duplicate arguments error. | Jeremy Hylton | 2003-09-22 | 1 | -15/+16 |
| | | | | | | | Refactor code so that one helper routine sets error location and increments st_errors. Bug fix candidate. | ||||
* | Patch #805613: Fix usage of the PTH library. | Martin v. Löwis | 2003-09-20 | 2 | -1/+7 |
| | |||||
* | Improve the leak fix so that PyTuple_New is only called when needed. | Raymond Hettinger | 2003-09-16 | 1 | -9/+11 |
| | |||||
* | Correct check of PyUnicode_Resize() return value. | Jeremy Hylton | 2003-09-16 | 1 | -1/+2 |
| | |||||
* | Reflow long lines and reformat. | Jeremy Hylton | 2003-09-16 | 1 | -13/+13 |
| | |||||
* | Fix leak discovered in test_new by Michael Hudson. | Raymond Hettinger | 2003-09-15 | 1 | -17/+14 |
| | | | | Will backport to 2.3.1 | ||||
* | Patch #794826: Add __file__ in dynamically loaded modules for multiple | Martin v. Löwis | 2003-09-04 | 1 | -2/+3 |
| | | | | interpreters. Fixes #698282. Will backport to 2.3. | ||||
* | Bug #794140: cygwin builds do not embed | Jason Tishler | 2003-09-04 | 2 | -2/+2 |
| | | | | | | The embed2.diff patch solves the user's problem by exporting the missing symbols from the Python core so Python can be embedded in another Cygwin application (well, at lest vim). | ||||
* | Fix for SF bug [ 784075 ] Fatal Python error: unknown scope | Jeremy Hylton | 2003-08-28 | 1 | -4/+12 |
| | | | | | Make sure the inner function is not compiled when there is a syntax error in the default arguments. | ||||
* | Fix a crash: when sq_item failed the code continued blindly and used the | Walter Dörwald | 2003-08-18 | 1 | -3/+10 |
| | | | | | | NULL pointer. (Detected by Michael Hudson, patch provided by Neal Norwitz). Fix refcounting leak in filtertuple(). | ||||
* | Fix refcount leak in the UnicodeError constructor: | Walter Dörwald | 2003-08-14 | 1 | -1/+1 |
| | | | | | When parsing the constructor arguments failed, a reference to the argument tuple was leaked. | ||||
* | Make filter(bool, ...) as fast as filter(None, ...). | Neil Schemenauer | 2003-08-14 | 1 | -1/+1 |
| | |||||
* | Add a unicode prefix to the characters in the UnicodeEncodeError and | Walter Dörwald | 2003-08-12 | 1 | -6/+6 |
| | | | | UnicodeTranslateError message. | ||||
* | Enhance message for UnicodeEncodeError and UnicodeTranslateError. | Walter Dörwald | 2003-08-12 | 1 | -5/+21 |
| | | | | | If there is only one bad character it will now be printed in a form that is a valid Python string. | ||||
* | Fix refcounting and cut & paste error (?) in last checkin. | Michael W. Hudson | 2003-08-11 | 1 | -3/+1 |
| | | | | This should go onto release23-maint, too. | ||||
* | Move initialization of sys.std{in,out}.encoding to Py_Initialize. | Martin v. Löwis | 2003-08-09 | 2 | -33/+51 |
| | | | | | Verify that the encoding actually exists. Fixes #775985. Will backport to 2.3. | ||||
* | As discussed on python-dev, changed builtin.zip() to handle zero arguments | Raymond Hettinger | 2003-08-02 | 1 | -5/+3 |
| | | | | by returning an empty list instead of raising a TypeError. | ||||
* | Patch 775605: Cygwin pthread_sigmask() workaround patch | Jason Tishler | 2003-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Cygwin's pthread_sigmask() implementation appears to be buggy. This patch works around this problem by using sigprocmask() instead. This patch is implemented in a general way so it could be used by other platforms too. If this approach is deemed too risky, then I can work up a patch that just hacks Python/thread_pthread.h for Cygwin. Note that I tested this patch against 2.3c1 under Red Hat Linux 8.0 too. [snip] And finally, I need someone to regenerate pyconfig.h.in and configure with the same versions of the autotools that are normally used by Python. Neal kindly regenerated pyconfig.h.in and configure for me. | ||||
* | Correct previous patch looking for warnings module: sys.modules, not | Mark Hammond | 2003-07-16 | 1 | -1/+1 |
| | | | | sys.__modules__. | ||||
* | Fix [ 771097 ] frozen programs fail due to implicit import of "warnings". | Mark Hammond | 2003-07-15 | 2 | -8/+40 |
| | | | | | | If the initial import of warnings fails, clear the error. When the module is actually needed, if the original import failed, see if it has managed to find its way to sys.modules yet and if so, remember it. |