]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Martin v. Löwis [Mon, 28 Mar 2005 15:29:29 +0000 (15:29 +0000)]
Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #
1170460 .
Martin v. Löwis [Mon, 28 Mar 2005 12:36:19 +0000 (12:36 +0000)]
Add 0 to _POSIX_SEMAPHORES.
Anthony Baxter [Mon, 28 Mar 2005 09:04:20 +0000 (09:04 +0000)]
2.4.1 buildno
Greg Ward [Mon, 28 Mar 2005 02:32:41 +0000 (02:32 +0000)]
SF #
1169212 : fix silly typo in explaining AFMT macros: U16 is unsigned
and S16 is signed. Duh. Clarify surrounding text a bit and refer to
OSS docs.
Raymond Hettinger [Sun, 27 Mar 2005 20:16:49 +0000 (20:16 +0000)]
SF patch #
1171417 : bug fix for islice() in docs
Raymond Hettinger [Sun, 27 Mar 2005 10:55:27 +0000 (10:55 +0000)]
- Fixed decimal operator and comparison methods to return NotImplemented
instead of raising a TypeError when interacting with other types.
Allows other classes to successfully implement __radd__ style methods.
Skip Montanaro [Mon, 21 Mar 2005 19:40:03 +0000 (19:40 +0000)]
correct ontosys url - closes
1167329
Matthias Klose [Sun, 20 Mar 2005 14:18:04 +0000 (14:18 +0000)]
fix two typos in python(1)
Greg Ward [Sat, 19 Mar 2005 17:15:03 +0000 (17:15 +0000)]
SF #
1086675 : restore "Extending optparse" section (which was dropped
in Python 2.4).
Greg Ward [Sat, 19 Mar 2005 17:05:48 +0000 (17:05 +0000)]
Regenerate from Optik reST source to ensure CVS Id tags are up-to-date.
Greg Ward [Sat, 19 Mar 2005 17:04:33 +0000 (17:04 +0000)]
List all option attributes (closes SF #993601).
Greg Ward [Sat, 19 Mar 2005 16:28:37 +0000 (16:28 +0000)]
Beef up optparse reference docs -- now much closer to documenting the
full API of Optik 1.5a2 (which is what's included with Python 2.4.x).
Closes SF #
1099324 , partially addresses SF #993601.
Walter Dörwald [Fri, 18 Mar 2005 10:59:04 +0000 (10:59 +0000)]
Fix typo.
cvs2svn [Thu, 17 Mar 2005 03:06:56 +0000 (03:06 +0000)]
This commit was manufactured by cvs2svn to create tag 'r241c2'.
Anthony Baxter [Thu, 17 Mar 2005 03:06:56 +0000 (03:06 +0000)]
2.4.1c2
Fred Drake [Wed, 16 Mar 2005 23:43:21 +0000 (23:43 +0000)]
update patchlevel
Anthony Baxter [Wed, 16 Mar 2005 14:34:23 +0000 (14:34 +0000)]
2.4.1rc2 setup
Anthony Baxter [Wed, 16 Mar 2005 04:13:29 +0000 (04:13 +0000)]
Patch #
1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no
support for posix semaphores.
Raymond Hettinger [Tue, 15 Mar 2005 23:36:19 +0000 (23:36 +0000)]
Decimal special values did not hash properly.
Martin v. Löwis [Tue, 15 Mar 2005 00:37:45 +0000 (00:37 +0000)]
Reuse componentids for *.dll across minor releases.
Indicate to the user when this is an upgrade installation.
Make CHM file non-advertised.
Martin v. Löwis [Mon, 14 Mar 2005 21:24:51 +0000 (21:24 +0000)]
Configure bug reporting address.
Walter Dörwald [Mon, 14 Mar 2005 19:26:47 +0000 (19:26 +0000)]
Backport checkin:
Add default value for "whence" argument.
Walter Dörwald [Mon, 14 Mar 2005 19:20:19 +0000 (19:20 +0000)]
Backport checkin:
Reset internal buffers when seek() is called. This fixes SF bug #
1156259 .
Martin v. Löwis [Mon, 14 Mar 2005 17:17:04 +0000 (17:17 +0000)]
Add more UUIDs. Update custom actions for Itanium
Martin v. Löwis [Sun, 13 Mar 2005 22:18:26 +0000 (22:18 +0000)]
Backport of change to os.access to encode Unicode file names with
the file system encoding.
Johannes Gijsbers [Sat, 12 Mar 2005 16:48:50 +0000 (16:48 +0000)]
Patch #
1159931 : a test case for the buggy cases fixed by the last checkin.
Johannes Gijsbers [Sat, 12 Mar 2005 16:38:39 +0000 (16:38 +0000)]
Backport of patch #
1159931 /bug #
1143895 : inspect.getsource failed when
functions, etc., had comments after the colon, and some other cases.
This patch take a simpler approach that doesn't rely on looking for a
':'. Test cases are not backported, as test_inspect.py has been
rewritten using unittest on the trunk.
Thanks Simon Percivall!
Brett Cannon [Sat, 12 Mar 2005 06:15:56 +0000 (06:15 +0000)]
Fix test_socket's test for socket.getfqdn() to also accept the result from
socket.gethostname() as a valid return value.
Also clarified the docs as they were a little hazy on the subject matter.
Tim Peters [Fri, 11 Mar 2005 17:20:43 +0000 (17:20 +0000)]
Bug #
1160802 : Can't build Zope on Windows w/ 2.4.1c1.
MSVCCompiler.initialize(): set self.initialized to True, as suggested
by AMK. Else we keep growing the PATH endlessly, with each new C
extension built, until putenv() complains.
This doesn't appear to be an issue on the HEAD (MSVCCompiler initializes
itself via __init__() on the HEAD).
Also added a "2.4.1c2" section to NEWS. Not meant to imply that Anthony
will do a 2.4.1c2 release, just needed to a place to put the news about the
MSVCCompiler bugfix.
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