Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signed | Mark Dickinson | 2009-03-20 | 1 | -7/+11 |
| | | | | integer types T, not just those for which "unsigned T" is legal. | ||||
* | Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. | Mark Dickinson | 2009-03-20 | 4 | -18/+106 |
| | | | | Backport of r70459. | ||||
* | Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with | Jeffrey Yasskin | 2009-02-28 | 1 | -3/+6 |
| | | | | | | POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing a POP_TOP on each conditional and sometimes allows the peephole optimizer to skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly. | ||||
* | remove some PyBytes_* aliases that are not in 3.x | Benjamin Peterson | 2009-02-16 | 1 | -6/+0 |
| | |||||
* | A few more minor fixes in longobject.c | Mark Dickinson | 2009-02-15 | 1 | -0/+1 |
| | |||||
* | Issue #5260: Various portability and standards compliance fixes, optimizations | Mark Dickinson | 2009-02-15 | 1 | -2/+1 |
| | | | | | | | and cleanups in Objects/longobject.c. The most significant change is that longs now use less memory: average savings are 2 bytes per long on 32-bit systems and 6 bytes per long on 64-bit systems. (This memory saving already exists in py3k.) | ||||
* | Issue #5204: Define _PyVerify_fd on VC6 to make | Hirokazu Yamamoto | 2009-02-11 | 1 | -0/+3 |
| | | | | test_fdopen (test_os.py) pass. | ||||
* | Issue 4804. Add a function to test the validity of file descriptors on ↵ | Kristján Valur Jónsson | 2009-02-10 | 1 | -0/+11 |
| | | | | Windows, and stop using global runtime settings to silence the warnings / assertions. | ||||
* | Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs. | Mark Dickinson | 2009-02-09 | 1 | -5/+24 |
| | | | | It now forces its argument to double before testing for infinity. | ||||
* | Issue 1242657: list(obj) can swallow KeyboardInterrupt. | Raymond Hettinger | 2009-02-02 | 1 | -1/+1 |
| | |||||
* | #3720: Interpreter crashes when an evil iterator removes its own next function. | Amaury Forgeot d'Arc | 2009-01-12 | 2 | -1/+3 |
| | | | | | | Now the slot is filled with a function that always raises. Will not backport: extensions compiled with 2.6.x would not run on 2.6.0. | ||||
* | Fix issue 4884, preventing a crash in the socket code when python is compiled | Jeffrey Yasskin | 2009-01-09 | 1 | -0/+9 |
| | | | | with llvm-gcc and run with a glibc <2.10. | ||||
* | Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration | Marc-André Lemburg | 2009-01-05 | 1 | -10/+28 |
| | | | | | | | into the extern "C" section. Add a few more comments and apply some minor edits to make the file contents fit the original structure again. | ||||
* | Use C99 'isfinite' macro in preference to BSD-derived 'finite' function. | Mark Dickinson | 2009-01-04 | 1 | -1/+3 |
| | |||||
* | Fix HAVE_DECL_ISINF/ISNAN test (again). | Mark Dickinson | 2009-01-04 | 1 | -2/+2 |
| | |||||
* | Oops. Need to check not only that HAVE_DECL_ISINF is defined, but also | Mark Dickinson | 2009-01-04 | 1 | -2/+2 |
| | | | | | that it's equal to 1. (If isinf isn't defined, HAVE_DECL_ISINF is defined to be 0, rather than being undefined.) | ||||
* | isinf and isnan are macros, not functions; fix configure script | Mark Dickinson | 2009-01-04 | 1 | -2/+2 |
| | | | | | to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these. (See discussion in issue #4506) | ||||
* | fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728 | Benjamin Peterson | 2008-12-28 | 1 | -0/+14 |
| | |||||
* | Sort UCS-2/UCS-4 name mangling list. | Alexandre Vassalotti | 2008-12-28 | 1 | -8/+8 |
| | |||||
* | Fix name mangling of PyUnicode_ClearFreeList. | Alexandre Vassalotti | 2008-12-28 | 1 | -1/+1 |
| | |||||
* | Issue #2183: Simplify and optimize bytecode for list comprehensions. | Antoine Pitrou | 2008-12-17 | 1 | -1/+1 |
| | |||||
* | move unprefixed error into .c file | Benjamin Peterson | 2008-10-30 | 1 | -2/+0 |
| | |||||
* | #4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module: | Amaury Forgeot d'Arc | 2008-10-14 | 1 | -1/+1 |
| | | | | | | compilation fails with "undefined reference to _Py_ascii_whitespace" Will backport to 2.6. | ||||
* | Bump to 2.7a0 | Barry Warsaw | 2008-10-02 | 1 | -3/+3 |
| | |||||
* | Bumping to 2.6 final. | Barry Warsaw | 2008-10-01 | 1 | -3/+3 |
| | |||||
* | build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files | Andrew MacIntyre | 2008-09-22 | 1 | -1/+1 |
| | | | | | | | | Part of source_os2emx.patch in issue 3868: Include/pystrcmp.h: OS/2 has same C APIs as Windows Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test Reviewed by Amaury Forgeot d'Arc | ||||
* | done with 2.6rc2 | Barry Warsaw | 2008-09-18 | 1 | -1/+1 |
| | |||||
* | Bumping to 2.6rc2v2.6rc2 | Barry Warsaw | 2008-09-18 | 1 | -2/+2 |
| | |||||
* | post release updates | Barry Warsaw | 2008-09-13 | 1 | -1/+1 |
| | |||||
* | Fix the release levelv2.6rc1 | Barry Warsaw | 2008-09-12 | 1 | -2/+2 |
| | |||||
* | Bumping to 2.6rc1 | Barry Warsaw | 2008-09-12 | 1 | -3/+3 |
| | |||||
* | #3668: When PyArg_ParseTuple correctly parses a s* format, but raises an | Antoine Pitrou | 2008-08-29 | 1 | -0/+9 |
| | | | | | | | exception afterwards (for a subsequent parameter), the user code will not call PyBuffer_Release() and memory will leak. Reviewed by Amaury Forgeot d'Arc. | ||||
* | Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to | Antoine Pitrou | 2008-08-26 | 1 | -0/+5 |
| | | | | | | | | | | match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger. | ||||
* | sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str | Benjamin Peterson | 2008-08-26 | 1 | -0/+1 |
| | |||||
* | done with the release | Barry Warsaw | 2008-08-21 | 1 | -1/+1 |
| | |||||
* | Bump to 2.6b3.v2.6b3 | Barry Warsaw | 2008-08-21 | 1 | -2/+2 |
| | |||||
* | Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG from | Guido van Rossum | 2008-08-19 | 1 | -6/+19 |
| | | | | Py_TPFLAGS_DEFAULT when not building the core. | ||||
* | fix a little typo | Benjamin Peterson | 2008-08-19 | 1 | -1/+1 |
| | |||||
* | fix compile errors | Benjamin Peterson | 2008-08-17 | 1 | -1/+1 |
| | |||||
* | expose PySTEntry.nested so the symtable module will work | Benjamin Peterson | 2008-08-17 | 1 | -1/+1 |
| | |||||
* | Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, | Martin v. Löwis | 2008-08-12 | 2 | -20/+8 |
| | | | | | | | by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. | ||||
* | Issue #2620: Overflow checking when allocating or reallocating memory | Gregory P. Smith | 2008-07-22 | 1 | -11/+22 |
| | | | | | | | | was not always being done properly in some python types and extension modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been updated to perform better checks and places in the code that would previously leak memory on the error path when such an allocation failed have been fixed. | ||||
* | Post release cleanup | Barry Warsaw | 2008-07-18 | 1 | -1/+1 |
| | |||||
* | Bumping to 2.6b2v2.6b2 | Barry Warsaw | 2008-07-18 | 1 | -2/+2 |
| | |||||
* | Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵ | Nick Coghlan | 2008-07-15 | 1 | -0/+1 |
| | | | | be blocked explicitly so that collections.Hashable remains meaningful | ||||
* | Issue #3274: Use a less common identifier for the temporary variable | Alexandre Vassalotti | 2008-07-13 | 1 | -2/+2 |
| | | | | in Py_CLEAR(). | ||||
* | #3342: In tracebacks, printed source lines were not indented since r62555. | Amaury Forgeot d'Arc | 2008-07-11 | 1 | -1/+1 |
| | | | | #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine. | ||||
* | - Issue #2862: Make int and float freelist management consistent with other | Gregory P. Smith | 2008-07-06 | 2 | -2/+2 |
| | | | | | freelists. Changes their CompactFreeList apis into ClearFreeList apis and calls them via gc.collect(). | ||||
* | Revert 64424, 64438, and 64439. | Raymond Hettinger | 2008-06-24 | 1 | -3/+0 |
| | |||||
* | Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in ↵ | Eric Smith | 2008-06-24 | 1 | -2/+2 |
| | | | | anticipation of fixing issue 3140. |