Commit Graph

11169 Commits

Author SHA1 Message Date
Ezio Melotti f5e81d62fc #9139: the thousands separator is new in 2.7. Also add a missing variable in the example. 2010-07-02 22:50:39 +00:00
Ezio Melotti e11690ab34 #9139: Add examples for str.format(). 2010-07-02 22:17:29 +00:00
Eric Smith 68f59415b6 Moved period outside paren, where it belongs. 2010-07-02 21:44:16 +00:00
Mark Dickinson 2547ce7fd8 Clarify sys.float_info documentation. 2010-07-02 18:06:52 +00:00
Nick Coghlan 601ec58f3e Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New 2010-07-02 16:01:53 +00:00
Nick Coghlan 8c16c5ce10 Fix a couple of minor nits in What's New before the release goes out 2010-07-02 15:50:14 +00:00
Georg Brandl 0ada39cd8b Grammar and markup fixes. 2010-07-02 07:33:50 +00:00
Benjamin Peterson 8a08ce25e2 trunc does use the special method, though 2010-07-01 23:35:37 +00:00
Benjamin Peterson 52a70c4a12 fix fixer name 2010-07-01 17:45:52 +00:00
Benjamin Peterson 7b670624ac remove docs about delegating to special methods; it does no such thing 2010-07-01 15:07:15 +00:00
Mark Dickinson 4aa5f6f1f2 Issue #1789: clarify that the 'size' column in struct docs refers to standard size. 2010-06-29 20:09:12 +00:00
Benjamin Peterson b32248757d group cStringIO docs under its factory function 2010-06-29 15:18:02 +00:00
Vinay Sajip 86aa90539b Added information about pickle security and SocketHandler. 2010-06-29 15:13:14 +00:00
Senthil Kumaran 1c919a64ed Documentation Fix: urllib.urlopen.info uses mimetools.Message, not httplib.HTTPMessage. 2010-06-29 13:28:20 +00:00
Senthil Kumaran 8c996ef458 Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object. 2010-06-28 17:07:40 +00:00
Senthil Kumaran 2af7e6d2d9 Fix issue3428 - Document HTTPMessage class. 2010-06-28 10:54:17 +00:00
Georg Brandl ec83e3d43c Two typos. 2010-06-27 10:55:38 +00:00
Georg Brandl 3d0a602c35 Fix URL. 2010-06-27 10:51:44 +00:00
Georg Brandl 817d91829f Use designated syntax for optional grammar element. 2010-06-27 10:49:23 +00:00
Georg Brandl 565569b8dc Confusing punctuation. 2010-06-27 10:47:47 +00:00
Alexander Belopolsky 21887dfc1a Issue 9024: Added :cdata: tag to PyDateTimeAPI 2010-06-26 18:49:10 +00:00
Alexander Belopolsky caf5db7924 Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
it is typically used in module initialization function. Thanks Tim
Golden for the patch.
2010-06-26 02:05:19 +00:00
Benjamin Peterson 5c995c10d4 remove reverted changed 2010-06-24 00:02:46 +00:00
Andrew M. Kuchling 08982665b7 Note that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5 and up 2010-06-20 21:45:45 +00:00
Senthil Kumaran a3e3e36de7 Addressing RDM's review comments on the doc change. 2010-06-16 17:37:32 +00:00
Senthil Kumaran e55a20525e Fix Issue8937 - SimpleHTTPServer should contain usage example 2010-06-16 14:55:31 +00:00
Mark Dickinson 526e5eed71 Issue #8469: Further clarifications and improvements to struct module
documentation.  Thanks Mads Kiilerich.
2010-06-15 08:33:03 +00:00
Andrew M. Kuchling 019aec22a7 Add another bunch of items 2010-06-15 00:38:58 +00:00
Georg Brandl 9933da0663 #8993: fix reference. 2010-06-14 15:58:39 +00:00
Nick Coghlan 8842c356aa Revert r80580 due to some unintended side effects. See issue #8202 for details. 2010-06-13 06:50:39 +00:00
Mark Dickinson 8e6c45cfd4 Issue #8469: Add standard sizes to table in struct documentation; additional
clarifications and documentation tweaks.

Backport of revisions 81955-81956 from py3k.
2010-06-12 18:50:34 +00:00
Nick Coghlan 10f08f9599 Backport a fix from Py3k for a potentially misleading example 2010-06-12 13:45:37 +00:00
Georg Brandl f084aed3b0 Update README. 2010-06-12 09:46:03 +00:00
Georg Brandl 961e6fd37a Fix gratuitous indentation. 2010-06-12 09:45:58 +00:00
Georg Brandl 16269806ba Add document on how to build. 2010-06-12 09:45:28 +00:00
Georg Brandl fd3eff68f5 Use newer toctree syntax. 2010-06-12 09:45:01 +00:00
Georg Brandl ab776cef9d Document that an existing directory raises in mkdir(). 2010-06-12 06:28:58 +00:00
Georg Brandl b20ada08bd Fix punctuation. 2010-06-12 06:26:54 +00:00
Andrew M. Kuchling 11bd81c226 Add a few more items 2010-06-11 01:54:58 +00:00
Andrew M. Kuchling 81145c9b1d #5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv() 2010-06-11 00:23:01 +00:00
Alexander Belopolsky 094c53cf6e Fixed markup of tm_isdst attribute. 2010-06-09 17:08:11 +00:00
Andrew M. Kuchling 3ca14e93c9 #8875: Remove duplicated paragraph 2010-06-07 13:38:40 +00:00
Tarek Ziadé 770fd15caa Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst 2010-06-06 20:05:20 +00:00
Benjamin Peterson 11591c3dda fix sphinx warning with an extra space 2010-06-06 00:54:29 +00:00
Benjamin Peterson 53e812a0ce remove extra space 2010-06-06 00:50:58 +00:00
Michael Foord 8dde20168a Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors). 2010-06-05 21:57:03 +00:00
Alexander Belopolsky 3b818bfbfa Issue #8899: time.struct_time now has class and atribute docstrings. 2010-06-05 14:54:26 +00:00
Vinay Sajip 998cc24dd4 Issue #8890: Documentation changed to avoid reference to temporary files - other cases covered. 2010-06-04 13:41:02 +00:00
Vinay Sajip 9a26aabf89 Issue #8890: Documentation changed to avoid reference to temporary files. 2010-06-03 22:34:42 +00:00
R. David Murray 52dcd45906 #1368247: make set_charset/MIMEText automatically encode unicode _payload.
Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
the charset and unicode as the _text argument.  Also makes the way in
which unicode gets encoded to quoted printable for other charsets more
sane (it only worked by accident previously).  The _payload now is encoded
to the charset.output_charset if it is unicode.
2010-06-02 22:03:15 +00:00
Antoine Pitrou c395545a4a Issue #8873: add a documentation note about possible performance issues with the
default of unbuffered IO in subprocess.Popen.
2010-06-02 17:08:47 +00:00
Senthil Kumaran 98bc31f5e0 Fix issue8788 - description of doseq parameter in urllib.urlencode 2010-06-02 02:19:15 +00:00
Georg Brandl b1a14051b7 Put docs for RegexObject.search() before RegexObject.match() to mirror re.search() and re.match() order. 2010-06-01 07:25:23 +00:00
R. David Murray ac94f4f716 #7583: clarify discussion of hard tab expansion in doctests. 2010-06-01 01:42:41 +00:00
Antoine Pitrou de535cb615 Improve documentation for getaddrinfo() (part of #8857) 2010-05-31 17:01:01 +00:00
Stefan Krah 3d08d88459 Fix typo 2010-05-29 12:54:35 +00:00
Antoine Pitrou 9fe6199b4e Issue #8840: Make documentation for truncate() clearer 2010-05-29 12:06:13 +00:00
R. David Murray e5d1c05216 Make reference to Generic Attribute Management a hyperlink. 2010-05-28 18:08:11 +00:00
Benjamin Peterson 9b14ae8814 2to3 doesn't fix test_support #6583 2010-05-28 03:10:31 +00:00
Andrew M. Kuchling 29f1bb3227 Add item 2010-05-27 21:29:59 +00:00
Andrew M. Kuchling 3bfd0311f9 Remove top-level 'General Questions' section, pushing up the questions it contains 2010-05-27 13:30:09 +00:00
Andrew M. Kuchling 2eaa542e00 Rewrite wxWidgets section 2010-05-27 13:22:53 +00:00
R. David Murray 172e06e019 Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'. 2010-05-25 15:32:06 +00:00
Andrew M. Kuchling 264acad721 Add three items 2010-05-25 13:34:08 +00:00
Georg Brandl f0757a2937 #8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.) 2010-05-24 21:29:07 +00:00
Steven Bethard 74bd9cf7d0 argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP) 2010-05-24 02:38:00 +00:00
Georg Brandl 151973e1c8 #1436346: make it more obvious that timetuple[7] is yday. 2010-05-23 21:29:29 +00:00
Georg Brandl f93ce0c1f5 #8785: less confusing description of regex.find*. 2010-05-22 08:17:23 +00:00
Georg Brandl fa0fdb89e9 #8709: mention Windows support for os.devnull. 2010-05-21 22:03:29 +00:00
Georg Brandl 042d6a4f75 Correct info for Semaphore.acquire() semantics under OSX. 2010-05-21 21:47:05 +00:00
Georg Brandl dd59f1bf92 #8707: remove duplicate paragraph part. 2010-05-21 21:30:47 +00:00
Georg Brandl 233eb54051 Add missing parameter in SimpleXMLRPCServer signature. 2010-05-21 20:58:12 +00:00
Georg Brandl da69add804 typo 2010-05-21 20:52:46 +00:00
Georg Brandl 16fd5cdfeb #8783: replace link to now dead hash collision FAQ. 2010-05-21 20:24:45 +00:00
Vinay Sajip c76defc118 Updated logging documentation with more dictConfig information. 2010-05-21 17:41:34 +00:00
Antoine Pitrou 6a2656094d Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows
embedders of the interpreter to set sys.argv without also modifying
sys.path.  This helps fix `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
2010-05-21 17:12:38 +00:00
Benjamin Peterson a85bd06a82 fix extra 't' #8778 2010-05-20 22:23:37 +00:00
Stefan Krah 4a769059be Fix typo. 2010-05-19 15:59:40 +00:00
Ezio Melotti 019551fa1b Fix typo in argparse doc. 2010-05-19 00:32:52 +00:00
Vinay Sajip a38cd52e96 Fixed minor typo in ReST markup. 2010-05-18 08:16:27 +00:00
Senthil Kumaran 71a632433f Fix minor typo. 2010-05-18 03:20:43 +00:00
Tarek Ziadé 4fc2a008b8 upgraded distutils docs w.r.t. the manifest regeneration 2010-05-17 10:54:43 +00:00
Andrew M. Kuchling 1b553473ed Add cross-reference to later section 2010-05-16 23:31:16 +00:00
Antoine Pitrou 308c2af9a4 Document that SSL v2 is insecure. 2010-05-16 14:16:56 +00:00
Victor Stinner 5f8aae0be3 Issue #8711: add paragraph titles to c-api/unicode.rst
(Python2 doesn't have PyUnicode_DecodeFSDefault*() functions)
2010-05-14 15:53:20 +00:00
Victor Stinner 8ded477916 Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP 2010-05-14 14:20:07 +00:00
Benjamin Peterson 8c72b4e931 rip out mention of types.ListType #8703 2010-05-13 21:14:10 +00:00
Andrew M. Kuchling f09bc66083 #8696: add documentation for logging.config.dictConfig (PEP 391) 2010-05-12 18:56:48 +00:00
Andrew M. Kuchling e551337f16 Grammar fix 2010-05-12 13:56:07 +00:00
Fred Drake 62bebdf49f - clarify Attr.name comment on the presence of colons in namespace mode
- document Attr.value
- wrap some long lines
2010-05-12 02:24:50 +00:00
Fred Drake 5840469067 fix error introduced in previous commit, and the adjacent additional typo 2010-05-12 01:22:03 +00:00
Andrew M. Kuchling 68df234b73 Let's call this done 2010-05-12 00:40:47 +00:00
Andrew M. Kuchling 2702491687 Revision pass: lots of edits, typo fixes, rearrangements 2010-05-12 00:38:44 +00:00
Brian Curtin b9bf97132d #8575 - Update and reorganize some _winreg contents.
I've removed the hopeful note about a future higher-level module since
it's been in there for quite a long time and nothing of the sort has
come up. There are a few places where markup was added to cross-reference
other sections, and many of the external links have been removed and now
point to newly created sections containing previously undocumented
information.

The Value Types section was created and it's contents were taken from
a function-specific area, since it applies to more than just that
function. It fits in better with the other newly documented constants.
2010-05-11 19:13:13 +00:00
Fred Drake 8b37dd1613 fix typo 2010-05-11 18:12:27 +00:00
Andrew M. Kuchling 5d864c847e Fix typo 2010-05-10 23:13:41 +00:00
Georg Brandl 6487952a46 Fix typo. 2010-05-10 21:51:33 +00:00
Georg Brandl 6f635f41f2 Consolidate deprecation messages. 2010-05-10 21:50:57 +00:00
Georg Brandl 0ddc30b7f9 Fix reference direction. 2010-05-10 21:46:50 +00:00
Georg Brandl c630195784 #8642: fix wrong function name. 2010-05-10 21:02:51 +00:00