Georg Brandl
4f5f98d7d1
Add missing documentation for bytes.decode().
2009-05-04 21:01:20 +00:00
Georg Brandl
5f25972a05
Merged revisions 72292 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72292 | georg.brandl | 2009-05-04 22:49:17 +0200 (Mo, 04 Mai 2009) | 1 line
#5916 , 5917: small socket doc improvements.
........
2009-05-04 20:50:30 +00:00
Georg Brandl
9460648547
Merged revisions 72290 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72290 | georg.brandl | 2009-05-04 22:45:13 +0200 (Mo, 04 Mai 2009) | 1 line
#5927 , 5928: typos.
........
2009-05-04 20:46:44 +00:00
Georg Brandl
17761d15c6
Merged revisions 72288 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72288 | georg.brandl | 2009-05-04 22:42:08 +0200 (Mo, 04 Mai 2009) | 1 line
#5925 : fix highlighting of keyword table.
........
2009-05-04 20:43:44 +00:00
Gregory P. Smith
ef24cb6437
version added 3.1
2009-05-04 19:35:16 +00:00
Gregory P. Smith
95e3b9c848
documentation clarification. mention bytes.
2009-05-04 19:34:45 +00:00
Gregory P. Smith
3f61d61b35
Merge refactoring I did when committing r72267 to trunk into the
...
already committed issue4751 support in py3k r68411.
2009-05-04 00:45:33 +00:00
Mark Dickinson
725bfd8489
Issue #5914 : Add new C-API function PyOS_string_to_double, to complement
...
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
2009-05-03 20:33:40 +00:00
Gregory P. Smith
05bf1d23f6
Mention ipaddr in whatsnew for 3.1.
2009-05-03 06:53:18 +00:00
Martin v. Löwis
db12d454e6
Issue #3672 : Reject surrogates in utf-8 codec; add surrogates error
...
handler.
2009-05-02 18:52:14 +00:00
Benjamin Peterson
c6b607d4a9
port simplejson upgrade from the trunk #4136
...
json also now works only with unicode strings
Patch by Antoine Pitrou; updated by me
2009-05-02 12:36:44 +00:00
Gregory P. Smith
842e8da642
Merged revisions 72183-72184 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72183 | georg.brandl | 2009-05-01 14:28:35 -0700 (Fri, 01 May 2009) | 2 lines
Review ipaddr docs and add them in the TOC under "Internet protocols".
........
r72184 | georg.brandl | 2009-05-01 14:30:25 -0700 (Fri, 01 May 2009) | 1 line
Fix directive name.
........
2009-05-02 06:15:18 +00:00
Gregory P. Smith
e54dff5e63
Merged revisions 72173 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines
Adds the ipaddr module to the standard library. Issue #3959 .
Based off of subversion r69 from http://code.google.com/p/ipaddr-py/
This code is 2to3 safe, I'll merge it into py3k later this afternoon.
........
2009-05-01 22:13:48 +00:00
Benjamin Peterson
edc364717e
versionadded
2009-05-01 20:48:14 +00:00
Benjamin Peterson
ef9f2bde37
add myself
2009-05-01 20:45:43 +00:00
Benjamin Peterson
d2e0c7955f
implement a detach() method for BufferedIOBase and TextIOBase #5883
2009-05-01 20:40:59 +00:00
Walter Dörwald
155374d95d
Merged revisions 72167 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines
Make test.test_support.EnvironmentVarGuard behave like a dictionary.
All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
........
2009-05-01 19:58:58 +00:00
Mark Dickinson
33841c3489
Issue #5859 : Remove '%f' to '%g' formatting switch for large floats.
2009-05-01 15:37:04 +00:00
R. David Murray
e08a66a371
Document the fact that 'compname' and 'comptype' are bytes.
2009-04-29 21:50:39 +00:00
Georg Brandl
476b355d63
Die, buffer(), die.
2009-04-29 06:37:12 +00:00
Raymond Hettinger
a48db39992
Issue #5857 : tokenize.tokenize() now returns named tuples.
2009-04-29 00:34:27 +00:00
R. David Murray
8e8099c491
Merged revisions 72060 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72060 | r.david.murray | 2009-04-28 12:08:18 -0400 (Tue, 28 Apr 2009) | 10 lines
Various small fixups to the multiprocessing docs, mostly fixing and
enabling doctests that Sphinx can run, and fixing and disabling tests that
Sphinx can't run. I hand checked every test not now marked as a doctest,
and all except the two that have open bug reports against them now work,
at least on Linux/trunk. (I did not look at the last example at all since
there was already an open bug). I did not read the whole document with
an editor's eye, but I did fix a few things I noticed while working on
the tests.
........
2009-04-28 18:02:00 +00:00
Raymond Hettinger
58c8c262f8
Add another example to the seealso section.
2009-04-27 21:01:21 +00:00
R. David Murray
e02a3017ca
Third to last example is now marked as a test, but I can't actually test
...
it yet since sphinx can't run the doctests using python3.
Merged revisions 72038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72038 | r.david.murray | 2009-04-27 13:22:36 -0400 (Mon, 27 Apr 2009) | 8 lines
Make sys.xxx variable references into links, note that print_last only
works when an exception gets to the interactive prompt, and update the
examples after testing. The last one is now a valid Sphinx doctest,
but of the preceding two one can't be made a doctest and the other one
I'm postponing to 3.x because sphinx handles doctests as Unicode strings
and that makes the 2.x output confusing.
........
2009-04-27 18:38:19 +00:00
Georg Brandl
57e1b503ca
Merged revisions 71955,71962 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71955 | georg.brandl | 2009-04-26 08:01:04 +0200 (So, 26 Apr 2009) | 1 line
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
........
r71962 | eric.smith | 2009-04-26 12:05:11 +0200 (So, 26 Apr 2009) | 1 line
Note that the caller is resposible for freeing the result of PyOS_double_to_string.
........
2009-04-27 16:54:22 +00:00
Georg Brandl
ff2ad0e1a6
Merged revisions 71814-71817,71901-71903 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71814 | georg.brandl | 2009-04-23 10:44:57 +0200 (Do, 23 Apr 2009) | 1 line
#5820 : fix bug in usage of getreader().
........
r71815 | georg.brandl | 2009-04-23 10:49:39 +0200 (Do, 23 Apr 2009) | 1 line
Fix rewrapping accident.
........
r71816 | georg.brandl | 2009-04-23 10:49:56 +0200 (Do, 23 Apr 2009) | 1 line
#5813 : add a reference to the "future statements" section.
........
r71817 | georg.brandl | 2009-04-23 10:52:03 +0200 (Do, 23 Apr 2009) | 1 line
Add link to PEP 236.
........
r71901 | georg.brandl | 2009-04-25 16:50:25 +0200 (Sa, 25 Apr 2009) | 1 line
#3320 : fix spelling.
........
r71902 | georg.brandl | 2009-04-25 16:51:31 +0200 (Sa, 25 Apr 2009) | 1 line
#5834 : use "failure" instead of "error" because the two have different meanings in unittest context.
........
r71903 | georg.brandl | 2009-04-25 17:05:04 +0200 (Sa, 25 Apr 2009) | 1 line
#5821 : add some capabilities of TarFile's file-like object.
........
2009-04-27 16:51:45 +00:00
Georg Brandl
0192bffe90
Merged revisions 71607,71653,71696,71771,71786 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71607 | benjamin.peterson | 2009-04-14 23:23:09 +0200 (Di, 14 Apr 2009) | 1 line
tupel -> tuple
........
r71653 | raymond.hettinger | 2009-04-16 20:16:10 +0200 (Do, 16 Apr 2009) | 1 line
Clarify the behavior of any() and all() with an empty iterable.
........
r71696 | georg.brandl | 2009-04-18 10:26:21 +0200 (Sa, 18 Apr 2009) | 1 line
"not subscriptable" should be a bit more understandable than "unsubscriptable".
........
r71771 | raymond.hettinger | 2009-04-20 20:23:57 +0200 (Mo, 20 Apr 2009) | 1 line
Fix typo
........
r71786 | georg.brandl | 2009-04-21 20:23:08 +0200 (Di, 21 Apr 2009) | 1 line
#5757 : fix copy-paste error in notify().
........
2009-04-27 16:49:41 +00:00
Georg Brandl
3638e487b9
Merged revisions 71572 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line
#5745 : more linking for identifiers in email docs.
........
2009-04-27 16:46:17 +00:00
Georg Brandl
540b45c475
Merged revisions 71544,71546,71554-71555 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line
fix extra parenthesis #5774
........
r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line
fix missing quote
........
r71554 | hirokazu.yamamoto | 2009-04-13 03:07:06 +0200 (Mo, 13 Apr 2009) | 1 line
Fixed typo. (email.Utils => email.utils)
........
r71555 | hirokazu.yamamoto | 2009-04-13 03:21:56 +0200 (Mo, 13 Apr 2009) | 1 line
Fixed another typos. (email.Utils => email.utils)
........
2009-04-27 16:45:26 +00:00
Georg Brandl
f3532df236
Merged revisions 71540,71563 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line
#5719 : add short usage example to optparse docstring.
........
r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line
Simplify markup.
........
2009-04-27 16:41:41 +00:00
Georg Brandl
9078afe317
Merged revisions 71503 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71503 | eric.smith | 2009-04-12 04:57:29 +0200 (So, 12 Apr 2009) | 1 line
Take credit for my patch for issue 5237.
........
2009-04-27 16:38:14 +00:00
Georg Brandl
747f0518e8
Remove merging accident.
2009-04-27 16:34:37 +00:00
Georg Brandl
4ca444241d
Merged revisions 71958 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71958 | georg.brandl | 2009-04-26 08:06:19 +0200 (So, 26 Apr 2009) | 1 line
Remove outdated TODO file.
........
2009-04-27 16:32:11 +00:00
Georg Brandl
b5b5bcc0d1
Merged revisions 71956 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71956 | georg.brandl | 2009-04-26 08:05:18 +0200 (So, 26 Apr 2009) | 1 line
Update versions in instructions for manual set-up.
........
2009-04-27 16:29:51 +00:00
Georg Brandl
5617db86c3
Merged revisions 71960 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71960 | georg.brandl | 2009-04-26 11:56:44 +0200 (So, 26 Apr 2009) | 1 line
Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
........
2009-04-27 16:28:57 +00:00
Georg Brandl
3221dc9b31
Merged revisions 72008 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72008 | georg.brandl | 2009-04-27 17:10:44 +0200 (Mo, 27 Apr 2009) | 1 line
Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
........
2009-04-27 16:23:47 +00:00
Georg Brandl
0142d4a3df
Merged revisions 72007 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72007 | georg.brandl | 2009-04-27 17:09:25 +0200 (Mo, 27 Apr 2009) | 1 line
#5856 : fix typo s in traceback example.
........
2009-04-27 16:22:44 +00:00
Georg Brandl
e720c0aa74
Merged revisions 72009 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
........
2009-04-27 16:20:50 +00:00
Georg Brandl
56a59048ee
Reintroduce versionchanged tags, but with correct version.
2009-04-27 08:58:15 +00:00
Jeroen Ruigrok van der Werven
b70ccc348b
After discussing some more with Georg, do no migrate versionchanged:: 2.5 to
...
this branch. While I am here, also get rid of other versionchanged:: 2.x
constructs, as discussed.
2009-04-27 08:07:12 +00:00
Georg Brandl
7b6ca4ab7f
#5061 : improve open() docs a bit.
2009-04-27 06:13:55 +00:00
Jeroen Ruigrok van der Werven
47a7d70002
Merged revisions 71920-71923,71925-71929,71931-71934,71937 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71920 | jeroen.ruigrok | 2009-04-25 21:44:55 +0200 (za, 25 apr 2009) | 5 lines
Issue #4129 : More documentation pointers about int -> Py_ssize_t.
Also fix up the documentation for PyObject_GC_Resize(). It seems that since
it first got documented, the documentation was actually for
_PyObject_GC_Resize().
........
r71921 | jeroen.ruigrok | 2009-04-25 21:46:19 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : Documentation notes for int -> Py_ssize_t changes.
........
r71922 | jeroen.ruigrok | 2009-04-25 21:49:05 +0200 (za, 25 apr 2009) | 2 lines
Reformat, since I've been busy here anyway.
........
r71923 | jeroen.ruigrok | 2009-04-25 21:54:34 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : Add a versionchanged notice for a few forgotten entries.
........
r71925 | jeroen.ruigrok | 2009-04-25 22:37:39 +0200 (za, 25 apr 2009) | 2 lines
Since it's a macro, actually refer to it as such instead of function.
........
r71926 | jeroen.ruigrok | 2009-04-25 22:40:10 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71927 | jeroen.ruigrok | 2009-04-25 22:41:40 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : int -> Py_ssize_t documentation.
........
r71928 | jeroen.ruigrok | 2009-04-25 22:43:30 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71929 | jeroen.ruigrok | 2009-04-25 22:44:58 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : int -> Py_ssize_t documentation.
........
r71931 | jeroen.ruigrok | 2009-04-25 22:50:27 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : int -> Py_ssize_t documentation.
........
r71932 | jeroen.ruigrok | 2009-04-25 22:55:39 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : more int -> Py_ssize_t documentation.
........
r71933 | jeroen.ruigrok | 2009-04-25 22:58:35 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : more int -> Py_ssize_t documentation.
........
r71934 | jeroen.ruigrok | 2009-04-25 23:02:34 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : field changed from int to Py_ssize_t.
........
r71937 | jeroen.ruigrok | 2009-04-25 23:16:05 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : document int -> Py_ssize_t changes.
........
2009-04-27 05:43:17 +00:00
Raymond Hettinger
5afb5c6630
Add link to math.fsum().
2009-04-26 22:01:46 +00:00
Raymond Hettinger
4af362905c
Improve the rounding and summing examples.
2009-04-26 21:37:46 +00:00
Eric Smith
cc32a11976
Issue #5835 : Deprecate PyOS_ascii_formatd.
2009-04-26 21:35:14 +00:00
Jeroen Ruigrok van der Werven
bd87552a34
Merged revisions 71898-71900,71910,71914-71919 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71898 | jeroen.ruigrok | 2009-04-25 16:24:30 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71899 | jeroen.ruigrok | 2009-04-25 16:27:00 +0200 (za, 25 apr 2009) | 3 lines
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
documentation.
........
r71900 | jeroen.ruigrok | 2009-04-25 16:28:02 +0200 (za, 25 apr 2009) | 2 lines
Reformat paragraph.
........
r71910 | jeroen.ruigrok | 2009-04-25 19:59:03 +0200 (za, 25 apr 2009) | 4 lines
Issue #4129 : Belatedly document which C API functions had their argument(s) or
return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
might cause problems on 64-bit platforms.
........
r71914 | jeroen.ruigrok | 2009-04-25 20:31:20 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71915 | jeroen.ruigrok | 2009-04-25 20:46:03 +0200 (za, 25 apr 2009) | 2 lines
Issue #4129 : Document more int -> Py_ssize_t changes.
........
r71916 | jeroen.ruigrok | 2009-04-25 20:53:48 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
r71917 | jeroen.ruigrok | 2009-04-25 20:57:32 +0200 (za, 25 apr 2009) | 2 lines
Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
........
r71918 | jeroen.ruigrok | 2009-04-25 21:04:15 +0200 (za, 25 apr 2009) | 2 lines
Since I edited this file, reformat for future edits.
........
r71919 | jeroen.ruigrok | 2009-04-25 21:10:52 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to editing.
........
2009-04-26 21:06:15 +00:00
Jeroen Ruigrok van der Werven
939c178379
Merged revisions 71874,71882,71890 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines
First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
........
r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines
Issue #4239 : adjust email examples not to use connect() and terminate with
quit() and not close().
........
r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines
Rewrite a sentence to be more in line with the rest of the documentation with
regard to person and audience.
........
2009-04-26 20:25:45 +00:00
Jeroen Ruigrok van der Werven
f4a9f96168
Merged revisions 71873 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71873 | jeroen.ruigrok | 2009-04-25 13:15:06 +0200 (za, 25 apr 2009) | 2 lines
Reformat prior to expanding.
........
2009-04-26 20:21:12 +00:00
Raymond Hettinger
f0320c7ee6
Remove the round() discussion which is now out-of-date.
2009-04-26 20:10:50 +00:00
Hirokazu Yamamoto
ae9eb5c4d0
Fixed documentation build warning.
2009-04-26 03:34:06 +00:00