]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Georg Brandl [Wed, 14 Sep 2005 20:51:40 +0000 (20:51 +0000)]
bug [
1007046 ] os.startfile() doesn't accept Unicode filenames
Georg Brandl [Wed, 14 Sep 2005 20:42:04 +0000 (20:42 +0000)]
backport bug [
1274828 ] splitunc not documented
Georg Brandl [Wed, 14 Sep 2005 19:38:34 +0000 (19:38 +0000)]
Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Python/getargs.c
CVS: ----------------------------------------------------------------------
Georg Brandl [Wed, 14 Sep 2005 19:30:11 +0000 (19:30 +0000)]
Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Python/getargs.c
CVS: ----------------------------------------------------------------------
Guido van Rossum [Wed, 14 Sep 2005 18:15:03 +0000 (18:15 +0000)]
- Changes donated by Elemental Security to make it work on AIX 5.3
with IBM's 64-bit compiler (SF patch #
1284289 ). This also closes SF
bug #105470: test_pwd fails on 64bit system (Opteron).
Guido van Rossum [Wed, 14 Sep 2005 17:54:39 +0000 (17:54 +0000)]
(backport from HEAD)
- Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #
1225212 ).
Georg Brandl [Wed, 14 Sep 2005 17:24:41 +0000 (17:24 +0000)]
comma nit
Skip Montanaro [Wed, 14 Sep 2005 16:52:35 +0000 (16:52 +0000)]
backport notes about basicConfig() changes to 2.4 branch
Georg Brandl [Wed, 14 Sep 2005 06:56:51 +0000 (06:56 +0000)]
Backport of patch #
1290454 : Fix reload() error message when parent is not
in sys.modules.
Georg Brandl [Mon, 12 Sep 2005 12:56:47 +0000 (12:56 +0000)]
Better wording for integer ref entry (from HEAD 1.131).
Raymond Hettinger [Sun, 11 Sep 2005 18:29:46 +0000 (18:29 +0000)]
Add FAQ entry regarding non-expoential representation.
Fred Drake [Wed, 7 Sep 2005 05:18:06 +0000 (05:18 +0000)]
note that the return and yield statements cannot be used at the top level in
exec statements; people coming from certain other languages seem to be
confused by this on a regular basis
(backported from trunk revision 1.77)
Fred Drake [Wed, 7 Sep 2005 04:59:57 +0000 (04:59 +0000)]
- fix typo report by email, only 1.5 years late
- fix several consistency nits relating to \method{...()}
(backport of trunk revision 1.130)
Georg Brandl [Sun, 4 Sep 2005 18:30:44 +0000 (18:30 +0000)]
Clarify what is meant with "whole numbers".
Matthias Klose [Sun, 4 Sep 2005 16:20:30 +0000 (16:20 +0000)]
use a test for PDF support that is more portable across teTeX major versions
(closes SF bug #
1238210 )
Georg Brandl [Sat, 3 Sep 2005 07:49:48 +0000 (07:49 +0000)]
bug [
1274069 ] bz2module.c compiler warning
Georg Brandl [Sat, 3 Sep 2005 07:27:37 +0000 (07:27 +0000)]
- Correct PyBool_FromLong's return type and its description.
- Unify function description mode ("Return X" vs "Returns X")
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Doc/api/concrete.tex
CVS: ----------------------------------------------------------------------
Walter Dörwald [Thu, 1 Sep 2005 12:03:14 +0000 (12:03 +0000)]
Backport checkin:
SF bug #
1235646 : codecs.StreamRecoder.next() now reencodes the data it reads
from the input stream, so that the output is a byte string in the correct
encoding instead of a unicode string.
Georg Brandl [Thu, 1 Sep 2005 06:26:03 +0000 (06:26 +0000)]
Reverting previous checkin. This breaks too much of HTMLParser to be applied
without thought. Anyway, such malformed HTML is better handled by something
like BeautifulSoup.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Lib/HTMLParser.py
CVS: ----------------------------------------------------------------------
Georg Brandl [Wed, 31 Aug 2005 22:48:48 +0000 (22:48 +0000)]
patch [
1242454 ] shutil.copytree() quits too soon after an error.
Georg Brandl [Wed, 31 Aug 2005 22:09:02 +0000 (22:09 +0000)]
backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output
Walter Dörwald [Wed, 31 Aug 2005 11:05:01 +0000 (11:05 +0000)]
Backport checkin:
SF bug #
1277016 : Turn sentence fragment into a complete sentence.
Anthony Baxter [Tue, 30 Aug 2005 12:26:43 +0000 (12:26 +0000)]
Make testing a bit easier
Walter Dörwald [Tue, 30 Aug 2005 10:46:06 +0000 (10:46 +0000)]
Backport checkin:
SF bug #
1251300 : On UCS-4 builds the "unicode-internal" codec will now complain
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the patch by Nik Haldimann that detects truncated data)
Neal Norwitz [Tue, 30 Aug 2005 03:35:19 +0000 (03:35 +0000)]
SF #
1275796 , fix distutils typo "sortcut" -> "shortcut"
Brett Cannon [Mon, 29 Aug 2005 18:26:48 +0000 (18:26 +0000)]
Fix logic error introduced in last commit.
Brett Cannon [Sat, 27 Aug 2005 19:29:21 +0000 (19:29 +0000)]
Fix bug where __contains__ should have been used over str.find()
Georg Brandl [Sat, 27 Aug 2005 17:10:38 +0000 (17:10 +0000)]
patch [
1274550 ] libtarfile.tex: external URL changed
Georg Brandl [Sat, 27 Aug 2005 17:04:58 +0000 (17:04 +0000)]
patch [
1274630 ] documentation fixes
Martin v. Löwis [Sat, 27 Aug 2005 10:08:21 +0000 (10:08 +0000)]
Patch #
1168594 : set sizes of non-regular files to zero. Fixes #
1167128 .
Georg Brandl [Fri, 26 Aug 2005 13:24:09 +0000 (13:24 +0000)]
Add list() around xreadlines()
Georg Brandl [Fri, 26 Aug 2005 12:56:17 +0000 (12:56 +0000)]
__new__ is a static method
Georg Brandl [Fri, 26 Aug 2005 12:50:37 +0000 (12:50 +0000)]
Important typo
Georg Brandl [Fri, 26 Aug 2005 08:51:39 +0000 (08:51 +0000)]
backport patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve
Raymond Hettinger [Fri, 26 Aug 2005 08:42:13 +0000 (08:42 +0000)]
SF bug #
1072182 : bad arg type to isspace in struct module
Georg Brandl [Fri, 26 Aug 2005 08:33:28 +0000 (08:33 +0000)]
backport patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows
Georg Brandl [Fri, 26 Aug 2005 06:43:16 +0000 (06:43 +0000)]
Disallow keyword arguments for type constructors that don't use them
(fixes #
1119418 ).
Georg Brandl [Thu, 25 Aug 2005 22:40:21 +0000 (22:40 +0000)]
backport bug [
1248199 ] shelve .sync operation not documented
Georg Brandl [Thu, 25 Aug 2005 22:14:21 +0000 (22:14 +0000)]
backport bug [
1262320 ] minidom.py alternate newl support is broken
Georg Brandl [Thu, 25 Aug 2005 22:02:49 +0000 (22:02 +0000)]
backport bug [
1262320 ] minidom.py alternate newl support is broken
Georg Brandl [Thu, 25 Aug 2005 21:56:49 +0000 (21:56 +0000)]
backport bug [
1261229 ] __new__ is class method
Georg Brandl [Thu, 25 Aug 2005 13:10:58 +0000 (13:10 +0000)]
Backport fixes for bugs #
1191043 and #
1215928 .
Martin v. Löwis [Thu, 25 Aug 2005 11:04:04 +0000 (11:04 +0000)]
Make IDNA return an empty string when the input is empty. Fixes #
1163178 .
Martin v. Löwis [Thu, 25 Aug 2005 07:17:37 +0000 (07:17 +0000)]
Patch #
1160164 : Use ReleaseItanium for zlib build.
Georg Brandl [Wed, 24 Aug 2005 22:20:46 +0000 (22:20 +0000)]
Backport bug #735248: fix urllib2.parse_http_list().
Georg Brandl [Wed, 24 Aug 2005 20:30:35 +0000 (20:30 +0000)]
Backport bug #
1016563 : Bug in urllib2 proxy auth
Martin v. Löwis [Wed, 24 Aug 2005 14:55:42 +0000 (14:55 +0000)]
Patch #
1167716 : Support Unicode filenames in mkpath. Fixes #
1121494 .
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