cpython/Modules
Guido van Rossum 3d392eb327 Merged revisions 58947-59004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r58952 | christian.heimes | 2007-11-12 10:58:08 -0800 (Mon, 12 Nov 2007) | 6 lines

  readline module cleanup
  fixed indention to tabs
  use Py_RETURN_NONE macro
  added more error checks to on_completion_display_matches_hook

  open question: Does PyList_SetItem(l, i, o) steal a reference to o in the case of an error?
........
  r58956 | guido.van.rossum | 2007-11-12 12:06:40 -0800 (Mon, 12 Nov 2007) | 2 lines

  Add the test from issue 1704621 (the issue itself is already fixed here).
........
  r58963 | amaury.forgeotdarc | 2007-11-13 13:54:28 -0800 (Tue, 13 Nov 2007) | 23 lines

  Merge from py3k branch:
  Correction for issue1265 (pdb bug with "with" statement).

  When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
  is called with a GeneratorExit exception set.  This leads to funny results
  if the sys.settrace function itself makes use of generators.
  A visible effect is that the settrace function is reset to None.
  Another is that the eventual "finally" block of the generator is not called.

  It is necessary to save/restore the exception around the call to the trace
  function.

  This happens a lot with py3k: isinstance() of an ABCMeta instance runs
      def __instancecheck__(cls, instance):
          """Override for isinstance(instance, cls)."""
          return any(cls.__subclasscheck__(c)
                     for c in {instance.__class__, type(instance)})
  which lets an opened generator expression each time it returns True.

  Backport candidate, even if the case is less frequent in 2.5.
........
  r58968 | georg.brandl | 2007-11-14 05:59:09 -0800 (Wed, 14 Nov 2007) | 2 lines

  Remove dead link from random docs.
........
  r58971 | raymond.hettinger | 2007-11-14 14:56:16 -0800 (Wed, 14 Nov 2007) | 1 line

  Make __fields__ read-only.  Suggested by Issac Morland
........
  r58972 | raymond.hettinger | 2007-11-14 15:02:30 -0800 (Wed, 14 Nov 2007) | 1 line

  Add test for __fields__ being read-only
........
  r58975 | raymond.hettinger | 2007-11-14 18:44:53 -0800 (Wed, 14 Nov 2007) | 6 lines

  Accept Issac Morland's suggestion for __replace__ to allow multiple replacements
  (suprisingly, this simplifies the signature, improves clarity, and is comparably fast).
  Update the docs to reflect a previous change to the function name.
  Add an example to the docs showing how to override the default __repr__ method.
........
  r58976 | raymond.hettinger | 2007-11-14 18:55:42 -0800 (Wed, 14 Nov 2007) | 1 line

  Small improvement to the implementation of __replace__().
........
  r58977 | raymond.hettinger | 2007-11-14 18:58:20 -0800 (Wed, 14 Nov 2007) | 1 line

  Fixup example in docs.
........
  r58978 | raymond.hettinger | 2007-11-14 19:16:09 -0800 (Wed, 14 Nov 2007) | 1 line

  Example of multiple replacements.
........
  r58998 | raymond.hettinger | 2007-11-15 14:39:34 -0800 (Thu, 15 Nov 2007) | 1 line

  Add example for use cases requiring default values.
........
  r59000 | bill.janssen | 2007-11-15 15:03:03 -0800 (Thu, 15 Nov 2007) | 1 line

  add the certificate for the Python SVN repository for testing SSL
........
  r59004 | guido.van.rossum | 2007-11-15 16:24:44 -0800 (Thu, 15 Nov 2007) | 8 lines

  A patch from issue 1378 by roudkerk:

  Currently on Windows set_error() make use of a large array which maps
  socket error numbers to error messages.

  This patch removes that array and just lets PyErr_SetExcFromWindowsErr()
  generate the message by using the Win32 function FormatMessage().
........
2007-11-16 00:35:22 +00:00
..
_ctypes Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
_sqlite Remove an unused local variable. 2007-11-06 23:14:42 +00:00
cjkcodecs Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
expat Remove support for BeOS 2007-08-17 12:57:41 +00:00
zlib Remove RISCOS support 2007-08-16 14:35:24 +00:00
_bisectmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
_bsddb.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
_codecsmodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
_collectionsmodule.c Merged revisions 58886-58929 via svnmerge from 2007-11-10 23:39:45 +00:00
_csv.c Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
_curses_panel.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
_cursesmodule.c Added some additional checks for sys.std?? is None, see #1440 2007-11-15 02:26:46 +00:00
_elementtree.c SF patch # 1769767, get test_xml_etree_c working. More conversions are probably needed. 2007-08-08 06:56:02 +00:00
_fileio.c Fixed bug #1081: file.seek allows float arguments 2007-11-08 18:04:45 +00:00
_functoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_hashopenssl.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
_heapqmodule.c Use UTF-8 for a docstring that contains non-ASCII chars. 2007-08-23 23:58:43 +00:00
_localemodule.c Get the locale and pwd tests working on the Solaris box where there 2007-10-27 05:40:06 +00:00
_lsprof.c Get rid of more uses of string and use unicode 2007-10-27 04:00:45 +00:00
_randommodule.c Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
_sre.c Remove the buffer API from PyUnicode as specified by PEP 3137. Also, 2007-10-14 02:05:51 +00:00
_ssl.c get SSL support to work again 2007-11-15 22:23:56 +00:00
_struct.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
_testcapimodule.c Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
_tkinter.c Tkinter binding involving Control-spacebar raises unicode error 2007-08-27 01:55:21 +00:00
_typesmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_weakref.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
addrinfo.h Cruft removal: 2006-12-28 04:47:50 +00:00
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
atexitmodule.c missing docstrings 2007-08-06 20:59:28 +00:00
audioop.c Make audioop and its tests use bytes throughout. 2007-07-20 07:36:26 +00:00
binascii.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
bsddb.h Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
bz2module.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
cmathmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
config.c.in Somehow this contained a bogus reference to "exceptions" which caused 2007-04-07 03:14:46 +00:00
cryptmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
cStringIO.c Merged revisions 56782-56847 via svnmerge from 2007-08-09 14:26:58 +00:00
datetimemodule.c Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
dbmmodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
dlmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
errnomodule.c Use unicode for the errno.errorcode names 2007-08-24 00:10:00 +00:00
fcntlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpectlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpetestmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
gc_weakref.txt SF 1055820: weakref callback vs gc vs threads 2004-10-30 23:09:22 +00:00
gcmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
gdbmmodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
getaddrinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getbuildinfo.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
getnameinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getpath.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
grpmodule.c Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
itertoolsmodule.c Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +00:00
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
main.c Fix for bug #1442 pythonstartup addition of minor error checking 2007-11-14 16:21:32 +00:00
makesetup Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
makexp_aix - Changes donated by Elemental Security to make it work on AIX 5.3 2005-09-14 18:09:42 +00:00
mathmodule.c Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__ 2007-08-23 22:56:55 +00:00
md5module.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
mmapmodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
nismodule.c Use s# instead of t# for nis_match. 2007-08-30 10:21:51 +00:00
operator.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ossaudiodev.c Use unicode 2007-08-26 04:57:08 +00:00
parsermodule.c Patch 1144 by David Binger, fix for parser module. With unittest. 2007-11-15 19:17:28 +00:00
posixmodule.c Issue 1406: use widechar api for os.environ, on Windows. 2007-11-08 19:33:05 +00:00
pwdmodule.c Get the locale and pwd tests working on the Solaris box where there 2007-10-27 05:40:06 +00:00
pyexpat.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c Merged revisions 58947-59004 via svnmerge from 2007-11-16 00:35:22 +00:00
resource.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
selectmodule.c Remove support for BeOS 2007-08-17 12:57:41 +00:00
Setup.config.in Patch to make _codecs a builtin module. This is necessary since 2002-12-12 17:37:50 +00:00
Setup.dist #1061 (mainly by Thomas Wouters): use weak sets for abc caches. 2007-10-23 06:26:46 +00:00
sha1module.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
sha256module.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
sha512module.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
signalmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
socketmodule.c Merged revisions 58947-59004 via svnmerge from 2007-11-16 00:35:22 +00:00
socketmodule.h Remove support for BeOS 2007-08-17 12:57:41 +00:00
spwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
sre.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
symtablemodule.c Hide list comp variables and support set comprehensions 2007-04-15 12:05:43 +00:00
syslogmodule.c Whoops, not sure how I screwed up the name. Now builds and passes the test. 2007-08-25 00:29:58 +00:00
termios.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
testcapi_long.h Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
threadmodule.c Added some additional checks for sys.std?? is None, see #1440 2007-11-15 02:26:46 +00:00
timemodule.c Patch #1314 by Christian Heimes. 2007-10-23 19:43:28 +00:00
tkappinit.c Remove warning about implicit declaration of strcmp() 2004-06-13 20:29:55 +00:00
unicodedata.c Merged revisions 56753-56781 via svnmerge from 2007-08-06 23:33:07 +00:00
unicodedata_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
unicodename_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
xxmodule.c Use unicode for reference (is there any way to build this module) 2007-08-24 22:49:25 +00:00
xxsubtype.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
yuv.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
yuvconvert.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
zipimport.c Use unicode (and bytes as appropriate) 2007-08-26 05:08:21 +00:00
zlibmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00