578 Commits (e4d65e3aab980cd8c2347d71bc6e26c19227953b)

Author SHA1 Message Date
Raymond Hettinger 85c20a41df Implement and apply PEP 322, reverse iteration 22 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
Alex Martelli 41c9f880d8 fixed a potential refcount bug (thanks Raymond!). 23 years ago
Alex Martelli a70b19147f Adding new built-in function sum, with docs and tests. 23 years ago
Guido van Rossum 28e83e3a66 Some errors from range() should be TypeError, not ValueError. 23 years ago
Guido van Rossum 817d6c9c9e Prompted by Tim's comment, when handle_range_longs() sees an 23 years ago
Tim Peters 874e1f7ed3 handle_range_longs(): refcount handling is very delicate here, and 23 years ago
Guido van Rossum efbbb1c602 Patch by Chad Netzer (with significant change): 23 years ago
Raymond Hettinger ff41c48a77 SF patch #701494: more apply removals 23 years ago
Tim Peters 7571a0fbcf Improved new Py_TRACE_REFS gimmicks. 23 years ago
Neal Norwitz 3e59076b1d Fix SF bug #690435, apply fails to check if warning raises exception 23 years ago
Guido van Rossum 4b499dd3fb - Finally fixed the bug in compile() and exec where a string ending 23 years ago
Walter Dörwald 8dd19321bb Change filtertuple() to use tp_as_sequence->sq_item 23 years ago
Tim Peters 2c646c9fc1 Squashed compiler wng about signed/unsigned clash in comparison. 23 years ago
Walter Dörwald 1918f7755e Change filterstring() and filterunicode(): If the 23 years ago
Just van Rossum b9b8e9cf6d My previous checkin caused compile() to no longer accept buffers, as noted 23 years ago
Just van Rossum 3aaf42c613 patch #683515: "Add unicode support to compile(), eval() and exec" 23 years ago
Walter Dörwald c3da83fcd7 Make sure filter() never returns tuple, str or unicode 23 years ago
Walter Dörwald 531e000d2e PyUnicode_Resize() doesn't free its argument in case of a failure, 23 years ago
Walter Dörwald 903f1e0c40 filterstring() and filterunicode() in Python/bltinmodule.c 23 years ago
Neal Norwitz 94c30c0124 SF #661437, apply() should get PendingDeprecation 23 years ago
Martin v. Löwis 8afd7571a1 Patch #636005: Filter unicode into unicode. 23 years ago
Raymond Hettinger 69bf8f3f4e SF bug #655271: Slightly modify locals() doc 23 years ago
Raymond Hettinger bbfb910416 Make error message more specific for min() and max(). 23 years ago
Raymond Hettinger ea3fdf44a2 SF patch #659536: Use PyArg_UnpackTuple where possible. 23 years ago
Walter Dörwald d9a6ad3beb Enhance issubclass() and PyObject_IsSubclass() so that a tuple is 23 years ago
Martin v. Löwis 566f6afe9a Patch #512981: Update readline input stream on sys.stdin/out change. 24 years ago
Peter Schneider-Kamp 4c0134248c execfile should call PyErr_SetFromErrnoWithFilename instead of 24 years ago
Guido van Rossum c7903a13d2 A nice little speed-up for filter(): 24 years ago
Martin v. Löwis 31d2df5b60 Patch #550192: Set softspace to 0 in raw_input(). 24 years ago
Marc-André Lemburg cc8764ca9d Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level. 24 years ago
Martin v. Löwis 6238d2b024 Patch #569753: Remove support for WIN16. 24 years ago
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable. 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago
Raymond Hettinger c4c453f5ae Skip Montanaro's patch, SF 559833, exposing xrange type in builtins. 24 years ago
Neal Norwitz 32a7e7f6b6 Change name from string to basestring 24 years ago
Guido van Rossum cacfc07d08 - A new type object, 'string', is added. This is a common base type 24 years ago
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