]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Neal Norwitz [Mon, 21 Nov 2005 00:05:58 +0000 (00:05 +0000)]
Backport one of the ref/memory leaks
Skip Montanaro [Thu, 17 Nov 2005 18:32:26 +0000 (18:32 +0000)]
backport
Skip Montanaro [Thu, 17 Nov 2005 18:22:01 +0000 (18:22 +0000)]
backport
Walter Dörwald [Thu, 17 Nov 2005 09:47:09 +0000 (09:47 +0000)]
Backport r41462:
Fix typo in comment
(reported on the pydotorg mailing list).
Fred Drake [Fri, 11 Nov 2005 19:35:02 +0000 (19:35 +0000)]
update busted comment
Vinay Sajip [Wed, 9 Nov 2005 13:56:10 +0000 (13:56 +0000)]
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch)
Neal Norwitz [Wed, 9 Nov 2005 07:08:41 +0000 (07:08 +0000)]
Backport: SF Bug #
1348477 , regextest can't be pydoc'ed.
Neal Norwitz [Wed, 9 Nov 2005 07:02:40 +0000 (07:02 +0000)]
Backport:
SF Bug #
1350188 , "setdlopenflags" leads to crash upon "import"
It was possible dlerror() returns a NULL pointer, use a default error
message in this case.
Neal Norwitz [Thu, 3 Nov 2005 05:11:17 +0000 (05:11 +0000)]
Backport (with output/test_poll):
Bug #
1346533 , select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()
Neal Norwitz [Thu, 3 Nov 2005 04:39:46 +0000 (04:39 +0000)]
Make consistent with HEAD (some change was not backported)
Neal Norwitz [Thu, 3 Nov 2005 04:35:39 +0000 (04:35 +0000)]
Fix SF #
1346026 , doc typo
Brett Cannon [Wed, 2 Nov 2005 23:00:23 +0000 (23:00 +0000)]
Add an import to a code fragment.
Backport of fix for bug #
1346395 .
Neal Norwitz [Wed, 2 Nov 2005 06:02:24 +0000 (06:02 +0000)]
Backport:
Fix SF #
1345263 , colorsys tests, bug in frange
Fix a typo that caused step to be ignored.
Neal Norwitz [Wed, 2 Nov 2005 05:43:19 +0000 (05:43 +0000)]
Backport (with cleanup): Bug #
1344508 , Fix UNIX mmap leaking file descriptors.
Vinay Sajip [Mon, 31 Oct 2005 14:30:37 +0000 (14:30 +0000)]
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
Vinay Sajip [Mon, 31 Oct 2005 14:20:56 +0000 (14:20 +0000)]
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
Fred Drake [Sun, 30 Oct 2005 04:44:34 +0000 (04:44 +0000)]
add missing "and"
Hye-Shik Chang [Sun, 30 Oct 2005 03:05:27 +0000 (03:05 +0000)]
SF Bug #
1341934 : Fix a representation of "\n" to use a proper tag.
Neal Norwitz [Fri, 28 Oct 2005 06:00:51 +0000 (06:00 +0000)]
Backport:
- Patch #
1338314 , Bug #
1336623 : fix tarfile so it can extract
REGTYPE directories from tarfiles written by old programs.
Vinay Sajip [Sun, 23 Oct 2005 22:36:53 +0000 (22:36 +0000)]
One-off "No handlers..." error message only raised if raiseExceptions is set.
Neal Norwitz [Sun, 23 Oct 2005 00:44:03 +0000 (00:44 +0000)]
Backport: SF bug #
1167751 : fix incorrect code being for generator expressions.
Neal Norwitz [Fri, 21 Oct 2005 06:00:58 +0000 (06:00 +0000)]
Don't use a string exception since it's deprecated
Fred Drake [Thu, 20 Oct 2005 17:53:01 +0000 (17:53 +0000)]
add missing word
(backported from trunk revision 1.38)
Neal Norwitz [Thu, 20 Oct 2005 04:56:09 +0000 (04:56 +0000)]
Backport:
Fix SF bug #
1330039 , patch #
1331635 from Lars Gustaebel (tarfile maintainer)
Problem: if two files are assigned the same inode
number by the filesystem, the second one will be added
as a hardlink to the first, which means that the
content will be lost.
The patched code checks if the file's st_nlink is
greater 1. So only for files that actually have several
links pointing to them hardlinks will be created, which
is what GNU tar does.
Neal Norwitz [Thu, 20 Oct 2005 04:36:58 +0000 (04:36 +0000)]
Get BSD DB working most for version 3.2
Neal Norwitz [Thu, 20 Oct 2005 04:16:45 +0000 (04:16 +0000)]
Backport: SF bug #
1331563 ] string_subscript doesn't check for failed PyMem_Malloc.
Raymond Hettinger [Sat, 15 Oct 2005 16:44:57 +0000 (16:44 +0000)]
Teach unquote() to handle unicode inputs
Vinay Sajip [Fri, 14 Oct 2005 09:37:54 +0000 (09:37 +0000)]
Optimised Placeholders handling of child loggers by using a dict rather than a list (much slower in the pathological case of hundreds of child Loggers to a Placeholder - problem reported by Ryan Blazecka).
Neal Norwitz [Wed, 12 Oct 2005 03:59:56 +0000 (03:59 +0000)]
Backport: SF bug #
1323739 , C API doc for PySequence_Tuple duplicated
Fred Drake [Tue, 11 Oct 2005 20:25:19 +0000 (20:25 +0000)]
fix stupid typo
Vinay Sajip [Tue, 11 Oct 2005 13:16:46 +0000 (13:16 +0000)]
Added Host and Content-type headers to requests sent by HTTPHandler (suggested by Steven Vereecken)
Neal Norwitz [Tue, 11 Oct 2005 03:24:28 +0000 (03:24 +0000)]
Backport: SF bug #
1323294 , Minor error in the Library Reference doc.
Skip Montanaro [Mon, 10 Oct 2005 22:03:12 +0000 (22:03 +0000)]
backport Py_UNICODE clarification
Guido van Rossum [Sat, 8 Oct 2005 20:04:55 +0000 (20:04 +0000)]
Fix unit test failure -- the output received from Python can be empty,
but verify_valid_flag() wasn't expecting that. (Backport.)
Vinay Sajip [Fri, 7 Oct 2005 08:36:33 +0000 (08:36 +0000)]
Fixed bug where the logging message was wrongly being demoted from Unicode to string (SF #
1314107 )
Raymond Hettinger [Wed, 5 Oct 2005 11:48:36 +0000 (11:48 +0000)]
SF #
1313496 : bisect C replacement doesn't accept named args
Neal Norwitz [Tue, 4 Oct 2005 03:43:33 +0000 (03:43 +0000)]
Make close brace a paren to match open.
Neal Norwitz [Tue, 4 Oct 2005 03:38:01 +0000 (03:38 +0000)]
Armin caught this mistake in bug #973103.
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)]