]> granicus.if.org Git - python/log
python
16 years agoDocstring correction
Andrew M. Kuchling [Sat, 21 Jun 2008 13:48:38 +0000 (13:48 +0000)]
Docstring correction

16 years agoUse repr() for bad input strings; this makes the empty string or binary characters...
Andrew M. Kuchling [Sat, 21 Jun 2008 13:47:20 +0000 (13:47 +0000)]
Use repr() for bad input strings; this makes the empty string or binary characters more visible

16 years agoDocstring typo
Andrew M. Kuchling [Sat, 21 Jun 2008 13:29:12 +0000 (13:29 +0000)]
Docstring typo

16 years agoFix build on FreeBSD gcc.
Hye-Shik Chang [Sat, 21 Jun 2008 11:15:30 +0000 (11:15 +0000)]
Fix build on FreeBSD gcc.

16 years agoIssue 3008: hex/oct/bin can show floats exactly.
Raymond Hettinger [Sat, 21 Jun 2008 06:39:53 +0000 (06:39 +0000)]
Issue 3008: hex/oct/bin can show floats exactly.

16 years agoCorrect two versionchanged directives, to improve the 'changes' output
Andrew M. Kuchling [Sat, 21 Jun 2008 00:17:22 +0000 (00:17 +0000)]
Correct two versionchanged directives, to improve the 'changes' output

16 years agoVarious items
Andrew M. Kuchling [Fri, 20 Jun 2008 23:43:12 +0000 (23:43 +0000)]
Various items

16 years agoGrammar fixes
Andrew M. Kuchling [Fri, 20 Jun 2008 23:14:32 +0000 (23:14 +0000)]
Grammar fixes

16 years agoRemove request for e-mail; it's unlikely these classes will be saved
Andrew M. Kuchling [Fri, 20 Jun 2008 23:13:58 +0000 (23:13 +0000)]
Remove request for e-mail; it's unlikely these classes will be saved

16 years agorephrase
Benjamin Peterson [Fri, 20 Jun 2008 20:33:33 +0000 (20:33 +0000)]
rephrase

16 years agoChange references to the new math functions to generate proper x-refs.
Georg Brandl [Fri, 20 Jun 2008 19:28:18 +0000 (19:28 +0000)]
Change references to the new math functions to generate proper x-refs.

16 years agoFix another typo in math_sum comment
Mark Dickinson [Fri, 20 Jun 2008 15:26:19 +0000 (15:26 +0000)]
Fix another typo in math_sum comment

16 years agoFix outdated count of the number of new math module functions.
Mark Dickinson [Fri, 20 Jun 2008 15:17:41 +0000 (15:17 +0000)]
Fix outdated count of the number of new math module functions.

16 years agoIssue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now
Mark Dickinson [Fri, 20 Jun 2008 14:53:43 +0000 (14:53 +0000)]
Issue #3004:  Minor fix to slice.indices().  slice(-10).indices(9) now
returns (0, 0, 1) instead of (0, -1, 1), and slice(None, 10, -1).indices(10)
returns (9, 9, -1) instead of (9, 10, -1).

16 years agoVarious items
Andrew M. Kuchling [Fri, 20 Jun 2008 11:39:54 +0000 (11:39 +0000)]
Various items

16 years agoMake bin() implementation parallel oct() and hex() so that int/long subclasses can...
Raymond Hettinger [Fri, 20 Jun 2008 04:18:15 +0000 (04:18 +0000)]
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.

16 years agoadd multiprocessing to the Makefile
Benjamin Peterson [Fri, 20 Jun 2008 02:47:03 +0000 (02:47 +0000)]
add multiprocessing to the Makefile

16 years agoFix comment typos
Andrew M. Kuchling [Fri, 20 Jun 2008 02:11:42 +0000 (02:11 +0000)]
Fix comment typos

16 years agoVarious items
Andrew M. Kuchling [Fri, 20 Jun 2008 02:05:57 +0000 (02:05 +0000)]
Various items

16 years agoUpdated with fix for #3136.
Vinay Sajip [Thu, 19 Jun 2008 22:41:08 +0000 (22:41 +0000)]
Updated with fix for #3136.

16 years agoBug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional...
Vinay Sajip [Thu, 19 Jun 2008 22:40:17 +0000 (22:40 +0000)]
Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved.
Thanks to Leandro Lucarella for the patch.

16 years agoskip test_macostools when UCS4 is enabled
Benjamin Peterson [Thu, 19 Jun 2008 21:39:06 +0000 (21:39 +0000)]
skip test_macostools when UCS4 is enabled

16 years agoIn test_site, correctly escape backslashes in path names.
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 21:17:12 +0000 (21:17 +0000)]
In test_site, correctly escape backslashes in path names.
This allows the test to pass when the username begins with a lowercase 't'...

16 years agoPut threading in front of thread
Andrew M. Kuchling [Thu, 19 Jun 2008 20:33:31 +0000 (20:33 +0000)]
Put threading in front of thread

16 years agotest_macos can be skipped on non-mac platforms.
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 19:57:39 +0000 (19:57 +0000)]
test_macos can be skipped on non-mac platforms.

16 years agoRemove some standalone material from the introduction; various markup and typo fixes
Andrew M. Kuchling [Thu, 19 Jun 2008 19:48:42 +0000 (19:48 +0000)]
Remove some standalone material from the introduction; various markup and typo fixes

16 years agoOnly include update_lines_cols() function when it's actually going to be used
Andrew M. Kuchling [Thu, 19 Jun 2008 14:02:30 +0000 (14:02 +0000)]
Only include update_lines_cols() function when it's actually going to be used

16 years agoPost release changes
Barry Warsaw [Thu, 19 Jun 2008 02:31:54 +0000 (02:31 +0000)]
Post release changes

16 years agoTagging for 2.6b1
Barry Warsaw [Thu, 19 Jun 2008 01:48:40 +0000 (01:48 +0000)]
Tagging for 2.6b1

16 years agoBumping to 2.6b1 v2.6b1
Barry Warsaw [Thu, 19 Jun 2008 01:48:07 +0000 (01:48 +0000)]
Bumping to 2.6b1

16 years agoFix test_socket_ssl the easy way and remove it per #1489
Benjamin Peterson [Wed, 18 Jun 2008 22:59:32 +0000 (22:59 +0000)]
Fix test_socket_ssl the easy way and remove it per #1489

16 years agoTypo in a directory name. Should help the AMD64 buildbots
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 21:33:58 +0000 (21:33 +0000)]
Typo in a directory name. Should help the AMD64 buildbots

16 years agoThe ssl certificate at https://sf.net is not valid.
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 21:18:27 +0000 (21:18 +0000)]
The ssl certificate at https://sf.net is not valid.
Switch to https://sourceforge.net

16 years agoRemove test_listener_client to remove possible race condition in the multiprocessing...
Jesse Noller [Wed, 18 Jun 2008 16:34:50 +0000 (16:34 +0000)]
Remove test_listener_client to remove possible race condition in the multiprocessing tests

16 years agoAttempt RLock creation prior to test execution on Linux, if it raises the OSError...
Jesse Noller [Wed, 18 Jun 2008 13:29:52 +0000 (13:29 +0000)]
Attempt RLock creation prior to test execution on Linux, if it raises the OSError in issue 3111, skip the test suite

16 years agoAdd versionadded tags to new math functions.
Georg Brandl [Wed, 18 Jun 2008 09:28:22 +0000 (09:28 +0000)]
Add versionadded tags to new math functions.

16 years agoTypo fix
Mark Dickinson [Wed, 18 Jun 2008 09:20:17 +0000 (09:20 +0000)]
Typo fix

16 years agoFix double decref.
Raymond Hettinger [Wed, 18 Jun 2008 00:56:57 +0000 (00:56 +0000)]
Fix double decref.

16 years agoFix the previous fix
Amaury Forgeot d'Arc [Tue, 17 Jun 2008 23:14:19 +0000 (23:14 +0000)]
Fix the previous fix

16 years agoOn windows, lib2to3 should accept / and \ in the fixer_dir argument
Amaury Forgeot d'Arc [Tue, 17 Jun 2008 23:09:19 +0000 (23:09 +0000)]
On windows, lib2to3 should accept / and \ in the fixer_dir argument
Needed to let the tests pass

16 years agoadd needed import
Benjamin Peterson [Tue, 17 Jun 2008 23:01:59 +0000 (23:01 +0000)]
add needed import

16 years agoskip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot...
Benjamin Peterson [Tue, 17 Jun 2008 22:40:44 +0000 (22:40 +0000)]
skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.

16 years agoIssue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raising
Mark Dickinson [Tue, 17 Jun 2008 21:16:55 +0000 (21:16 +0000)]
Issue 3118: make test_math pass on Ubuntu/ia64.  exp(-745.0) was raising
OverflowError incorrectly on this platform, presumably as a result of
the libm setting errno = ERANGE for this call.

16 years agoRoll back Raymond's -r64098 while we think of something better.
Guido van Rossum [Tue, 17 Jun 2008 17:38:02 +0000 (17:38 +0000)]
Roll back Raymond's -r64098 while we think of something better.
(See issue 3056 -- we're close to a resolution but need unittests.)

16 years agoUpdated with fix for #3126.
Vinay Sajip [Tue, 17 Jun 2008 11:04:02 +0000 (11:04 +0000)]
Updated with fix for #3126.

16 years agoBug #3126: StreamHandler and FileHandler check before calling "flush" and "close...
Vinay Sajip [Tue, 17 Jun 2008 11:02:14 +0000 (11:02 +0000)]
Bug #3126: StreamHandler and FileHandler check before calling "flush" and "close" that the stream object has these, using hasattr (thanks to bobf for the patch).

16 years agoSplit the HTML index.
Georg Brandl [Tue, 17 Jun 2008 09:01:35 +0000 (09:01 +0000)]
Split the HTML index.

16 years agoIssue 3048: Fixed sys.sizeof test fails with wide unicode.
Robert Schuppenies [Tue, 17 Jun 2008 08:42:15 +0000 (08:42 +0000)]
Issue 3048: Fixed sys.sizeof test fails with wide unicode.

16 years agoAdd Jesse Noller to the developers list.
Georg Brandl [Mon, 16 Jun 2008 21:00:47 +0000 (21:00 +0000)]
Add Jesse Noller to the developers list.

16 years agoreduce the test_multiprocessing load to ones that shouldn't hang. These will be reena...
Benjamin Peterson [Mon, 16 Jun 2008 20:52:48 +0000 (20:52 +0000)]
reduce the test_multiprocessing load to ones that shouldn't hang. These will be reenabled gradually as we find the problems.

16 years agofix Tools/scripts/2to3 as the result of a merge error
Benjamin Peterson [Mon, 16 Jun 2008 20:18:18 +0000 (20:18 +0000)]
fix Tools/scripts/2to3 as the result of a merge error

16 years agoIssue 3110: Crash with weakref subclass,
Amaury Forgeot d'Arc [Mon, 16 Jun 2008 19:12:42 +0000 (19:12 +0000)]
Issue 3110: Crash with weakref subclass,
seen after a "import multiprocessing.reduction"

An instance of a weakref subclass can have attributes.
If such a weakref holds the only strong reference to the object,
deleting the weakref will delete the object. In this case,
the callback must not be called, because the ref object is being deleted!

16 years agoIssue 3116: fix quadratic behavior in marshal.dumps().
Raymond Hettinger [Mon, 16 Jun 2008 01:42:40 +0000 (01:42 +0000)]
Issue 3116: fix quadratic behavior in marshal.dumps().

16 years agoForward-port new test from r64300.
Georg Brandl [Sun, 15 Jun 2008 19:54:36 +0000 (19:54 +0000)]
Forward-port new test from r64300.

16 years agoMerged revisions 63661,63666,63695,63711,63729,63769,63790,63880,63886 via svnmerge...
Benjamin Peterson [Sun, 15 Jun 2008 02:31:05 +0000 (02:31 +0000)]
Merged revisions 63661,63666,63695,63711,63729,63769,63790,63880,63886 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r63661 | georg.brandl | 2008-05-26 05:26:20 -0500 (Mon, 26 May 2008) | 2 lines

  Add import fixes for dbm package.
........
  r63666 | georg.brandl | 2008-05-26 05:49:09 -0500 (Mon, 26 May 2008) | 2 lines

  Add xmlrpc package fixes.
........
  r63695 | georg.brandl | 2008-05-26 10:14:33 -0500 (Mon, 26 May 2008) | 2 lines

  Add fixer entries for http package.
........
  r63711 | benjamin.peterson | 2008-05-26 13:43:51 -0500 (Mon, 26 May 2008) | 2 lines

  add import mapping for test.test_support -> test.support
........
  r63729 | benjamin.peterson | 2008-05-26 16:31:03 -0500 (Mon, 26 May 2008) | 2 lines

  mapping for commands module -> subprocess
........
  r63769 | brett.cannon | 2008-05-29 00:13:13 -0500 (Thu, 29 May 2008) | 1 line

  Fixer for UserString.UserString over to the collections module.
........
  r63790 | brett.cannon | 2008-05-29 14:13:51 -0500 (Thu, 29 May 2008) | 4 lines

  Add a fixer for UserList.

  Closes issue #2878. Thanks to Quentin Gallet-Gilles for the patch.
........
  r63880 | collin.winter | 2008-06-01 18:09:38 -0500 (Sun, 01 Jun 2008) | 6 lines

  Move lib2to3/fixes/{basefix,util}.py down to lib2to3/.

  This is step 1 of turning lib2to3/ into a general-purpose refactoring
  library, reusable by other projects.
........
  r63886 | collin.winter | 2008-06-01 22:15:01 -0500 (Sun, 01 Jun 2008) | 5 lines

  Allow refactoring tools to specify a directory for fixer modules.

  This is step 2 of turning lib2to3/ into a general-purpose refactoring
  library, reusable by other projects. Step 1: r63880.
........

16 years agosilence the test when it is skipped on some platforms. should fix a
Gregory P. Smith [Sat, 14 Jun 2008 17:34:09 +0000 (17:34 +0000)]
silence the test when it is skipped on some platforms.  should fix a
buildbot.

16 years agoDisable UAC by default.
Martin v. Löwis [Sat, 14 Jun 2008 14:24:47 +0000 (14:24 +0000)]
Disable UAC by default.

16 years agoSet eol-style to CRLF for all batch files.
Martin v. Löwis [Sat, 14 Jun 2008 11:51:54 +0000 (11:51 +0000)]
Set eol-style to CRLF for all batch files.

16 years agoAvoid rebuilding tcl/tk.
Martin v. Löwis [Sat, 14 Jun 2008 11:50:59 +0000 (11:50 +0000)]
Avoid rebuilding tcl/tk.
Merge x86 changes into AMD64.

16 years agoSince python2.6 must run on Windows 2000,
Amaury Forgeot d'Arc [Sat, 14 Jun 2008 09:44:41 +0000 (09:44 +0000)]
Since python2.6 must run on Windows 2000,
explicitely disable the use of Windows XP themes when compiling tk.
This is also consistent with the WINVER=0x0500 option.

16 years agoon windows, r64214 broke compilation with some recent SDKs,
Amaury Forgeot d'Arc [Sat, 14 Jun 2008 08:36:07 +0000 (08:36 +0000)]
on windows, r64214 broke compilation with some recent SDKs,
because IPPROTO_IPV6 may be an enumeration member...

16 years agoUse the correct URL for sqlite3 sources, and try to fix windows buildbots.
Amaury Forgeot d'Arc [Sat, 14 Jun 2008 07:40:32 +0000 (07:40 +0000)]
Use the correct URL for sqlite3 sources, and try to fix windows buildbots.

16 years agoConservatively restrict support to format 8 repositories.
Martin v. Löwis [Sat, 14 Jun 2008 06:24:44 +0000 (06:24 +0000)]
Conservatively restrict support to format 8 repositories.

16 years agoSupport subversion repositories of version 8.
Martin v. Löwis [Sat, 14 Jun 2008 01:50:46 +0000 (01:50 +0000)]
Support subversion repositories of version 8.

16 years agoRevert eol-style to CRLF.
Martin v. Löwis [Sat, 14 Jun 2008 00:41:41 +0000 (00:41 +0000)]
Revert eol-style to CRLF.

16 years agoRun svneol.py on all sources.
Martin v. Löwis [Fri, 13 Jun 2008 22:38:33 +0000 (22:38 +0000)]
Run svneol.py on all sources.

16 years agoAdd a missing file for VS2005
Amaury Forgeot d'Arc [Fri, 13 Jun 2008 21:54:30 +0000 (21:54 +0000)]
Add a missing file for VS2005

16 years agoTypo fixes
Andrew M. Kuchling [Fri, 13 Jun 2008 19:38:18 +0000 (19:38 +0000)]
Typo fixes

16 years agodarn! I converted half of the files the wrong way.
Benjamin Peterson [Fri, 13 Jun 2008 19:20:48 +0000 (19:20 +0000)]
darn! I converted half of the files the wrong way.

16 years agoconvert multiprocessing to unix line endings
Benjamin Peterson [Fri, 13 Jun 2008 19:13:39 +0000 (19:13 +0000)]
convert multiprocessing to unix line endings

16 years agoPickup sqlite3.dll from binary directory.
Martin v. Löwis [Fri, 13 Jun 2008 18:58:47 +0000 (18:58 +0000)]
Pickup sqlite3.dll from binary directory.
Commit more often.

16 years agoUpdate AMD64 build for amalgamated sqlite.
Martin v. Löwis [Fri, 13 Jun 2008 18:19:49 +0000 (18:19 +0000)]
Update AMD64 build for amalgamated sqlite.

16 years agoSwitch to SQLite 3.5.9.
Martin v. Löwis [Fri, 13 Jun 2008 18:12:51 +0000 (18:12 +0000)]
Switch to SQLite 3.5.9.

16 years agoSwitch to bzip2 1.0.5.
Martin v. Löwis [Fri, 13 Jun 2008 17:22:39 +0000 (17:22 +0000)]
Switch to bzip2 1.0.5.

16 years agoset svn:ignore on multiprocessing
Benjamin Peterson [Fri, 13 Jun 2008 15:41:09 +0000 (15:41 +0000)]
set svn:ignore on multiprocessing

16 years agoplatform.uname now tries to fill empty values even when os.uname is present
Benjamin Peterson [Fri, 13 Jun 2008 15:11:50 +0000 (15:11 +0000)]
platform.uname now tries to fill empty values even when os.uname is present

16 years agoFixed: sys.getsizeof does not take the actual length of the tuples into account.
Robert Schuppenies [Fri, 13 Jun 2008 13:29:37 +0000 (13:29 +0000)]
Fixed: sys.getsizeof does not take the actual length of the tuples into account.

16 years agoClarification.
Georg Brandl [Fri, 13 Jun 2008 13:26:54 +0000 (13:26 +0000)]
Clarification.

16 years agoMake more symbols static.
Martin v. Löwis [Fri, 13 Jun 2008 07:47:47 +0000 (07:47 +0000)]
Make more symbols static.

16 years agoTypo.
Georg Brandl [Fri, 13 Jun 2008 07:08:48 +0000 (07:08 +0000)]
Typo.

16 years ago#3095: don't leak values from Py_BuildValue.
Georg Brandl [Fri, 13 Jun 2008 06:56:50 +0000 (06:56 +0000)]
#3095: don't leak values from Py_BuildValue.

16 years agoFix typo in method name. The LT class implemented less than. The LE class
Neal Norwitz [Fri, 13 Jun 2008 06:03:25 +0000 (06:03 +0000)]
Fix typo in method name.  The LT class implemented less than.  The LE class
should implement less than or equal to (as the code does).

16 years agoFix some memory dealloc problems when exceptions occur.
Neal Norwitz [Fri, 13 Jun 2008 06:02:26 +0000 (06:02 +0000)]
Fix some memory dealloc problems when exceptions occur.
It caused: "Fatal Python error: UNREF invalid object" in the DoubleTest.

16 years agoCheck for memory alloc failure
Neal Norwitz [Fri, 13 Jun 2008 06:00:46 +0000 (06:00 +0000)]
Check for memory alloc failure

16 years agoRestore support for Microsoft VC6 compiler.
Amaury Forgeot d'Arc [Fri, 13 Jun 2008 00:42:22 +0000 (00:42 +0000)]
Restore support for Microsoft VC6 compiler.
Some functions in the msvcrt module are skipped,
and socket.ioctl is enabled only when using a more recent Platform SDK.

(and yes, there are still companies that use a 10-years old compiler)

16 years ago#1683 prevent forking from interfering in threading storage
Benjamin Peterson [Fri, 13 Jun 2008 00:09:47 +0000 (00:09 +0000)]
#1683 prevent forking from interfering in threading storage
This should prevent some test_multiprocessing failures

16 years agoadd py3k warnings to rfc822
Benjamin Peterson [Thu, 12 Jun 2008 22:33:06 +0000 (22:33 +0000)]
add py3k warnings to  rfc822

16 years agoUpdate VS8.0 build files, using the script vs9to8.py.
Amaury Forgeot d'Arc [Thu, 12 Jun 2008 21:58:20 +0000 (21:58 +0000)]
Update VS8.0 build files, using the script vs9to8.py.

Also remove references to odbc libraries, which are not shipped with vs2003 express.
(and certainly not useful)

16 years agoIt seems that my VS2008 Express does not include a project in the build configuration,
Amaury Forgeot d'Arc [Thu, 12 Jun 2008 20:27:42 +0000 (20:27 +0000)]
It seems that my VS2008 Express does not include a project in the build configuration,
if its UUID has lowercase letters.

16 years agoFix Tcl/Tk license file in tcl8*/tk8*, include Tix license.
Martin v. Löwis [Thu, 12 Jun 2008 20:07:53 +0000 (20:07 +0000)]
Fix Tcl/Tk license file in tcl8*/tk8*, include Tix license.

16 years agoSupport file names which include '+' (for Tk 8.5).
Martin v. Löwis [Thu, 12 Jun 2008 20:06:18 +0000 (20:06 +0000)]
Support file names which include '+' (for Tk 8.5).

16 years agoSplit Tcl make targets into separate ones.
Martin v. Löwis [Thu, 12 Jun 2008 19:51:59 +0000 (19:51 +0000)]
Split Tcl make targets into separate ones.

16 years agoRevert bogus disabling of Tcl and Tk.
Martin v. Löwis [Thu, 12 Jun 2008 19:00:14 +0000 (19:00 +0000)]
Revert bogus disabling of Tcl and Tk.

16 years agoSwitch to Tcl/Tk 8.5.
Martin v. Löwis [Thu, 12 Jun 2008 18:52:00 +0000 (18:52 +0000)]
Switch to Tcl/Tk 8.5.

16 years agoSwitch to Tcl/Tk 8.5.2.
Martin v. Löwis [Thu, 12 Jun 2008 18:38:47 +0000 (18:38 +0000)]
Switch to Tcl/Tk 8.5.2.

16 years agodeprecated mimetools
Benjamin Peterson [Thu, 12 Jun 2008 14:23:49 +0000 (14:23 +0000)]
deprecated mimetools

16 years agoSounds obvious, but I didn't even realize that you can put non-string
Armin Rigo [Thu, 12 Jun 2008 09:50:58 +0000 (09:50 +0000)]
Sounds obvious, but I didn't even realize that you can put non-string
keys in type dictionaries without using this locals() hack.

16 years agoCan we agree to put dots at entry ends? Thanks.
Georg Brandl [Wed, 11 Jun 2008 20:28:06 +0000 (20:28 +0000)]
Can we agree to put dots at entry ends? Thanks.

16 years agoupdate ACKS and NEWs for multiprocessing
Benjamin Peterson [Wed, 11 Jun 2008 20:04:30 +0000 (20:04 +0000)]
update ACKS and NEWs for multiprocessing

16 years agoMarkup fixes, thanks Georg for the help.
Thomas Heller [Wed, 11 Jun 2008 19:58:22 +0000 (19:58 +0000)]
Markup fixes, thanks Georg for the help.
Document ctypes.util.find_library() and ctypes.util.find_msvcrt().