Commit Graph

11033 Commits

Author SHA1 Message Date
Andrew M. Kuchling 603831825b Markup fix; clarify by adding 'in that order' 2010-04-30 01:32:47 +00:00
Andrew M. Kuchling 545336673e Fix typos 2010-04-30 01:02:15 +00:00
Andrew M. Kuchling 3ded421fd5 Reword paragraph to make its meaning clearer.
Antoine Pitrou: is my version of the paragraph still correct?

R. David Murray: is this more understandable than the previous version?
2010-04-30 00:52:31 +00:00
Giampaolo Rodolà a01f6892d6 Fixes issue 8543 (asynchat documentation issues) 2010-04-29 20:31:17 +00:00
Senthil Kumaran f62b50f306 Fixing the Broken links of mechanize library. 2010-04-29 19:46:08 +00:00
Ezio Melotti ab9149dc8a Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup. 2010-04-29 16:07:20 +00:00
Benjamin Peterson b17b3c51e2 update pypy url 2010-04-29 03:30:59 +00:00
Benjamin Peterson fa0e7796dd update pypy description 2010-04-29 03:18:05 +00:00
Andrew M. Kuchling b2454b2ead Add various unittest items 2010-04-29 01:45:41 +00:00
Andrew M. Kuchling fb759a25f2 Fix doubled 'the'.
Markup fixes to use :exc:, :option: in a few places.
  (Glitch: unittest.main's -c ends up a link to the Python
  interpreter's -c option.  Should we skip using :option: for that
  switch, or disable the auto-linking somehow?)
2010-04-29 01:44:30 +00:00
Andrew M. Kuchling 15c82d2151 Add various items 2010-04-29 00:22:16 +00:00
Antoine Pitrou 689405ee14 Clarify and fix the documentation for IOBase.close() 2010-04-28 19:57:33 +00:00
Antoine Pitrou ece349e517 State clearly that truncate() doesn't move the file position,
and remove a duplicate of its specification.
2010-04-28 19:53:35 +00:00
Senthil Kumaran ed9204346e Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked" 2010-04-28 17:20:43 +00:00
Nick Coghlan ad709ee06b Add version changed note for -m tinkering with sys.argv[0] during the search process 2010-04-28 14:53:59 +00:00
Nick Coghlan c5e4485248 Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed 2010-04-28 14:51:08 +00:00
Nick Coghlan dfb45dfd04 Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) 2010-04-28 14:29:06 +00:00
Benjamin Peterson eef5c35c14 make slice notation in (r)find docs consistent 2010-04-27 22:56:31 +00:00
Benjamin Peterson a9bd6d5ea7 reject None as the buffering argument like the C implementation does #8546 2010-04-27 21:01:54 +00:00
Michael Foord 47b5440f43 Adding versionadded to various new unittest functions in documentation 2010-04-26 23:36:47 +00:00
Michael Foord 5c322ece96 Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs. 2010-04-25 19:02:46 +00:00
Georg Brandl adbcf1f4a8 Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric. 2010-04-25 10:57:15 +00:00
Georg Brandl 1e518258c9 Fix code example to have valid syntax so that it can be highlighted. 2010-04-25 10:56:41 +00:00
Georg Brandl bb091e733c Patch from Tim Hatch: Minor spelling changes to _winreg docs. 2010-04-25 10:55:58 +00:00
Georg Brandl a3f1e4cde7 Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface. 2010-04-25 10:55:16 +00:00
Georg Brandl 9bfb78d698 Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. 2010-04-25 10:54:42 +00:00
Georg Brandl 1f62087649 Remove LaTeXy index entry syntax. 2010-04-25 10:29:17 +00:00
Georg Brandl 0b093e068e #8522: use with statement instead of try-finally for file handling. 2010-04-25 10:17:27 +00:00
Georg Brandl 404bd7f473 #8528: fix typo. 2010-04-25 10:16:00 +00:00
Brian Curtin 5fa9fb4062 Fix #5774. Some _winreg functions are documented as taking kwargs but don't. 2010-04-24 17:10:22 +00:00
Georg Brandl f8bff488bd Markup fixes. 2010-04-24 08:56:58 +00:00
Sean Reifscheider f6ce3cb84e issue8451: Making syslog module use sys.argv[0] for "ident". 2010-04-23 08:31:55 +00:00
Georg Brandl e11d85c717 Add "report a bug" links in some prominent places. Make it clear that doc bugs can be mailed to docs@python.org. Clarify tracker usage. 2010-04-22 22:15:33 +00:00
Senthil Kumaran 398246169c Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.
2010-04-22 12:10:13 +00:00
Senthil Kumaran 0a36181953 Updated the RFCs list in the See Also section of urlparse.rst 2010-04-22 05:48:35 +00:00
Tarek Ziadé e593fad81b removed ztar support in shutil.make_archive 2010-04-20 21:09:06 +00:00
Ezio Melotti 8c09ebcf0c #8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse 2010-04-20 16:49:48 +00:00
Brian Curtin 1f8dd363b7 Add version info for os.kill and signal changes from #1220212. 2010-04-20 15:23:18 +00:00
Tarek Ziadé 8a12f940fe Fixed #8463: added missing reference to bztar in shutil's documentation. 2010-04-19 21:28:21 +00:00
Antoine Pitrou 0a6373c1a9 Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
available cipher list.  Helps fix test_ssl with OpenSSL 1.0.0.
2010-04-17 17:10:38 +00:00
R. David Murray 7794b5b52f Update link to Apple Publication Style guide. 2010-04-17 15:45:38 +00:00
Andrew M. Kuchling 85f928a5c9 Add various items 2010-04-15 01:42:27 +00:00
Andrew M. Kuchling 363dbccb2a Add various items; correct argparse output 2010-04-14 23:55:17 +00:00
Georg Brandl 9f5fd6092b Fix missing. 2010-04-14 21:46:45 +00:00
Georg Brandl c9a8a4aab8 #8370: fix module name in backported doc addition. 2010-04-14 21:36:49 +00:00
Georg Brandl 710a5dbc4a #5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable. 2010-04-14 21:34:44 +00:00
Georg Brandl 4a589c3ede #8399: add note about Windows and O_BINARY. 2010-04-14 19:16:38 +00:00
Andrew M. Kuchling b6c1aeb486 Add some text 2010-04-14 14:28:31 +00:00
Georg Brandl 6c50efe76b Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek(). 2010-04-14 13:50:31 +00:00
Andrew M. Kuchling f03641ace3 Add argparse example 2010-04-14 01:14:59 +00:00
Georg Brandl d0731072a9 Get rid of multi-row cells. 2010-04-13 06:43:54 +00:00
Andrew M. Kuchling ce6905245b Add an item; stray edit 2010-04-13 01:32:51 +00:00
Raymond Hettinger 44340e6d78 Add usage notes for collections.Counter(). 2010-04-12 21:12:06 +00:00
Mark Dickinson 78ab583d63 More struct doc tweaks. 2010-04-12 20:38:36 +00:00
Mark Dickinson b633f10f81 Rewrap some long lines in struct module doc source. 2010-04-12 19:46:20 +00:00
Mark Dickinson bbacb838c9 Issue #7355: Various improvements to struct module documentation.
- note early on that the result of struct.pack includes padding
   bytes by default

 - add examples showing how order of struct fields can affect size
   (due to padding)

 - better headers and references; introduction to format strings

 - integrate packing notes into table

Many thanks to Meador Inge for the patch.
2010-04-12 19:25:32 +00:00
Brian Curtin 4e20ab24cf Update the Windows FAQ's text about os.kill (#1220212). 2010-04-12 18:07:21 +00:00
R. David Murray 1a14d3d169 Issue #7585: use tab between components in unified and context diff headers.
Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs.  This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs.  This improves compatibility with
patch tools.  The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.

Patch by Anatoly Techtonik.
2010-04-12 16:35:19 +00:00
Barry Warsaw fa900d47b8 typo 2010-04-12 14:40:49 +00:00
Andrew M. Kuchling 4515f0de21 Add several items 2010-04-11 20:40:09 +00:00
Andrew M. Kuchling 6d7dfa231f Add two items 2010-04-11 12:49:37 +00:00
Andrew M. Kuchling 884d0a3c27 Two typo fixes 2010-04-11 12:48:08 +00:00
Raymond Hettinger f11363dcd3 Add descriptor howto to main documentation 2010-04-11 08:14:45 +00:00
Andrew M. Kuchling 7c2ab87568 Remove distutils section 2010-04-11 01:44:13 +00:00
Andrew M. Kuchling bfe8a84ce9 name correct 2010-04-11 01:40:49 +00:00
Andrew M. Kuchling ec6393f380 Add various items 2010-04-11 01:40:30 +00:00
Andrew M. Kuchling ca2413e2ad Punctuation fix 2010-04-11 01:40:06 +00:00
Andrew M. Kuchling fced90835c Two grammar fixes 2010-04-11 01:39:36 +00:00
Raymond Hettinger e694e00ee1 Add the sorting HOWTO to the main docs. 2010-04-11 00:01:23 +00:00
Georg Brandl 9352f1c64e #8346: update version. 2010-04-10 11:16:59 +00:00
Georg Brandl 90aae551b1 #8360: skipTest was added in 2.7. 2010-04-10 11:15:24 +00:00
Raymond Hettinger a1d61d0495 Fixup new itertools recipes. 2010-04-10 07:01:32 +00:00
Michael Foord efc2f497fd Correction of unittest documentation typos and omissions 2010-04-08 04:33:20 +00:00
Vinay Sajip 497256ba18 Issue #8331: logging: fixed some grammatical errors in documentation. 2010-04-07 09:40:52 +00:00
Benjamin Peterson f3a8c6675f tell people to update python.man, too 2010-04-06 23:32:27 +00:00
Philip Jenvey aebbaeb962 #7301: add the environment variable $PYTHONWARNINGS to supplement the -W
command line option
patch from Brian Curtin
2010-04-06 23:24:45 +00:00
Vinay Sajip ccd8bc8a83 Issue #8327: logging: Clarification of propagation functionality in documentation. 2010-04-06 22:32:37 +00:00
Mark Dickinson ad971d62ee More NaN consistency doc fixes. 2010-04-06 22:18:23 +00:00
Mark Dickinson e07acb5f15 Use consistent spelling for nans (thanks Georg for noticing). 2010-04-06 22:10:55 +00:00
Georg Brandl fb12044392 Fix syntax. 2010-04-06 20:27:59 +00:00
Mark Dickinson 99e73f9145 Issue #7947: Clarify math module behaviour for IEEE 754 special cases, along
with a number of additional minor edits and typo corrections.
2010-04-06 19:50:03 +00:00
Mark Dickinson a5db4310f3 Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator. 2010-04-06 18:20:11 +00:00
Eric Smith 6a92860a3e Note that PEP 378 also applies to int. 2010-04-06 15:17:33 +00:00
Eric Smith c4663856d9 Fixed PEP 378 example. 2010-04-06 14:30:15 +00:00
Georg Brandl abe448c49b #8320: document return value of recv_into(). 2010-04-06 08:18:15 +00:00
Ezio Melotti 021f334b9f Fix several links and other mistakes. 2010-04-06 03:26:49 +00:00
Antoine Pitrou f9de534c21 Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
2010-04-05 21:35:07 +00:00
Tarek Ziadé 0b93a6b19a added a note for Andrew, about distutils2 2010-04-05 14:58:14 +00:00
Ezio Melotti 425aa2e11b Fix some broken URLs. 2010-04-05 12:51:45 +00:00
Michael Foord d341ec82c7 Further documentation fix for unittest.rst 2010-04-05 10:30:14 +00:00
Michael Foord c5ff3f6ff0 Furterh documentation fix for unittest.rst 2010-04-05 10:28:27 +00:00
Michael Foord 3165503b4a Documentation fixes for unittest 2010-04-05 10:26:26 +00:00
Ezio Melotti 9ccc58113e Fix markup errors. 2010-04-05 08:16:41 +00:00
Ezio Melotti 01fa86a0bd Fix markup, punctuation and whitespaces in _winreg.rst. 2010-04-05 08:02:54 +00:00
Ezio Melotti c0deec1839 #8212: rephrase the webservers howto and fix some mistakes. 2010-04-05 03:51:38 +00:00
Michael Foord 554303530c Document signal handling functions in unittest.rst 2010-04-05 00:39:50 +00:00
Michael Foord ddb20df018 Adding documentation for new unittest.main() parameters 2010-04-04 23:28:44 +00:00
Ezio Melotti 6f65d2dd1b Fix markup in decimal.rst. 2010-04-04 23:21:53 +00:00
Michael Foord 09e2980c15 unittest documentation formatting changes 2010-04-04 22:41:54 +00:00
Raymond Hettinger 06bc0b6d2e Add tests for functools.total_ordering. 2010-04-04 22:24:03 +00:00