summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signedMark Dickinson2009-03-201-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 Dickinson2009-03-204-18/+106
| | | | Backport of r70459.
* Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} withJeffrey Yasskin2009-02-281-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.xBenjamin Peterson2009-02-161-6/+0
|
* A few more minor fixes in longobject.cMark Dickinson2009-02-151-0/+1
|
* Issue #5260: Various portability and standards compliance fixes, optimizationsMark Dickinson2009-02-151-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 makeHirokazu Yamamoto2009-02-111-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ónsson2009-02-101-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 Dickinson2009-02-091-5/+24
| | | | It now forces its argument to double before testing for infinity.
* Issue 1242657: list(obj) can swallow KeyboardInterrupt.Raymond Hettinger2009-02-021-1/+1
|
* #3720: Interpreter crashes when an evil iterator removes its own next function.Amaury Forgeot d'Arc2009-01-122-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 compiledJeffrey Yasskin2009-01-091-0/+9
| | | | with llvm-gcc and run with a glibc <2.10.
* Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declarationMarc-André Lemburg2009-01-051-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 Dickinson2009-01-041-1/+3
|
* Fix HAVE_DECL_ISINF/ISNAN test (again).Mark Dickinson2009-01-041-2/+2
|
* Oops. Need to check not only that HAVE_DECL_ISINF is defined, but alsoMark Dickinson2009-01-041-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 scriptMark Dickinson2009-01-041-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 #4728Benjamin Peterson2008-12-281-0/+14
|
* Sort UCS-2/UCS-4 name mangling list.Alexandre Vassalotti2008-12-281-8/+8
|
* Fix name mangling of PyUnicode_ClearFreeList.Alexandre Vassalotti2008-12-281-1/+1
|
* Issue #2183: Simplify and optimize bytecode for list comprehensions.Antoine Pitrou2008-12-171-1/+1
|
* move unprefixed error into .c fileBenjamin Peterson2008-10-301-2/+0
|
* #4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module:Amaury Forgeot d'Arc2008-10-141-1/+1
| | | | | | compilation fails with "undefined reference to _Py_ascii_whitespace" Will backport to 2.6.
* Bump to 2.7a0Barry Warsaw2008-10-021-3/+3
|
* Bumping to 2.6 final.Barry Warsaw2008-10-011-3/+3
|
* build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config filesAndrew MacIntyre2008-09-221-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.6rc2Barry Warsaw2008-09-181-1/+1
|
* Bumping to 2.6rc2v2.6rc2Barry Warsaw2008-09-181-2/+2
|
* post release updatesBarry Warsaw2008-09-131-1/+1
|
* Fix the release levelv2.6rc1Barry Warsaw2008-09-121-2/+2
|
* Bumping to 2.6rc1Barry Warsaw2008-09-121-3/+3
|
* #3668: When PyArg_ParseTuple correctly parses a s* format, but raises anAntoine Pitrou2008-08-291-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 toAntoine Pitrou2008-08-261-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_StrBenjamin Peterson2008-08-261-0/+1
|
* done with the releaseBarry Warsaw2008-08-211-1/+1
|
* Bump to 2.6b3.v2.6b3Barry Warsaw2008-08-211-2/+2
|
* Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG fromGuido van Rossum2008-08-191-6/+19
| | | | Py_TPFLAGS_DEFAULT when not building the core.
* fix a little typoBenjamin Peterson2008-08-191-1/+1
|
* fix compile errorsBenjamin Peterson2008-08-171-1/+1
|
* expose PySTEntry.nested so the symtable module will workBenjamin Peterson2008-08-171-1/+1
|
* Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis2008-08-122-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 memoryGregory P. Smith2008-07-221-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 cleanupBarry Warsaw2008-07-181-1/+1
|
* Bumping to 2.6b2v2.6b2Barry Warsaw2008-07-181-2/+2
|
* Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵Nick Coghlan2008-07-151-0/+1
| | | | be blocked explicitly so that collections.Hashable remains meaningful
* Issue #3274: Use a less common identifier for the temporary variableAlexandre Vassalotti2008-07-131-2/+2
| | | | in Py_CLEAR().
* #3342: In tracebacks, printed source lines were not indented since r62555.Amaury Forgeot d'Arc2008-07-111-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 otherGregory P. Smith2008-07-062-2/+2
| | | | | freelists. Changes their CompactFreeList apis into ClearFreeList apis and calls them via gc.collect().
* Revert 64424, 64438, and 64439.Raymond Hettinger2008-06-241-3/+0
|
* Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in ↵Eric Smith2008-06-241-2/+2
| | | | anticipation of fixing issue 3140.