485 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
Martin v. Löwis 725507b52e Change int to Py_ssize_t in several places. 20 years ago
Thomas Wouters f7f438ba3b SF patch #1438387, PEP 328: relative and absolute imports. 20 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 20 years ago
Martin v. Löwis bd260da900 Generate code to recursively copy an AST into 20 years ago
Neal Norwitz a361bd8dce Fix compiler warning (int vs Py_ssize_t mismatch 20 years ago
Martin v. Löwis d96ee90993 Use Py_ssize_t to count the 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Armin Rigo f5b3e36493 Renamed _length_cue() to __length_hint__(). See: 20 years ago
Neal Norwitz 6f0d479c78 Fix an int/long mismatch identified here: 21 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Neal Norwitz 3a9a3e7864 Fix memory leaks 21 years ago
Jeremy Hylton ec97a28b60 Fix a bunch of imports to use code.h instead of compile.h. 21 years ago
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head 21 years ago
Raymond Hettinger 6b27cda643 Convert iterator __len__() methods to a private API. 21 years ago
Armin Rigo 71d7e704b8 Removed a check "if (args != NULL)" which is always True and makes no sense. 21 years ago
Georg Brandl 77c85e63b4 bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault. 21 years ago
Georg Brandl 99d7e4e8eb Whitespace normalization. 21 years ago
Raymond Hettinger a710b331da SF bug #1242657: list(obj) can swallow KeyboardInterrupt 21 years ago
Georg Brandl e35b657efd Fix cleanup DECREF logic in builtin_filter function. 21 years ago
Raymond Hettinger 96229b1918 Add two new functions, any() and all(). 21 years ago
Brett Cannon 9e635cf3ae Put parentheses around the assignment in the 'while' loop conditional 22 years ago
Raymond Hettinger 3b0c7c20a1 SF patch #1077353: add key= argument to min and max 22 years ago
Martin v. Löwis 8d494f3241 Patch #1015021: Stop claiming that coerce can return None. 22 years ago
Martin v. Löwis fd39ad4937 Patch #1005468: Disambiguate "min() or max()" exception string. 22 years ago
Jeremy Hylton 4c989ddc9c Subclasses of string can no longer be interned. The semantics of 22 years ago
Michael W. Hudson 52db519faa for some reason, the lack of adherence to Python's C whitespace rules 22 years ago
Raymond Hettinger 66bd233225 Completed the patch for Bug #215126. 22 years ago
Neil Schemenauer 3a313e3655 Check the type of values returned by __int__, __float__, __long__, 22 years ago
Michael W. Hudson 30ea2f223f This closes patch: 22 years ago
Raymond Hettinger 513ffe8112 * Fix missing return after error message is set. 22 years ago
Raymond Hettinger 214b1c3aae SF Bug #215126: Over restricted type checking on eval() function 22 years ago
Andrew MacIntyre da4d6cb573 OS/2 VACPP build updates/fixes 22 years ago
Hye-Shik Chang ff83c2bacc Fix input() builtin function to respect compiler flags. 22 years ago
Raymond Hettinger b86269db45 Apply pre-sizing optimization to a broader class of objects. 23 years ago
Raymond Hettinger 77f3c87113 Apply map/zip pre-sizing optimization to a broader class of objects. 23 years ago
Raymond Hettinger 64958a15d7 Guido grants a Christmas wish: 23 years ago
Fred Drake d75ede3238 Remove the PendingDeprecationWarning from apply(). apply() will 23 years ago
Raymond Hettinger a690a9967e * Migrate set() and frozenset() from the sandbox. 23 years ago
Raymond Hettinger 85c20a41df Implement and apply PEP 322, reverse iteration 23 years ago
Alex Martelli a253e183b8 regressing the performance bugfix -- Guido wants the performance bug left 23 years ago
Alex Martelli a2777d3a55 Changed builtin_sum to use PyNumber_InPlaceAdd (same semantics, but fixes 23 years ago
Raymond Hettinger 5cf6394b12 Use PyArg_UnpackTuple() where possible. 23 years ago
Raymond Hettinger 8ae4689657 Simplify and speedup uses of Py_BuildValue(): 23 years ago
Jeremy Hylton 364f6becad Correct check of PyUnicode_Resize() return value. 23 years ago
Jeremy Hylton 1aad9c7dad Reflow long lines and reformat. 23 years ago
Walter Dörwald c58a3a10a9 Fix a crash: when sq_item failed the code continued blindly and used the 23 years ago
Neil Schemenauer 689735562d Make filter(bool, ...) as fast as filter(None, ...). 23 years ago
Raymond Hettinger eaef615116 As discussed on python-dev, changed builtin.zip() to handle zero arguments 23 years ago
Alex Martelli a9b9c9fa9f some more error-message enhancements 23 years ago
Alex Martelli f471d4783a complete and clarify some error messages for range() 23 years ago