]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Anthony Baxter [Thu, 10 Mar 2005 13:45:23 +0000 (13:45 +0000)]
damn.
cvs2svn [Thu, 10 Mar 2005 04:59:14 +0000 (04:59 +0000)]
This commit was manufactured by cvs2svn to create tag 'r241c1'.
Fred Drake [Thu, 10 Mar 2005 04:59:14 +0000 (04:59 +0000)]
- fix generated Texinfo markup for \deprecated
- add support for additional markup: \leq, \textbar, \textit
- add a comment about the non-support for the Euro character
Anthony Baxter [Thu, 10 Mar 2005 04:51:47 +0000 (04:51 +0000)]
bump buildno for 2.4c1
Fred Drake [Thu, 10 Mar 2005 04:04:13 +0000 (04:04 +0000)]
fix broken usage comment
(ported from trunk revision 1.112)
Fred Drake [Thu, 10 Mar 2005 03:57:02 +0000 (03:57 +0000)]
add missing entries from GNU info conversion table
Fred Drake [Thu, 10 Mar 2005 03:47:24 +0000 (03:47 +0000)]
correct several markup errors caught by the GNU info conversion
Raymond Hettinger [Wed, 9 Mar 2005 23:47:44 +0000 (23:47 +0000)]
SF bug #
1160187 : Setup file needs entries for collections, itertools, strop
Andrew MacIntyre [Wed, 9 Mar 2005 22:27:24 +0000 (22:27 +0000)]
backport v1.216: add support for another DB library naming convention \n(FreeBSD ports) - patch #
1146231
Anthony Baxter [Wed, 9 Mar 2005 11:54:29 +0000 (11:54 +0000)]
pre-release magic
Anthony Baxter [Wed, 9 Mar 2005 11:45:49 +0000 (11:45 +0000)]
tabstop delenda est
Skip Montanaro [Wed, 9 Mar 2005 03:02:17 +0000 (03:02 +0000)]
backport
Skip Montanaro [Wed, 9 Mar 2005 02:57:55 +0000 (02:57 +0000)]
backport from head
Greg Ward [Wed, 9 Mar 2005 00:55:19 +0000 (00:55 +0000)]
SF #818006: revert addition of 'closed', 'mode', and 'name' attributes
to oss_audio_device objects.
Martin v. Löwis [Tue, 8 Mar 2005 15:05:18 +0000 (15:05 +0000)]
Build with --disable-unicode again. Fixes #
1158607 .
Greg Ward [Tue, 8 Mar 2005 01:08:42 +0000 (01:08 +0000)]
SF #
1156412 : document the __new__() static method.
Greg Ward [Mon, 7 Mar 2005 01:32:03 +0000 (01:32 +0000)]
SF #818006: add useful read-only attributes to oss_audio_device object:
'closed', 'name', and 'mode' (as recommended by
http://python.org/doc/current/lib/bltin-file-objects.html).
Greg Ward [Mon, 7 Mar 2005 01:10:33 +0000 (01:10 +0000)]
Ensure that warnings.filters is properly restored after fiddling with it
(this was breaking test_warnings).
Greg Ward [Sat, 5 Mar 2005 02:48:03 +0000 (02:48 +0000)]
Mention SF #
1149508 (textwrap and hyphenated numbers).
Greg Ward [Sat, 5 Mar 2005 02:38:33 +0000 (02:38 +0000)]
SF #
1149508 : ensure textwrap handles hyphenated numbers correctly,
eg. "2004-03-04" is not broken across lines.
Martin v. Löwis [Fri, 4 Mar 2005 14:38:07 +0000 (14:38 +0000)]
Patches #925152, #
1118602 : Avoid reading after the end of the buffer
in pyexpat.GetInputContext.
Martin v. Löwis [Fri, 4 Mar 2005 13:51:55 +0000 (13:51 +0000)]
Patch #
1075887 : Don't require MSVC in distutils if there is nothing
to build. Will backport to 2.4
Raymond Hettinger [Fri, 4 Mar 2005 04:47:04 +0000 (04:47 +0000)]
Convert "__init__ should return None" from an exception to a warning.
Martin v. Löwis [Thu, 3 Mar 2005 23:15:04 +0000 (23:15 +0000)]
Patch #
1103407 : Properly deal with tarfile iterators when untarring
symbolic links on Windows. Fixes #
1100429 .
Martin v. Löwis [Thu, 3 Mar 2005 23:07:47 +0000 (23:07 +0000)]
Patch #
1107221 : Updated "Working on Cygwin" section.
Peter Astrand [Thu, 3 Mar 2005 21:11:06 +0000 (21:11 +0000)]
Corrected bug in list2cmdline wrt backslashes. Fixes #
1083306 .
Peter Astrand [Thu, 3 Mar 2005 20:51:32 +0000 (20:51 +0000)]
Only run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes #
1124637
Fred Drake [Thu, 3 Mar 2005 17:24:20 +0000 (17:24 +0000)]
minor edits:
- function names marked with \function should include parentheses
- "standard error" instead of "stderr" for text
- a boolean parameter takes true or false values, not just True or False
Raymond Hettinger [Thu, 3 Mar 2005 16:55:53 +0000 (16:55 +0000)]
SF bug #
1155938 : Missing None check for __init__().
Martin v. Löwis [Thu, 3 Mar 2005 12:26:20 +0000 (12:26 +0000)]
Revert previous checkin on getargs 'L' code. Try to convert all
numbers in PyLong_AsLongLong, and update test suite accordingly.
Martin v. Löwis [Thu, 3 Mar 2005 10:55:57 +0000 (10:55 +0000)]
Patch #
1117454 : Remove code to special-case cookies without values
in LWPCookieJar.
Martin v. Löwis [Thu, 3 Mar 2005 10:47:38 +0000 (10:47 +0000)]
Patch #
1117339 : Add cookielib special name tests.
Martin v. Löwis [Thu, 3 Mar 2005 10:05:37 +0000 (10:05 +0000)]
Document quiet parameter to decode. Fixes #803413.
Martin v. Löwis [Thu, 3 Mar 2005 09:45:32 +0000 (09:45 +0000)]
Patch #
1112812 : Make bsddb/__init__.py more friendly for modulefinder.
Martin v. Löwis [Thu, 3 Mar 2005 09:24:05 +0000 (09:24 +0000)]
Clear internal call error in 'L' format. Fixes #723201.
Skip Montanaro [Wed, 2 Mar 2005 04:31:38 +0000 (04:31 +0000)]
Backport the non-spwd part of the change on head.
Martin v. Löwis [Tue, 1 Mar 2005 08:10:49 +0000 (08:10 +0000)]
Patch #
1121234 : Properly cleanup _exit and tkerror commands.
Martin v. Löwis [Sun, 27 Feb 2005 20:34:01 +0000 (20:34 +0000)]
Patch #
1093585 : raise a ValueError for negative history items in
remove_history and replace_history.
Raymond Hettinger [Mon, 21 Feb 2005 20:33:50 +0000 (20:33 +0000)]
Document missing opcodes.
Ka-Ping Yee [Sat, 19 Feb 2005 22:57:37 +0000 (22:57 +0000)]
Use getdoc(object) instead of object.__doc__ to fix indentation problems.
Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug
and submitting a patch.
Adjust doc(object) to display useful documentation for plain values (e.g.
help([]) now shows the methods on the list instead of just printing "[]").
(This change has been tested interactively, by generating docs for the
standard library, and by running the module documentation webserver.)
Martin v. Löwis [Fri, 18 Feb 2005 16:13:06 +0000 (16:13 +0000)]
Avoid using *W functions on Win95.
Martin v. Löwis [Thu, 17 Feb 2005 21:23:42 +0000 (21:23 +0000)]
Avoid using items() in environ.update(). Fixes #
1124513 .
Michael W. Hudson [Thu, 17 Feb 2005 14:57:04 +0000 (14:57 +0000)]
Backport: NEWS blurb for fix of:
[
1124295 ] Function's __name__ no longer accessible in restricted mode
Andrew MacIntyre [Thu, 17 Feb 2005 12:47:42 +0000 (12:47 +0000)]
add notes about subprocess module & thread stacks, SSL support
Andrew MacIntyre [Thu, 17 Feb 2005 12:47:03 +0000 (12:47 +0000)]
add build machinery for the SSL socket module
Michael W. Hudson [Thu, 17 Feb 2005 10:43:12 +0000 (10:43 +0000)]
Backport: Fix
[
1124295 ] Function's __name__ no longer accessible in restricted mode
which I introduced with a bit of mindless copy-paste when making
__name__ writable. You can't assign to __name__ in restricted mode,
which I'm going to pretend was intentional :)
Brett Cannon [Thu, 17 Feb 2005 05:16:19 +0000 (05:16 +0000)]
Fix name from PyDate_FromDateAndTime to PyDateTime_FromDateAndTime.
Closes bug #
1124278 .
Raymond Hettinger [Wed, 16 Feb 2005 09:30:17 +0000 (09:30 +0000)]
Remove dependency on order of mode flags
Brett Cannon [Sun, 13 Feb 2005 22:56:41 +0000 (22:56 +0000)]
Update refences to "Macintosh" to reflect the state of affairs for OS X and not
Mac OS 9.
Backport of patch #
1095802 .
Fred Drake [Fri, 11 Feb 2005 18:00:16 +0000 (18:00 +0000)]
fix decoding in _stringify to not depend on the default encoding
(closes SF bug #
1115989 )
Brett Cannon [Thu, 10 Feb 2005 22:47:13 +0000 (22:47 +0000)]
Fix tzset() check to not require the existence of tm->tm_zone. Also added more
sanity checks for tzname when HAVE_TZNAME is defined.
Closes bug #
1096244 . Thanks Gregory Bond.
Andrew M. Kuchling [Thu, 10 Feb 2005 13:46:14 +0000 (13:46 +0000)]
Fix typo
Raymond Hettinger [Wed, 9 Feb 2005 23:23:10 +0000 (23:23 +0000)]
SF bug #
1119700 : list extend() accepts args besides lists
Guido van Rossum [Tue, 8 Feb 2005 15:01:35 +0000 (15:01 +0000)]
Backport 2.39:
Close the discussion in SF bug
1069160 .
Fred Drake [Tue, 8 Feb 2005 06:41:20 +0000 (06:41 +0000)]
add 2.3.5, 2.4 to the history and licensing info
Alex Martelli [Mon, 7 Feb 2005 12:39:55 +0000 (12:39 +0000)]
forwardport of 2.3.5 fixes to copy.py
Raymond Hettinger [Sat, 5 Feb 2005 01:33:16 +0000 (01:33 +0000)]
SF patch #
1116583 : NameError in cookielib domain check
Thomas Heller [Thu, 3 Feb 2005 20:44:29 +0000 (20:44 +0000)]
Recompiled after source changes.
Thomas Heller [Thu, 3 Feb 2005 20:37:04 +0000 (20:37 +0000)]
Running a bdist_wininst installer, built with Python 2.3, installing
for Python 2.4 caused a segfault when post_install_script was used.
The reason was that the file handle passed to PyRun_SimpleFile() was
created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL.
So, I replaced PyRun_SimpleFile() with PyRun_SimpleString(). The
segfault is gone, but the output of the postinstall script doesn't
show up, because still freopen() from MSVCRT is used.
Thomas Heller [Thu, 3 Feb 2005 20:09:24 +0000 (20:09 +0000)]
Set PYTHONHOME before loading Python, so that sys.path will be set correctly.
Already backported.
Fred Drake [Thu, 3 Feb 2005 17:30:46 +0000 (17:30 +0000)]
fix XMLFilterBase.resolveEntity() so the caller gets the result
(PyXML bug #
1112052 )
Guido van Rossum [Thu, 3 Feb 2005 15:00:18 +0000 (15:00 +0000)]
Security fix PSF-2005-001 for SimpleXMLRPCServer.py.
Johannes Gijsbers [Sat, 29 Jan 2005 19:54:45 +0000 (19:54 +0000)]
Backport for bug #
1108490 : fix broken link.
Martin v. Löwis [Sat, 29 Jan 2005 13:33:27 +0000 (13:33 +0000)]
Revert os.py 1.75, and directly implement update.
Fixes #
1110478 and #
1100235 .
Brett Cannon [Thu, 27 Jan 2005 22:49:39 +0000 (22:49 +0000)]
Fixed typo in verbose output for RLock acquire.
Fixes bug #
1110998 .
Martin v. Löwis [Thu, 27 Jan 2005 18:58:30 +0000 (18:58 +0000)]
Partially revert #
1074011 ; don't try to fflush stdin.
Raymond Hettinger [Wed, 26 Jan 2005 22:46:26 +0000 (22:46 +0000)]
SF bug #
1108303 : fix .split() maxsplit doc
Docs incorrectly stated that maxsplit=0 would cause unlimited splitting.
Anthony Baxter [Tue, 25 Jan 2005 12:43:57 +0000 (12:43 +0000)]
happy new year! (2.4 branch)
Raymond Hettinger [Tue, 25 Jan 2005 10:28:47 +0000 (10:28 +0000)]
SF bug #
1105286 : Undocumented implicit strip() in split(None) string method
Clarify the behavior when a string begins or ends with whitespace.
Martin v. Löwis [Sun, 23 Jan 2005 09:50:14 +0000 (09:50 +0000)]
Flush std{in,out,err} before closing it. Fixes #
1074011 .
Thomas Heller [Thu, 20 Jan 2005 19:25:24 +0000 (19:25 +0000)]
Some bugs have been fixed in distutils, so increment the last part of
the version number. For the distutils version numbering scheme, see
http://mail.python.org/pipermail/distutils-sig/2005-January/004368.html
Thomas Heller [Thu, 20 Jan 2005 19:21:24 +0000 (19:21 +0000)]
distutils/command/install.py change.
Thomas Heller [Thu, 20 Jan 2005 19:15:39 +0000 (19:15 +0000)]
Fix [
1103844 ] fix distutils.install.dump_dirs() with negated options.
Backport from trunk.
Kurt B. Kaiser [Wed, 19 Jan 2005 17:25:05 +0000 (17:25 +0000)]
If an extension can't be loaded, print warning and skip it instead of
erroring out.
Kurt B. Kaiser [Wed, 19 Jan 2005 17:12:49 +0000 (17:12 +0000)]
Improve error handling when .idlerc can't be created (warn and exit)
Fred Drake [Wed, 19 Jan 2005 07:23:35 +0000 (07:23 +0000)]
fix typeset of vertical bar for PDF format
(closes SF bug #
1008998 )
Fred Drake [Wed, 19 Jan 2005 06:23:38 +0000 (06:23 +0000)]
install distutils.tests on Unix (contributed patch)
(closes SF bug #
1093173 )
Fred Drake [Wed, 19 Jan 2005 05:54:36 +0000 (05:54 +0000)]
documentation for the zipimport module using contributed patch
(closes SF bug #853800; markup adjusted)
cvs2svn [Wed, 19 Jan 2005 05:54:36 +0000 (05:54 +0000)]
This commit was manufactured by cvs2svn to create branch
'release24-maint'.
Fred Drake [Wed, 19 Jan 2005 04:47:50 +0000 (04:47 +0000)]
Description of args to IMAP4.store() in imaplib
(closes SF patch #
1084092 ; modified per comments in SF)
Fred Drake [Wed, 19 Jan 2005 04:13:14 +0000 (04:13 +0000)]
Clean up discussion of new C thread idiom
(closes SF patch #
1031233 ; modified)
Fred Drake [Wed, 19 Jan 2005 03:42:10 +0000 (03:42 +0000)]
fix a bunch of spelling errors
(closes SF patch #
1104868 )
Fred Drake [Wed, 19 Jan 2005 03:25:46 +0000 (03:25 +0000)]
remove spurious line from widget variables example
(closes SF patch #
1094815 )
Andrew MacIntyre [Mon, 17 Jan 2005 12:20:31 +0000 (12:20 +0000)]
backport: make thread stack size compile-time tunable on OS/2, incr main stack
Andrew MacIntyre [Mon, 17 Jan 2005 12:19:24 +0000 (12:19 +0000)]
make thread stack size compile-time tunable on OS/2
Fred Drake [Wed, 12 Jan 2005 19:14:55 +0000 (19:14 +0000)]
fix typo
Raymond Hettinger [Tue, 11 Jan 2005 16:14:55 +0000 (16:14 +0000)]
Add duck-typing to the glossary.
Raymond Hettinger [Tue, 11 Jan 2005 15:38:41 +0000 (15:38 +0000)]
SF bug #
1099516 : tempfile files not types.FileType
Clarified that the returned object is file-like rather than an actual file.
Walter Dörwald [Mon, 10 Jan 2005 12:26:00 +0000 (12:26 +0000)]
Backport checkin:
Fix and test for SF bug #
1098990 : codec readline() splits lines apart.
Johannes Gijsbers [Mon, 10 Jan 2005 09:27:17 +0000 (09:27 +0000)]
Backport for bug #839496: always read files in binary mode. Opening files in
text mode may cause newline translations, making the actual size of the content
transmitted *less* than the content-length.
Johannes Gijsbers [Sun, 9 Jan 2005 15:32:37 +0000 (15:32 +0000)]
Backport patch #712317: In URLs such as http://www.example.com?query=spam,
treat '?' as a delimiter. Previously, the 'network location' (<authority> in
RFC 2396) would become 'www.example.com?query=spam', while RFC 2396 does not
allow a '?' in <authority>. See bug #548176 for further discussion.
Johannes Gijsbers [Sun, 9 Jan 2005 05:53:27 +0000 (05:53 +0000)]
Backport patch #
1095362 : replace hardcoded test for POST/GET with call to
get_method, removing some duplication and gaining some flexibility in the
process.
Johannes Gijsbers [Sun, 9 Jan 2005 00:39:06 +0000 (00:39 +0000)]
Backport patch #
1051321 (fixes bugs
1010196 ,
1013525 ), by Mike Brown:
* Document hasFeature(), createDocument(), CreateDocumentType(),
hasAttribute(), hasAttributeNS().
* In the documentation for createDocument(), it is now stated that the Python
DOM API allows implementations to forego creation of the document element
child node, if no namespace and local name arguments are given. (This
possibility is left open and unaddressed in the W3C spec).
* Addition by me: use 'name' rather than 'attname', for consistency with the
DOM specification and the Python DOM API implementation.
Jack Jansen [Fri, 7 Jan 2005 15:41:15 +0000 (15:41 +0000)]
Starting on the 2.4 MacPython installer.
Jack Jansen [Fri, 7 Jan 2005 14:19:30 +0000 (14:19 +0000)]
Started on Macintosh section.
Jack Jansen [Fri, 7 Jan 2005 13:48:49 +0000 (13:48 +0000)]
Backport of 1.38:
Allow relative URLs for included databases and packages.
Jack Jansen [Fri, 7 Jan 2005 13:17:33 +0000 (13:17 +0000)]
Backport of Patch #
1097739 by Bob Ippolito:
MacOSX: if we cannot use -undefined dynamic_lookup (such as on 10.2 or earlier)
we link extension directly against the dynamic library in the framework in
stead of against the framework. This will fix building extensions for 2.3
after 2.4 has been installed too.
Jack Jansen [Fri, 7 Jan 2005 13:13:50 +0000 (13:13 +0000)]
Backport of 1.479:
Always set CONFIGURE_MACOSX_DEPLOYMENT_TARGET otherwise it may be set
to an empty value and distutils will get confused lateron.
Jack Jansen [Fri, 7 Jan 2005 12:58:03 +0000 (12:58 +0000)]
Backport of 1.20:
Workaround for the fact that urllib2 doesn't default to "file:" urls.
Raymond Hettinger [Fri, 7 Jan 2005 04:35:08 +0000 (04:35 +0000)]
SF patch
1094011 : Docs for file() vs open().