cpython/Python
Christian Heimes 969fe57baa Merged revisions 60245-60277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r60246 | guido.van.rossum | 2008-01-24 18:58:05 +0100 (Thu, 24 Jan 2008) | 2 lines

  Fix test67.py from issue #1303614.
........
  r60248 | raymond.hettinger | 2008-01-24 19:05:54 +0100 (Thu, 24 Jan 2008) | 1 line

  Clean-up and speed-up code by accessing numerator/denominator directly.  There's no reason to enforce readonliness
........
  r60249 | raymond.hettinger | 2008-01-24 19:12:23 +0100 (Thu, 24 Jan 2008) | 1 line

  Revert 60189 and restore performance.
........
  r60250 | guido.van.rossum | 2008-01-24 19:21:02 +0100 (Thu, 24 Jan 2008) | 5 lines

  News about recently fixed crashers:
  - A few crashers fixed: weakref_in_del.py (issue #1377858);
    loosing_dict_ref.py (issue #1303614, test67.py);
    borrowed_ref_[34].py (not in tracker).
........
  r60252 | thomas.heller | 2008-01-24 19:36:27 +0100 (Thu, 24 Jan 2008) | 7 lines

  Use a PyDictObject again for the array type cache; retrieving items
  from the WeakValueDictionary was slower by nearly a factor of 3.

  To avoid leaks, weakref proxies for the array types are put into the
  cache dict, with weakref callbacks that removes the entries when the
  type goes away.
........
  r60253 | thomas.heller | 2008-01-24 19:54:12 +0100 (Thu, 24 Jan 2008) | 2 lines

  Replace Py_BuildValue with PyTuple_Pack because it is faster.
  Also add a missing DECREF.
........
  r60254 | raymond.hettinger | 2008-01-24 20:05:29 +0100 (Thu, 24 Jan 2008) | 1 line

  Add support for trunc().
........
  r60255 | thomas.heller | 2008-01-24 20:15:02 +0100 (Thu, 24 Jan 2008) | 5 lines

  Invert the checks in get_[u]long and get_[u]longlong.  The intent was
  to not accept float types; the result was that integer-like objects
  were not accepted.

  Ported from release25-maint.
........
  r60256 | raymond.hettinger | 2008-01-24 20:30:19 +0100 (Thu, 24 Jan 2008) | 1 line

  Add support for int(r) just like the other numeric classes.
........
  r60263 | raymond.hettinger | 2008-01-24 22:23:58 +0100 (Thu, 24 Jan 2008) | 1 line

  Expand tests to include nested graph structures.
........
  r60264 | raymond.hettinger | 2008-01-24 22:47:56 +0100 (Thu, 24 Jan 2008) | 1 line

  Shorter pprint's for empty sets and frozensets.  Fix indentation of frozensets.  Add tests including two complex data structures.
........
  r60265 | amaury.forgeotdarc | 2008-01-24 23:51:18 +0100 (Thu, 24 Jan 2008) | 14 lines

  #1920: when considering a block starting by "while 0", the compiler optimized the
  whole construct away, even when an 'else' clause is present::

      while 0:
          print("no")
      else:
          print("yes")

  did not generate any code at all.

  Now the compiler emits the 'else' block, like it already does for 'if' statements.

  Will backport.
........
  r60266 | amaury.forgeotdarc | 2008-01-24 23:59:25 +0100 (Thu, 24 Jan 2008) | 2 lines

  News entry for r60265 (Issue 1920).
........
  r60269 | raymond.hettinger | 2008-01-25 00:50:26 +0100 (Fri, 25 Jan 2008) | 1 line

  More code cleanup.  Remove unnecessary indirection to useless class methods.
........
  r60270 | raymond.hettinger | 2008-01-25 01:21:54 +0100 (Fri, 25 Jan 2008) | 1 line

  Add support for copy, deepcopy, and pickle.
........
  r60271 | raymond.hettinger | 2008-01-25 01:33:45 +0100 (Fri, 25 Jan 2008) | 1 line

  Mark todos and review comments.
........
  r60272 | raymond.hettinger | 2008-01-25 02:13:12 +0100 (Fri, 25 Jan 2008) | 1 line

  Add one other review comment.
........
  r60273 | raymond.hettinger | 2008-01-25 02:23:38 +0100 (Fri, 25 Jan 2008) | 1 line

  Fix-up signature for approximation.
........
  r60274 | raymond.hettinger | 2008-01-25 02:46:33 +0100 (Fri, 25 Jan 2008) | 1 line

  More design notes
........
  r60276 | neal.norwitz | 2008-01-25 07:37:23 +0100 (Fri, 25 Jan 2008) | 6 lines

  Make the test more robust by trying to reconnect up to 3 times
  in case there were transient failures.  This will hopefully silence
  the buildbots for this test.  As we find other tests that have a problem,
  we can fix with a similar strategy assuming it is successful.  It worked
  on my box in a loop for 10+ runs where it would have an exception otherwise.
........
  r60277 | neal.norwitz | 2008-01-25 09:04:16 +0100 (Fri, 25 Jan 2008) | 4 lines

  Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64)
  and eliminate a compiler warning in floatobject.c.  There might be
  a better way to go about this, but it should be good enough for now.
........
2008-01-25 11:23:10 +00:00
..
Python-ast.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +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 More PyImport_ImportModule -> PyImport_ImportModuleNoBlock 2008-01-03 23:05:47 +00:00
atof.c
bltinmodule.c Merged revisions 60210-60233 via svnmerge from 2008-01-24 09:42:52 +00:00
ceval.c Merged revisions 60210-60233 via svnmerge from 2008-01-24 09:42:52 +00:00
codecs.c More PyImport_ImportModule -> PyImport_ImportModuleNoBlock 2008-01-03 23:05:47 +00:00
compile.c Merged revisions 60245-60277 via svnmerge from 2008-01-25 11:23:10 +00:00
dup2.c
dynload_aix.c
dynload_atheos.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
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c Merged revisions 60210-60233 via svnmerge from 2008-01-24 09:42:52 +00:00
errors.c Merged revisions 59666-59679 via svnmerge from 2008-01-03 23:01:04 +00:00
formatter_unicode.c Implementation of PEP 3101, Advanced String Formatting. 2007-08-25 02:26:07 +00:00
frozen.c Fix for refleak tests through regrtest.py -R:: bug #1414 2007-11-12 19:19:07 +00:00
frozenmain.c
future.c Copied doc for reload() from trunk's function.rst to imp.rst 2008-01-07 17:19:16 +00:00
getargs.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +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 Issue #1066: implement PEP 3109, 2/3 of PEP 3134. 2007-08-31 00:04:24 +00:00
hypot.c Merged revisions 60124-60142 via svnmerge from 2008-01-20 15:14:11 +00:00
import.c Good catch Neal! 2008-01-11 07:03:05 +00:00
importdl.c Move decl so it compiles with C89. 2007-10-15 16:08:26 +00:00
importdl.h
mactoolboxglue.c Merged revisions 59666-59679 via svnmerge from 2008-01-03 23:01:04 +00:00
marshal.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 2007-12-19 02:45:37 +00:00
memmove.c
modsupport.c Merged revisions 60080-60089,60091-60093 via svnmerge from 2008-01-19 20:08:23 +00:00
mysnprintf.c
mystrtoul.c Merged revisions 60080-60089,60091-60093 via svnmerge from 2008-01-19 20:08:23 +00:00
peephole.c PyString_AsString is permissive and accepts unicode strings. 2007-11-22 02:48:12 +00:00
pyarena.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.c
pystate.c Merged revisions 60143-60149 via svnmerge from 2008-01-21 11:20:28 +00:00
pystrcmp.c Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
pystrtod.c Merged revisions 59703-59773 via svnmerge from 2008-01-06 16:59:19 +00:00
pythonrun.c Merged revisions 59822-59841 via svnmerge from 2008-01-07 21:14:23 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
structmember.c Merged revisions 60176-60209 via svnmerge from 2008-01-23 08:24:23 +00:00
symtable.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
sysmodule.c Merged revisions 60124-60142 via svnmerge from 2008-01-20 15:14:11 +00:00
thread.c Merged revisions 59822-59841 via svnmerge from 2008-01-07 21:14:23 +00:00
thread_atheos.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
thread_pthread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c Merged revisions 59985-60000,60002,60005-60007,60009-60042 via svnmerge from 2008-01-18 09:56:22 +00:00