534 Commits (cdc75d967b777db0e4658bb6d500d4fcfca5fecb)

Author SHA1 Message Date
Eric Smith 7c47894a2a Backport of the print function, using a __future__ import. 18 years ago
David Wolever 8e6ec2ff02 Added a warning when -3 is enabled and None is passed to filter as the first argument. 18 years ago
Travis E. Oliphant 3781aef8f8 Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will. 18 years ago
Raymond Hettinger 736c0ab428 Move itertools izip() code to builtins as zip(). Complete the renaming. 19 years ago
Raymond Hettinger a6c6037f88 Issues 2186 and 2187. Move map() from itertools to builtins. 19 years ago
Raymond Hettinger 17301e9fab Issue 2186 and 2187. Move filter from itertools to builtins. 19 years ago
Neal Norwitz b93e7d16d5 Add a little info to the 3k deprecation warnings about what to use instead. 19 years ago
Neal Norwitz 53152a1905 map(None, ...) is not supported in 3.0. 19 years ago
Eric Smith 3cd8194b9c Added bin() builtin. I'm going to check in the tests in a seperate checkin, because the builtin doesn't need to be ported to py3k, but the tests are missing in py3k and need to be merged there. 19 years ago
Eric Smith 8fd3eba050 Fixes for shared 2.6 code that implements PEP 3101, advanced string 19 years ago
Eric Smith a9f7d62480 Backport of PEP 3101, Advanced String Formatting, from py3k. 19 years ago
Martin v. Löwis 73c01d4101 Added checks for integer overflows, contributed by Google. Some are 19 years ago
Georg Brandl cd5da7d51b Make print docstring consistent with its docs. 19 years ago
Christian Heimes 400adb030a Merged revisions 60475-60479,60481-60488 via svnmerge from 19 years ago
Jeffrey Yasskin ca2b69f765 Move __builtins__.trunc() to math.trunc() per 19 years ago
Raymond Hettinger 70b64fce96 Issue #1771: Remove cmp parameter from list.sort() and builtin.sorted(). 19 years ago
Raymond Hettinger 867558afd6 CallMethod is faster with a NULL third-argument than with an empty format string. 19 years ago
Christian Heimes fe82e774ea Merged revisions 60379-60382 via svnmerge from 19 years ago
Christian Heimes bbffeb61e1 Merged revisions 60210-60233 via svnmerge from 19 years ago
Guido van Rossum 1d9a9eaa89 Fix two crashers. 19 years ago
Guido van Rossum e105f98046 Fix two crashers (borrowed_ref_[34].py from the trunk). 19 years ago
Raymond Hettinger 1dfde1ddc0 Replace map(None, *iterables) with zip(*iterables). 19 years ago
Christian Heimes 288e89acfc Added bytes and b'' as aliases for str and '' 19 years ago
Georg Brandl 9fcd8ceb74 Fix C++-style comment. 19 years ago
Jeffrey Yasskin 9871d8fe22 Continue rolling back pep-3141 changes that changed behavior from 2.5. This 19 years ago
Christian Heimes 819b8bf403 More PyImport_ImportModule -> PyImport_ImportModuleNoBlock 19 years ago
Jeffrey Yasskin 2f3c16be73 Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just 19 years ago
Christian Heimes 5fb7c2ad0b Merged revisions 59565-59594 via svnmerge from 19 years ago
Guido van Rossum 01dbc109a8 Improve performance of built-in any()/all() by avoiding PyIter_Next() -- 19 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 19 years ago
Christian Heimes 94b7d3db59 Fixed #1593 spacing of the builtin_format function is inconsistent. Thanks to Joseph for the fix 19 years ago
Skip Montanaro 4e3ebe0bae Note that open() is the preferred way to open files (issue 1510). 19 years ago
Raymond Hettinger 4e2f714031 Fix Issue 1045. 19 years ago
Martin v. Löwis d1a1d1ed80 Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 19 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 19 years ago
Georg Brandl 1a3284ed69 #1535: rename __builtin__ module to builtins. 19 years ago
Christian Heimes c896700235 Partial fix for bug #1306 19 years ago
Christian Heimes 91c77301bf Fixed bug in input() which broke pdb 19 years ago
Guido van Rossum 254348e201 Rename buffer -> bytearray. 19 years ago
Christian Heimes 2be03734f8 Added some additional checks for sys.std?? is None, see #1440 19 years ago
Christian Heimes fef9bbaff2 Another #1415 fix for Windows GUI apps 19 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 19 years ago
Guido van Rossum 8ce8a784bd Merged revisions 58221-58741 via svnmerge from 19 years ago
Raymond Hettinger a45c4873fc Missing DECREFs 19 years ago
Raymond Hettinger 3a8daf5b56 Fixup error return and add support for intermixed ints and floats/ 19 years ago
Raymond Hettinger 3f8caa3ba7 Optimize sum() for integer and float inputs. 19 years ago
Guido van Rossum 3172c5d263 Patch# 1258 by Christian Heimes: kill basestring. 19 years ago
Guido van Rossum 00bc0e0a2d Patch #1272, by Christian Heimes and Alexandre Vassalotti. 19 years ago
Guido van Rossum bae07c9baf Breaking ground for PEP 3137 implementation: 19 years ago
Martin v. Löwis 4a7b5d5b4f Decode input() with stdin.encoding. Fixes #1097. 19 years ago