cpython/Python
Tim Peters 4e9afdca39 Generalize map() to work with iterators.
NEEDS DOC CHANGES.
Possibly contentious:  The first time s.next() yields StopIteration (for
a given map argument s) is the last time map() *tries* s.next().  That
is, if other sequence args are longer, s will never again contribute
anything but None values to the result, even if trying s.next() again
could yield another result.  This is the same behavior map() used to have
wrt IndexError, so it's the only way to be wholly backward-compatible.
I'm not a fan of letting StopIteration mean "try again later" anyway.
2001-05-03 23:54:49 +00:00
..
.cvsignore
atof.c
bltinmodule.c Generalize map() to work with iterators. 2001-05-03 23:54:49 +00:00
ceval.c improved error message-- names the type of the unexpected object 2001-04-27 02:25:33 +00:00
codecs.c
compile.c Fix 2.1 nested scopes crash reported by Evan Simpson 2001-04-27 02:29:40 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef. 2001-01-19 23:34:06 +00:00
dynload_next.c
dynload_os2.c
dynload_shlib.c Oops, one more part of the cygwin patch (SF patch #102409 by jlt63: 2001-01-10 21:17:27 +00:00
dynload_stub.c
dynload_win.c
errors.c Use Py_CHARMASK for ctype macros. Fixes bug #232787. 2001-03-06 12:12:02 +00:00
exceptions.c Iterators phase 1. This comprises: 2001-04-20 19:13:02 +00:00
fmod.c
frozen.c
frozenmain.c
future.c When iterating over the names imported in a future statement, ignore the 2001-03-10 02:15:37 +00:00
getargs.c Added new parser markers 'et' and 'et#' which do not recode string 2001-05-02 17:16:16 +00:00
getcompiler.c
getcopyright.c Because this code was derived from Python 1.6.1 (amongst others), the 2001-04-12 20:53:31 +00:00
getcwd.c
getmtime.c Move distributed and duplicated config for stat() and fstat() into pyport.h. 2001-01-18 03:03:16 +00:00
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c SF bug #417093: Case sensitive import: dir and .py file w/ same name 2001-04-29 22:21:25 +00:00
importdl.c
importdl.h
marshal.c test_pickle works on sizeof(long)==8 boxes again. 2001-04-10 05:02:52 +00:00
memmove.c
modsupport.c Py_BuildValue(): Add "D" conversion to create a Python complex value from 2001-03-12 21:03:26 +00:00
mystrtoul.c
pyfpe.c
pystate.c Add a new API, PyThreadState_DeleteCurrent() that combines 2001-01-23 01:46:06 +00:00
pythonmain.c
pythonrun.c Bug fix: compile() called from a nested-scopes-enable Python was not 2001-03-26 19:53:38 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470 2001-01-27 06:20:08 +00:00
symtable.c Improved __future__ parser; still more to do 2001-02-27 19:07:02 +00:00
sysmodule.c Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger 2001-04-10 22:07:43 +00:00
thread.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c