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
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
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
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
Georg Brandl
c9a8a4aab8
#8370 : fix module name in backported doc addition.
2010-04-14 21:36:49 +00:00
Georg Brandl
4a589c3ede
#8399 : add note about Windows and O_BINARY.
2010-04-14 19:16:38 +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
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
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
884d0a3c27
Two typo fixes
2010-04-11 12:48:08 +00:00
Andrew M. Kuchling
ca2413e2ad
Punctuation fix
2010-04-11 01:40:06 +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
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
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
Georg Brandl
abe448c49b
#8320 : document return value of recv_into().
2010-04-06 08:18:15 +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
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