Commit Graph

10963 Commits

Author SHA1 Message Date
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