cpython/Python
Guido van Rossum c1f779cb01 Merged revisions 56125-56153 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
  r56127 | georg.brandl | 2007-06-30 09:32:49 +0200 (Sat, 30 Jun 2007) | 2 lines

  Fix a place where floor division would be in order.
........
  r56135 | guido.van.rossum | 2007-07-01 06:13:54 +0200 (Sun, 01 Jul 2007) | 28 lines

  Make map() and filter() identical to itertools.imap() and .ifilter(),
  respectively.

  I fixed two bootstrap issues, due to the dynamic import of itertools:

  1. Starting python requires that map() and filter() are not used until
     site.py has added build/lib.<arch> to sys.path.
  2. Building python requires that setup.py and distutils and everything
     they use is free of map() and filter() calls.

  Beyond this, I only fixed the tests in test_builtin.py.
  Others, please help fixing the remaining tests that are now broken!
  The fixes are usually simple:
  a. map(None, X) -> list(X)
  b. map(F, X) -> list(map(F, X))
  c. map(lambda x: F(x), X) -> [F(x) for x in X]
  d. filter(F, X) -> list(filter(F, X))
  e. filter(lambda x: P(x), X) -> [x for x in X if P(x)]

  Someone, please also contribute a fixer for 2to3 to do this.
  It can leave map()/filter() calls alone that are already
  inside a list() or sorted() call or for-loop.

  Only in rare cases have I seen code that depends on map() of lists
  of different lengths going to the end of the longest, or on filter()
  of a string or tuple returning an object of the same type; these
  will need more thought to fix.
........
  r56136 | guido.van.rossum | 2007-07-01 06:22:01 +0200 (Sun, 01 Jul 2007) | 3 lines

  Make it so that test_decimal fails instead of hangs, to help automated
  test runners.
........
  r56139 | georg.brandl | 2007-07-01 18:20:58 +0200 (Sun, 01 Jul 2007) | 2 lines

  Fix a few test cases after the map->imap change.
........
  r56142 | neal.norwitz | 2007-07-02 06:38:12 +0200 (Mon, 02 Jul 2007) | 1 line

  Get a bunch more tests passing after converting map/filter to return iterators.
........
  r56147 | guido.van.rossum | 2007-07-02 15:32:02 +0200 (Mon, 02 Jul 2007) | 4 lines

  Fix the remaining failing unit tests (at least on OSX).
  Also tweaked urllib2 so it doesn't raise socket.gaierror when
  all network interfaces are turned off.
........
2007-07-03 08:25:58 +00:00
..
Python-ast.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
asdl.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
ast.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
atof.c
bltinmodule.c Merged revisions 56125-56153 via svnmerge from 2007-07-03 08:25:58 +00:00
ceval.c Merged revisions 56020-56124 via svnmerge from 2007-06-30 05:01:58 +00:00
codecs.c Revert 55876. Use PyUnicode_AsEncodedString instead. 2007-06-12 05:53:00 +00:00
compile.c Looks like an oopsie -- I ignored a warning at my peril. 2007-06-14 00:28:01 +00:00
dup2.c
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c
dynload_shlib.c Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
dynload_stub.c
dynload_win.c Merged revisions 55631-55794 via svnmerge from 2007-06-06 23:52:48 +00:00
errors.c Change PyErr_Format() to generate a unicode string (by using 2007-05-25 15:46:59 +00:00
frozen.c Update the frozen bytecode for __hello__. 2007-06-12 00:25:52 +00:00
frozenmain.c
future.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
getargs.c Revert r56044 (which changed the %c format specifier to accept a 2007-07-01 21:58:22 +00:00
getcompiler.c
getcopyright.c Merged revisions 53005-53303 via svnmerge from 2007-01-09 23:18:33 +00:00
getcwd.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
getmtime.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
getopt.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
getplatform.c
getversion.c
graminit.c Merged revisions 55631-55794 via svnmerge from 2007-06-06 23:52:48 +00:00
hypot.c
import.c Rip out the file object's implementation. 2007-06-12 23:30:11 +00:00
importdl.c Patch #794826: Add __file__ in dynamically loaded modules for multiple 2003-09-04 18:45:59 +00:00
importdl.h
mactoolboxglue.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
marshal.c Rip out the file object's implementation. 2007-06-12 23:30:11 +00:00
memmove.c
modsupport.c Revert r56044 (which changed the %c format specifier to accept a 2007-07-01 21:58:22 +00:00
mysnprintf.c
mystrtoul.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
peephole.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
pyarena.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.c
pystate.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
pystrtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pythonrun.c Rip out the file object's implementation. 2007-06-12 23:30:11 +00:00
sigcheck.c
strdup.c
strerror.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
strtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
structmember.c Merged revisions 55962-56019 via svnmerge from 2007-06-18 17:58:50 +00:00
symtable.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
sysmodule.c Make sys.path and sys.argv into lists of strings. 2007-06-15 03:49:03 +00:00
thread.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
thread_os2.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c Merged revisions 53451-53537 via svnmerge from 2007-02-01 18:02:27 +00:00