]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Raymond Hettinger [Mon, 3 Oct 2005 16:40:36 +0000 (16:40 +0000)]
Correct docs for empty raise when no exception is active.
Fred Drake [Mon, 3 Oct 2005 14:27:04 +0000 (14:27 +0000)]
fix link to subsection (SF bug #
1311674 )
Neal Norwitz [Mon, 3 Oct 2005 05:48:18 +0000 (05:48 +0000)]
Backport: SF Bug #
1008310 , os.major() os.minor() example and description change.
Neal Norwitz [Mon, 3 Oct 2005 05:14:25 +0000 (05:14 +0000)]
Fix SF bug #991735, os.access reports true for read-only directories. Will backport
Neal Norwitz [Mon, 3 Oct 2005 04:50:55 +0000 (04:50 +0000)]
Backport:
Fix SF bug #976608, Unhelpful error message when mtime of a module is -1
Neal Norwitz [Mon, 3 Oct 2005 01:03:46 +0000 (01:03 +0000)]
Backport:
SF bug #887946, segfault if redirecting directory
Also provide a warning if a directory is passed on the command line.
Add minimal command line test.
Neal Norwitz [Mon, 3 Oct 2005 00:54:57 +0000 (00:54 +0000)]
file test_cmd_line.py was added on branch release24-maint on 2005-10-03 01:03:46 +0000
cvs2svn [Mon, 3 Oct 2005 00:54:56 +0000 (00:54 +0000)]
This commit was manufactured by cvs2svn to create branch
'release24-maint'.
Neal Norwitz [Mon, 3 Oct 2005 00:44:45 +0000 (00:44 +0000)]
Backport: SF Bug #
1308042 , platform dependent behaviour (Windoze of course) in UDP sockets.
Neal Norwitz [Sun, 2 Oct 2005 01:51:56 +0000 (01:51 +0000)]
Backported:
Fix segfault with invalid coding.
(See SF bug: 772896 for another fix)
Georg Brandl [Sat, 1 Oct 2005 16:32:40 +0000 (16:32 +0000)]
backport bug [ 729103 ] Cannot retrieve name of super object
Vinay Sajip [Fri, 30 Sep 2005 12:08:25 +0000 (12:08 +0000)]
Minor clarification of effective level calculation
Michael W. Hudson [Fri, 30 Sep 2005 08:17:40 +0000 (08:17 +0000)]
Fix bug:
[
1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code)
(note that this only happens in a threads-disabled build).
Will forward port momentarily.
Neal Norwitz [Fri, 30 Sep 2005 04:58:23 +0000 (04:58 +0000)]
- Patch #
1309009 , Fix segfault in pyexpat when the XML document is in latin_1,
but Python incorrectly assumes it is in UTF-8 format
Georg Brandl [Thu, 29 Sep 2005 20:49:21 +0000 (20:49 +0000)]
backport patch [
1300515 ] xdrlib.py: pack_fstring() did not use null bytes for padding
Georg Brandl [Thu, 29 Sep 2005 20:24:12 +0000 (20:24 +0000)]
backport bug [
1298120 ] shlex does not support unicode
Georg Brandl [Thu, 29 Sep 2005 20:16:12 +0000 (20:16 +0000)]
backport bug [
1296004 ] MemoryError in httplib
Georg Brandl [Thu, 29 Sep 2005 13:42:45 +0000 (13:42 +0000)]
backport: fix parse errors in readline
Georg Brandl [Wed, 28 Sep 2005 12:53:22 +0000 (12:53 +0000)]
backport of bugfix [
1306449 ] PyString_AsStringAndSize() return value documented wrong
cvs2svn [Wed, 28 Sep 2005 03:38:39 +0000 (03:38 +0000)]
This commit was manufactured by cvs2svn to create tag 'r242'.
Fred Drake [Wed, 28 Sep 2005 03:38:39 +0000 (03:38 +0000)]
set release date
Anthony Baxter [Wed, 28 Sep 2005 02:15:15 +0000 (02:15 +0000)]
2.4.2 release stuff
Martin v. Löwis [Tue, 27 Sep 2005 19:16:32 +0000 (19:16 +0000)]
Use lzx:21 for compression.
Michael W. Hudson [Mon, 26 Sep 2005 13:15:34 +0000 (13:15 +0000)]
Backport (with Anthony's blessing (in fact he reminded me to do it :)):
Patches #
1298449 and #
1298499 : Add some missing checks for error
returns in cStringIO.c. Thanks to Andrew Bennetts.
This must be a backport candidate.
Georg Brandl [Sun, 25 Sep 2005 06:16:28 +0000 (06:16 +0000)]
Commit memory leaking fix.
Peter Astrand [Fri, 23 Sep 2005 17:42:36 +0000 (17:42 +0000)]
Changed header to match the HEAD version:
* Added note about Python 2.2 compatibility.
* Changed license header: Now simply referring to PSF. This closes bug
1138653 .
Michael W. Hudson [Fri, 23 Sep 2005 08:14:40 +0000 (08:14 +0000)]
Backport bugfix:
Fix bug:
[
1163563 ] Sub threads execute in restricted mode
basically by fixing bug
1010677 in a non-broken way.
Backport candidate.
Neal Norwitz [Fri, 23 Sep 2005 04:28:23 +0000 (04:28 +0000)]
Backport SF #
1297059 , doc incorrect return type for search() method. (There is a description of returned values at the top, so just remove the sentance and correct an example.)
Guido van Rossum [Fri, 23 Sep 2005 03:56:00 +0000 (03:56 +0000)]
News about the test_macfs fix.
Neal Norwitz [Fri, 23 Sep 2005 03:23:46 +0000 (03:23 +0000)]
Backport fix for patch #
1297028 , cjkcodecs does not initialize type pointer
Fred Drake [Thu, 22 Sep 2005 19:35:39 +0000 (19:35 +0000)]
update URL into the Python wiki
Guido van Rossum [Thu, 22 Sep 2005 15:35:36 +0000 (15:35 +0000)]
Backport Jack Jansen's fix for test_macfs.py (broke on OS X 10.4.2).
Fred Drake [Wed, 21 Sep 2005 05:29:47 +0000 (05:29 +0000)]
the iSilo is not being built right now
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