summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
AgeCommit message (Expand)AuthorLines
2002-10-07Backport:Michael W. Hudson-34/+1
2002-09-24backport nowonder's checkin ofMichael W. Hudson-1/+1
2002-04-30backport tim_one's patch:Anthony Baxter-2/+2
2002-04-08Add bool(), True, False (as ints) for backwards compatibility.Guido van Rossum-0/+23
2002-03-11backport tim_one's checkin ofMichael W. Hudson-5/+5
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2001-12-13Fix for SF bug [ #492403 ] exec() segfaults on closure's func_codeJeremy Hylton-1/+1
2001-11-28Use PyOS_snprintf instead of sprintf.Jeremy Hylton-1/+1
2001-11-05SF patch 473749 compile under OS/2 VA C++, from Michael Muller.Tim Peters-0/+4
2001-10-29Rename "dictionary" (type and constructor) to "dict".Tim Peters-1/+1
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-0/+15
2001-10-16SF patch #471852 (anonymous) notes that getattr(obj, name, default)Guido van Rossum-1/+3
2001-10-07Implement isinstance(x, (A, B, ...)). Note that we only allow tuples,Guido van Rossum-2/+4
2001-09-13Get rid of builtin_open() entirely (the C code and docstring, not theTim Peters-20/+3
2001-09-13_PyBuiltin_Init(): For clarity, macroize this purely repetitive code.Tim Peters-49/+25
2001-09-13SF bug [#460467] file objects should be subclassable.Tim Peters-22/+13
2001-09-06Rename 'getset' to 'property'.Guido van Rossum-2/+2
2001-09-05builtin_execfile(): initialize another local that the GCC on leroyGuido van Rossum-1/+1
2001-09-04At Guido's suggestion, here's a new C API function, PyObject_Dir(), likeTim Peters-137/+1
2001-09-04builtin_dir(): Treat classic classes like types. Use PyDict_Keys insteadTim Peters-17/+20
2001-09-03Make dir() wordier (see the new docstring). The new behavior is a mixedTim Peters-53/+134
2001-08-24Add 'super' builtin type.Guido van Rossum-0/+3
2001-08-23Add new built-in type 'getset' (PyGetSet_Type).Guido van Rossum-0/+3
2001-08-17Fix for bug [#452230] future division isn't propagated.Tim Peters-1/+8
2001-08-17A fiddled version of the rest of Michael Hudson's SF patchTim Peters-8/+26
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-0/+12
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-100/+59
2001-08-08Put conditional S_ISDIR definition(s) into pyport.h.Martin v. Löwis-1/+1
2001-08-08Repair the Windows build (S_ISDIR() macro doesn't exist).Tim Peters-1/+1
2001-08-08Patch #448227: Raise an exception when a directory is passed to execfile.Martin v. Löwis-4/+23
2001-08-02Merge of descr-branch back into trunk.Tim Peters-437/+38
2001-07-30Do for hasattr() what was done for getattr()Jeremy Hylton-0/+11
2001-07-30Fix for SF byg [ #420304 ] getattr function w/ defaultJeremy Hylton-0/+11
2001-07-30Fix for SF bug [ #443866 ] Evaluating func_code causing core dumpJeremy Hylton-1/+7
2001-07-26Undoing the UCS-4 patch addition which caused unichr() to returnMarc-André Lemburg-1/+11
2001-07-16Part way to allowing "from __future__ import generators" to communicateTim Peters-8/+8
2001-07-09Re-add 'advanced' xrange features, adding DeprecationWarnings as discussedThomas Wouters-1/+1
2001-07-05Complete the xrange-simplification checkins: call PyRange_New() withGuido van Rossum-1/+1
2001-06-27use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZEFredrik Lundh-1/+1
2001-06-26Cosmetic changes to MvL's change to unichr():Guido van Rossum-4/+6
2001-06-26Support using UCS-4 as the Py_UNICODE type:Martin v. Löwis-0/+4
2001-06-26more unicode tweaks: make unichr(0xdddddddd) behave like u"\Udddddddd"Fredrik Lundh-6/+17
2001-06-26experimental UCS-4 support: don't assume that MS_WIN32 impliesFredrik Lundh-1/+1
2001-05-28Cruft cleanup: Removed the unused last_is_sticky argument from the internalTim Peters-1/+1
2001-05-21SF bug #425836: Reference leak in filter().Tim Peters-0/+1
2001-05-14Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a file...Mark Hammond-1/+8
2001-05-13Add support for Windows using "mbcs" as the default Unicode encoding when dea...Mark Hammond-2/+6
2001-05-06Generalize zip() to work with iterators.Tim Peters-18/+44
2001-05-05Make PyIter_Next() a little smarter (wrt its knowledge of iteratorTim Peters-47/+14
2001-05-04Generalize reduce() to work with iterators.Tim Peters-12/+19