546 Commits (0cb8e5131d0797d3bdb1494de842e98798174cf2)

Author SHA1 Message Date
Martin v. Löwis f9836ba4fe Put conditional S_ISDIR definition(s) into pyport.h. 25 years ago
Tim Peters 257b3bfa76 Repair the Windows build (S_ISDIR() macro doesn't exist). 25 years ago
Martin v. Löwis 6b3a2c4a48 Patch #448227: Raise an exception when a directory is passed to execfile. 25 years ago
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 25 years ago
Jeremy Hylton 302b54acd9 Do for hasattr() what was done for getattr() 25 years ago
Jeremy Hylton 0eb1115f44 Fix for SF byg [ #420304 ] getattr function w/ default 25 years ago
Jeremy Hylton 15c1c4f6d2 Fix for SF bug [ #443866 ] Evaluating func_code causing core dump 25 years ago
Marc-André Lemburg ae21df59c3 Undoing the UCS-4 patch addition which caused unichr() to return 25 years ago
Tim Peters 5ba5866281 Part way to allowing "from __future__ import generators" to communicate 25 years ago
Thomas Wouters efafcea280 Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed 25 years ago
Guido van Rossum cfd829eefc Complete the xrange-simplification checkins: call PyRange_New() with 25 years ago
Fredrik Lundh 8f4558583f use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZE 25 years ago
Guido van Rossum 236d8b7974 Cosmetic changes to MvL's change to unichr(): 25 years ago
Martin v. Löwis 0ba70cc3c8 Support using UCS-4 as the Py_UNICODE type: 25 years ago
Fredrik Lundh 0dcf67e56d more unicode tweaks: make unichr(0xdddddddd) behave like u"\Udddddddd" 25 years ago
Fredrik Lundh 5b97935604 experimental UCS-4 support: don't assume that MS_WIN32 implies 25 years ago
Tim Peters 4324aa3572 Cruft cleanup: Removed the unused last_is_sticky argument from the internal 25 years ago
Tim Peters 3c6b148a67 SF bug #425836: Reference leak in filter(). 25 years ago
Mark Hammond 26cffde4c2 Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a fileobject.h, and initialize it in bltinmodule. 25 years ago
Mark Hammond ef8b654bbe Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system. As discussed on python-dev and in patch 410465. 25 years ago
Tim Peters 8572b4fedf Generalize zip() to work with iterators. 25 years ago
Tim Peters f4848dac41 Make PyIter_Next() a little smarter (wrt its knowledge of iterator 25 years ago
Tim Peters 15d81efb8a Generalize reduce() to work with iterators. 25 years ago
Tim Peters 4e9afdca39 Generalize map() to work with iterators. 25 years ago
Tim Peters c307453162 Generalize max(seq) and min(seq) to work with iterators. 25 years ago
Tim Peters 0e57abf0cd Generalize filter(f, seq) to work with iterators. This also generalizes 25 years ago
Tim Peters 748b8bbe02 Fix buglet reported on c.l.py: map(fnc, file.xreadlines()) blows up. 25 years ago
Guido van Rossum 59d1d2b434 Iterators phase 1. This comprises: 25 years ago
Tim Peters 388ed08cbf SF patch #413552 - Premature decref on object 25 years ago
Jeremy Hylton bc32024769 Extend support for from __future__ import nested_scopes 25 years ago
Guido van Rossum 823649d544 Move the code implementing isinstance() and issubclass() to new C 25 years ago
Marc-André Lemburg 6f77667a64 Backed out the unistr() builtin. 25 years ago
Jeremy Hylton c862cf400f clearer error messages for apply() and "no locals" 25 years ago
Guido van Rossum 8dabbf149e Fix for the bug in complex() just reported by Ping. 25 years ago
Marc-André Lemburg ad7c98e264 This patch adds a new builtin unistr() which behaves like str() 25 years ago
Guido van Rossum 53451b3fd1 Use rich comparisons in min and max. 25 years ago
Fred Drake f1fbc62a8c Update the docstring for apply() so that "args" is marked as optional 25 years ago
Guido van Rossum ad991775ab (Modified) patch by Ping - SF Patch #102681. 25 years ago
Neil Schemenauer 23ab199bfd Add NotImplemented to the builtin module. 25 years ago
Andrew M. Kuchling f07aad171a CHange error messages for ord(), using "string" instead of "string or Unicode" 26 years ago
Andrew M. Kuchling 9bcc68c183 Whoops! Two stray characters crept in to my last check-in 26 years ago
Andrew M. Kuchling 34c20cf705 Patch #102955, fixing one of the warnings in bug #121479: 26 years ago
Neil Schemenauer cc343caf41 Make isinstance() more permissive in what types of arguments it 26 years ago
Fred Drake 661ea26b3d Ka-Ping Yee <ping@lfw.org>: 26 years ago
Fred Drake d5fadf75e4 Rationalize use of limits.h, moving the inclusion to Python.h. 26 years ago
Marc-André Lemburg d1ba443206 This patch adds a new Python C API called PyString_AsStringAndSize() 26 years ago
Marc-André Lemburg 691270feee Deferred the attribute name object type checking to the underlying 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Guido van Rossum 0df002c45b Add three new APIs: PyRun_AnyFileEx(), PyRun_SimpleFileEx(), 26 years ago
Barry Warsaw 5ca1ef9238 comples_from_string(): Move s_buffer[] up to the top-level function 26 years ago