]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Martin v. Löwis [Wed, 24 Aug 2005 08:39:46 +0000 (08:39 +0000)]
Forward UnicodeDecodeError into SyntaxError for source encoding errors.
Martin v. Löwis [Wed, 24 Aug 2005 07:38:36 +0000 (07:38 +0000)]
Return complete lines from codec stream readers
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #
1178484 .
Georg Brandl [Wed, 24 Aug 2005 07:36:21 +0000 (07:36 +0000)]
backport bug [
1192315 ] 'clear -1' in pdb
Georg Brandl [Wed, 24 Aug 2005 07:31:29 +0000 (07:31 +0000)]
backport bug [
1190204 ] 3.29 site is confusing re site-packages on Windows
Georg Brandl [Wed, 24 Aug 2005 07:27:00 +0000 (07:27 +0000)]
backport bug [
1193849 ] os.path.expanduser documentation wrt. empty $HOME
Georg Brandl [Wed, 24 Aug 2005 07:17:35 +0000 (07:17 +0000)]
backport bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix
Raymond Hettinger [Wed, 24 Aug 2005 07:07:44 +0000 (07:07 +0000)]
SF bug #
1100368 : Wrong "type()" syntax in docs
Docs were missing the name/bases/dict form of type().
(Much of the wording contributed by Steven Bethard.)
Martin v. Löwis [Wed, 24 Aug 2005 06:44:56 +0000 (06:44 +0000)]
Revert previous checkin.
Martin v. Löwis [Wed, 24 Aug 2005 06:07:17 +0000 (06:07 +0000)]
Patch #
1262036 : Make tarfile name absolute. Fixes #
1257255 .
Raymond Hettinger [Wed, 24 Aug 2005 04:47:05 +0000 (04:47 +0000)]
Backport 1.74
Raymond Hettinger [Tue, 23 Aug 2005 18:03:33 +0000 (18:03 +0000)]
SF bug #
1168135 : Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
Kurt B. Kaiser [Tue, 23 Aug 2005 17:38:56 +0000 (17:38 +0000)]
- Mac line endings were incorrect when pasting code from some browsers
when using X11 and the Fink distribution. Python Bug
1263656 .
Modified Files:
Tag: release24-maint
NEWS.txt ScriptBinding.py
Raymond Hettinger [Tue, 23 Aug 2005 15:01:43 +0000 (15:01 +0000)]
SF bug #
1168135 : Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
Fred Drake [Tue, 23 Aug 2005 04:35:22 +0000 (04:35 +0000)]
ord() documentation update; this is what remains applicable from
SF patch #
1057588 ; other changes make the rest of the patch out of date
or otherwise unnecessary
(backported from trunk revision 1.188)
Fred Drake [Tue, 23 Aug 2005 04:08:12 +0000 (04:08 +0000)]
add note about "markupbase" not being intended for direct use
(closes SF bug #736659, patch #901369; backport of Lib/markupbase.py 1.11)
Georg Brandl [Mon, 22 Aug 2005 19:35:24 +0000 (19:35 +0000)]
backport bug [
1266296 ] Mistakes in decimal.Context.subtract documentation
Georg Brandl [Mon, 22 Aug 2005 18:07:04 +0000 (18:07 +0000)]
backport bug #
1266283 : add lexists to os.path.__all__
Raymond Hettinger [Sun, 21 Aug 2005 12:36:21 +0000 (12:36 +0000)]
SF bug #
1168135 : Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
Georg Brandl [Sun, 21 Aug 2005 12:23:06 +0000 (12:23 +0000)]
Empty sets and frozensets are also false.
Raymond Hettinger [Sun, 21 Aug 2005 11:59:04 +0000 (11:59 +0000)]
SF bug #
1121416 : zip incorrectly and incompletely documented
sequences ==> iterables
Raymond Hettinger [Sun, 21 Aug 2005 11:27:35 +0000 (11:27 +0000)]
SF bug #
1249837 : container methods raise KeyError not IndexError
Minor clarification.
Raymond Hettinger [Sun, 21 Aug 2005 11:09:58 +0000 (11:09 +0000)]
SF bug #
1242657 : list(obj) can swallow KeyboardInterrupt
Fix over-aggressive PyErr_Clear(). The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple().
Georg Brandl [Sun, 21 Aug 2005 09:41:48 +0000 (09:41 +0000)]
Mention explicitly that False is considered false.
Andrew M. Kuchling [Thu, 18 Aug 2005 21:53:19 +0000 (21:53 +0000)]
Typo fix
Walter Dörwald [Thu, 18 Aug 2005 19:48:24 +0000 (19:48 +0000)]
Backport checkin:
Fix typo (fixes SF bug #
1263086 ).
Barry Warsaw [Mon, 15 Aug 2005 17:35:43 +0000 (17:35 +0000)]
Add news about SF bug # 900092 fix.
Barry Warsaw [Mon, 15 Aug 2005 17:32:56 +0000 (17:32 +0000)]
Fix for SF bug # 900092, hotshot.stats.load assertion failure. This patch
restores the tracing of a 'return' event for exceptions that cause a function
to exit. Also, update the unit test.
I will port to Python 2.5.
Georg Brandl [Sat, 13 Aug 2005 09:06:24 +0000 (09:06 +0000)]
Complete backport of #
1172785 fix.
Raymond Hettinger [Sat, 13 Aug 2005 02:28:54 +0000 (02:28 +0000)]
Teach set modules to correctly compute s-=s and s^=s as the empty set.
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)