Commit Graph

8243 Commits

Author SHA1 Message Date
Brett Cannon 129bd52146 No more raising of string exceptions!
The next step of PEP 352 (for 2.6) causes raising a string exception to trigger
a TypeError.  Trying to catch a string exception raises a DeprecationWarning.
References to string exceptions has been removed from the docs since they are
now just an error.
2007-01-30 21:34:36 +00:00
Georg Brandl a05153683c Bug #1648191: typo in docs. 2007-01-30 20:21:30 +00:00
Andrew M. Kuchling 15c1fe5047 More edits 2007-01-29 21:28:48 +00:00
Andrew M. Kuchling 5781dd2d7c Various minor edits 2007-01-29 20:55:40 +00:00
Andrew M. Kuchling 85acbca511 Minor edits to the curses HOWTO 2007-01-29 20:21:43 +00:00
Fred Drake 7a7cbae77b fix typo (extraneous ")") 2007-01-26 16:28:44 +00:00
Andrew M. Kuchling 27b4c8b23c Add item 2007-01-25 20:02:13 +00:00
Andrew M. Kuchling 391e917b1a Strengthen warning about using lock() 2007-01-24 20:06:41 +00:00
Martin v. Löwis aef4c6bc00 Patch #1610575: Add support for _Bool to struct. 2007-01-21 09:33:07 +00:00
Raymond Hettinger 1b0ce85271 SF# 1635892: Fix docs for betavariate's input parameters . 2007-01-19 18:07:18 +00:00
Neal Norwitz a6c0b59814 SF #1635217, Fix unbalanced paren 2007-01-19 05:53:33 +00:00
Fred Drake b94ed71bd1 add missing version entry 2007-01-18 05:42:30 +00:00
Georg Brandl b26b1c6d6b Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs. 2007-01-17 21:19:58 +00:00
Georg Brandl 45dc1f2fd3 Bug #1637967: missing //= operator in list. 2007-01-17 21:09:04 +00:00
Andrew M. Kuchling 3ffcfe2f68 [Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them 2007-01-17 19:55:06 +00:00
Brett Cannon f5c034af10 Add a note for strptime that just because strftime supports some extra
directive that is not documented that strptime will as well.
2007-01-15 19:12:08 +00:00
Guido van Rossum 2799aab86d Doc patch matching r53434 (htonl etc. now always take/return positive ints). 2007-01-15 00:02:35 +00:00
Vinay Sajip 1ff01fb0af Added documentation for WatchedFileHandler (based on SF patch #1598415) 2007-01-14 21:50:50 +00:00
Georg Brandl 7ded34d25e Fix typo. 2007-01-13 12:31:51 +00:00
Brett Cannon 093b67061a Deprecate the sets module. 2007-01-13 00:29:49 +00:00
Brett Cannon 78a132b814 Fix error where the end of a funcdesc environment was accidentally moved too
far down.
2007-01-12 07:27:52 +00:00
Matthias Klose 764a7ec8ca - Make the documentation match the code and the docstring 2007-01-11 10:26:31 +00:00
Anthony Baxter 83955ef639 update to (c) years to include 2007 2007-01-06 04:45:54 +00:00
Gregory P. Smith d92d3c7197 typo fix 2007-01-05 07:21:35 +00:00
Gregory P. Smith 8b96a35d14 Support linking of the bsddb module against BerkeleyDB 4.5.x
(will backport to 2.5)
2007-01-05 01:59:42 +00:00
Neal Norwitz 2dc4db0174 SF #1627373, fix typo in CarbonEvt. 2007-01-04 06:25:31 +00:00
Brett Cannon 92d54d5e9c Add EnvironmentVarGuard to test.test_support. Provides a context manager to
temporarily set or unset environment variables.
2007-01-04 00:23:49 +00:00
Neal Norwitz 5dc29ac888 Remove a stray (old) macro name left around (I guess) 2006-12-28 04:39:20 +00:00
Thomas Heller d5624cf6c9 Fix wrong markup of an argument in a method signature.
Will backport.
2006-12-21 18:30:56 +00:00
Andrew M. Kuchling 4a8d272dca Mention the os.SEEK_* constants 2006-12-21 13:40:29 +00:00
Andrew M. Kuchling 2dd7c8c41e [Bug #1619680] in_dll() arguments are documented in the wrong order 2006-12-20 20:20:42 +00:00
Andrew M. Kuchling a490d59fbb Some other built-in functions are described with 'sequence' arguments
that should really be 'iterable'; this commit changes them.

Did I miss any?  Did I introduce any errors?
2006-12-20 20:11:12 +00:00
Andrew M. Kuchling b688573766 Two grammar fixes 2006-12-20 19:58:11 +00:00
Andrew M. Kuchling 1be2ac9cd6 [Bug #1619674] Make sum() use the term iterable, not sequence 2006-12-20 19:57:10 +00:00
Georg Brandl ebbeed781d Patch #1484695: The tarfile module now raises a HeaderError exception
if a buffer given to frombuf() is invalid.
2006-12-19 22:06:46 +00:00
Vinay Sajip 8183c635bc Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple. 2006-12-19 18:29:11 +00:00
Andrew M. Kuchling 64df22bdb5 [Bug #1613651] Document socket.recv_into, socket.recvfrom_into
Also, the text for recvfrom told you to read recv() for an explanation of the
'flags' argument, but recv() just pointed you at the man page.  Copied the
man-page text to recvfrom(), recvfrom_into, recv_into to avoid the pointless
redirection.

I don't have LaTeX on this machine; hope my markup is OK.
2006-12-19 14:28:23 +00:00
Andrew M. Kuchling ab4b873f81 Fix markup 2006-12-18 21:29:07 +00:00
Andrew M. Kuchling 9059843a60 Describe new methods in Queue module 2006-12-18 17:38:14 +00:00
Andrew M. Kuchling 0693ae147c [Bug #1616726] Fix description of generator.close(); if you raise some random exception, the exception is raised and doesn't trigger a RuntimeError 2006-12-18 17:22:07 +00:00
Andrew M. Kuchling ff5c229ef2 Bump version 2006-12-18 17:16:05 +00:00
Andrew M. Kuchling 4cd69d43e8 [Bug #1618083] Add missing word; make a few grammar fixes 2006-12-18 17:12:31 +00:00
George Yoshida 7366fcecdf Note that guard_warnings_filter was added in 2.6 2006-12-14 02:22:44 +00:00
Brett Cannon 6d9520c4f0 Add test.test_support.guard_warnings_filter . This function returns a context
manager that protects warnings.filter from being modified once the context is
exited.
2006-12-13 23:09:53 +00:00
Neal Norwitz 0adf0846ce Fix a typo 2006-12-11 01:01:06 +00:00
Matthias Klose ebde1498e7 - Fix the build of the library reference in info format. 2006-12-09 12:15:27 +00:00
Georg Brandl 70f466932c RFE #1592899: mention string.maketrans() in docs for str.translate,
remove reference to the old regex module in the former's doc.
2006-12-07 09:30:06 +00:00
George Yoshida 0a286d0b53 Fix pickle doc typo
Patch #1608758
2006-12-05 05:39:50 +00:00
George Yoshida 9be4905f42 fix a versionchanged tag 2006-12-04 11:41:54 +00:00
Martin v. Löwis a00bcac003 Patch #1371075: Make ConfigParser accept optional dict type
for ordering, sorting, etc.
2006-12-03 12:01:53 +00:00