Raymond Hettinger
405884cd62
Sets are marshalable.
2007-10-31 22:15:49 +00:00
Raymond Hettinger
84e26b6d5d
Clarify the reasons why pickle is almost always better than marshal
2007-10-31 21:57:58 +00:00
Georg Brandl
1a94ec2664
Bug #1287 : make os.environ.pop() work as expected.
2007-10-24 21:40:38 +00:00
Neal Norwitz
530042816c
Bug #1313 , fix typo (wrong variable name) in example.
2007-10-23 05:44:27 +00:00
Travis E. Oliphant
8feafab346
Add phuang patch from Issue 708374 which adds offset parameter to mmap module.
2007-10-23 02:40:56 +00:00
Georg Brandl
a739503881
Add :term:s for "new-style class".
2007-10-21 12:15:05 +00:00
Georg Brandl
e7a0990113
Add :term:s for iterator.
2007-10-21 12:10:28 +00:00
Georg Brandl
cf3fb25932
Add :term: for generators.
2007-10-21 10:52:38 +00:00
Georg Brandl
bb75e4e5d2
Unify "file-descriptor" to "file descriptor".
2007-10-21 10:46:24 +00:00
Georg Brandl
5e52db035d
Add :term:s for descriptors.
2007-10-21 10:45:46 +00:00
Georg Brandl
5c174bbd84
Add markup to new function descriptions.
2007-10-21 10:32:54 +00:00
Georg Brandl
63fa168326
Unify "byte code" to "bytecode". Also sprinkle :term: markup for it.
2007-10-21 10:24:20 +00:00
Andrew M. Kuchling
529b1a91ce
Fix protocol name
2007-10-20 19:25:37 +00:00
Georg Brandl
ff27e0cd10
Fix code being interpreted as a target.
2007-10-20 13:22:53 +00:00
Georg Brandl
a2ba6ea9aa
#1284 : "S" means "seen", not unread.
2007-10-19 17:38:49 +00:00
Mark Summerfield
0752d20a34
Added a cross-ref to each other.
2007-10-19 12:48:17 +00:00
Georg Brandl
c4ed9713a7
Clarify wording for apply().
2007-10-19 12:32:39 +00:00
Facundo Batista
d97110dd1b
Issue 1289, just a typo.
2007-10-18 03:44:48 +00:00
Brett Cannon
1f67a677d0
Remove ``:const:`` notation on None in parameter list. Since the markup is not
...
rendered for parameters it just showed up as ``:const:`None` `` in the output.
2007-10-16 23:24:06 +00:00
Raymond Hettinger
abfd8dff3b
More docs, error messages, and tests
2007-10-16 21:28:32 +00:00
Raymond Hettinger
68995867d5
Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded deques.
2007-10-10 00:26:46 +00:00
Raymond Hettinger
a48a29947a
Eliminate camelcase function name
2007-10-08 21:26:58 +00:00
Raymond Hettinger
b6893f2bf8
Missed a line in the docs
2007-10-08 09:56:29 +00:00
Raymond Hettinger
2115bbc4da
Add comments to NamedTuple code.
...
Let the field spec be either a string or a non-string sequence (suggested by Martin Blais with use cases).
Improve the error message in the case of a SyntaxError (caused by a duplicate field name).
2007-10-08 09:14:28 +00:00
Georg Brandl
16fd6c4617
#1123 : fix the docs for the str.split(None, sep) case.
...
Also expand a few other methods' docs, which had more info in the deprecated string module docs.
2007-10-08 07:50:24 +00:00
Fred Drake
06f8067acf
move descriptions of ac_(in|out)_buffer_size to the right place
...
http://bugs.python.org/issue1053
2007-10-05 02:48:32 +00:00
Raymond Hettinger
a7fc4b13e0
Add __asdict__() to NamedTuple and refine the docs.
...
Add maxlen support to deque() and fixup docs.
Partially fix __reduce__(). The None as a third arg was no longer supported.
Still needs work on __reduce__() to handle recursive inputs.
2007-10-05 02:47:07 +00:00
Fred Drake
c9b7163da5
wrap lines to <80 characters before fixing errors
2007-10-05 02:46:12 +00:00
Raymond Hettinger
50e90e265f
itertools.count() no longer limited to sys.maxint.
2007-10-04 00:20:27 +00:00
Georg Brandl
ba2e519082
#1208 : document match object's boolean value.
2007-09-27 06:26:58 +00:00
Andrew M. Kuchling
6d407e4d3d
Typo fix
2007-09-24 23:46:28 +00:00
Andrew M. Kuchling
9c90635bcb
Remove stray odd character; grammar fix
2007-09-24 23:45:51 +00:00
Georg Brandl
e4186252b1
#1196 : document default radix for int().
2007-09-24 17:59:28 +00:00
Georg Brandl
97ca58370a
Fix typo and double word.
2007-09-24 17:55:47 +00:00
Georg Brandl
4a21268a74
Patch #1181 : add os.environ.clear() method.
2007-09-20 17:57:59 +00:00
Georg Brandl
efa7d51ee6
#1176 : document that string methods don't take keyword args.
2007-09-20 16:45:27 +00:00
Georg Brandl
5d242eef74
alternate -> alternative.
2007-09-20 08:44:59 +00:00
Raymond Hettinger
7268e9d1ff
Fit nits
2007-09-20 03:03:43 +00:00
Sean Reifscheider
111c0ea34a
issue1172: Documentation of "done" attribute in cgi module.
2007-09-18 23:34:44 +00:00
Raymond Hettinger
cbab5949c9
Cleanup docs for NamedTuple.
2007-09-18 22:18:02 +00:00
Raymond Hettinger
2b03d45bb9
Handle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see how it works.
2007-09-18 03:33:19 +00:00
Raymond Hettinger
d36a60e1e3
Sync-up named tuples with the latest version of the ASPN recipe.
...
Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries).
Adds the __fields__ attribute for introspection and to support conversion to dictionary form.
Adds a __replace__() method similar to str.replace() but using a named field as a target.
Clean-up spelling and presentation in doc-strings.
2007-09-17 00:55:00 +00:00
Bill Janssen
296a59d3be
Add support for asyncore server-side SSL support. This requires
...
adding the 'makefile' method to ssl.SSLSocket, and importing the
requisite fakefile class from socket.py, and making the appropriate
changes to it to make it use the SSL connection.
Added sample HTTPS server to test_ssl.py, and test that uses it.
Change SSL tests to use https://svn.python.org/ , instead of
www.sf.net and pop.gmail.com.
Added utility function to ssl module, get_server_certificate,
to wrap up the several things to be done to pull a certificate
from a remote server.
2007-09-16 22:06:00 +00:00
Georg Brandl
7e84c7f4b5
Remove bdb from the "undocumented modules" list.
2007-09-15 16:53:36 +00:00
Facundo Batista
e90bc3c81c
Some additions (examples and a bit on the tutorial).
2007-09-14 21:29:52 +00:00
Facundo Batista
7c82a3e9c6
Included the new functions, and new descriptions.
2007-09-14 18:58:34 +00:00
Mark Summerfield
ddca9f0823
Replaced variable o with obj in operator.rst because o is easy to
...
confuse.
Added a note about Python 3's collections.Mapping etc., above section
that describes isMappingType() etc.
Added xrefs between os, os.path, fileinput, and open().
2007-09-13 14:54:30 +00:00
Georg Brandl
bb07a7df91
Bug #1152 : use non-deprecated name in example.
2007-09-12 18:05:57 +00:00
Georg Brandl
0001422a0a
New documentation page for the bdb module.
...
(This doesn't need to be merged to Py3k.)
2007-09-12 18:03:51 +00:00
Bill Janssen
93bf9ce9b7
Fix some documentation bugs.
2007-09-11 02:42:07 +00:00