diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-15 01:27:15 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-15 01:27:15 +0000 |
commit | 0449f63f53fa0c2fcf779703d2db77d8a658cf7d (patch) | |
tree | f7e541fe54279a4b5954b79f529d652e659e6bd9 /Modules | |
parent | 54cc54c1fe26328d62c70fa55350ad89868c1d61 (diff) | |
download | cpython-git-0449f63f53fa0c2fcf779703d2db77d8a658cf7d.tar.gz |
Merged revisions 59488-59511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r59489 | christian.heimes | 2007-12-14 03:33:57 +0100 (Fri, 14 Dec 2007) | 1 line
Silence a warning about an unsed variable in debug builds
........
r59490 | christian.heimes | 2007-12-14 03:35:23 +0100 (Fri, 14 Dec 2007) | 2 lines
Fixed bug #1620: New @spam.getter property syntax modifies the property in place.
I added also the feature that a @prop.getter decorator does not overwrite the doc string of the property if it was given as an argument to property().
........
r59491 | raymond.hettinger | 2007-12-14 03:49:47 +0100 (Fri, 14 Dec 2007) | 1 line
Cleaner method naming convention
........
r59492 | christian.heimes | 2007-12-14 04:02:34 +0100 (Fri, 14 Dec 2007) | 1 line
Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.
........
r59493 | christian.heimes | 2007-12-14 05:38:13 +0100 (Fri, 14 Dec 2007) | 1 line
Fixed warning in ssl module
........
r59500 | raymond.hettinger | 2007-12-14 19:08:20 +0100 (Fri, 14 Dec 2007) | 1 line
Add line spacing for readability
........
r59501 | raymond.hettinger | 2007-12-14 19:12:21 +0100 (Fri, 14 Dec 2007) | 3 lines
Update method names for named tuples.
........
r59503 | georg.brandl | 2007-12-14 20:03:36 +0100 (Fri, 14 Dec 2007) | 3 lines
Add a section about nested listcomps to the tutorial.
Thanks to Ian Bruntlett and Robert Lehmann.
........
r59504 | raymond.hettinger | 2007-12-14 20:19:59 +0100 (Fri, 14 Dec 2007) | 1 line
Faster and simpler _replace() method
........
r59505 | raymond.hettinger | 2007-12-14 22:51:50 +0100 (Fri, 14 Dec 2007) | 1 line
Add usage note
........
r59507 | andrew.kuchling | 2007-12-14 23:41:18 +0100 (Fri, 14 Dec 2007) | 1 line
Remove warning about URL
........
r59510 | andrew.kuchling | 2007-12-14 23:52:36 +0100 (Fri, 14 Dec 2007) | 1 line
Bump the version number, and make a few small edits
........
r59511 | christian.heimes | 2007-12-15 00:42:36 +0100 (Sat, 15 Dec 2007) | 2 lines
Fixed bug #1628
The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.
........
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/libffi/src/x86/ffi.c | 2 | ||||
-rw-r--r-- | Modules/_ssl.c | 2 | ||||
-rw-r--r-- | Modules/bsddb.h | 4 | ||||
-rw-r--r-- | Modules/cjkcodecs/_codecs_iso2022.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_ctypes/libffi/src/x86/ffi.c b/Modules/_ctypes/libffi/src/x86/ffi.c index cc63b6bd2a..4d920298cd 100644 --- a/Modules/_ctypes/libffi/src/x86/ffi.c +++ b/Modules/_ctypes/libffi/src/x86/ffi.c @@ -256,7 +256,7 @@ ffi_closure_SYSV_inner (closure, respp, args) void **respp; void *args; { - // our various things... + /* our various things... */ ffi_cif *cif; void **arg_area; diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 7ab229716f..58b04a6a69 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -656,7 +656,7 @@ _get_peer_alt_names (X509 *certificate) { char buf[2048]; char *vptr; int len; - unsigned char *p; + const unsigned char *p; if (certificate == NULL) return peer_alt_names; diff --git a/Modules/bsddb.h b/Modules/bsddb.h index 36bed55944..65c2bea606 100644 --- a/Modules/bsddb.h +++ b/Modules/bsddb.h @@ -232,7 +232,7 @@ typedef struct { #define DBSequenceObject_Check(v) ((v)->ob_type == bsddb_api->dbsequence_type) #endif -#endif // COMPILING_BSDDB_C +#endif /* COMPILING_BSDDB_C */ -#endif // _BSDDB_H_ +#endif /* _BSDDB_H_ */ diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c index 55196a9ea4..9ce7b75bcd 100644 --- a/Modules/cjkcodecs/_codecs_iso2022.c +++ b/Modules/cjkcodecs/_codecs_iso2022.c @@ -203,7 +203,7 @@ ENCODER(iso2022) } else encoded = dsg->encoder(&c, &length); #else - encoded = dsg->encoder(*inbuf, &length); + encoded = dsg->encoder(&c, &length); #endif if (encoded != MAP_UNMAPPABLE) { insize = length; |