Commit Graph

8274 Commits

Author SHA1 Message Date
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
Georg Brandl 73e7e058f5 Bug #1603789: grammatical error in Tkinter docs. 2006-11-27 18:46:21 +00:00
Raymond Hettinger a912c6c891 Fix and/add typo 2006-11-23 21:06:03 +00:00
Georg Brandl 3f969022c6 Bug #1601630: little improvement to getopt docs 2006-11-23 09:55:07 +00:00
Neal Norwitz 7ac039653e Fix SF #1599879, socket.gethostname should ref getfqdn directly. 2006-11-21 06:23:44 +00:00
Georg Brandl 1e753863b3 Further markup fix. 2006-11-20 07:12:58 +00:00
George Yoshida 942f5e7864 markup fix 2006-11-20 02:24:48 +00:00
Martin v. Löwis 07529354db Patch #1070046: Marshal new-style objects like InstanceType
in xmlrpclib.
2006-11-19 18:51:54 +00:00
Georg Brandl 540821183b Bug #1597824: return the registered function from atexit.register()
to facilitate usage as a decorator.
2006-11-16 16:50:59 +00:00
Georg Brandl adff8eb8d6 Bug #1597576: mention that the new base64 api has been introduced in py2.4. 2006-11-16 15:05:14 +00:00
Martin v. Löwis 056dac1bcf Bug #1067760: Deprecate passing floats to file.seek. 2006-11-12 18:24:26 +00:00
Martin v. Löwis 040a927cd1 Patch #1065257: Support passing open files as body in
HTTPConnection.request().
2006-11-12 10:32:47 +00:00
Georg Brandl 1ee79f16e8 Bug #1594758: wording improvement for dict.update() docs. 2006-11-11 18:32:47 +00:00
Georg Brandl 361bc21c51 Bug #1594742: wrong word in stringobject doc. 2006-11-11 18:29:11 +00:00
Andrew M. Kuchling 48b1007542 [Feature request #1542920] Link to wsgi.org 2006-11-10 14:39:01 +00:00
Andrew M. Kuchling 394ae90db3 More edits 2006-11-08 14:30:14 +00:00
Andrew M. Kuchling 0acdb930e4 Add table of contents; this required fixing a few headings. Some more smalle edits. 2006-11-08 14:24:03 +00:00
Andrew M. Kuchling 9efdd7880d Add section on operator module; make a few edits 2006-11-08 14:14:30 +00:00
Andrew M. Kuchling f4dcd1dc30 Add section on the functional module 2006-11-08 13:35:34 +00:00
Georg Brandl fafdc3b97b Bug #1592533: rename variable in heapq doc example, to avoid shadowing
"sorted".
2006-11-08 10:04:29 +00:00
Georg Brandl 393ac22b73 Patch #1592072: fix docs for return value of PyErr_CheckSignals. 2006-11-08 07:45:59 +00:00
Andrew M. Kuchling e452f51bc4 Add missing word 2006-11-07 20:39:16 +00:00
Thomas Heller 9bfc24481f Fix grammatical error as well.
Will backport to release25-maint.
2006-11-07 18:20:47 +00:00
Thomas Heller a2dd0f3a17 Fix markup.
Will backport to release25-maint.
2006-11-07 18:01:18 +00:00
Skip Montanaro 3230599329 note that user can control directory location even if default dir is used 2006-11-06 14:34:52 +00:00
Andrew M. Kuchling 3541adcd48 Update link 2006-11-05 21:04:37 +00:00
Thomas Heller be1bc3b63a Fix a code example by adding a missing import.
Fixes #1557890.

Will backport to release25-maint.
2006-11-02 20:22:29 +00:00
Thomas Heller b11472358f Replace the XXX marker in the 'Arrays and pointers' reference manual
section with a link to the tutorial sections.

Will backport to release25-maint.
2006-11-02 19:48:24 +00:00
Vinay Sajip 12411005e3 Added relativeCreated to Formatter doc (has been in the system for a long time - was unaccountably left out of the docs and not noticed until now). 2006-10-31 17:34:31 +00:00
Neal Norwitz 4bb9b56501 From SF 1557890, fix problem of using wrong type in example.
Will backport.
2006-10-28 22:12:26 +00:00
Georg Brandl 35692a0c0e Fix nth() itertool recipe. 2006-10-28 16:04:04 +00:00
Andrew M. Kuchling d3aad0199e Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules 2006-10-27 14:53:41 +00:00
Andrew M. Kuchling 4bc64aaef7 [Bug #1562583] Mention the set_reuse_addr() method 2006-10-27 13:06:25 +00:00
Andrew M. Kuchling 14b0cab5d5 [Bug #1583946] Reword description of server and issuer 2006-10-27 12:50:38 +00:00
Andrew M. Kuchling 514d0cf40e [Bug #1585690] Note that line_num was added in Python 2.5 2006-10-27 12:18:38 +00:00
Andrew M. Kuchling 1192044445 Some wording changes and markup fixes 2006-10-27 11:37:01 +00:00
Andrew M. Kuchling 2c184e6703 Add item 2006-10-27 11:36:41 +00:00
Andrew M. Kuchling b501a7e67b Set svn:keywords property 2006-10-27 11:33:29 +00:00
Martin v. Löwis ee82c0e6b7 Patch #1567274: Support SMTP over TLS. 2006-10-27 07:13:28 +00:00
Andrew M. Kuchling acde6102c4 [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure. 2006-10-26 19:10:46 +00:00
Ronald Oussoren 10168f25ad Patch #1580674: with this patch os.readlink uses the filesystem encoding to
decode unicode objects and returns an unicode object when the argument is one.
2006-10-22 10:45:18 +00:00
Andrew M. Kuchling 8a7a9cf507 [Bug #1576348] Fix typo in example 2006-10-19 21:55:55 +00:00
Martin v. Löwis 827ee4411f Mention the bdist_msi module. Will backport to 2.5. 2006-10-15 14:30:38 +00:00
Brett Cannon 5a72372329 Clean up the language of a sentence relating to the connect() function and
user-defined datatypes.
2006-10-14 06:36:45 +00:00
Georg Brandl a9969a6460 Small grammar fix, thanks Sjoerd. 2006-10-12 11:59:27 +00:00
Georg Brandl 6840fcd800 Bug #1560114: the Mac filesystem does have accurate information
about the case of filenames.
2006-10-12 11:46:57 +00:00
Georg Brandl 10f0f691d3 Add a note to fpectl docs that it's not built by default
(bug #1556261).
2006-10-12 11:41:11 +00:00
Georg Brandl 7d74a0e287 Bug #1546628: add a note about urlparse.urljoin() and absolute paths. 2006-10-12 11:14:40 +00:00
Georg Brandl a4c8e32a1f Bug #1565919: document set types in the Language Reference. 2006-10-12 08:22:53 +00:00
Georg Brandl fc8375748a Bug #1575746: fix typo in property() docs. 2006-10-12 07:38:04 +00:00
Skip Montanaro fe6e46d42a Note that the excel_tab class is registered as the "excel-tab" dialect.
Fixes 1572471.  Make a similar change for the excel class and clean up
references to the Dialects and Formatting Parameters section in a few
places.
2006-10-07 11:05:02 +00:00
Andrew M. Kuchling c536a64b89 Case fix 2006-10-06 10:41:01 +00:00
Fred Drake 3c108b0e44 - update links
- remove Sleepycat name now that they have been bought
2006-10-06 00:03:45 +00:00
Brett Cannon 710513ef83 Clarify what "re-initialization" means for init_builtin() and init_dynamic().
Also remove warning about re-initialization as possibly raising an execption as
both call _PyImport_FindExtension() which pulls any module that was already
imported from the Python process' extension cache and just copies the __dict__
into the module stored in sys.modules.
2006-10-05 22:02:31 +00:00
Vinay Sajip f4686f995e Documentation clarified to mention optional parameters. 2006-10-03 18:20:26 +00:00
Vinay Sajip cfbb7df4b0 Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622). 2006-10-03 18:02:37 +00:00
Georg Brandl 44a7b3a765 Bug #1546052: clarify that PyString_FromString(AndSize) copies the
string pointed to by its parameter.
2006-09-30 12:02:57 +00:00
Georg Brandl fb25773862 Bug #1566663: remove obsolete example from datetime docs. 2006-09-30 09:06:45 +00:00
Georg Brandl 21d994390c Bug #1567375: a minor logical glitch in example description. 2006-09-30 07:24:48 +00:00
George Yoshida 5cee720aa6 SF bug #1567976 : fix typo
Will backport to 2.5.
2006-09-30 05:14:02 +00:00
Andrew M. Kuchling 656aee7c44 Make examples do error checking on Py_InitModule 2006-09-27 19:23:05 +00:00
Neal Norwitz 9356e11223 SF Bug #1563963, add missing word and cleanup first sentance 2006-09-23 18:11:58 +00:00
Fred Drake 62e955ad13 add boilerplate "What's New" document so the docs will build 2006-09-23 00:26:31 +00:00
Fred Drake 13782a3359 revise explanation of returns_unicode to reflect bool values
and to include the default value
(merged from release25-maint revision 51890)
2006-09-15 16:11:27 +00:00
Fred Drake a58f123602 - fix module name in links in formatted documentation
- minor markup cleanup
(forward-ported from release25-maint revision 51888)
2006-09-15 15:18:04 +00:00
Georg Brandl c9ded90368 Correct elementtree module index entry. 2006-09-15 05:22:24 +00:00
Ka-Ping Yee cdf6afde1a Fix grammar errors and improve clarity. 2006-09-15 00:34:19 +00:00
Andrew M. Kuchling ab856873f1 More wordsmithing 2006-09-12 21:21:51 +00:00
Andrew M. Kuchling 32cec80b02 Some editing, markup fixes 2006-09-12 21:09:02 +00:00
Andrew M. Kuchling abd5520cff Markup typo fix 2006-09-12 20:50:23 +00:00