mirror of
https://github.com/python/cpython.git
synced 2026-01-14 11:20:07 +00:00
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().
........
|
||
|---|---|---|
| .. | ||
| _ctypes | ||
| _sqlite | ||
| cjkcodecs | ||
| expat | ||
| zlib | ||
| _bisectmodule.c | ||
| _bsddb.c | ||
| _codecsmodule.c | ||
| _collectionsmodule.c | ||
| _csv.c | ||
| _curses_panel.c | ||
| _cursesmodule.c | ||
| _elementtree.c | ||
| _fileio.c | ||
| _functoolsmodule.c | ||
| _hashopenssl.c | ||
| _heapqmodule.c | ||
| _localemodule.c | ||
| _lsprof.c | ||
| _randommodule.c | ||
| _sre.c | ||
| _ssl.c | ||
| _struct.c | ||
| _testcapimodule.c | ||
| _tkinter.c | ||
| _typesmodule.c | ||
| _weakref.c | ||
| addrinfo.h | ||
| ar_beos | ||
| arraymodule.c | ||
| atexitmodule.c | ||
| audioop.c | ||
| binascii.c | ||
| bsddb.h | ||
| bz2module.c | ||
| cmathmodule.c | ||
| config.c.in | ||
| cryptmodule.c | ||
| cStringIO.c | ||
| datetimemodule.c | ||
| dbmmodule.c | ||
| dlmodule.c | ||
| errnomodule.c | ||
| fcntlmodule.c | ||
| fpectlmodule.c | ||
| fpetestmodule.c | ||
| gc_weakref.txt | ||
| gcmodule.c | ||
| gdbmmodule.c | ||
| getaddrinfo.c | ||
| getbuildinfo.c | ||
| getnameinfo.c | ||
| getpath.c | ||
| grpmodule.c | ||
| itertoolsmodule.c | ||
| ld_so_aix | ||
| ld_so_beos | ||
| main.c | ||
| makesetup | ||
| makexp_aix | ||
| mathmodule.c | ||
| md5module.c | ||
| mmapmodule.c | ||
| nismodule.c | ||
| operator.c | ||
| ossaudiodev.c | ||
| parsermodule.c | ||
| posixmodule.c | ||
| pwdmodule.c | ||
| pyexpat.c | ||
| python.c | ||
| readline.c | ||
| resource.c | ||
| rotatingtree.c | ||
| rotatingtree.h | ||
| selectmodule.c | ||
| Setup.config.in | ||
| Setup.dist | ||
| sha1module.c | ||
| sha256module.c | ||
| sha512module.c | ||
| signalmodule.c | ||
| socketmodule.c | ||
| socketmodule.h | ||
| spwdmodule.c | ||
| sre.h | ||
| sre_constants.h | ||
| symtablemodule.c | ||
| syslogmodule.c | ||
| termios.c | ||
| testcapi_long.h | ||
| threadmodule.c | ||
| timemodule.c | ||
| tkappinit.c | ||
| unicodedata.c | ||
| unicodedata_db.h | ||
| unicodename_db.h | ||
| xxmodule.c | ||
| xxsubtype.c | ||
| yuv.h | ||
| yuvconvert.c | ||
| zipimport.c | ||
| zlibmodule.c | ||