]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Georg Brandl [Tue, 8 Aug 2006 20:13:16 +0000 (20:13 +0000)]
Bug #
1536660 : separate two words.
(backport from rev. 51153)
Georg Brandl [Tue, 8 Aug 2006 20:11:30 +0000 (20:11 +0000)]
Bug #
1536828 : typo: TypeType should have been StringType.
(backport from rev. 51151)
Thomas Heller [Tue, 8 Aug 2006 17:42:30 +0000 (17:42 +0000)]
memcmp() can return values other than -1, 0, and +1 but tp_compare
must not.
Andrew M. Kuchling [Mon, 7 Aug 2006 00:37:19 +0000 (00:37 +0000)]
[Patch #
1464056 ] Ensure that we use the panelw library when linking with ncursesw
Andrew M. Kuchling [Sun, 6 Aug 2006 22:10:11 +0000 (22:10 +0000)]
Update status of relative import
Georg Brandl [Sun, 6 Aug 2006 09:17:22 +0000 (09:17 +0000)]
Don't produce output in test_builtin.
(backport from rev. 51131)
Georg Brandl [Sun, 6 Aug 2006 08:23:59 +0000 (08:23 +0000)]
Bug #
1535165 : fixed a segfault in input() and raw_input() when
sys.stdin is closed.
(backport from rev. 51129)
Georg Brandl [Sun, 6 Aug 2006 07:08:16 +0000 (07:08 +0000)]
Bug #
1535182 : really test the xreadlines() method of bz2 objects.
(backport from rev. 51126)
Andrew M. Kuchling [Fri, 4 Aug 2006 21:14:22 +0000 (21:14 +0000)]
Fix mangled sentence
Fred Drake [Fri, 4 Aug 2006 05:16:04 +0000 (05:16 +0000)]
SF patch #
1534048 (bug #
1531003 ): fix typo in error message
Georg Brandl [Sun, 30 Jul 2006 20:18:54 +0000 (20:18 +0000)]
Bug #
1531349 : right <-> left glitch in __rop__ description.
(backport from rev. 50990)
Martin v. Löwis [Sun, 30 Jul 2006 14:11:03 +0000 (14:11 +0000)]
Drop usage of test -e in configure as it is not portable.
Fixes #
1439538
Martin v. Löwis [Sun, 30 Jul 2006 13:34:47 +0000 (13:34 +0000)]
Backport r50856:
Don't kill a normal instance of python running on windows when checking
to kill a cygwin instance. build\\python.exe was matching a normal
windows instance. Prefix that with a \\ to ensure build is a directory
and not PCbuild. As discussed on python-dev.
Martin v. Löwis [Sun, 30 Jul 2006 13:31:20 +0000 (13:31 +0000)]
Complain about missing VS 2003 in the error message
of msvccompiler, and mention Cygwin as an alternative.
Fixes #
1257728 .
Georg Brandl [Sun, 30 Jul 2006 11:08:48 +0000 (11:08 +0000)]
Bug #
1002398 : The documentation for os.path.sameopenfile now correctly
refers to file descriptors, not file objects.
(backport from rev. 50974)
Andrew M. Kuchling [Sat, 29 Jul 2006 19:52:08 +0000 (19:52 +0000)]
[Patch #
1068277 ] Clarify that os.path.exists() can return False depending on permissions.
Andrew M. Kuchling [Sat, 29 Jul 2006 14:05:17 +0000 (14:05 +0000)]
Update URL
Georg Brandl [Sat, 29 Jul 2006 08:51:25 +0000 (08:51 +0000)]
Bug #835255: The "closure" argument to new.function() is now documented.
(backport from rev. 50922)
Georg Brandl [Fri, 28 Jul 2006 18:30:50 +0000 (18:30 +0000)]
Patch #
1529686 : run test_iterlen and test_email_codecs in 2.4.
Barry Warsaw [Fri, 28 Jul 2006 03:18:56 +0000 (03:18 +0000)]
Backport r50840 to Python 2.4:
Forward port some fixes that were in email 2.5 but for some reason didn't
make it into email 4.0. Specifically, in Message.get_content_charset(),
handle RFC 2231 headers that contain an encoding not known to Python, or a
character in the data that isn't in the charset encoding. Also forward
port the appropriate unit tests.
Also, this resolves SF bug #
1414018 .
Gregory P. Smith [Fri, 28 Jul 2006 03:16:53 +0000 (03:16 +0000)]
- pybsddb Bug #
1527939 : bsddb module DBEnv dbremove and dbrename
methods now allow their database parameter to be None as the
sleepycat API allows.
also adds a testcase.
backport of trunk commit 50889 to 2.4.
Barry Warsaw [Fri, 28 Jul 2006 02:34:35 +0000 (02:34 +0000)]
Delete a misleading example. SF bug #
1481650 .
Tim Peters [Thu, 27 Jul 2006 23:56:12 +0000 (23:56 +0000)]
Merge rev 50882 from the trunk.
Bug #
1529297 : The rewrite of doctest for Python 2.4 unintentionally
lost that tests are sorted by name before being run. ``DocTestFinder``
has been changed to sort the list of tests it returns.
Andrew M. Kuchling [Thu, 27 Jul 2006 18:48:47 +0000 (18:48 +0000)]
Update URL
Andrew M. Kuchling [Wed, 26 Jul 2006 17:25:53 +0000 (17:25 +0000)]
[Bug #
1471938 ] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetnstr(); it was conditionalized a few lines below. Fix from Paul Eggert. I also tried out the STRICT_SYSV_CURSES case and am therefore removing the 'untested' comment.
Martin v. Löwis [Mon, 24 Jul 2006 12:57:47 +0000 (12:57 +0000)]
Bug #
1524310 : Properly report errors from FindNextFile in os.listdir.
Barry Warsaw [Sun, 23 Jul 2006 17:04:35 +0000 (17:04 +0000)]
Oops, this time, really bump the email version number to 3.0.2.
Barry Warsaw [Sun, 23 Jul 2006 17:02:55 +0000 (17:02 +0000)]
Port r50754 to Python 2.4/email 3.0. Bump the email version number to 3.0.2.
Andrew MacIntyre [Sun, 23 Jul 2006 14:29:02 +0000 (14:29 +0000)]
Complete backport of rev 50787 that was started in rev 50788
Andrew MacIntyre [Sun, 23 Jul 2006 13:01:03 +0000 (13:01 +0000)]
bugfix: PyThread_start_new_thread() returns the thread ID, not a flag;
backport of rev 50787.
Fred Drake [Sun, 16 Jul 2006 01:21:47 +0000 (01:21 +0000)]
clean up some link markup
George Yoshida [Sat, 15 Jul 2006 16:12:49 +0000 (16:12 +0000)]
Backport revision 50664
Bug #
15187702 : ext/win-cookbook.html has a broken link to distutils
Georg Brandl [Wed, 5 Jul 2006 15:50:08 +0000 (15:50 +0000)]
no need to elaborate "string".
(backport from rev. 47244)
Georg Brandl [Wed, 5 Jul 2006 14:18:49 +0000 (14:18 +0000)]
Patch #
1517490 : fix glitches in filter() docs.
(backport from rev. 47241)
Andrew M. Kuchling [Mon, 3 Jul 2006 14:19:01 +0000 (14:19 +0000)]
[Bug #
1511911 ] Backport: Clarify optional arguments to sorted() and improve xref
Martin v. Löwis [Mon, 3 Jul 2006 13:47:29 +0000 (13:47 +0000)]
Put method-wrappers into trashcan. Fixes #927248.
Martin v. Löwis [Mon, 3 Jul 2006 13:02:58 +0000 (13:02 +0000)]
Patch #825417: Fix timeout processing in expect,
read_until.
Martin v. Löwis [Mon, 3 Jul 2006 12:29:51 +0000 (12:29 +0000)]
Bug #
1267547 : Put proper recursive setup.py call into the
spec file generated by bdist_rpm.
Fred Drake [Thu, 29 Jun 2006 02:58:04 +0000 (02:58 +0000)]
document recent bugfixes in sgmllib
Fred Drake [Thu, 29 Jun 2006 00:52:32 +0000 (00:52 +0000)]
SF bug #
1504333 : sgmlib should allow angle brackets in quoted values
(modified patch by Sam Ruby; changed to use separate REs for start and end
tags to reduce matching cost for end tags; extended tests; updated to avoid
breaking previous changes to support IPv6 addresses in unquoted attribute
values)
Neal Norwitz [Wed, 28 Jun 2006 06:38:25 +0000 (06:38 +0000)]
Backport 47139:
Fix bug #
1512695 : cPickle.loads could crash if it was interrupted with
a KeyboardInterrupt since PyTuple_Pack was passed a NULL.
Vinay Sajip [Tue, 27 Jun 2006 07:37:45 +0000 (07:37 +0000)]
Removed buggy exception handling in doRollover of rotating file handlers. Exceptions now propagate to caller.
Neal Norwitz [Tue, 27 Jun 2006 04:32:20 +0000 (04:32 +0000)]
Use a different install dir than 2.5. Otherwise running the 2.4 version at the same time as the 2.5 versions would break the 2.5 tests since the install dir was removed.
Fred Drake [Fri, 23 Jun 2006 06:12:31 +0000 (06:12 +0000)]
- SF bug #853506: IP6 address parsing in sgmllib
('[' and ']' were not accepted in unquoted attribute values)
Peter Astrand [Thu, 22 Jun 2006 20:28:33 +0000 (20:28 +0000)]
Applied patch #
1506758 : Prevent MemoryErrors with large MAXFD. Backport of 47077.
Armin Rigo [Wed, 21 Jun 2006 22:11:16 +0000 (22:11 +0000)]
Backport of r47061.
Fred Drake [Sun, 18 Jun 2006 02:58:20 +0000 (02:58 +0000)]
remove unnecessary markup
George Yoshida [Sat, 17 Jun 2006 16:40:46 +0000 (16:40 +0000)]
Update url.
Old url returned status code:301 Moved permanently.
(Backport from r47005)
George Yoshida [Sat, 17 Jun 2006 16:32:36 +0000 (16:32 +0000)]
markup fix
Georg Brandl [Wed, 14 Jun 2006 08:50:05 +0000 (08:50 +0000)]
Bug #
1117556 : SimpleHTTPServer now tries to find and use the system's
mime.types file for determining MIME types.
(backport from rev. 46955)
Georg Brandl [Wed, 14 Jun 2006 08:31:41 +0000 (08:31 +0000)]
Bug #
1153163 : describe __add__ vs __radd__ behavior when adding
objects of same type/of subclasses of the other.
(backport from rev. 46952)
Georg Brandl [Wed, 14 Jun 2006 06:29:13 +0000 (06:29 +0000)]
Bug #
1501122 : mention __gt__ &co in description of comparison order.
(backport from rev. 46949)
Georg Brandl [Wed, 14 Jun 2006 06:08:33 +0000 (06:08 +0000)]
Bug #
1339007 : Shelf objects now don't raise an exception in their
__del__ method when initialization failed.
(backport from rev. 46946)
Brett Cannon [Tue, 13 Jun 2006 21:50:24 +0000 (21:50 +0000)]
Classic class that defined ``def __coerce__(self, other): return other, self``
would infinitely recourse and segfault the interpreter. Now a recursion check
occurs after a coercion.
Backport of fix for bug #992017.
Tim Peters [Sat, 10 Jun 2006 22:54:19 +0000 (22:54 +0000)]
Merge rev 46840 from trunk.
shuffle() doscstring: Removed warning about sequence length
versus generator period. While this was a real weakness of the
older WH generator for lists with just a few dozen elements,
and so could potentially bite the naive ;-), the Twister should
show excellent behavior up to at least 600 elements.
Fred Drake [Sat, 10 Jun 2006 20:04:25 +0000 (20:04 +0000)]
credit for SF patch #
1303595
Fred Drake [Sat, 10 Jun 2006 20:04:06 +0000 (20:04 +0000)]
SF patch #
1303595 : improve description of __builtins__, explaining how it
varies between __main__ and other modules, and strongly suggest not touching
it but using __builtin__ if absolutely necessary
Skip Montanaro [Sat, 10 Jun 2006 16:46:02 +0000 (16:46 +0000)]
backport wording fix
Martin v. Löwis [Sat, 10 Jun 2006 08:07:25 +0000 (08:07 +0000)]
Add build\\python.exe to the list of programs to be killed.
Martin v. Löwis [Sat, 10 Jun 2006 08:01:42 +0000 (08:01 +0000)]
Add missing implementation file.
Martin v. Löwis [Sat, 10 Jun 2006 07:46:49 +0000 (07:46 +0000)]
Add cygwin makefile.
Georg Brandl [Sat, 10 Jun 2006 06:44:50 +0000 (06:44 +0000)]
Add the new test from the #
1503157 patch to the branch.
Brett Cannon [Fri, 9 Jun 2006 22:49:31 +0000 (22:49 +0000)]
Fix bug introduced in rev. 46807 where variable was not declared at top of block.
Brett Cannon [Fri, 9 Jun 2006 22:38:29 +0000 (22:38 +0000)]
Backport of fix of bug #532646 for new-style classes.
Andrew M. Kuchling [Fri, 9 Jun 2006 14:00:15 +0000 (14:00 +0000)]
[Bug #
1472827 ] Correctly escape newlines and tabs in attribute values in saxutils.XMLGenerator
Andrew M. Kuchling [Fri, 9 Jun 2006 13:55:00 +0000 (13:55 +0000)]
Check for error on module creation
Ronald Oussoren [Thu, 8 Jun 2006 20:19:15 +0000 (20:19 +0000)]
Backport of endianness fix for argvemulator
Brett Cannon [Thu, 8 Jun 2006 16:24:56 +0000 (16:24 +0000)]
Backport change to binascii.hexlify() to use s# for its arguments instead of t#
in order to match its documentation.
Georg Brandl [Thu, 8 Jun 2006 13:31:14 +0000 (13:31 +0000)]
Argh. "integer" is a very confusing word ;)
Actually, checking for INT_MAX and INT_MIN is correct since
the format code explicitly handles a C "int".
(backport from rev. 46746)
Georg Brandl [Thu, 8 Jun 2006 12:54:16 +0000 (12:54 +0000)]
Bug #
1502728 : Correctly link against librt library on HP-UX.
(backport from rev. 46743)
Georg Brandl [Thu, 8 Jun 2006 12:45:05 +0000 (12:45 +0000)]
Bug #
1502750 : Fix getargs "i" format to use LONG_MIN and LONG_MAX for bounds checking.
(backport from rev. 46741)
Brett Cannon [Wed, 7 Jun 2006 21:59:32 +0000 (21:59 +0000)]
Clarify docs for bf_getcharbuffer.
Gregory P. Smith [Tue, 6 Jun 2006 00:23:21 +0000 (00:23 +0000)]
- Bug #
1493322 : bsddb: the __len__ method of a DB object has been fixed to
return correct results. It could previously incorrectly return 0 in some
cases. Fixes SF bug
1493322 (pybsddb bug
1184012 ).
Brett Cannon [Mon, 5 Jun 2006 23:56:36 +0000 (23:56 +0000)]
Fix possible buffer overflow on Windows when reading code page.
Backport of fix for bug #
1501223 .
Andrew M. Kuchling [Mon, 5 Jun 2006 19:11:02 +0000 (19:11 +0000)]
[Bug #
1470026 ] Include link to list of classifiers; remove use of Trove name
Martin v. Löwis [Mon, 5 Jun 2006 10:43:57 +0000 (10:43 +0000)]
Don't crash on Py_UNICODE values < 0. Fixes #
1454485 .
Hye-Shik Chang [Mon, 5 Jun 2006 01:09:46 +0000 (01:09 +0000)]
(Backport from trunk) Fix a potentially invalid memory access of
CJKCodecs' shift-jis decoder.
Gregory P. Smith [Mon, 5 Jun 2006 00:40:31 +0000 (00:40 +0000)]
fix potential use of uninitialized char ** to construct a list if log_archive
is called with the (unsupported and unexported in this version) flag DB_ARCH_REMOVE.
also fix a log_list memory leak on error return in the event that python can't create
a new list object.
Georg Brandl [Sun, 4 Jun 2006 22:15:45 +0000 (22:15 +0000)]
Bug #
1500293 : fix memory leaks in _subprocess module.
(backport from rev. 46651)
Andrew M. Kuchling [Sat, 3 Jun 2006 20:34:33 +0000 (20:34 +0000)]
[Bug #
1497414 ] _self is a reserved word in the WATCOM 10.6 C compiler.
Fix by renaming the variable.
In a different module, Neal fixed it by renaming _self to self. There's
already a variable named 'self' here, so I used selfptr.
Andrew M. Kuchling [Sat, 3 Jun 2006 18:46:03 +0000 (18:46 +0000)]
[Bug #
1441864 ] Clarify description of 'data' argument
Andrew M. Kuchling [Sat, 3 Jun 2006 18:34:03 +0000 (18:34 +0000)]
[Bug #
1475554 ] Strengthen text to say 'must' instead of 'should'
Andrew M. Kuchling [Sat, 3 Jun 2006 18:10:03 +0000 (18:10 +0000)]
[Bug #
1472084 ] Fix description of do_tag
Martin v. Löwis [Sat, 3 Jun 2006 07:40:03 +0000 (07:40 +0000)]
Backport of 46608: Port to OpenBSD 3.9.
Brett Cannon [Wed, 31 May 2006 02:22:02 +0000 (02:22 +0000)]
Clarify wording about how default values in strptime() are used.
Backport of fix for bug #
1496315 .
Armin Rigo [Sun, 28 May 2006 18:15:43 +0000 (18:15 +0000)]
Remove various dependencies on dictionary order in the standard library
tests, and one (clearly an oversight, potentially critical) in the
standard library itself - base64.py.
test_extcall is an output test which still needs to be fixed somehow.
Forwardporting candidate...
George Yoshida [Sat, 27 May 2006 16:35:31 +0000 (16:35 +0000)]
minor markup nits
Georg Brandl [Fri, 26 May 2006 20:16:26 +0000 (20:16 +0000)]
Patch #
1492218 : document None being a constant.
Ronald Oussoren [Fri, 26 May 2006 13:10:16 +0000 (13:10 +0000)]
Code tried to modify a tuple, convert to list before doing that (backport from
same patch on trunk)
Ronald Oussoren [Fri, 26 May 2006 09:13:42 +0000 (09:13 +0000)]
backport of byteorder issues in applesingle
Fred Drake [Thu, 25 May 2006 02:45:39 +0000 (02:45 +0000)]
fix broken links in PDF
(SF patch #
1281291 , contributed by Rory Yorke)
George Yoshida [Sat, 20 May 2006 15:37:28 +0000 (15:37 +0000)]
- markup fix
- add clarifying words
(backport r46055)
Martin v. Löwis [Tue, 16 May 2006 07:06:33 +0000 (07:06 +0000)]
Backport of 46010
- Test for sys/statvfs.h before including it, as statvfs is present
on some OSX installations, but its header file is not.
Neal Norwitz [Mon, 15 May 2006 07:22:23 +0000 (07:22 +0000)]
Backport: Patch #
1488312 , Fix memory alignment problem on SPARC in unicode.
George Yoshida [Sat, 13 May 2006 06:56:38 +0000 (06:56 +0000)]
Add \exception markup
George Yoshida [Fri, 12 May 2006 17:26:56 +0000 (17:26 +0000)]
Duplicated description about the illegal continue usage can be found in nearly the same place.
They are same, so keep the original one and remove the later-added one.
(backport r45978)
George Yoshida [Thu, 11 May 2006 15:54:41 +0000 (15:54 +0000)]
Grammar fix(backport r45965)
Georg Brandl [Wed, 10 May 2006 20:09:36 +0000 (20:09 +0000)]
Fix two small errors in argument lists.
(backport from rev. 45957)
Georg Brandl [Wed, 10 May 2006 16:11:48 +0000 (16:11 +0000)]
Bug #
1484978 : curses.panel: clarify that Panel objects are destroyed on garbage collection.
(backport from rev. 45952)
Georg Brandl [Wed, 10 May 2006 16:09:05 +0000 (16:09 +0000)]
Bug #
1485447 : subprocess: document that the "cwd" parameter isn't used to find the executable. Misc. other markup fixes.
(backport from rev. 45950)