]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
cvs2svn [Tue, 20 Sep 2005 20:53:24 +0000 (20:53 +0000)]
This commit was manufactured by cvs2svn to create tag 'r242c1'.
Armin Rigo [Tue, 20 Sep 2005 20:53:24 +0000 (20:53 +0000)]
(backport) test and fix for buggy handling of exceptions raised by C
functions, causing the profiler to crash on an AssertionError if the same
Python function catches multiple exceptions from C functions.
Armin Rigo [Tue, 20 Sep 2005 20:53:11 +0000 (20:53 +0000)]
(backport) tracing of C functions: don't call the trace func
with an exception currently set!
Armin Rigo [Tue, 20 Sep 2005 19:04:42 +0000 (19:04 +0000)]
C89 compliance.
Guido van Rossum [Tue, 20 Sep 2005 19:04:34 +0000 (19:04 +0000)]
Update 64-bit AIX and HP-UX build instructions.
Guido van Rossum [Tue, 20 Sep 2005 16:36:07 +0000 (16:36 +0000)]
- On 64-bit platforms, when __len__() returns a value that cannot be
represented as a C int, raise OverflowError.
(Will forward-port.)
Anthony Baxter [Tue, 20 Sep 2005 15:17:16 +0000 (15:17 +0000)]
backport:
test_default_encoding_issues(): Fully restore sys.setdefaultencoding.
test_site often failed under "regrtest.py -r", because this xmlrpc test
left sys with a setdefaultencoding attribute, but loading site.py removes
that attribute and test_site.py verifies the attribute is gone. Changed
this test to get rid of sys.setdefaultencoding if it didn't exist when
this test started.
Fred Drake [Tue, 20 Sep 2005 13:57:33 +0000 (13:57 +0000)]
add 2.4.2 to the LaTeX version of the release history
Anthony Baxter [Tue, 20 Sep 2005 13:12:48 +0000 (13:12 +0000)]
pre-release machinations
Matthias Klose [Tue, 20 Sep 2005 07:03:21 +0000 (07:03 +0000)]
- Patch #
1166948 : locale.py: Prefer LC_ALL, LC_CTYPE and LANG over LANGUAGE
to get the correct encoding.
- Patch #
1166938 : locale.py: Parse LANGUAGE as a colon separated list of
languages.
Neal Norwitz [Mon, 19 Sep 2005 06:48:05 +0000 (06:48 +0000)]
Note fix of memory leak.
Neal Norwitz [Mon, 19 Sep 2005 06:42:30 +0000 (06:42 +0000)]
Fix problems reported by valgrind:
* Fix memory leak in posix.access()
* Fix use of uninitialized value in forkpty()
- from the manpage it isn't clear if there are conditions where master_fd
are uninitialized, but it's safer to initialize
Georg Brandl [Sun, 18 Sep 2005 13:03:16 +0000 (13:03 +0000)]
Bug #
1202493 : Fixing SRE parser to handle '{}' as perl does, rather than
considering it exactly like a '*'.
Backport from 2.5 branch.
Martin v. Löwis [Sun, 18 Sep 2005 08:45:35 +0000 (08:45 +0000)]
Patch #
1268314 : Cache lines in StreamReader.readlines for performance.
Martin v. Löwis [Sun, 18 Sep 2005 08:18:51 +0000 (08:18 +0000)]
Patch #
1213831 : Fix typo in unicodedata._getcode.
Georg Brandl [Sat, 17 Sep 2005 07:51:08 +0000 (07:51 +0000)]
Test case for latest complexobject fix.
Vinay Sajip [Fri, 16 Sep 2005 10:55:57 +0000 (10:55 +0000)]
Misc. backported changes
Vinay Sajip [Fri, 16 Sep 2005 10:45:46 +0000 (10:45 +0000)]
Misc. backported changes
Georg Brandl [Fri, 16 Sep 2005 06:42:32 +0000 (06:42 +0000)]
backport patch [
1118729 ] Error in representation of complex numbers(again)
Raymond Hettinger [Thu, 15 Sep 2005 18:07:11 +0000 (18:07 +0000)]
Sync-up with head except for 1.72 which is Py2.5 specific.
Raymond Hettinger [Thu, 15 Sep 2005 17:40:28 +0000 (17:40 +0000)]
Sync-up with minor changes to the head.
Raymond Hettinger [Thu, 15 Sep 2005 17:21:59 +0000 (17:21 +0000)]
Removed assignment to an unused variable.
Georg Brandl [Thu, 15 Sep 2005 16:02:09 +0000 (16:02 +0000)]
backport patch [
1277677 ] tkinter hello world example bug
Georg Brandl [Thu, 15 Sep 2005 13:00:25 +0000 (13:00 +0000)]
backport patch [
1119423 ] python -c readlink()s and stat()s '-c'
Georg Brandl [Thu, 15 Sep 2005 11:16:23 +0000 (11:16 +0000)]
fix typo
Georg Brandl [Thu, 15 Sep 2005 10:46:18 +0000 (10:46 +0000)]
backport bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault.
Georg Brandl [Thu, 15 Sep 2005 07:29:38 +0000 (07:29 +0000)]
Fix bug #687747 and patch #
1077979 in webbrowser.py.
Raymond Hettinger [Thu, 15 Sep 2005 05:28:25 +0000 (05:28 +0000)]
Sync-up with patches to the head.
Includes SF
1016880 : urllib.urlretrieve silently truncates downloads
and the performance fix-ups.
Raymond Hettinger [Thu, 15 Sep 2005 05:09:30 +0000 (05:09 +0000)]
Brett Cannon [Thu, 15 Sep 2005 02:42:05 +0000 (02:42 +0000)]
Clear the regex cache when the locale changes.
Backport of fix for bug #
1290505 .
Georg Brandl [Wed, 14 Sep 2005 20:53:38 +0000 (20:53 +0000)]
*** empty log message ***
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().