]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Raymond Hettinger [Fri, 12 Aug 2005 23:47:50 +0000 (23:47 +0000)]
* SF bug #
1257731 : Fix logic in set.__contains__(), set.remove(),
and set.discard for handling keys that both inherite from set and
define their own __hash__() function.
* Fixed O(n) performance issue with set.pop() which should have been
an O(1) process.
Andrew M. Kuchling [Fri, 12 Aug 2005 14:08:10 +0000 (14:08 +0000)]
Document 'istext' parameter
Martin v. Löwis [Sun, 7 Aug 2005 21:08:54 +0000 (21:08 +0000)]
Patch #
1239112 : Correct LINKCC C++ test. Fixes #
1189330 .
Martin v. Löwis [Sun, 7 Aug 2005 20:50:37 +0000 (20:50 +0000)]
Patch #827386: Support absolute source paths in msvccompiler.py.
Georg Brandl [Fri, 5 Aug 2005 21:02:43 +0000 (21:02 +0000)]
backport patch [
1252706 ] poplib list() docstring fix (and docs too)
Georg Brandl [Wed, 3 Aug 2005 07:18:04 +0000 (07:18 +0000)]
backport bug [
1250306 ] incorrect description of range function
Georg Brandl [Tue, 2 Aug 2005 10:30:08 +0000 (10:30 +0000)]
backport [
1243192 ] Incorrect documentation of re.UNICODE
Fred Drake [Fri, 29 Jul 2005 15:57:59 +0000 (15:57 +0000)]
add support for svn: and svn+ssh: URL schemes to urlparse
(backported from trunk urlparse.py 1.48, test_urlparse.py 1.15)
Guido van Rossum [Tue, 26 Jul 2005 23:59:58 +0000 (23:59 +0000)]
(Backport)
Fix a problem in Tkinter introduced by SF patch #869468 (checked in as
1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk
that were breaking Tkdnd.
Trent Mick [Tue, 26 Jul 2005 02:35:39 +0000 (02:35 +0000)]
Upgrade Windows build to zlib 1.2.3 (a security fix)
Georg Brandl [Fri, 22 Jul 2005 21:52:33 +0000 (21:52 +0000)]
That was one too much.
Georg Brandl [Fri, 22 Jul 2005 21:48:52 +0000 (21:48 +0000)]
Fix all wrong instances of "it's".
Georg Brandl [Fri, 22 Jul 2005 19:48:03 +0000 (19:48 +0000)]
[
1243288 ] Misuse of "it's"
Georg Brandl [Fri, 22 Jul 2005 18:40:02 +0000 (18:40 +0000)]
Greg Ward [Fri, 22 Jul 2005 01:54:54 +0000 (01:54 +0000)]
Walter Dörwald [Wed, 20 Jul 2005 22:52:09 +0000 (22:52 +0000)]
Backport checkin:
Make attributes and local variables in the StreamReader str objects instead
of unicode objects, so that codecs that do a str->str decoding won't promote
the result to unicode. This fixes SF bug #
1241507 .
Fred Drake [Wed, 20 Jul 2005 04:33:49 +0000 (04:33 +0000)]
add information about alternate implementations, noting that documentation
for the implementation should be consulted
(thanks to Evelyn Mitchell for suggesting this; backported from trunk rev 1.16)
Georg Brandl [Tue, 19 Jul 2005 22:20:44 +0000 (22:20 +0000)]
Backport: fix cleanup DECREF logic in builtin_filter function.
Georg Brandl [Mon, 18 Jul 2005 08:53:40 +0000 (08:53 +0000)]
added news entry for previous checkin
Georg Brandl [Mon, 18 Jul 2005 08:17:08 +0000 (08:17 +0000)]
backport bug [ 755617 ] os module: Need a better description of "mode"
Georg Brandl [Mon, 18 Jul 2005 08:04:22 +0000 (08:04 +0000)]
backport bug [ 850238 ] unclear documentation/missing command?
Georg Brandl [Mon, 18 Jul 2005 07:38:49 +0000 (07:38 +0000)]
backport bug [ 957505 ] SocketServer module documentation misleading
Georg Brandl [Mon, 18 Jul 2005 07:24:37 +0000 (07:24 +0000)]
backporting fix by tim_one:
"""
SF bug #
1238681 : freed pointer is used in longobject.c:long_pow().
In addition, long_pow() skipped a necessary (albeit extremely unlikely
to trigger) error check when converting an int modulus to long.
Alas, I was unable to write a test case that crashed due to either
cause.
"""
Georg Brandl [Sun, 17 Jul 2005 21:19:44 +0000 (21:19 +0000)]
backport bug [
1021621 ] use first_name, not first, in code samples
Georg Brandl [Sun, 17 Jul 2005 21:10:07 +0000 (21:10 +0000)]
bug [ 872769 ] os.access() documentation should stress race conditions
Georg Brandl [Sun, 17 Jul 2005 21:00:31 +0000 (21:00 +0000)]
backport [ 912943 ] 7.5.6 Thread Objects is too vague
Georg Brandl [Sun, 17 Jul 2005 20:26:33 +0000 (20:26 +0000)]
backport Bug #
1015140 : disambiguated the term "article id" in nntplib docs and
docstrings to either "article number" or "message id".
Georg Brandl [Sun, 17 Jul 2005 20:05:26 +0000 (20:05 +0000)]
backport bug [
1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
Skip Montanaro [Sun, 17 Jul 2005 15:35:41 +0000 (15:35 +0000)]
use macro
Skip Montanaro [Sun, 17 Jul 2005 11:48:54 +0000 (11:48 +0000)]
backport
Walter Dörwald [Tue, 12 Jul 2005 21:58:38 +0000 (21:58 +0000)]
Backport checkin:
Apply SF patch #
1101726 : Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.
Georg Brandl [Tue, 12 Jul 2005 13:20:56 +0000 (13:20 +0000)]
Oops.
Georg Brandl [Tue, 12 Jul 2005 13:18:04 +0000 (13:18 +0000)]
backport bug [
1232768 ] Mistakes in online docs under "5.3 Pure Embedding"
Georg Brandl [Tue, 12 Jul 2005 07:28:25 +0000 (07:28 +0000)]
backport bug [
1235266 ] debug info file descriptor of tarfile is inconsistent
Georg Brandl [Mon, 11 Jul 2005 05:57:11 +0000 (05:57 +0000)]
Backport:
SF bug
1185883 : PyObject_Realloc can't safely take over a block currently
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM. Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).
Georg Brandl [Sat, 9 Jul 2005 15:27:05 +0000 (15:27 +0000)]
Georg Brandl [Fri, 8 Jul 2005 22:25:17 +0000 (22:25 +0000)]
backport bug [
1234979 ] Lock.acquire treats only 1 as True
Georg Brandl [Fri, 8 Jul 2005 21:36:42 +0000 (21:36 +0000)]
backport bug [ 969757 ] function and method objects confounded in Tutorial
Georg Brandl [Mon, 4 Jul 2005 17:16:53 +0000 (17:16 +0000)]
backport bug #
1177468 : don't cache /dev/urandom file descriptor in os.urandom
Georg Brandl [Mon, 4 Jul 2005 14:18:20 +0000 (14:18 +0000)]
Revert patch for
1162912 .
Georg Brandl [Sun, 3 Jul 2005 20:22:13 +0000 (20:22 +0000)]
backport bug [
1162912 ] typesseq-mutable lacks note on combined key/cmp usage
Georg Brandl [Sat, 2 Jul 2005 19:09:42 +0000 (19:09 +0000)]
backport doctest for weakref examples
Georg Brandl [Sat, 2 Jul 2005 18:38:12 +0000 (18:38 +0000)]
backport patch [
1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
Georg Brandl [Sat, 2 Jul 2005 10:44:38 +0000 (10:44 +0000)]
backport bug [
1228904 ] weakref example broken
Georg Brandl [Sat, 2 Jul 2005 10:28:29 +0000 (10:28 +0000)]
backport patch [
1230615 ] Patch for (Doc) #
1168746 (frame.f_exc_*)
backport bug [
1204734 ] incorrect description of __getattribute__
Raymond Hettinger [Fri, 1 Jul 2005 23:25:27 +0000 (23:25 +0000)]
Cross reference the set built-ins with the sets module.
Raymond Hettinger [Fri, 1 Jul 2005 23:01:46 +0000 (23:01 +0000)]
Provide a comparison to the builtin set types.
Raymond Hettinger [Fri, 1 Jul 2005 16:56:53 +0000 (16:56 +0000)]
More info on rounding modes. Add sections for floating point notes.
Raymond Hettinger [Tue, 28 Jun 2005 00:18:10 +0000 (00:18 +0000)]
Note that file objects are iterable.
Raymond Hettinger [Mon, 27 Jun 2005 23:38:47 +0000 (23:38 +0000)]
* Show the keyword argument form of dict().
* Note that dict works with the "in" keyword.
Fred Drake [Mon, 27 Jun 2005 23:22:22 +0000 (23:22 +0000)]
add note that os.EX_* constants are subject to availability on the host
platform
Georg Brandl [Sun, 26 Jun 2005 22:55:05 +0000 (22:55 +0000)]
- Bug #839151: Fix an attempt to access sys.argv in the warnings module
though this can be missing in embedded interpreters
Georg Brandl [Sun, 26 Jun 2005 22:53:43 +0000 (22:53 +0000)]
backport bug [ 839151 ] attempt to access sys.argv when it doesn't exist
Georg Brandl [Sun, 26 Jun 2005 22:23:44 +0000 (22:23 +0000)]
backport bug [
1172785 ] doctest.script_from_examples() result sometimes un-exec-able
Georg Brandl [Sun, 26 Jun 2005 22:09:12 +0000 (22:09 +0000)]
- Bug #
1155638 : Fix a bug which affected HTTP 0.9 responses in httplib.
Georg Brandl [Sun, 26 Jun 2005 22:06:56 +0000 (22:06 +0000)]
backport bug [
1155638 ] self.length shield exception in httplib
Georg Brandl [Sun, 26 Jun 2005 21:59:34 +0000 (21:59 +0000)]
Backport: Prevent creating a HTML link to file://?/
Georg Brandl [Sun, 26 Jun 2005 21:50:34 +0000 (21:50 +0000)]
- Bug #
1100201 : Cross-site scripting was possible on BaseHTTPServer via
error messages.
Georg Brandl [Sun, 26 Jun 2005 21:33:54 +0000 (21:33 +0000)]
backport bug [
1100201 ] Cross-site scripting on BaseHTTPServer
Georg Brandl [Sun, 26 Jun 2005 20:22:46 +0000 (20:22 +0000)]
backport bug [
1072853 ] thisid not intialized in pindent.py script
Georg Brandl [Sat, 25 Jun 2005 21:03:57 +0000 (21:03 +0000)]
backport bug [
1166582 ] IterableUserDict not in docs
Georg Brandl [Sat, 25 Jun 2005 20:44:12 +0000 (20:44 +0000)]
backport bug [
1186072 ] tempnam doc doesn't include link to tmpfile
Georg Brandl [Sat, 25 Jun 2005 20:07:39 +0000 (20:07 +0000)]
backport bug [
1175022 ] property example code error
Georg Brandl [Sat, 25 Jun 2005 19:55:37 +0000 (19:55 +0000)]
backport [
1190563 ] os.waitpid docs don't specify return value for WNOHANG
Georg Brandl [Sat, 25 Jun 2005 19:16:58 +0000 (19:16 +0000)]
backport bug [
1202475 ] httplib docs mentioning HTTPConnection.getreply
Georg Brandl [Sat, 25 Jun 2005 18:53:24 +0000 (18:53 +0000)]
backport patch [
1213031 ] note that os.chown can have -1 as an argument
Georg Brandl [Sat, 25 Jun 2005 18:47:28 +0000 (18:47 +0000)]
backport of bug [
1225705 ] os.environ documentation should mention unsetenv
Georg Brandl [Sat, 25 Jun 2005 18:24:28 +0000 (18:24 +0000)]
backport Patch #
1227442 : smtplib.SMTP.sendmail() accepts list or string for to_addrs.
Raymond Hettinger [Tue, 21 Jun 2005 07:53:56 +0000 (07:53 +0000)]
SF bug #
1224621 : tokenize module does not detect inconsistent dedents
Raymond Hettinger [Sun, 19 Jun 2005 05:53:15 +0000 (05:53 +0000)]
SF patch #
1200018 : Restore GC support to set objects
Reverts 1.26 and 1.27.
And adds cycle testing.
Georg Brandl [Sat, 18 Jun 2005 20:11:26 +0000 (20:11 +0000)]
Bug #
1209560 : spurious blank page in dist.pdf (backport)
Georg Brandl [Sat, 18 Jun 2005 20:06:30 +0000 (20:06 +0000)]
Patch #
1180012 : add documentation for modulefinder (backport)
Raymond Hettinger [Fri, 17 Jun 2005 10:27:50 +0000 (10:27 +0000)]
Fix typo.
Michael W. Hudson [Thu, 16 Jun 2005 14:53:22 +0000 (14:53 +0000)]
backport Lib/test/test_class.py revision 1.13:
Don't use 'is not' to compare strings.
(spotted by reading pypy-svn :)
Andrew M. Kuchling [Wed, 15 Jun 2005 18:48:16 +0000 (18:48 +0000)]
Fix check for error condition
Andrew M. Kuchling [Wed, 15 Jun 2005 18:45:27 +0000 (18:45 +0000)]
[Patch #
1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
Raymond Hettinger [Wed, 15 Jun 2005 16:54:30 +0000 (16:54 +0000)]
Fix nits.
Skip Montanaro [Wed, 15 Jun 2005 13:38:07 +0000 (13:38 +0000)]
backport
Michael W. Hudson [Wed, 15 Jun 2005 11:47:46 +0000 (11:47 +0000)]
Update version here, too.
Andrew M. Kuchling [Tue, 14 Jun 2005 14:46:06 +0000 (14:46 +0000)]
[Bug #
1219862 ] Document correct argument range for pair_content()
Raymond Hettinger [Tue, 14 Jun 2005 08:58:27 +0000 (08:58 +0000)]
SF bug #
1219448 : small output bug
Raymond Hettinger [Tue, 14 Jun 2005 08:47:19 +0000 (08:47 +0000)]
SF bug #
1215887 : String and list methods documentation deeply hidden
Make doc on specific types easier to find by listing them in the headings
for the abstract types.
Raymond Hettinger [Mon, 13 Jun 2005 01:14:34 +0000 (01:14 +0000)]
Raymond Hettinger [Sun, 12 Jun 2005 18:25:29 +0000 (18:25 +0000)]
Backport 1.26 Decimal FAQ.
Raymond Hettinger [Sun, 12 Jun 2005 18:23:01 +0000 (18:23 +0000)]
Backport 1.37 namespace cleanup.
Georg Brandl [Fri, 10 Jun 2005 19:55:46 +0000 (19:55 +0000)]
Clarify docs about os.popen[234].
Andrew M. Kuchling [Thu, 9 Jun 2005 17:55:34 +0000 (17:55 +0000)]
[Bug #
1200134 ] Fix buffer overflow by constraining size of .getstr(), .instr() to size of allocated buffer
Andrew M. Kuchling [Thu, 9 Jun 2005 14:22:07 +0000 (14:22 +0000)]
[Bug #
1074261 , patch #
1074381 ] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin
Andrew M. Kuchling [Wed, 8 Jun 2005 22:53:01 +0000 (22:53 +0000)]
[Patch #
1171487 , bug #
1170331 ] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works
Andrew M. Kuchling [Wed, 8 Jun 2005 21:51:58 +0000 (21:51 +0000)]
[Bug #
1149413 ] 'psize' argument should be 'pgsize'
Anthony Baxter [Wed, 8 Jun 2005 04:56:41 +0000 (04:56 +0000)]
fix broken (unexecuted) test
Anthony Baxter [Wed, 8 Jun 2005 04:35:28 +0000 (04:35 +0000)]
Tools/scripts/reindent.py is your friend
Andrew M. Kuchling [Tue, 7 Jun 2005 19:57:01 +0000 (19:57 +0000)]
[Bug #
1172763 ] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace.
Andrew M. Kuchling [Tue, 7 Jun 2005 19:05:06 +0000 (19:05 +0000)]
[Bug #
1170422 ] Use correct option name
Georg Brandl [Sun, 5 Jun 2005 10:57:00 +0000 (10:57 +0000)]
Bug #
1184380 : extending&embedding example broken
Georg Brandl [Sat, 4 Jun 2005 10:00:18 +0000 (10:00 +0000)]
Bug #
1210001 : typo in email docs
Georg Brandl [Sat, 4 Jun 2005 09:20:12 +0000 (09:20 +0000)]
Backport bug #
1196315 : fix weakref.WeakValueDictionary constructor.
Georg Brandl [Fri, 3 Jun 2005 19:45:53 +0000 (19:45 +0000)]
Backport bug #
1194181 : bz2.BZ2File didn't handle mode 'U' correctly.
Anthony Baxter [Fri, 3 Jun 2005 16:01:29 +0000 (16:01 +0000)]
backport of [
1197218 ] test_locale fix on modern linux
On more modern linuxes (and probably others) straight 'en_US' isn't a
valid locale. Make the code try a couple of alternates.
Georg Brandl [Fri, 3 Jun 2005 14:31:55 +0000 (14:31 +0000)]
Backport bug #
1213894 : os.path.realpath didn't resolve symlinks that were the first
component of the path.