581 Commits (0d554d7ef159761439ade414fcd028262eae656c)

Author SHA1 Message Date
Tim Peters 39a86c2188 SF bug 555042: zip() may trigger MemoryError. 24 years ago
Tim Peters 67d687a114 builtin_zip(): Take a good guess at how big the result list will be, 24 years ago
Tim Peters 5de9842b34 Repair widespread misuse of _PyString_Resize. Since it's clear people 24 years ago
Guido van Rossum 7dab2426ca - New builtin function enumerate(x), from PEP 279. Example: 24 years ago
Jack Jansen 7b8c7546eb Mass checkin of universal newline support. 25 years ago
Guido van Rossum 77f6a65eb0 Add the 'bool' type and its values 'False' and 'True', as described in 25 years ago
Martin v. Löwis 3484a18af1 Patch #494045: patches errno and stat to cope on plan9. 25 years ago
Tim Peters d50e544b9f Docstring for filter(): Someone on the Tutor list reasonably complained 25 years ago
Martin v. Löwis cdc4451222 Include <unistd.h> in Python.h. Fixes #500924. 25 years ago
Jeremy Hylton 733c8935f9 Fix for SF bug [ #492403 ] exec() segfaults on closure's func_code 25 years ago
Jeremy Hylton 518ab1c02a Use PyOS_snprintf instead of sprintf. 25 years ago
Tim Peters 603c6831d0 SF patch 473749 compile under OS/2 VA C++, from Michael Muller. 25 years ago
Tim Peters a427a2b8d0 Rename "dictionary" (type and constructor) to "dict". 25 years ago
Guido van Rossum e2ae77b8b8 SF patch #474590 -- RISC OS support 25 years ago
Guido van Rossum d892357bf7 SF patch #471852 (anonymous) notes that getattr(obj, name, default) 25 years ago
Guido van Rossum 03290ecbf1 Implement isinstance(x, (A, B, ...)). Note that we only allow tuples, 25 years ago
Tim Peters 742dfd6f17 Get rid of builtin_open() entirely (the C code and docstring, not the 25 years ago
Tim Peters 4b7625ee83 _PyBuiltin_Init(): For clarity, macroize this purely repetitive code. 25 years ago
Tim Peters 59c9a645e2 SF bug [#460467] file objects should be subclassable. 25 years ago
Guido van Rossum 8bce4acb17 Rename 'getset' to 'property'. 25 years ago
Guido van Rossum b3a639ed7d builtin_execfile(): initialize another local that the GCC on leroy 25 years ago
Tim Peters 7eea37e831 At Guido's suggestion, here's a new C API function, PyObject_Dir(), like 25 years ago
Tim Peters 37a309db70 builtin_dir(): Treat classic classes like types. Use PyDict_Keys instead 25 years ago
Tim Peters 5d2b77cf31 Make dir() wordier (see the new docstring). The new behavior is a mixed 25 years ago
Guido van Rossum f5cb357468 Add 'super' builtin type. 25 years ago
Guido van Rossum 29a62dd6eb Add new built-in type 'getset' (PyGetSet_Type). 25 years ago
Tim Peters 9fa96bed6f Fix for bug [#452230] future division isn't propagated. 25 years ago
Tim Peters 6cd6a82db9 A fiddled version of the rest of Michael Hudson's SF patch 25 years ago
Martin v. Löwis 339d0f720e Patch #445762: Support --disable-unicode 25 years ago
Martin v. Löwis e3eb1f2b23 Patch #427190: Implement and use METH_NOARGS and METH_O. 25 years ago
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