Ezio Melotti
9fe1d8af48
Merged revisions 77455 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77455 | ezio.melotti | 2010-01-13 02:25:03 +0200 (Wed, 13 Jan 2010) | 1 line
#7685 : typo
........
2010-01-13 00:26:46 +00:00
Ezio Melotti
d0ff51c43f
#7685 : typo
2010-01-13 00:25:03 +00:00
Alexandre Vassalotti
b227f47b2b
Added documentation for dictionary views fixer.
2010-01-12 18:25:33 +00:00
Alexandre Vassalotti
69eb51697c
Issue #1967 : Backport dictionary views.
2010-01-11 23:17:10 +00:00
R. David Murray
ea7e6bc0f2
Merged revisions 77412 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines
Issue #7119 : document that a program-generated Message object
tree may be mutated when serialized.
........
2010-01-10 19:02:16 +00:00
R. David Murray
0e207dff31
Issue #7119 : document that a program-generated Message object
...
tree may be mutated when serialized.
2010-01-10 17:41:28 +00:00
Brett Cannon
6fdd3dcb6a
DeprecationWarning is now silent by default.
...
This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.
Closes issue #7319 . Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.
2010-01-10 02:56:19 +00:00
Georg Brandl
8360b21270
#7422 : make it clear that getargspec() only works on Python functions.
2010-01-09 09:47:11 +00:00
Georg Brandl
705a358265
#5950 : document that zip files with comments are unsupported in zipimport.
2010-01-06 18:26:08 +00:00
Ezio Melotti
ed76861682
Merged revisions 77306 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77306 | ezio.melotti | 2010-01-04 23:43:02 +0200 (Mon, 04 Jan 2010) | 1 line
#3340 : document print/get_usage and print/get_version
........
2010-01-04 21:51:09 +00:00
Ezio Melotti
b9c3ed4f82
#3340 : document print/get_usage and print/get_version
2010-01-04 21:43:02 +00:00
Ezio Melotti
81982566aa
fixed markup errors
2010-01-04 09:00:11 +00:00
Ezio Melotti
30565e9578
Merged revisions 77267 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77267 | ezio.melotti | 2010-01-03 11:01:27 +0200 (Sun, 03 Jan 2010) | 1 line
#7618 : fix highlight of code blocks
........
2010-01-03 09:04:19 +00:00
Ezio Melotti
5129ed38c3
#7618 : fix highlight of code blocks
2010-01-03 09:01:27 +00:00
Gregory P. Smith
9d3252154f
issue3972: HTTPConnection and HTTPSConnection now support a
...
source_address parameter.
Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith
79a3eb1058
Adds an optional source_address parameter to socket.create_connection().
...
For use by issue3972.
2010-01-03 01:29:44 +00:00
Mark Dickinson
d73973fc73
Merged revisions 77230 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77230 | mark.dickinson | 2010-01-02 14:29:52 +0000 (Sat, 02 Jan 2010) | 1 line
Clarify that the rect, phase and polar functions work with radians.
........
2010-01-02 14:31:13 +00:00
Mark Dickinson
5a485c188e
Clarify that the rect, phase and polar functions work with radians.
2010-01-02 14:29:52 +00:00
Georg Brandl
b7953f00b1
We only support Windows NT derivatives now.
2009-12-30 19:03:00 +00:00
Ezio Melotti
569e61f351
#5511 : Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
2009-12-30 06:14:51 +00:00
Georg Brandl
fa1ffb69c4
#7595 : fix typo in argument default constant.
2009-12-29 21:09:17 +00:00
Georg Brandl
aae8e3e488
Merged revisions 77108-77109,77111 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77108 | georg.brandl | 2009-12-29 11:34:34 +0100 (Di, 29 Dez 2009) | 1 line
#7569 : clarification about c_char_p.
........
r77109 | georg.brandl | 2009-12-29 12:06:31 +0100 (Di, 29 Dez 2009) | 1 line
Improve markup of ctypes docs.
........
r77111 | georg.brandl | 2009-12-29 12:25:38 +0100 (Di, 29 Dez 2009) | 1 line
Fix wrong markup.
........
2009-12-29 11:26:39 +00:00
Georg Brandl
c2aad8ad15
Fix wrong markup.
2009-12-29 11:25:38 +00:00
Georg Brandl
a25658b755
Improve markup of ctypes docs.
2009-12-29 11:06:31 +00:00
Georg Brandl
d2ff48602a
#7569 : clarification about c_char_p.
2009-12-29 10:34:34 +00:00
Benjamin Peterson
0d19eaf1eb
document new fix_callable behavior
2009-12-28 20:51:17 +00:00
Georg Brandl
66d8d69cd8
#7404 : remove reference to non-existing example files.
2009-12-28 08:48:24 +00:00
Georg Brandl
fe8df4fa35
#7586 : fix typo.
2009-12-28 08:01:59 +00:00
Ezio Melotti
d7729339cc
Merged revisions 77050 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77050 | ezio.melotti | 2009-12-25 04:12:01 +0200 (Fri, 25 Dec 2009) | 1 line
Updated sys.flags table in Doc
........
2009-12-25 02:13:25 +00:00
Ezio Melotti
1ac1c39aca
Updated sys.flags table in Doc
2009-12-25 02:12:01 +00:00
Ezio Melotti
0273c84bf0
Merged revisions 77022 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77022 | ezio.melotti | 2009-12-24 04:54:53 +0200 (Thu, 24 Dec 2009) | 1 line
Added markup and default arg, fixed example
........
2009-12-24 03:06:04 +00:00
Ezio Melotti
9c236bfb9f
Added markup and default arg, fixed example
2009-12-24 02:54:53 +00:00
Senthil Kumaran
a1e845084f
Merged revisions 77018 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77018 | senthil.kumaran | 2009-12-24 07:48:14 +0530 (Thu, 24 Dec 2009) | 3 lines
Fix for Issue7570: Error in urllib2 example.
........
2009-12-24 02:21:03 +00:00
Senthil Kumaran
f9a21f43c4
Fix for Issue7570: Error in urllib2 example.
2009-12-24 02:18:14 +00:00
Benjamin Peterson
25df3d741f
Merged revisions 76927 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76927 | benjamin.peterson | 2009-12-20 09:23:22 -0600 (Sun, 20 Dec 2009) | 1 line
builtin-ins -> builtins
........
2009-12-20 15:25:18 +00:00
Benjamin Peterson
1c2353b0d9
builtin-ins -> builtins
2009-12-20 15:23:22 +00:00
Georg Brandl
6ab5d083f2
#7381 : subprocess documentation and library docstring consistency fixes.
2009-12-20 14:33:20 +00:00
Senthil Kumaran
0732fd952b
Document the headers parameter for set_tunnel.
2009-12-20 07:29:31 +00:00
Ezio Melotti
2f4f2c15cb
Merged revisions 76904 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line
#7388 : "python".capitalize() in the Doc
........
2009-12-19 22:59:01 +00:00
Ezio Melotti
062d2b52f3
#7388 : "python".capitalize() in the Doc
2009-12-19 22:41:49 +00:00
Antoine Pitrou
b976726b85
Merged revisions 76896 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76896 | antoine.pitrou | 2009-12-19 22:01:10 +0100 (sam., 19 déc. 2009) | 3 lines
Issue #7545 : improve documentation of the `buffering` argument in io.open().
........
2009-12-19 21:03:36 +00:00
Antoine Pitrou
e812d29b52
Issue #7545 : improve documentation of the `buffering` argument in io.open().
2009-12-19 21:01:10 +00:00
Georg Brandl
d86e9d7616
#7480 : remove tautology.
2009-12-19 18:20:18 +00:00
Georg Brandl
c51d1f0862
#7479 : add note about function availability on Unices.
2009-12-19 18:16:31 +00:00
Georg Brandl
8b10f13aaf
#7527 : use standard versionadded tags.
2009-12-19 17:30:28 +00:00
Mark Dickinson
5ff37ae14b
Issue #3366 : Add error function and complementary error function to
...
math module.
2009-12-19 11:07:23 +00:00
Vinay Sajip
0c6a0e3318
Issue #7529 : logging: Minor correction to documentation.
2009-12-17 14:52:00 +00:00
Mark Dickinson
9cae178f21
Issue #3366 : Add expm1 function to math module. Thanks Eric Smith for
...
testing on Windows.
2009-12-16 20:13:40 +00:00
Benjamin Peterson
e667d632ec
Merged revisions 76847 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line
adverb
........
2009-12-15 03:28:17 +00:00
Benjamin Peterson
bf306cadd6
adverb
2009-12-15 03:25:27 +00:00
Mark Dickinson
9be87bc992
Issue #3366 : Add lgamma function to math module.
2009-12-11 17:29:33 +00:00
Raymond Hettinger
a5fd24e97d
Add a reverse() method to collections.deque().
2009-12-10 06:42:54 +00:00
Philip Jenvey
2627553afa
#7177 : clarify the potential PIPE deadlock warnings
2009-12-03 02:25:54 +00:00
Antoine Pitrou
30b3b35cba
Issue #7333 : The `posix` module gains an `initgroups()` function providing
...
access to the initgroups(3) C library call on Unix systems which implement
it. Patch by Jean-Paul Calderone.
2009-12-02 20:37:54 +00:00
Georg Brandl
8d8f874c19
Fix versions and spacing.
2009-11-28 11:11:50 +00:00
Gregory P. Smith
761ae0b8cc
fix typo
2009-11-27 17:51:12 +00:00
Martin v. Löwis
50ea4565bd
Issue #6508 : Add posix.{getresuid,getresgid,setresuid,setresgid}.
2009-11-27 13:56:01 +00:00
Antoine Pitrou
acbe3bdbab
Issue #6845 : Add restart support for binary upload in ftplib. The
...
`storbinary()` method of FTP and FTP_TLS objects gains an optional `rest`
argument. Patch by Pablo Mouzo.
(note: the patch also adds a test for the rest argument in retrbinary())
2009-11-27 13:18:34 +00:00
Georg Brandl
2600a33219
#7400 : typo.
2009-11-26 20:48:25 +00:00
Antoine Pitrou
e236c3c8c2
Forgot to add a `versionadded` tag
2009-11-25 23:03:22 +00:00
Antoine Pitrou
bcfaf8007d
Issue #5788 : `datetime.timedelta` objects get a new `total_seconds()` method returning
...
the total number of seconds in the duration. Patch by Brian Quinlan.
2009-11-25 22:59:36 +00:00
Mark Dickinson
6b87f117ca
Fix some documentation examples involving the repr of a float.
2009-11-24 14:27:02 +00:00
Mark Dickinson
9dd5e16c5d
Issue #7117 , continued: Remove substitution of %g-style formatting for
...
%f-style formatting, which used to occur at high precision. Float formatting
should now be consistent between 2.7 and 3.1.
2009-11-23 20:54:09 +00:00
Georg Brandl
faa25999a3
#7345 : fix arguments of formatyear().
2009-11-23 19:53:19 +00:00
Jesse Noller
de27e227ac
Merged revisions 76433 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76433 | jesse.noller | 2009-11-21 09:01:56 -0500 (Sat, 21 Nov 2009) | 1 line
issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.
........
2009-11-21 14:23:46 +00:00
Jesse Noller
6c3767445c
issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.
2009-11-21 14:01:56 +00:00
R. David Murray
4823961596
Issue 7363: fix indentation in socketserver udpserver example.
2009-11-20 13:29:43 +00:00
Raymond Hettinger
1aef4440fb
Fix docstrings for itertools combinatoric functions.
2009-11-19 01:26:23 +00:00
Raymond Hettinger
9eac119ba8
Fix docstrings for itertools combinatoric functions.
2009-11-19 01:22:04 +00:00
Georg Brandl
1136ff541e
Fix markup.
2009-11-18 20:05:15 +00:00
Georg Brandl
8c18a47e77
upcase Python
2009-11-18 19:39:14 +00:00
Georg Brandl
d3571c8d59
#7302 : fix link.
2009-11-16 16:44:05 +00:00
Antoine Pitrou
ccd5e02d2b
Issue #2054 : ftplib now provides an FTP_TLS class to do secure FTP using
...
TLS or SSL. Patch by Giampaolo Rodola'.
2009-11-15 17:22:09 +00:00
Antoine Pitrou
d5b34d4597
Issue #4969 : The mimetypes module now reads the MIME database from
...
the registry under Windows. Patch by Gabriel Genellina.
2009-11-15 14:10:48 +00:00
Nick Coghlan
49868cb686
Issue #6816 : expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
2009-11-15 07:30:34 +00:00
Georg Brandl
b6fb8dcbce
Fix terminology.
2009-11-14 11:50:51 +00:00
Benjamin Peterson
2fb77bd6f5
revert r76243; I was right, actually :)
2009-11-13 22:56:00 +00:00
Benjamin Peterson
c4a346cc55
never mind about eval mode in this case
2009-11-13 22:17:17 +00:00
Benjamin Peterson
e36199b49d
fix several compile() issues by translating newlines in the tokenizer
2009-11-12 23:39:44 +00:00
Georg Brandl
7232d41569
Give the profile module a module directive.
2009-11-12 08:29:46 +00:00
Raymond Hettinger
610326d48a
Show example of how to make a sorted dictionary
2009-11-10 19:35:55 +00:00
R. David Murray
754d770ed3
Merged revisions 76163 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76163 | r.david.murray | 2009-11-09 09:18:14 -0500 (Mon, 09 Nov 2009) | 2 lines
Remove redundant sentence.
........
2009-11-09 14:20:12 +00:00
R. David Murray
a5dcf2125f
Remove redundant sentence.
2009-11-09 14:18:14 +00:00
Benjamin Peterson
0ac6942a76
discuss how to use -p
2009-11-09 04:10:53 +00:00
Georg Brandl
1a22e87a30
#7271 : fix typo.
2009-11-07 08:26:07 +00:00
Georg Brandl
efc285880c
#7259 : show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
2009-11-04 07:38:12 +00:00
Georg Brandl
3e13bd6630
Merged revisions 76095 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76095 | georg.brandl | 2009-11-03 18:34:27 +0000 (Di, 03 Nov 2009) | 1 line
#7256 : add versionadded tags for functions copied from cgi.
........
2009-11-03 18:35:03 +00:00
Georg Brandl
a6714b2887
#7256 : add versionadded tags for functions copied from cgi.
2009-11-03 18:34:27 +00:00
Mark Dickinson
675b33a702
Merged revisions 76082 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76082 | mark.dickinson | 2009-11-03 16:26:14 +0000 (Tue, 03 Nov 2009) | 1 line
Fix doc typo reported by Arfrever.
........
2009-11-03 16:27:23 +00:00
Mark Dickinson
5b54432b1d
Fix doc typo reported by Arfrever.
2009-11-03 16:26:14 +00:00
Skip Montanaro
d823682322
typo (space-o?)
2009-11-03 02:44:50 +00:00
Skip Montanaro
6418577bb5
typo (space-o?)
2009-11-03 02:43:59 +00:00
Antoine Pitrou
2c970a2ba2
Remove official documentation entry for thread._count() and make the
...
docstring more descriptive instead.
2009-10-30 22:19:09 +00:00
Antoine Pitrou
59c44f36e0
Issue #7222 : Make thread "reaping" more reliable so that reference
...
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
2009-10-30 17:07:08 +00:00
Vinay Sajip
602beb88d2
Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
2009-10-28 23:28:16 +00:00
Vinay Sajip
a7d44001b1
Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
2009-10-28 23:28:16 +00:00
Georg Brandl
5d2eb34f5c
Merged revisions 75363,75365,75376,75392,75394,75403,75418,75484,75572,75580,75590,75592,75594-75596,75600,75602-75603,75605-75607,75610-75613,75616-75617,75623,75627,75647 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line
Add the Python FAQ lists to the documentation. Copied from sandbox/faq. Many thanks to AMK for the preparation work.
........
r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line
Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there.
........
r75376 | benjamin.peterson | 2009-10-12 03:26:07 +0200 (Mo, 12 Okt 2009) | 1 line
platform we don't care about
........
r75392 | andrew.kuchling | 2009-10-13 18:11:49 +0200 (Di, 13 Okt 2009) | 1 line
Various link, textual, and markup fixes
........
r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line
Fix markup.
........
r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line
#7126 : os.environ changes *do* take effect in subprocesses started with os.system().
........
r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line
#7116 : str.join() takes an iterable.
........
r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line
Fix missing word.
........
r75572 | benjamin.peterson | 2009-10-20 23:55:17 +0200 (Di, 20 Okt 2009) | 1 line
clarify buffer arg #7178
........
r75580 | georg.brandl | 2009-10-21 09:15:59 +0200 (Mi, 21 Okt 2009) | 1 line
#7170 : fix explanation about non-weakrefable builtin types.
........
r75590 | benjamin.peterson | 2009-10-22 04:36:47 +0200 (Do, 22 Okt 2009) | 1 line
rewrite to be nice to other implementations
........
r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line
Fix punctuation.
........
r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line
Fix markup.
........
r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line
Fix duplicate target.
........
r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line
Add a new directive marking up implementation details and start using it.
........
r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line
Make it more robust.
........
r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line
Document new directive.
........
r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line
Allow short form with text as argument.
........
r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line
Use "impl-detail" directive where applicable.
........
r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line
#6324 : membership test tries iteration via __iter__.
........
r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line
#7088 : document new functions in signal as Unix-only.
........
r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line
Reorder __slots__ fine print and add a clarification.
........
r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line
#7035 : improve docs of the various <method>_errors() functions, and give them docstrings.
........
r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line
#7156 : document curses as Unix-only.
........
r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line
#6977 : getopt does not support optional option arguments.
........
r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line
Add proper references.
........
r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line
Make printout margin important.
........
r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line
#7188 : fix optionxform() docs.
........
r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines
add further note about what's passed to optionxform
........
r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line
Fix markup.
........
2009-10-27 15:08:27 +00:00
Georg Brandl
8a85945151
Merged revisions 74861-74863,74876,74896,74930,74933,74952-74953,75015,75019,75260-75263,75265-75266,75289 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74861 | benjamin.peterson | 2009-09-17 05:18:28 +0200 (Do, 17 Sep 2009) | 1 line
pep 8 defaults
........
r74862 | brett.cannon | 2009-09-17 05:24:45 +0200 (Do, 17 Sep 2009) | 1 line
Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
........
r74863 | benjamin.peterson | 2009-09-17 05:27:33 +0200 (Do, 17 Sep 2009) | 1 line
rationalize a bit
........
r74876 | georg.brandl | 2009-09-17 18:15:53 +0200 (Do, 17 Sep 2009) | 1 line
#6932 : remove paragraph that advises relying on __del__ being called.
........
r74896 | georg.brandl | 2009-09-18 09:22:41 +0200 (Fr, 18 Sep 2009) | 1 line
#6936 : for interactive use, quit() is just fine.
........
r74930 | georg.brandl | 2009-09-18 23:21:41 +0200 (Fr, 18 Sep 2009) | 1 line
#6925 : rewrite docs for locals() and vars() a bit.
........
r74933 | georg.brandl | 2009-09-18 23:35:59 +0200 (Fr, 18 Sep 2009) | 1 line
#6930 : clarify description about byteorder handling in UTF decoder routines.
........
r74952 | georg.brandl | 2009-09-19 12:42:34 +0200 (Sa, 19 Sep 2009) | 1 line
#6946 : fix duplicate index entries for datetime classes.
........
r74953 | georg.brandl | 2009-09-19 14:04:16 +0200 (Sa, 19 Sep 2009) | 1 line
Fix references to threading.enumerate().
........
r75015 | georg.brandl | 2009-09-22 12:55:08 +0200 (Di, 22 Sep 2009) | 1 line
Fix encoding name.
........
r75019 | vinay.sajip | 2009-09-22 19:23:41 +0200 (Di, 22 Sep 2009) | 1 line
Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
........
r75260 | andrew.kuchling | 2009-10-05 23:24:20 +0200 (Mo, 05 Okt 2009) | 1 line
Wording fix
........
r75261 | andrew.kuchling | 2009-10-05 23:24:35 +0200 (Mo, 05 Okt 2009) | 1 line
Fix narkup
........
r75262 | andrew.kuchling | 2009-10-05 23:25:03 +0200 (Mo, 05 Okt 2009) | 1 line
Document 'skip' parameter to constructor
........
r75263 | andrew.kuchling | 2009-10-05 23:25:35 +0200 (Mo, 05 Okt 2009) | 1 line
Note side benefit of socket.create_connection()
........
r75265 | andrew.kuchling | 2009-10-06 00:31:11 +0200 (Di, 06 Okt 2009) | 1 line
Reword sentence
........
r75266 | andrew.kuchling | 2009-10-06 00:32:48 +0200 (Di, 06 Okt 2009) | 1 line
Use standard comma punctuation; reword some sentences in the docs
........
r75289 | mark.dickinson | 2009-10-08 22:02:25 +0200 (Do, 08 Okt 2009) | 2 lines
Issue #7051 : Clarify behaviour of 'g' and 'G'-style formatting.
........
2009-10-27 14:59:26 +00:00
Georg Brandl
5be70d44da
Merged revisions 74492,74531,74545-74550,74553-74555,74588,74603,74608,74614,74616-74618,74631-74633,74652-74653,74666,74671,74737,74739,74779,74781-74782,74784,74791,74793,74818-74820,74822,74832 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74492 | r.david.murray | 2009-08-17 21:26:49 +0200 (Mo, 17 Aug 2009) | 2 lines
Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
........
r74531 | vinay.sajip | 2009-08-21 00:04:32 +0200 (Fr, 21 Aug 2009) | 1 line
Added section on exceptions raised during logging.
........
r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line
#6772 : mention utf-8 as utf8 alias.
........
r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line
#6725 : spell "namespace" consistently.
........
r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line
#6718 : fix example.
........
r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line
#6677 : mention "deleting" as an alias for removing files.
........
r74549 | benjamin.peterson | 2009-08-24 19:42:36 +0200 (Mo, 24 Aug 2009) | 1 line
fix pdf building by teaching latex the right encoding package
........
r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line
#6677 : note that rmdir only removes empty directories.
........
r74553 | r.david.murray | 2009-08-27 03:04:59 +0200 (Do, 27 Aug 2009) | 2 lines
Remove leftover text from end of sentence.
........
r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line
Typo fix.
........
r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line
#6787 : reference fix.
........
r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line
#6803 : fix old name.
........
r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line
other -> others where multiple arguments are accepted.
........
r74608 | senthil.kumaran | 2009-08-31 18:40:27 +0200 (Mo, 31 Aug 2009) | 3 lines
Doc fix for the issue2637.
........
r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line
#6813 : better documentation for numberless string formats.
........
r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line
#6808 : clarification.
........
r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line
#6765 : hint that log(x, base) is not very sophisticated.
........
r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line
#6810 : add a link to the section about frame objects instead of just a description where to find it.
........
r74631 | georg.brandl | 2009-09-02 22:37:16 +0200 (Mi, 02 Sep 2009) | 1 line
#6821 : fix signature of PyBuffer_Release().
........
r74632 | georg.brandl | 2009-09-03 09:27:26 +0200 (Do, 03 Sep 2009) | 1 line
#6828 : fix wrongly highlighted blocks.
........
r74633 | georg.brandl | 2009-09-03 14:31:39 +0200 (Do, 03 Sep 2009) | 1 line
#6757 : complete the list of types that marshal can serialize.
........
r74652 | georg.brandl | 2009-09-04 13:25:37 +0200 (Fr, 04 Sep 2009) | 1 line
#6756 : add some info about the "acct" parameter.
........
r74653 | georg.brandl | 2009-09-04 13:32:18 +0200 (Fr, 04 Sep 2009) | 1 line
#6777 : dont discourage usage of Exception.args or promote usage of Exception.message.
........
r74666 | georg.brandl | 2009-09-05 11:04:09 +0200 (Sa, 05 Sep 2009) | 1 line
#6841 : remove duplicated word.
........
r74671 | georg.brandl | 2009-09-05 18:47:17 +0200 (Sa, 05 Sep 2009) | 1 line
#6843 : add link from filterwarnings to where the meaning of the arguments is covered.
........
r74737 | georg.brandl | 2009-09-09 18:49:13 +0200 (Mi, 09 Sep 2009) | 1 line
Properly document copy and deepcopy as functions.
........
r74739 | georg.brandl | 2009-09-11 09:55:20 +0200 (Fr, 11 Sep 2009) | 1 line
Move function back to its section.
........
r74779 | michael.foord | 2009-09-13 18:13:36 +0200 (So, 13 Sep 2009) | 1 line
Change to tutorial wording for reading text / binary files on Windows. Issue #6301 .
........
r74781 | michael.foord | 2009-09-13 18:46:19 +0200 (So, 13 Sep 2009) | 1 line
Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
........
r74782 | michael.foord | 2009-09-13 19:07:46 +0200 (So, 13 Sep 2009) | 1 line
Tutorial tweaks. Issue 6849.
........
r74784 | georg.brandl | 2009-09-13 20:15:07 +0200 (So, 13 Sep 2009) | 1 line
Typo fix.
........
r74791 | georg.brandl | 2009-09-14 16:08:54 +0200 (Mo, 14 Sep 2009) | 1 line
#6574 : list the future features in a table.
........
r74793 | georg.brandl | 2009-09-14 16:50:47 +0200 (Mo, 14 Sep 2009) | 1 line
#6908 : fix association of hashlib hash attributes.
........
r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line
#6880 : add reference to classes section in exceptions section, which comes earlier.
........
r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line
#6876 : fix base class constructor invocation in example.
........
r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line
#6891 : comment out dead link to Unicode article.
........
r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line
#5621 : refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
........
r74832 | georg.brandl | 2009-09-16 17:57:46 +0200 (Mi, 16 Sep 2009) | 1 line
Rewrap long lines.
........
2009-10-27 14:50:20 +00:00
Georg Brandl
46e9daa3ae
Merged revisions 74210,74239,74252-74253,74256,74258-74261,74332-74333,74404,74411,74445,74465,74467,74488 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74210 | georg.brandl | 2009-07-26 16:44:23 +0200 (So, 26 Jul 2009) | 1 line
Move member descriptions inside the classes.
........
r74239 | georg.brandl | 2009-07-28 20:55:32 +0200 (Di, 28 Jul 2009) | 1 line
Clarify quote_plus() usage.
........
r74252 | georg.brandl | 2009-07-29 18:06:31 +0200 (Mi, 29 Jul 2009) | 1 line
#6593 : fix link targets.
........
r74253 | georg.brandl | 2009-07-29 18:09:17 +0200 (Mi, 29 Jul 2009) | 1 line
#6591 : add reference to ioctl in fcntl module for platforms other than Windows.
........
r74256 | georg.brandl | 2009-07-29 18:32:30 +0200 (Mi, 29 Jul 2009) | 1 line
#6336 : Add nb_divide.
........
r74258 | georg.brandl | 2009-07-29 18:57:05 +0200 (Mi, 29 Jul 2009) | 1 line
Add a link to readline, and mention IPython and bpython.
........
r74259 | georg.brandl | 2009-07-29 19:07:21 +0200 (Mi, 29 Jul 2009) | 1 line
Fix some markup and small factual glitches found by M. Markert.
........
r74260 | georg.brandl | 2009-07-29 19:15:20 +0200 (Mi, 29 Jul 2009) | 1 line
Fix a few markup glitches.
........
r74261 | georg.brandl | 2009-07-29 19:50:25 +0200 (Mi, 29 Jul 2009) | 1 line
Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.
........
r74332 | georg.brandl | 2009-08-06 19:23:21 +0200 (Do, 06 Aug 2009) | 1 line
Fix punctuation and one copy-paste error.
........
r74333 | georg.brandl | 2009-08-06 19:43:55 +0200 (Do, 06 Aug 2009) | 1 line
#6658 : fix two typos.
........
r74404 | georg.brandl | 2009-08-13 14:05:52 +0200 (Do, 13 Aug 2009) | 1 line
Use locale.format_string() for more than one specifier.
........
r74411 | georg.brandl | 2009-08-13 14:57:25 +0200 (Do, 13 Aug 2009) | 2 lines
Remove potentially confusing sentence in __mangling description.
........
r74445 | vinay.sajip | 2009-08-14 13:33:54 +0200 (Fr, 14 Aug 2009) | 1 line
Added versionchanged notices for optional 'delay' parameter to file handler classes.
........
r74465 | vinay.sajip | 2009-08-16 01:23:12 +0200 (So, 16 Aug 2009) | 1 line
Added section on logging to one file from multiple processes.
........
r74467 | vinay.sajip | 2009-08-16 01:34:47 +0200 (So, 16 Aug 2009) | 1 line
Refined section on logging to one file from multiple processes.
........
r74488 | vinay.sajip | 2009-08-17 15:14:37 +0200 (Mo, 17 Aug 2009) | 1 line
Further refined section on logging to one file from multiple processes.
........
2009-10-27 14:41:50 +00:00
Georg Brandl
4ae4f876a2
Merged revisions 74209 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line
builtin -> built-in.
........
2009-10-27 14:37:48 +00:00
Georg Brandl
0dfdf006a6
Merged revisions 74207 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line
#6577 : fix (hopefully) all links to builtin instead of module/class-specific objects.
........
2009-10-27 14:36:50 +00:00
Georg Brandl
cda25a1af6
Merged revisions 74008,74021-74022,74074-74075,74077,74148,74179,74188,74192-74194,74200,74205 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74008 | benjamin.peterson | 2009-07-15 02:46:42 +0200 (Mi, 15 Jul 2009) | 1 line
update year
........
r74021 | georg.brandl | 2009-07-16 09:33:04 +0200 (Do, 16 Jul 2009) | 1 line
#6486 : start with built in functions rather than "built in objects".
........
r74022 | georg.brandl | 2009-07-16 09:38:35 +0200 (Do, 16 Jul 2009) | 1 line
#6481 : fix typo in os.system() replacement.
........
r74074 | georg.brandl | 2009-07-18 11:03:10 +0200 (Sa, 18 Jul 2009) | 1 line
#6513 : fix example code: warning categories are classes, not instances.
........
r74075 | georg.brandl | 2009-07-18 11:06:31 +0200 (Sa, 18 Jul 2009) | 1 line
#6505 : fix typos.
........
r74077 | georg.brandl | 2009-07-18 11:43:40 +0200 (Sa, 18 Jul 2009) | 1 line
#6489 : fix an ambiguity in getiterator() documentation.
........
r74148 | ezio.melotti | 2009-07-21 22:18:27 +0200 (Di, 21 Jul 2009) | 1 line
#6536 fixed typo
........
r74179 | ezio.melotti | 2009-07-22 23:08:49 +0200 (Mi, 22 Jul 2009) | 1 line
#6423 has_key -> in
........
r74188 | benjamin.peterson | 2009-07-23 16:25:31 +0200 (Do, 23 Jul 2009) | 1 line
use bools
........
r74192 | georg.brandl | 2009-07-24 18:28:38 +0200 (Fr, 24 Jul 2009) | 1 line
Fix arg types of et#.
........
r74193 | georg.brandl | 2009-07-24 18:46:38 +0200 (Fr, 24 Jul 2009) | 1 line
Dont put "void" in signature for nullary functions.
........
r74194 | georg.brandl | 2009-07-24 22:09:46 +0200 (Fr, 24 Jul 2009) | 1 line
#6564 : fix section about the two raise syntaxes.
........
r74200 | georg.brandl | 2009-07-25 15:02:15 +0200 (Sa, 25 Jul 2009) | 1 line
#6571 : add index entries for more operators.
........
r74205 | georg.brandl | 2009-07-26 15:36:39 +0200 (So, 26 Jul 2009) | 1 line
#6576 : fix cross-refs in re docs.
........
2009-10-27 14:34:21 +00:00
Georg Brandl
f18d5cea53
Merged revisions 73286,73294,73296,73459,73462-73463,73544,73576-73577,73595-73596,73693-73694,73704-73705,73707,73713,73937-73940,73945,73951,73979 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73286 | georg.brandl | 2009-06-08 09:57:35 +0200 (Mo, 08 Jun 2009) | 1 line
Remove period from end of headings.
........
r73294 | georg.brandl | 2009-06-08 15:34:52 +0200 (Mo, 08 Jun 2009) | 1 line
#6194 : O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
........
r73296 | georg.brandl | 2009-06-08 18:03:41 +0200 (Mo, 08 Jun 2009) | 1 line
#6238 : add fillchar to string.just function family.
........
r73459 | raymond.hettinger | 2009-06-17 03:43:47 +0200 (Mi, 17 Jun 2009) | 1 line
Add usage note.
........
r73462 | georg.brandl | 2009-06-17 11:36:21 +0200 (Mi, 17 Jun 2009) | 1 line
#6295 : clarify blocking behavior of getch().
........
r73463 | georg.brandl | 2009-06-17 11:43:31 +0200 (Mi, 17 Jun 2009) | 1 line
#6255 : document PyInt_FromSize_t.
........
r73544 | georg.brandl | 2009-06-24 08:41:19 +0200 (Mi, 24 Jun 2009) | 1 line
#6332 : fix word dupes throughout the source.
........
r73576 | benjamin.peterson | 2009-06-27 01:37:06 +0200 (Sa, 27 Jun 2009) | 1 line
document is_declared_global()
........
r73577 | benjamin.peterson | 2009-06-27 16:16:23 +0200 (Sa, 27 Jun 2009) | 1 line
link to extensive generator docs in the reference manual
........
r73595 | ezio.melotti | 2009-06-28 01:45:39 +0200 (So, 28 Jun 2009) | 1 line
stmt and setup can contain multiple statements, see #5896
........
r73596 | ezio.melotti | 2009-06-28 02:07:45 +0200 (So, 28 Jun 2009) | 1 line
Fixed a wrong apostrophe
........
r73693 | jesse.noller | 2009-06-29 20:20:34 +0200 (Mo, 29 Jun 2009) | 1 line
Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
........
r73694 | jesse.noller | 2009-06-29 20:24:26 +0200 (Mo, 29 Jun 2009) | 1 line
Issue 5740: multiprocessing.connection.* authkey fixes
........
r73704 | georg.brandl | 2009-06-30 18:15:43 +0200 (Di, 30 Jun 2009) | 1 line
#6376 : fix copy-n-paste oversight.
........
r73705 | georg.brandl | 2009-06-30 18:17:28 +0200 (Di, 30 Jun 2009) | 1 line
#6374 : add a bit of explanation about shell=True on Windows.
........
r73707 | georg.brandl | 2009-06-30 18:35:11 +0200 (Di, 30 Jun 2009) | 1 line
#6371 : fix link targets.
........
r73713 | ezio.melotti | 2009-07-01 00:56:16 +0200 (Mi, 01 Jul 2009) | 1 line
Fixed a backslash that was not supposed to be there
........
r73937 | georg.brandl | 2009-07-11 12:12:36 +0200 (Sa, 11 Jul 2009) | 1 line
Fix style.
........
r73938 | georg.brandl | 2009-07-11 12:14:54 +0200 (Sa, 11 Jul 2009) | 1 line
#6446 : fix import_spam() function to use correct error and reference handling.
........
r73939 | georg.brandl | 2009-07-11 12:18:10 +0200 (Sa, 11 Jul 2009) | 1 line
#6448 : clarify docs for find_module().
........
r73940 | georg.brandl | 2009-07-11 12:37:38 +0200 (Sa, 11 Jul 2009) | 1 line
#6430 : add note about size of "u" type.
........
r73945 | georg.brandl | 2009-07-11 12:51:31 +0200 (Sa, 11 Jul 2009) | 1 line
#6456 : clarify the meaning of constants used as arguments to nl_langinfo().
........
r73951 | georg.brandl | 2009-07-11 16:23:38 +0200 (Sa, 11 Jul 2009) | 2 lines
array.array is actually a class.
........
r73979 | benjamin.peterson | 2009-07-12 18:56:54 +0200 (So, 12 Jul 2009) | 1 line
add versionadded
........
2009-10-27 14:29:22 +00:00
Georg Brandl
a3c242c19d
Merged revisions 72558,72745,72750,72876,73042,73045-73048,73069,73089,73163,73186,73213,73215,73217,73257-73258,73260 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72558 | benjamin.peterson | 2009-05-11 01:52:09 +0200 (Mo, 11 Mai 2009) | 1 line
sys.setdefaultencoding() strikes me as a bad example
........
r72745 | benjamin.peterson | 2009-05-17 16:16:29 +0200 (So, 17 Mai 2009) | 1 line
ignore .rst files in sphinx its self
........
r72750 | benjamin.peterson | 2009-05-17 18:59:27 +0200 (So, 17 Mai 2009) | 1 line
chop off slash
........
r72876 | benjamin.peterson | 2009-05-23 22:59:09 +0200 (Sa, 23 Mai 2009) | 1 line
remove mention of old ctypes version
........
r73042 | benjamin.peterson | 2009-05-30 05:10:52 +0200 (Sa, 30 Mai 2009) | 1 line
no fdatasync on macos
........
r73045 | georg.brandl | 2009-05-30 09:26:04 +0200 (Sa, 30 Mai 2009) | 1 line
#6146 : fix markup bug.
........
r73046 | georg.brandl | 2009-05-30 09:31:25 +0200 (Sa, 30 Mai 2009) | 1 line
Use preferred form of raising exceptions.
........
r73047 | georg.brandl | 2009-05-30 12:33:23 +0200 (Sa, 30 Mai 2009) | 1 line
Fix some more small markup problems.
........
r73048 | georg.brandl | 2009-05-30 12:34:25 +0200 (Sa, 30 Mai 2009) | 1 line
Fix markup problem.
........
r73069 | benjamin.peterson | 2009-05-31 02:42:42 +0200 (So, 31 Mai 2009) | 1 line
fix signature
........
r73089 | andrew.kuchling | 2009-06-01 02:14:19 +0200 (Mo, 01 Jun 2009) | 1 line
The class for regexes isn't called RegexObject any more; correct the text
........
r73163 | georg.brandl | 2009-06-03 09:25:35 +0200 (Mi, 03 Jun 2009) | 1 line
Use the preferred form of raise statements in the docs.
........
r73186 | georg.brandl | 2009-06-03 23:21:09 +0200 (Mi, 03 Jun 2009) | 1 line
#6174 : fix indentation in code example.
........
r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line
#5967 : note that the C slicing APIs do not support negative indices.
........
r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line
#6176 : fix man page section for flock(2).
........
r73217 | georg.brandl | 2009-06-04 12:27:21 +0200 (Do, 04 Jun 2009) | 1 line
#6175 : document that inet_aton supports alternate input formats with less than three dots.
........
r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line
#6211 : elaborate a bit on ways to call the function.
........
r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line
#6204 : use a real reference instead of "see later".
........
r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line
#6224 : s/JPython/Jython/, and remove one link to a module nine years old.
........
2009-10-27 14:19:50 +00:00
Georg Brandl
20f2ee9439
Merged revisions 71094,71102-71103,71106,71486,71962,72053,72221,72418-72419 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71094 | vinay.sajip | 2009-04-03 12:23:18 +0200 (Fr, 03 Apr 2009) | 1 line
Added warning about logging use from asynchronous signal handlers.
........
r71102 | andrew.kuchling | 2009-04-03 23:44:49 +0200 (Fr, 03 Apr 2009) | 1 line
Fix 'the the'; grammar fix
........
r71103 | andrew.kuchling | 2009-04-03 23:45:29 +0200 (Fr, 03 Apr 2009) | 1 line
Fix 'the the' duplication
........
r71106 | vinay.sajip | 2009-04-03 23:58:16 +0200 (Fr, 03 Apr 2009) | 1 line
Clarified warning about logging use from asynchronous signal handlers.
........
r71486 | andrew.kuchling | 2009-04-11 18:18:14 +0200 (Sa, 11 Apr 2009) | 1 line
Re-word
........
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.
........
r72053 | raymond.hettinger | 2009-04-27 23:12:54 +0200 (Mo, 27 Apr 2009) | 1 line
Add example to the seealso section.
........
r72221 | benjamin.peterson | 2009-05-02 22:26:53 +0200 (Sa, 02 Mai 2009) | 1 line
add myself
........
r72418 | r.david.murray | 2009-05-07 03:39:25 +0200 (Do, 07 Mai 2009) | 3 lines
Document how to pass a 'decode' argument to get_payload when
is_multipart is False.
........
r72419 | r.david.murray | 2009-05-07 03:43:57 +0200 (Do, 07 Mai 2009) | 2 lines
Revert inappropriate doc change.
........
2009-10-27 14:10:28 +00:00
Georg Brandl
785595448b
Merged revisions 70590,70650,70704,70768-70769,70776,71008,71010-71011 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70590 | skip.montanaro | 2009-03-25 01:52:11 +0100 (Mi, 25 Mär 2009) | 1 line
clarify the type of data returned
........
r70650 | benjamin.peterson | 2009-03-28 20:16:10 +0100 (Sa, 28 Mär 2009) | 1 line
give os.symlink and os.link() better parameter names #5564
........
r70704 | benjamin.peterson | 2009-03-30 04:49:32 +0200 (Mo, 30 Mär 2009) | 1 line
there's actually three methods here #5600
........
r70768 | andrew.kuchling | 2009-03-31 00:29:15 +0200 (Di, 31 Mär 2009) | 1 line
Typo fixes
........
r70769 | andrew.kuchling | 2009-03-31 00:29:53 +0200 (Di, 31 Mär 2009) | 1 line
Remove comment
........
r70776 | andrew.kuchling | 2009-03-31 01:08:24 +0200 (Di, 31 Mär 2009) | 1 line
typo fix
........
r71008 | andrew.kuchling | 2009-04-02 02:02:14 +0200 (Do, 02 Apr 2009) | 1 line
Typo fix
........
r71010 | benjamin.peterson | 2009-04-02 02:11:52 +0200 (Do, 02 Apr 2009) | 1 line
fix markup
........
r71011 | benjamin.peterson | 2009-04-02 02:12:47 +0200 (Do, 02 Apr 2009) | 1 line
this should be :noindex:
........
2009-10-27 14:03:07 +00:00
Georg Brandl
51b72162b6
Merged revisions 70171,70183,70290,70292,70315,70438,70464 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70171 | facundo.batista | 2009-03-04 22:18:17 +0100 (Mi, 04 Mär 2009) | 3 lines
Fixed a typo.
........
r70183 | benjamin.peterson | 2009-03-05 01:17:57 +0100 (Do, 05 Mär 2009) | 1 line
add example
........
r70290 | raymond.hettinger | 2009-03-10 02:07:30 +0100 (Di, 10 Mär 2009) | 1 line
Update url for the spec.
........
r70292 | raymond.hettinger | 2009-03-10 05:40:24 +0100 (Di, 10 Mär 2009) | 1 line
Clarify the meaning of normal and subnormal.
........
r70315 | raymond.hettinger | 2009-03-12 01:25:03 +0100 (Do, 12 Mär 2009) | 1 line
Add reference to solution for a commonly asked question.
........
r70438 | benjamin.peterson | 2009-03-17 21:29:51 +0100 (Di, 17 Mär 2009) | 1 line
I thought this was begging for an example
........
r70464 | benjamin.peterson | 2009-03-18 21:58:09 +0100 (Mi, 18 Mär 2009) | 1 line
a much better example
........
2009-10-27 13:54:57 +00:00
Georg Brandl
d3717c50d3
Merged revisions 69987,70002,70061 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69987 | benjamin.peterson | 2009-02-26 01:30:11 +0100 (Do, 26 Feb 2009) | 1 line
fix str.format()'s first arg #5371
........
r70002 | andrew.kuchling | 2009-02-26 23:34:30 +0100 (Do, 26 Feb 2009) | 1 line
The curses panel library is now supported
........
r70061 | hirokazu.yamamoto | 2009-02-28 16:24:00 +0100 (Sa, 28 Feb 2009) | 1 line
Binary flag is needed on windows.
........
2009-10-27 13:44:06 +00:00
Georg Brandl
58ed928c95
Merged revisions 69520,69633,69672,69703-69704,69717,69731 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69520 | benjamin.peterson | 2009-02-12 04:50:00 +0100 (Do, 12 Feb 2009) | 1 line
os.fsync() should be used to ensure that data is written to disk
........
r69633 | hirokazu.yamamoto | 2009-02-15 10:19:48 +0100 (So, 15 Feb 2009) | 1 line
Fixed typo.
........
r69672 | benjamin.peterson | 2009-02-16 15:54:34 +0100 (Mo, 16 Feb 2009) | 1 line
note functions that are not aliased to PyBytes_ #5280
........
r69703 | raymond.hettinger | 2009-02-16 23:42:54 +0100 (Mo, 16 Feb 2009) | 3 lines
Issue 5229: Documentation for super() neglects to say what super() actually does
........
r69704 | raymond.hettinger | 2009-02-17 00:00:25 +0100 (Di, 17 Feb 2009) | 1 line
Add explanation for super(type1, type2).
........
r69717 | marc-andre.lemburg | 2009-02-17 13:48:19 +0100 (Di, 17 Feb 2009) | 5 lines
Clarify the deprecation of platform.dist().
Add versionadded tags.
........
r69731 | gregory.p.smith | 2009-02-18 06:46:11 +0100 (Mi, 18 Feb 2009) | 3 lines
Clarify socket timeout behavior vs system network stack behavior on connect
for issue5293.
........
2009-10-27 13:38:33 +00:00
Georg Brandl
27e872389b
Merged revisions 69417,69435,69442 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69417 | benjamin.peterson | 2009-02-08 00:01:19 +0100 (So, 08 Feb 2009) | 1 line
document individual 2to3 fixers
........
r69435 | benjamin.peterson | 2009-02-08 15:38:13 +0100 (So, 08 Feb 2009) | 1 line
document numliterals fixer
........
r69442 | benjamin.peterson | 2009-02-08 16:14:57 +0100 (So, 08 Feb 2009) | 1 line
a few edits and typos
........
2009-10-27 13:31:19 +00:00
Georg Brandl
e00e2058c7
Merged revisions 68842,68862 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68842 | andrew.kuchling | 2009-01-21 03:16:26 +0100 (Mi, 21 Jan 2009) | 1 line
Markup fixes
........
r68862 | jesse.noller | 2009-01-22 22:53:22 +0100 (Do, 22 Jan 2009) | 1 line
Issue 4593: apply() documentation is unclear
........
2009-10-27 13:22:19 +00:00
Georg Brandl
93a80b5752
Merged revisions 68797 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68797 | raymond.hettinger | 2009-01-20 08:11:47 +0100 (Di, 20 Jan 2009) | 11 lines
Don't disrupt automatic url target name generation
with manually specified, conflicting names.
Before:
http://docs.python.org/dev/library/collections.html#id1
After:
http://docs.python.org/dev/library/collections.html#counter-objects
........
2009-10-27 13:21:23 +00:00
Georg Brandl
4f8084eda1
Merged revisions 68776-68777 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68776 | benjamin.peterson | 2009-01-19 17:17:54 +0100 (Mo, 19 Jan 2009) | 1 line
move BufferedIOBase into the base class section
........
r68777 | benjamin.peterson | 2009-01-19 17:18:27 +0100 (Mo, 19 Jan 2009) | 1 line
add email address
........
2009-10-27 13:20:10 +00:00
Georg Brandl
0d97d32a86
Merged revisions 68760 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68760 | vinay.sajip | 2009-01-19 07:49:19 +0100 (Mo, 19 Jan 2009) | 1 line
Added more cross-reference targets and tidied up list of useful handlers.
........
2009-10-27 13:19:20 +00:00
Georg Brandl
804e4b8f0f
Merged revisions 68633 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68633 | thomas.heller | 2009-01-16 19:53:44 +0100 (Fr, 16 Jan 2009) | 3 lines
Change an example in the docs to avoid a mistake when the code is copy
pasted and changed afterwards.
........
2009-10-27 13:15:21 +00:00
Georg Brandl
81daf31c26
Merged revisions 68623-68624 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68623 | vinay.sajip | 2009-01-15 23:48:13 +0100 (Do, 15 Jan 2009) | 1 line
Made minor changes/corrections in markup. Added a couple of section headings.
........
r68624 | vinay.sajip | 2009-01-16 00:04:47 +0100 (Fr, 16 Jan 2009) | 1 line
Minor changes/corrections in markup.
........
2009-10-27 13:14:28 +00:00
Georg Brandl
5e92150260
Merged revisions 68605 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68605 | raymond.hettinger | 2009-01-14 02:39:51 +0100 (Mi, 14 Jan 2009) | 1 line
Fix-up indentation of sample code blocks for namedtuple mthod definitions.
........
2009-10-27 13:12:17 +00:00
Mark Dickinson
da8652d920
Issue #7117 (backport py3k float repr) continued:
...
Add sys.float_repr_style attribute ('short' if short float
repr is in used; 'legacy' otherwise).
2009-10-24 14:01:08 +00:00
Georg Brandl
5460ff9d9f
Fix markup.
2009-10-24 10:04:19 +00:00
Fred Drake
d617cba62d
add further note about what's passed to optionxform
2009-10-23 13:04:51 +00:00
Georg Brandl
dc0205296b
#7188 : fix optionxform() docs.
2009-10-23 08:14:44 +00:00
Georg Brandl
d1bed8e5ef
#6977 : getopt does not support optional option arguments.
2009-10-22 15:54:35 +00:00
Georg Brandl
76d6d4a010
#7156 : document curses as Unix-only.
2009-10-22 15:52:15 +00:00
Georg Brandl
f4ffae2b2a
#7035 : improve docs of the various <method>_errors() functions, and give them docstrings.
2009-10-22 15:42:32 +00:00
Georg Brandl
c5026f8a7b
#7088 : document new functions in signal as Unix-only.
2009-10-22 15:04:09 +00:00
Georg Brandl
6c14e587f5
Use "impl-detail" directive where applicable.
2009-10-22 11:48:10 +00:00
Georg Brandl
08be2e2f35
Add a new directive marking up implementation details and start using it.
2009-10-22 08:05:04 +00:00
Georg Brandl
ceb32af23f
Fix markup.
2009-10-22 07:56:02 +00:00
Georg Brandl
0968fd679b
Fix punctuation.
2009-10-22 07:05:48 +00:00
Benjamin Peterson
ff81cb812d
rewrite to be nice to other implementations
2009-10-22 02:36:47 +00:00
Georg Brandl
cf842ad418
#7170 : fix explanation about non-weakrefable builtin types.
2009-10-21 07:15:59 +00:00
Benjamin Peterson
eb7c377659
clarify buffer arg #7178
2009-10-20 21:55:17 +00:00
Benjamin Peterson
e047d7953f
use property api
2009-10-20 03:14:10 +00:00
Georg Brandl
11abfe640f
Fix missing word.
2009-10-18 07:58:12 +00:00
Senthil Kumaran
ede15a56b8
Merged revisions 75478 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75478 | senthil.kumaran | 2009-10-18 07:28:45 +0530 (Sun, 18 Oct 2009) | 3 lines
Fix a typo.
........
2009-10-18 02:01:06 +00:00
Senthil Kumaran
83f1ef681f
Fix a typo.
2009-10-18 01:58:45 +00:00
Senthil Kumaran
3ae41accc6
Merged revisions 75474 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75474 | senthil.kumaran | 2009-10-18 06:54:41 +0530 (Sun, 18 Oct 2009) | 2 lines
Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
2009-10-18 01:31:15 +00:00
Senthil Kumaran
45a505f7e7
Fix for Issue7155 - urllib do not document default use of system proxy configuration
2009-10-18 01:24:41 +00:00
Georg Brandl
9b4e5820cb
#7116 : str.join() takes an iterable.
2009-10-14 18:48:32 +00:00
Georg Brandl
647e9d2652
#7126 : os.environ changes *do* take effect in subprocesses started with os.system().
2009-10-14 15:57:46 +00:00
Georg Brandl
5ffa146fde
Fix markup.
2009-10-13 18:10:59 +00:00
Benjamin Peterson
526bec21d0
platform we don't care about
2009-10-12 01:26:07 +00:00
Georg Brandl
a4314c2b21
Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there.
2009-10-11 20:16:16 +00:00
Vinay Sajip
1c77b7f84c
Issue #7086 : Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
2009-10-10 20:32:36 +00:00
Mark Dickinson
d5a713ec30
Issue #7051 : Clarify behaviour of 'g' and 'G'-style formatting.
2009-10-08 20:02:25 +00:00
Andrew M. Kuchling
fa6a4271c1
Backport r73983: Document the thousands separator.
2009-10-05 22:42:56 +00:00
Andrew M. Kuchling
f6e3d7d585
Document 'skip' parameter to constructor
2009-10-05 21:25:03 +00:00
Andrew M. Kuchling
f5852f59d9
Fix narkup
2009-10-05 21:24:35 +00:00
Andrew M. Kuchling
3fab04078d
Wording fix
2009-10-05 21:24:20 +00:00
Mark Dickinson
97d82171cb
Merged revisions 75205 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75205 | mark.dickinson | 2009-10-03 11:14:34 +0100 (Sat, 03 Oct 2009) | 2 lines
Issue #7028 : Add note to hex() builtin docs pointing to float.hex().
........
2009-10-03 10:15:54 +00:00
Mark Dickinson
530df33eac
Issue #7028 : Add note to hex() builtin docs pointing to float.hex().
2009-10-03 10:14:34 +00:00
Georg Brandl
f895cf5d33
#7031 : Add TestCase.assertIsInstance and negated method.
2009-10-01 20:59:31 +00:00
Antoine Pitrou
c9062ca308
Sync the 2.x `io` docs with py3k, with a small note as to the distinction
...
between bytes streams and text streams.
2009-10-01 17:08:03 +00:00
Gregory P. Smith
61df9e50ce
Merged revisions 75149 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75149 | gregory.p.smith | 2009-09-29 14:56:31 -0700 (Tue, 29 Sep 2009) | 3 lines
Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
........
2009-09-29 21:58:48 +00:00
Gregory P. Smith
657024cd26
Mention issue6972 in extractall docs about overwriting things outside of
...
the supplied path.
2009-09-29 21:56:31 +00:00
Philip Jenvey
7865296ca3
Merged revisions 75143 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines
#5329 : fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
........
2009-09-29 19:18:11 +00:00
Philip Jenvey
8b9020458a
#5329 : fix os.popen* regression from 2.5: don't execute commands as a sequence
...
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
2009-09-29 19:10:15 +00:00
Raymond Hettinger
13305f681b
Issue 7008: Better document str.title and show how to work around the apostrophe problem.
2009-09-29 18:53:24 +00:00
Raymond Hettinger
b4b94ef437
Issue 7008: Better document str.title and show how to work around the apostrophe problem.
2009-09-29 18:48:09 +00:00
Mark Dickinson
b93fff0a57
Issue #3366 : Add gamma function to math module.
...
(lgamma, erf and erfc to follow).
2009-09-28 18:54:55 +00:00
Michael Foord
17565e5b7b
Documentation improvement for load_tests protocol in unittest. Issue 6515.
2009-09-27 20:08:23 +00:00
Vinay Sajip
4780c9a0e0
Tidied up name of parameter in StreamHandler
2009-09-26 14:53:32 +00:00
Ezio Melotti
9ba83c50f4
Merged revisions 75070 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line
#7000 : document "sep" in capwords. Add a few tests
........
2009-09-26 11:23:16 +00:00
Ezio Melotti
9aac2455ab
#7000 : document "sep" in capwords. Add a few tests
2009-09-26 11:20:53 +00:00
Benjamin Peterson
02c0943ea3
Merged revisions 75068 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line
comment out ugly xxx
........
2009-09-26 03:00:26 +00:00
Benjamin Peterson
afdbe3d661
comment out ugly xxx
2009-09-26 02:57:59 +00:00
Ezio Melotti
c24d035e9b
Merged revisions 75039 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line
improved phrasing, markup and example
........
2009-09-23 21:39:50 +00:00
Ezio Melotti
2fd3592e70
improved phrasing, markup and example
2009-09-23 21:36:39 +00:00
Benjamin Peterson
751c203862
Merged revisions 75032 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line
fix typos/rephrase
........
2009-09-22 22:30:03 +00:00
Benjamin Peterson
ca66cb5ce0
fix typos/rephrase
2009-09-22 22:15:28 +00:00
Brett Cannon
e0789ac0c9
Merged revisions 75024 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line
Fix a minor doc syntax typo.
........
2009-09-22 20:06:53 +00:00
Brett Cannon
2f75572f44
Fix a minor doc syntax typo.
2009-09-22 20:04:24 +00:00
Vinay Sajip
f778bec8ed
Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
2009-09-22 17:23:41 +00:00
Georg Brandl
ac87077b37
Fix encoding name.
2009-09-22 10:55:08 +00:00
Doug Hellmann
0108ed362a
Merged revisions 74984 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74984 | doug.hellmann | 2009-09-20 16:44:13 -0400 (Sun, 20 Sep 2009) | 2 lines
Fix markup for external links.
........
2009-09-20 20:55:04 +00:00
Doug Hellmann
1d18b5b929
Fix markup for external links.
2009-09-20 20:44:13 +00:00
Ronald Oussoren
9f20d9d0ee
Issue 6877: this patch makes it possible to link the readline extension
...
to the libedit emulation of the readline API on OSX 10.5 or later.
This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
2009-09-20 14:18:15 +00:00
Georg Brandl
f4da666880
Fix references to threading.enumerate().
2009-09-19 12:04:16 +00:00
Georg Brandl
592c58d356
#6946 : fix duplicate index entries for datetime classes.
2009-09-19 10:42:34 +00:00
Georg Brandl
54967d994a
#6925 : rewrite docs for locals() and vars() a bit.
2009-09-18 21:21:41 +00:00
Benjamin Peterson
332d721750
add keyword arguments support to str/unicode encode and decode #6300
2009-09-18 21:14:55 +00:00
Georg Brandl
a3594748ab
Merged revisions 74621,74823-74824,74868,74877-74878 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line
#6638 : fix wrong parameter name and markup a class.
........
r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line
Remove strange trailing commas.
........
r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line
#6892 : fix optparse example involving help option.
........
r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines
String values should be shown with quotes, to avoid confusion with constants.
........
r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line
Remove duplicate doc of enable/disable_interspersed_args.
........
r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line
Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
........
2009-09-17 22:07:38 +00:00
Georg Brandl
b926ebb896
Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
2009-09-17 17:14:04 +00:00
Georg Brandl
7842a41f5c
Remove duplicate doc of enable/disable_interspersed_args.
2009-09-17 16:26:06 +00:00
Georg Brandl
304d3966ee
#6932 : remove paragraph that advises relying on __del__ being called.
2009-09-17 16:15:53 +00:00
Georg Brandl
bc3777d85e
String values should be shown with quotes, to avoid confusion with constants.
2009-09-17 10:23:02 +00:00
Benjamin Peterson
fd1fcffced
pep 8 defaults
2009-09-17 03:18:28 +00:00
Georg Brandl
a50d20a5b1
Rewrap long lines.
2009-09-16 15:57:46 +00:00
Georg Brandl
718b221e06
#6892 : fix optparse example involving help option.
2009-09-16 13:11:06 +00:00
Georg Brandl
d7226ffe0b
Remove strange trailing commas.
2009-09-16 13:06:22 +00:00
Georg Brandl
b29709adc8
#6876 : fix base class constructor invocation in example.
2009-09-16 09:24:57 +00:00
Ezio Melotti
0d28764d3d
Merged revisions 74799 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line
#6917 - typo in method name
........
2009-09-15 18:46:35 +00:00
Ezio Melotti
038f38d3ac
#6917 - typo in method name
2009-09-15 18:41:43 +00:00
Georg Brandl
58d23fbb6c
#6908 : fix association of hashlib hash attributes.
2009-09-14 14:50:47 +00:00
Georg Brandl
7eb43b7c70
#6574 : list the future features in a table.
2009-09-14 14:08:54 +00:00
Michael Foord
dc0460a309
Remove an extraneous space in unittest documentation.
2009-09-13 19:08:18 +00:00
Michael Foord
e91ea56b30
Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
2009-09-13 19:07:03 +00:00
Georg Brandl
6848d82a7c
Typo fix.
2009-09-13 18:15:07 +00:00
Michael Foord
668be589ef
Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
2009-09-13 16:46:19 +00:00
Michael Foord
c3f79373e8
Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
2009-09-13 16:40:02 +00:00
Lars Gustäbel
21121e64b4
Issue #6856 : Add a filter keyword argument to TarFile.add().
...
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl
ffdde9e959
Properly document copy and deepcopy as functions.
2009-09-09 16:49:13 +00:00
Georg Brandl
f01697014f
#6843 : add link from filterwarnings to where the meaning of the arguments is covered.
2009-09-05 16:47:17 +00:00
Georg Brandl
609910c210
#6841 : remove duplicated word.
2009-09-05 09:04:09 +00:00
Georg Brandl
601ee7f847
#6756 : add some info about the "acct" parameter.
2009-09-04 11:25:37 +00:00
Georg Brandl
af795e5eea
#6757 : complete the list of types that marshal can serialize.
2009-09-03 12:31:39 +00:00
Georg Brandl
8514b85edc
#6638 : fix wrong parameter name and markup a class.
2009-09-01 08:06:03 +00:00
Georg Brandl
86158fc4c7
#6810 : add a link to the section about frame objects instead of just a description where to find it.
2009-09-01 08:00:47 +00:00
Georg Brandl
018ad1c949
#6765 : hint that log(x, base) is not very sophisticated.
2009-09-01 07:53:37 +00:00
Georg Brandl
254c17c758
#6813 : better documentation for numberless string formats.
2009-09-01 07:40:54 +00:00
Senthil Kumaran
90161375c6
Doc fix for the issue2637.
2009-08-31 16:40:27 +00:00
Georg Brandl
4ea46a6614
other -> others where multiple arguments are accepted.
2009-08-31 06:38:29 +00:00
Georg Brandl
fc27c34639
Merged revisions 74590 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74590 | georg.brandl | 2009-08-30 11:51:53 +0000 (So, 30 Aug 2009) | 1 line
#6801 : fix copy-paste oversight.
........
2009-08-30 21:06:47 +00:00
Georg Brandl
7d65fbfed4
#6801 : fix copy-paste oversight.
2009-08-30 11:51:53 +00:00
Georg Brandl
6f8b99e868
#6803 : fix old name.
2009-08-30 08:35:01 +00:00
Tarek Ziadé
95b0991af3
Merged revisions 74578 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sat, 29 Aug 2009) | 1 line
fixed #6801 : symmetric_difference_update also accepts pipe
........
2009-08-29 13:37:34 +00:00
Tarek Ziadé
3092ed977f
fixed #6801 : symmetric_difference_update also accepts pipe
2009-08-29 13:33:21 +00:00
Kristján Valur Jónsson
e2a77980b6
issue 6275
...
Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package. This allows further tests on the exception that was raised after the context manager exits.
2009-08-27 22:20:21 +00:00
Georg Brandl
e746daa2cb
#6787 : reference fix.
2009-08-27 19:02:43 +00:00
Georg Brandl
185bd22564
Typo fix.
2009-08-27 18:59:02 +00:00
R. David Murray
e7ba742efa
Remove leftover text from end of sentence.
2009-08-27 01:04:59 +00:00
Georg Brandl
1b2695a4c2
#6677 : note that rmdir only removes empty directories.
2009-08-24 17:48:40 +00:00
Georg Brandl
7543997d74
#6677 : mention "deleting" as an alias for removing files.
2009-08-24 17:24:27 +00:00
Georg Brandl
e8ddbece0f
#6718 : fix example.
2009-08-24 17:22:05 +00:00
Georg Brandl
87296628f1
#6772 : mention utf-8 as utf8 alias.
2009-08-24 17:14:29 +00:00
Vinay Sajip
333c6e7d8f
Added section on exceptions raised during logging.
2009-08-20 22:04:32 +00:00
Tarek Ziadé
764fc235a6
#6693 : New functions in site.py to get user/global site packages paths.
2009-08-20 21:23:13 +00:00
Gregory P. Smith
4e63d54b36
Add weakref support to the thread.lock type.
2009-08-20 09:39:38 +00:00
Skip Montanaro
c4e36cdfee
missing module ref (issue6723)
2009-08-18 14:38:02 +00:00
Skip Montanaro
56366cc6eb
missing module ref (issue6723)
2009-08-18 14:37:52 +00:00
R. David Murray
2c9e33f3a6
Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
2009-08-17 19:26:49 +00:00
Vinay Sajip
5e7f645c16
Further refined section on logging to one file from multiple processes.
2009-08-17 13:14:37 +00:00
Vinay Sajip
1c0b24fb67
Refined section on logging to one file from multiple processes.
2009-08-15 23:34:47 +00:00
Vinay Sajip
3a0dc30947
Added section on logging to one file from multiple processes.
2009-08-15 23:23:12 +00:00
Vinay Sajip
59584c4bac
Added versionchanged notices for optional 'delay' parameter to file handler classes.
2009-08-14 11:33:54 +00:00
Georg Brandl
04fd324fe3
#6679 : Remove mention that sub supports no flags.
2009-08-13 07:48:05 +00:00
Georg Brandl
43161a51b8
Fix punctuation and one copy-paste error.
2009-08-06 17:23:21 +00:00
Georg Brandl
763b30177d
Merged revisions 74328 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74328 | georg.brandl | 2009-08-06 17:06:25 +0200 (Do, 06 Aug 2009) | 1 line
Fix base keyword arg name for int() and long().
........
2009-08-06 15:08:32 +00:00
Georg Brandl
29bc2cd463
Fix base keyword arg name for int() and long().
2009-08-06 15:06:25 +00:00
Jesse Noller
ce14c099df
Merge fix for 4660 back to 26 maint
2009-08-06 02:08:10 +00:00
Jesse Noller
8497efeb40
Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address
2009-08-06 02:05:56 +00:00
Mark Dickinson
9a6e645b9f
Merged revisions 74281 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines
Issue #6595 : Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification. (Backport of r74279 from
py3k.)
........
2009-08-02 11:01:01 +00:00
Mark Dickinson
4326ad8f72
Issue #6595 : Allow Decimal constructor to accept non-European decimal
...
digits, as recommended by the specification. (Backport of r74279 from
py3k.)
2009-08-02 10:59:36 +00:00
Mark Dickinson
9ad0b365b3
Documentation fix for change introduced in r71832
2009-07-30 10:00:10 +00:00
Georg Brandl
f3d520cc16
#6591 : add reference to ioctl in fcntl module for platforms other than Windows.
2009-07-29 16:09:17 +00:00
Georg Brandl
5b3e7e9c61
#6593 : fix link targets.
2009-07-29 16:06:31 +00:00
Mark Dickinson
fe67bd9168
Issue #6561 : '\d' regular expression should not match characters of
...
category [No]; only those of category [Nd]. (Backport of r74237
from py3k.)
2009-07-28 20:35:03 +00:00
Georg Brandl
8d31f5413c
Clarify quote_plus() usage.
2009-07-28 18:55:32 +00:00
Mark Dickinson
25cd551a01
Merged revisions 74234 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74234 | mark.dickinson | 2009-07-28 17:45:13 +0100 (Tue, 28 Jul 2009) | 1 line
Remove leading blank line from cmath.rst
........
2009-07-28 16:46:13 +00:00
Mark Dickinson
8ab590ef06
Remove leading blank line from cmath.rst
2009-07-28 16:45:13 +00:00
Mark Dickinson
f8edb67f09
Merged revisions 74184,74230 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74184 | georg.brandl | 2009-07-23 08:08:58 +0100 (Thu, 23 Jul 2009) | 1 line
#6548 : dont suggest existence of real and imag functions in cmath.
........
r74230 | mark.dickinson | 2009-07-28 17:12:40 +0100 (Tue, 28 Jul 2009) | 4 lines
Issue #6458 : Reorganize cmath documentation into sections (similar to
the way that the math documentation is organized); clarify section on
conversions to and from polar coordinates.
........
2009-07-28 16:15:25 +00:00
Mark Dickinson
44ec7ac947
Issue #6458 : Reorganize cmath documentation into sections (similar to
...
the way that the math documentation is organized); clarify section on
conversions to and from polar coordinates.
2009-07-28 16:12:40 +00:00
Georg Brandl
3591a8f81d
Move member descriptions inside the classes.
2009-07-26 14:44:23 +00:00
Georg Brandl
d7d4fd7336
builtin -> built-in.
2009-07-26 14:37:28 +00:00
Georg Brandl
9fa61bb37d
#6577 : fix (hopefully) all links to builtin instead of module/class-specific objects.
2009-07-26 14:19:57 +00:00
Georg Brandl
74f8fc0b1b
#6576 : fix cross-refs in re docs.
2009-07-26 13:36:39 +00:00
Georg Brandl
1ba9c87306
#6571 : add index entries for more operators.
2009-07-25 13:02:15 +00:00
Benjamin Peterson
617a5588d1
use bools
2009-07-23 14:25:31 +00:00
Georg Brandl
0e66914907
#6548 : dont suggest existence of real and imag functions in cmath.
2009-07-23 07:08:58 +00:00
Ezio Melotti
7fc214b55d
#6423 has_key -> in
2009-07-22 21:08:49 +00:00
R. David Murray
17438dc26c
Merged revisions 73708,73738 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line
Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
........
r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines
Make punctuation prettier and break up run-on sentence.
........
2009-07-21 17:02:14 +00:00
R. David Murray
f37b563c72
Merged revisions 73706 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73706 | georg.brandl | 2009-06-30 12:18:55 -0400 (Tue, 30 Jun 2009) | 1 line
#6384 : Add a heading for the exception hierarchy.
........
2009-07-21 14:37:38 +00:00
R. David Murray
ba2c2b16db
Merged revisions 73778 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73778 | r.david.murray | 2009-07-02 14:19:20 -0400 (Thu, 02 Jul 2009) | 3 lines
Issue 6389: add documentation for the 'mode' flags defined in the
stat module.
........
2009-07-21 14:23:11 +00:00
Benjamin Peterson
7cb23c673a
Merged revisions 74111 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74111 | benjamin.peterson | 2009-07-20 08:30:10 -0500 (Mon, 20 Jul 2009) | 1 line
remove docs for deprecated -p option
........
2009-07-20 13:33:05 +00:00
Benjamin Peterson
83dfc307c1
remove docs for deprecated -p option
2009-07-20 13:30:10 +00:00
Georg Brandl
3bb474714b
#6489 : fix an ambiguity in getiterator() documentation.
2009-07-18 09:43:40 +00:00
Georg Brandl
b4d0ef91a5
#6513 : fix example code: warning categories are classes, not instances.
2009-07-18 09:03:10 +00:00
Georg Brandl
2e1285baee
#6481 : fix typo in os.system() replacement.
2009-07-16 07:38:35 +00:00
Georg Brandl
da334249a7
#6486 : start with built in functions rather than "built in objects".
2009-07-16 07:33:04 +00:00
Amaury Forgeot d'Arc
78c06bd9b7
Document the newly added codec
2009-07-13 23:11:54 +00:00
Benjamin Peterson
72f94f75d6
add versionadded
2009-07-12 16:56:54 +00:00
Georg Brandl
c91cbb948a
array.array is actually a class.
2009-07-11 14:23:38 +00:00
Georg Brandl
b7e14eda6e
#6456 : clarify the meaning of constants used as arguments to nl_langinfo().
2009-07-11 10:51:31 +00:00
Georg Brandl
7750505d2d
#6430 : add note about size of "u" type.
2009-07-11 10:37:38 +00:00
Georg Brandl
7c150bf904
#6448 : clarify docs for find_module().
2009-07-11 10:18:10 +00:00
Amaury Forgeot d'Arc
ce32eb7406
#6416 : Fix compilation of the select module on Windows, as well as test_subprocess:
...
PIPE_BUF is not defined on Windows, and probably has no meaning there.
Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
2009-07-09 22:37:22 +00:00
Gregory P. Smith
9d36fd2acb
Adds the select.PIPE_BUF attribute to expose the system constant.
2009-07-03 20:48:31 +00:00
Benjamin Peterson
a1c38c19a0
Merged revisions 73812 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73812 | benjamin.peterson | 2009-07-03 09:08:20 -0500 (Fri, 03 Jul 2009) | 1 line
another cStringIO restriction
........
2009-07-03 14:11:15 +00:00
Benjamin Peterson
1e13960727
another cStringIO restriction
2009-07-03 14:08:20 +00:00
R. David Murray
fbba7cdcf0
Issue 6389: add documentation for the 'mode' flags defined in the
...
stat module.
2009-07-02 18:19:20 +00:00
Jesus Cea
585ad8ae5e
Merged revisions 69846 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines
Issue #5341 : Fix a variety of spelling errors.
........
2009-07-02 15:37:21 +00:00
R. David Murray
321afa80ba
Make punctuation prettier and break up run-on sentence.
2009-07-01 02:49:10 +00:00
Ezio Melotti
be96cf608f
Fixed a backslash that was not supposed to be there
2009-06-30 22:56:16 +00:00
Ezio Melotti
c2f5a595ba
Fixed defaultTestCase -> defaultTestResult
2009-06-30 22:51:06 +00:00
Jesse Noller
1b90efbdc5
Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
2009-06-30 17:11:52 +00:00
Georg Brandl
0c9eb43149
#6371 : fix link targets.
2009-06-30 16:35:11 +00:00
Georg Brandl
3cd0bedc13
#6384 : Add a heading for the exception hierarchy.
2009-06-30 16:18:55 +00:00
Georg Brandl
0d8649a1c9
#6374 : add a bit of explanation about shell=True on Windows.
2009-06-30 16:17:28 +00:00
Georg Brandl
3d5c87a23c
#6376 : fix copy-n-paste oversight.
2009-06-30 16:15:43 +00:00
Jesse Noller
34116922d3
Issue 5740: multiprocessing.connection.* authkey fixes
2009-06-29 18:24:26 +00:00
Jesse Noller
d4792cd84e
Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
2009-06-29 18:20:34 +00:00
Kristján Valur Jónsson
e007860b8b
http://bugs.python.org/issue6267
...
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Ezio Melotti
b4ad395d07
Fixed a wrong apostrophe
2009-06-28 00:07:45 +00:00
Ezio Melotti
1dfd5d9f78
stmt and setup can contain multiple statements, see #5896
2009-06-27 23:45:39 +00:00
Benjamin Peterson
00a58c3574
link to extensive generator docs in the reference manual
2009-06-27 14:16:23 +00:00
Benjamin Peterson
f36bebd06f
document is_declared_global()
2009-06-26 23:37:06 +00:00
R. David Murray
9f8a51c326
Merged revisions 73026,73313,73511,73554 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73026 | r.david.murray | 2009-05-29 15:30:27 -0400 (Fri, 29 May 2009) | 3 lines
Issue 6141: document that the first item of args is still the
command name even when executable is specified.
........
r73313 | r.david.murray | 2009-06-08 20:44:22 -0400 (Mon, 08 Jun 2009) | 4 lines
Issue 2947: document how return code handling translates from
os.popen to subprocess. Also fixes reference link in the
os.spawn documentation.
........
r73511 | r.david.murray | 2009-06-22 18:11:04 -0400 (Mon, 22 Jun 2009) | 2 lines
Improve English phrasing.
........
r73554 | r.david.murray | 2009-06-25 10:21:06 -0400 (Thu, 25 Jun 2009) | 2 lines
Add a couple of missing function alias declarations to the turtle docs.
........
2009-06-25 17:40:52 +00:00
R. David Murray
5c3d40e0f3
Add a couple of missing function alias declarations to the turtle docs.
2009-06-25 14:21:06 +00:00
Kristján Valur Jónsson
f1d11efb72
http://bugs.python.org/issue6192
...
Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
2009-06-24 09:17:04 +00:00
Amaury Forgeot d'Arc
388637d373
Remove last remnants of the ipaddr package.
...
The changes in mcast.py come from the first version of the patch for issue5379.
2009-06-23 21:53:46 +00:00
Amaury Forgeot d'Arc
14fc673d4f
Remove the ipaddr module per discussion on python-dev
2009-06-23 21:09:09 +00:00
R. David Murray
4ee6d25b18
Improve English phrasing.
2009-06-22 22:11:04 +00:00
Nick Coghlan
7c2bc8308c
Issue 6288: update the contextlib.nested() docs to explain why it has been deprecated and should generally be avoided
2009-06-17 12:12:15 +00:00
Georg Brandl
2fcf389e10
#6295 : clarify blocking behavior of getch().
2009-06-17 09:36:21 +00:00
Raymond Hettinger
3a02624059
Add usage note.
2009-06-17 01:43:47 +00:00
Georg Brandl
f5af720a31
Add tabularcolumns directive for tables with bullet lists in them.
2009-06-16 17:41:33 +00:00
Antoine Pitrou
1969059327
Issue #6215 : backport the 3.1 io lib
2009-06-12 20:14:08 +00:00
Raymond Hettinger
d97d1fdc60
Issue 6261: Clarify behavior of random.uniform().
2009-06-11 23:18:54 +00:00
Raymond Hettinger
2c0cdca564
Issue 6261: Clarify behavior of random.uniform().
2009-06-11 23:14:53 +00:00
Raymond Hettinger
75b544886b
Add example of how to do key lookups with bisect().
2009-06-11 22:08:48 +00:00
Raymond Hettinger
2742e7e584
Move comment to correct line.
2009-06-11 22:08:10 +00:00
Raymond Hettinger
16e527fc1a
Add example of how to do key lookups with bisect().
2009-06-11 22:04:49 +00:00
Raymond Hettinger
87be88c2e9
Add example of how to do key lookups with bisect().
2009-06-11 22:04:00 +00:00
R. David Murray
ccb9d4b21c
Issue 2947: document how return code handling translates from
...
os.popen to subprocess. Also fixes reference link in the
os.spawn documentation.
2009-06-09 00:44:22 +00:00
Georg Brandl
2cc39ad242
#6238 : add fillchar to string.just function family.
2009-06-08 16:03:41 +00:00
Georg Brandl
e590d57d06
#6194 : O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
2009-06-08 13:34:52 +00:00
Georg Brandl
42a826408b
Remove period from end of headings.
2009-06-08 07:57:35 +00:00
Kristján Valur Jónsson
afefcfd4bf
http://bugs.python.org/issue6192
...
Add a feature to disable the Nagle algorithm on sockets in TCPServer
2009-06-07 16:43:23 +00:00
Georg Brandl
18187e2167
#6224 : s/JPython/Jython/, and remove one link to a module nine years old.
2009-06-06 18:21:58 +00:00
Eric Smith
687f540737
Merged revisions 73224 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73224 | eric.smith | 2009-06-04 13:58:15 -0400 (Thu, 04 Jun 2009) | 1 line
Minor documentation fixes for logging.
........
2009-06-04 18:15:48 +00:00
Eric Smith
e7dbebbadf
Minor documentation fixes for logging.
2009-06-04 17:58:15 +00:00
Georg Brandl
5000b3b8a7
#6175 : document that inet_aton supports alternate input formats with less than three dots.
2009-06-04 10:27:21 +00:00
Georg Brandl
4a20b1ad51
#6176 : fix man page section for flock(2).
2009-06-04 10:22:31 +00:00
Georg Brandl
c1edec3374
Use the preferred form of raise statements in the docs.
2009-06-03 07:25:35 +00:00
R. David Murray
e6a4d78a62
Merged revisions 73077 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73077 | r.david.murray | 2009-05-31 15:15:57 -0400 (Sun, 31 May 2009) | 4 lines
Issue 3848: document the fact that epoll register raises an IOError if
an fd is registered twice, and add some additional epoll tests. Patch
by Christian Heimes.
........
2009-05-31 19:29:05 +00:00
R. David Murray
8fcaebbef4
Issue 3848: document the fact that epoll register raises an IOError if
...
an fd is registered twice, and add some additional epoll tests. Patch
by Christian Heimes.
2009-05-31 19:15:57 +00:00
Georg Brandl
d198b76d36
Fix markup.
2009-05-31 14:15:25 +00:00
Gregory P. Smith
2152ca390b
Add more examples to the ipaddr documentation.
2009-05-30 19:58:11 +00:00
Georg Brandl
2fcd17324d
Rewrap a few long lines.
2009-05-30 10:45:40 +00:00
Georg Brandl
6da0e6ac5a
Fix markup problem.
2009-05-30 10:34:25 +00:00
Georg Brandl
ccbb47be5e
#6146 : fix markup bug.
2009-05-30 07:26:04 +00:00
Benjamin Peterson
ecf3c62440
no fdatasync on macos
2009-05-30 03:10:52 +00:00
Raymond Hettinger
b09f198362
Move the basic examples section back to the beginning.
2009-05-29 21:20:41 +00:00
Michael Foord
b4a81c838a
Add test discovery to unittest. Issue 6001.
2009-05-29 20:33:46 +00:00
R. David Murray
fe6e784a9d
Issue 6141: document that the first item of args is still the
...
command name even when executable is specified.
2009-05-29 19:30:27 +00:00
Raymond Hettinger
822b87f276
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
2009-05-29 01:46:48 +00:00
Raymond Hettinger
a68cad13ae
Fix field name conflicts for named tuples.
2009-05-27 02:24:45 +00:00
Raymond Hettinger
4f1e16338d
Fix field name conflicts for named tuples.
2009-05-27 02:17:26 +00:00
Georg Brandl
e081eef126
Merged revisions 72319-72320,72467,72661,72675-72679,72703,72708,72710,72712,72801-72802,72820,72822,72824,72826-72828,72830 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72319 | georg.brandl | 2009-05-05 10:28:49 +0200 (Di, 05 Mai 2009) | 1 line
#1309567 : fix linecache behavior of stripping subdirectories from paths when looking for relative filename matches. Also add a linecache test suite.
........
r72320 | georg.brandl | 2009-05-05 10:30:28 +0200 (Di, 05 Mai 2009) | 1 line
Add a news entry for r72319.
........
r72467 | georg.brandl | 2009-05-08 14:17:34 +0200 (Fr, 08 Mai 2009) | 1 line
Fix name.
........
r72661 | georg.brandl | 2009-05-15 10:03:03 +0200 (Fr, 15 Mai 2009) | 1 line
Fix example output for doctest-like demos.
........
r72675 | georg.brandl | 2009-05-16 13:13:21 +0200 (Sa, 16 Mai 2009) | 1 line
#6034 : clarify __reversed__ doc.
........
r72676 | georg.brandl | 2009-05-16 13:14:46 +0200 (Sa, 16 Mai 2009) | 1 line
#6025 : fix signature of parse().
........
r72677 | georg.brandl | 2009-05-16 13:18:55 +0200 (Sa, 16 Mai 2009) | 1 line
#6009 : undocument default argument of Option as deprecated.
........
r72678 | georg.brandl | 2009-05-16 13:21:29 +0200 (Sa, 16 Mai 2009) | 1 line
#2856 : document 2.x os.listdir() behavior for undecodable filenames.
........
r72679 | georg.brandl | 2009-05-16 13:24:41 +0200 (Sa, 16 Mai 2009) | 1 line
Fix about and bugs pages to match real workflow.
........
r72703 | georg.brandl | 2009-05-17 10:10:27 +0200 (So, 17 Mai 2009) | 1 line
part of #4144 : fix exception message in console session.
........
r72708 | georg.brandl | 2009-05-17 10:24:29 +0200 (So, 17 Mai 2009) | 1 line
#6017 : better document behavior of dictiterators when the dict is changed.
........
r72710 | georg.brandl | 2009-05-17 10:36:04 +0200 (So, 17 Mai 2009) | 1 line
#5942 : Copy over flag table from dbm.rst which is clearer.
........
r72712 | georg.brandl | 2009-05-17 10:55:00 +0200 (So, 17 Mai 2009) | 1 line
#5935 : mention that BROWSER is looked for in PATH.
........
r72801 | georg.brandl | 2009-05-20 20:31:14 +0200 (Mi, 20 Mai 2009) | 1 line
#6055 : refer to "sqlite3" consistently.
........
r72802 | georg.brandl | 2009-05-20 20:35:27 +0200 (Mi, 20 Mai 2009) | 1 line
#6051 : refer to email examples for better way to construct email messages.
........
r72820 | georg.brandl | 2009-05-22 09:23:32 +0200 (Fr, 22 Mai 2009) | 1 line
Use raise X(y).
........
r72822 | georg.brandl | 2009-05-22 11:33:25 +0200 (Fr, 22 Mai 2009) | 1 line
#6084 : fix example.
........
r72824 | georg.brandl | 2009-05-22 11:43:17 +0200 (Fr, 22 Mai 2009) | 1 line
Fix references to file-related functions and methods (os.* vs file.*).
........
r72826 | georg.brandl | 2009-05-22 11:49:42 +0200 (Fr, 22 Mai 2009) | 1 line
Fix confusing wording.
........
r72827 | georg.brandl | 2009-05-22 11:50:30 +0200 (Fr, 22 Mai 2009) | 1 line
s/use/call/
........
r72828 | georg.brandl | 2009-05-22 11:58:48 +0200 (Fr, 22 Mai 2009) | 1 line
Correction in softspace behavior description.
........
r72830 | georg.brandl | 2009-05-22 12:40:00 +0200 (Fr, 22 Mai 2009) | 1 line
#6086 : fix spelling and use a better exception to catch.
........
2009-05-26 09:04:23 +00:00
Georg Brandl
0b4d94515b
Merged revisions 72085,72132,72159,72288,72290,72292 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72085 | georg.brandl | 2009-04-28 23:48:35 +0200 (Di, 28 Apr 2009) | 1 line
Make the doctests in the docs pass, except for those in the turtle module.
........
r72132 | georg.brandl | 2009-04-30 00:44:07 +0200 (Do, 30 Apr 2009) | 1 line
#5878 : fix repr of re object.
........
r72159 | georg.brandl | 2009-05-01 10:51:37 +0200 (Fr, 01 Mai 2009) | 2 lines
#5889 : remove comma at the end of a list that some C compilers don't like.
........
r72288 | georg.brandl | 2009-05-04 22:42:08 +0200 (Mo, 04 Mai 2009) | 1 line
#5925 : fix highlighting of keyword table.
........
r72290 | georg.brandl | 2009-05-04 22:45:13 +0200 (Mo, 04 Mai 2009) | 1 line
#5927 , 5928: typos.
........
r72292 | georg.brandl | 2009-05-04 22:49:17 +0200 (Mo, 04 Mai 2009) | 1 line
#5916 , 5917: small socket doc improvements.
........
2009-05-26 08:50:50 +00:00
Georg Brandl
bbc5cc1e1d
Merged revisions 72932 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line
#6112 : list.remove raises ValueError, not RuntimeError.
........
2009-05-26 07:50:52 +00:00
Georg Brandl
4ee8282229
#6112 : list.remove raises ValueError, not RuntimeError.
2009-05-26 07:50:23 +00:00
Benjamin Peterson
1880d8b823
add a SETUP_WITH opcode
...
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Benjamin Peterson
176a56c69b
make class skipping decorators the same as skipping every test of the class
...
This removes ClassTestSuite and a good bit of hacks.
2009-05-25 00:48:58 +00:00
Gregory P. Smith
d03e1b4475
add a versionadded tag for set_tunnel
2009-05-24 18:00:13 +00:00
Senthil Kumaran
e266f25cf1
Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
2009-05-24 09:14:50 +00:00
Jeffrey Yasskin
655d835415
Issue #6042 :
...
lnotab-based tracing is very complicated and isn't documented very well. There
were at least 3 comment blocks purporting to document co_lnotab, and none did a
very good job. This patch unifies them into Objects/lnotab_notes.txt which
tries to completely capture the current state of affairs.
I also discovered that we've attached 2 layers of patches to the basic tracing
scheme. The first layer avoids jumping to instructions that don't start a line,
to avoid problems in if statements and while loops. The second layer
discovered that jumps backward do need to trace at instructions that don't
start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
added a special case for backward jumps within the same line. I replaced these
patches by just treating forward and backward jumps differently.
2009-05-23 23:23:01 +00:00
Benjamin Peterson
91d517c54b
remove mention of old ctypes version
2009-05-23 20:59:09 +00:00
Georg Brandl
e15048ea37
s/use/call/
2009-05-22 09:50:30 +00:00
Georg Brandl
22396da5ee
Fix confusing wording.
2009-05-22 09:49:42 +00:00
Georg Brandl
012408c2b9
Fix references to file-related functions and methods (os.* vs file.*).
2009-05-22 09:43:17 +00:00
Georg Brandl
fa0123b4fa
#6084 : fix example.
2009-05-22 09:33:25 +00:00
Philip Jenvey
739aa36818
don't use subprocess.call with PIPEs as the child can fill the pipe buf and
...
deadlock. add a warning to subprocess docs about this, similar to Popen.wait's.
refs http://bugs.jython.org/issue1351
2009-05-22 05:35:32 +00:00
Raymond Hettinger
002da5be5c
Sync-up examples with Py2.7 updates.
2009-05-22 01:16:46 +00:00
Raymond Hettinger
9b6f13ee82
Fix-up moving average example.
2009-05-22 01:06:44 +00:00
Georg Brandl
ac2380b58a
#6051 : refer to email examples for better way to construct email messages.
2009-05-20 18:35:27 +00:00
Georg Brandl
498a9b3491
#6055 : refer to "sqlite3" consistently.
2009-05-20 18:31:14 +00:00
Raymond Hettinger
50f362fffa
Note that ordered dictionaries work with reversed().
2009-05-19 17:43:59 +00:00
Georg Brandl
903953c19e
#5935 : mention that BROWSER is looked for in PATH.
2009-05-17 08:55:00 +00:00
Georg Brandl
ee8e08b8b6
#5942 : Copy over flag table from dbm.rst which is clearer.
2009-05-17 08:36:04 +00:00
Georg Brandl
4c8b1c7a59
#6017 : better document behavior of dictiterators when the dict is changed.
2009-05-17 08:24:29 +00:00
Georg Brandl
d933cc293b
#2856 : document 2.x os.listdir() behavior for undecodable filenames.
2009-05-16 11:21:29 +00:00
Georg Brandl
14315d6513
#6009 : undocument default argument of Option as deprecated.
2009-05-16 11:18:55 +00:00
Georg Brandl
29d3a04618
#6025 : fix signature of parse().
2009-05-16 11:14:46 +00:00
Georg Brandl
490096e760
Fix example output for doctest-like demos.
2009-05-15 08:03:03 +00:00
R. David Murray
28d09d68be
Merged revisions 72572 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72572 | r.david.murray | 2009-05-11 21:36:57 -0400 (Mon, 11 May 2009) | 3 lines
Make it clear up front that shelve only records changes
when objects are assigned back to it when writeback is False.
........
2009-05-12 01:38:25 +00:00
R. David Murray
7118954914
Make it clear up front that shelve only records changes
...
when objects are assigned back to it when writeback is False.
2009-05-12 01:36:57 +00:00
Michael Foord
5d31e057c5
Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
...
from the command line.
Closes issue 5995.
Michael Foord
2009-05-11 17:59:43 +00:00
Benjamin Peterson
3dabc10134
sys.setdefaultencoding() strikes me as a bad example
2009-05-10 23:52:09 +00:00
Georg Brandl
d8282eeb51
Fix name.
2009-05-08 12:17:34 +00:00
Eric Smith
98ff81deec
Merged revisions 72439 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72439 | eric.smith | 2009-05-07 15:36:09 -0400 (Thu, 07 May 2009) | 1 line
Fixed wording for formatting integers: precision is not allowed.
........
2009-05-07 19:37:22 +00:00
Eric Smith
7523234abf
Fixed wording for formatting integers: precision is not allowed.
2009-05-07 19:36:09 +00:00
R. David Murray
dd26681155
Revert inappropriate doc change.
2009-05-07 01:43:57 +00:00
R. David Murray
e202700f4f
Document how to pass a 'decode' argument to get_payload when
...
is_multipart is False.
2009-05-07 01:39:25 +00:00
Georg Brandl
4d4313d59d
#5142 : add module skipping feature to pdb.
2009-05-05 08:54:11 +00:00
R. David Murray
a7badef535
Merged revisions 72149 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72149 | r.david.murray | 2009-04-30 08:42:32 -0400 (Thu, 30 Apr 2009) | 4 lines
Make the turtle.rst doctests pass. I have a feeling there should be
more cleanup, but I don't know now to kill turtles. Especially
unexpected ones... ;)
........
2009-05-05 01:11:21 +00:00
Georg Brandl
e3a3726b3d
#5916 , 5917: small socket doc improvements.
2009-05-04 20:49:17 +00:00
Georg Brandl
f5f045e470
#5927 , 5928: typos.
2009-05-04 20:45:13 +00:00
Gregory P. Smith
d02eedacab
Issue #4751 : For hashlib algorithms provided by OpenSSL, the Python
...
GIL is now released during computation on data lengths >= 2048 bytes.
2009-05-04 00:16:49 +00:00
Michael Foord
07ef487a96
2009-05-02 22:43:34 +00:00
Benjamin Peterson
2b42c29a50
add myself
2009-05-02 20:26:53 +00:00
Michael Foord
e2fb98f467
Add addCleanup and doCleanups to unittest.TestCase.
...
Closes issue 5679.
Michael Foord
2009-05-02 20:15:05 +00:00
Michael Foord
829f6b8052
Adds an exit parameter to unittest.main(). If False main no longer
...
calls sys.exit.
Closes issue 3379.
Michael Foord
2009-05-02 11:43:06 +00:00
Georg Brandl
24cc78ac61
Fix directive name.
2009-05-01 21:30:25 +00:00
Georg Brandl
b64b8278d1
Review ipaddr docs and add them in the TOC under "Internet protocols".
2009-05-01 21:28:35 +00:00
Gregory P. Smith
1d499265e0
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 19:59:52 +00:00
Walter Dörwald
6733bed57e
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 17:35:37 +00:00
R. David Murray
b01c6e53ed
Make the turtle.rst doctests pass. I have a feeling there should be
...
more cleanup, but I don't know now to kill turtles. Especially
unexpected ones... ;)
2009-04-30 12:42:32 +00:00
Georg Brandl
f6dab9542c
Make the doctests in the docs pass, except for those in the turtle module.
2009-04-28 21:48:35 +00:00
R. David Murray
1cf26c0145
Merged revisions 72079 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72079 | r.david.murray | 2009-04-28 15:02:55 -0400 (Tue, 28 Apr 2009) | 2 lines
Remove spurious 'u'.
........
2009-04-28 19:03:51 +00:00
R. David Murray
3b23c9c516
Remove spurious 'u'.
2009-04-28 19:02:55 +00:00
R. David Murray
52cad4032f
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-28 19:01:43 +00:00
Georg Brandl
3885314b11
Merged revisions 72007-72010,72036-72037 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.
........
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.
........
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.
........
r72010 | georg.brandl | 2009-04-27 17:29:26 +0200 (Mo, 27 Apr 2009) | 2 lines
Demote warnings to notices, part 2: stuff that is 2.x-only.
........
r72036 | georg.brandl | 2009-04-27 19:04:23 +0200 (Mo, 27 Apr 2009) | 1 line
#5848 : small unittest doc patch.
........
r72037 | georg.brandl | 2009-04-27 19:09:53 +0200 (Mo, 27 Apr 2009) | 1 line
#5840 : dont claim we dont support TLS.
........
2009-04-28 18:23:28 +00:00
Georg Brandl
91e3f770a1
Merged revisions 71786-71787,71814-71817,71901-71903 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71786 | georg.brandl | 2009-04-21 20:23:08 +0200 (Di, 21 Apr 2009) | 1 line
#5757 : fix copy-paste error in notify().
........
r71787 | georg.brandl | 2009-04-21 20:24:34 +0200 (Di, 21 Apr 2009) | 1 line
#5751 : fix escaping of \\n.
........
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-28 18:18:53 +00:00
Georg Brandl
537caa2a0d
Merged revisions 71540,71544,71546,71563,71572,71607,71653 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.
........
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
........
r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line
Simplify markup.
........
r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line
#5745 : more linking for identifiers in email docs.
........
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.
........
2009-04-28 18:16:02 +00:00
R. David Murray
db5c3bd28f
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:06:10 +00:00
R. David Murray
636b23a96f
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 16:08:18 +00:00
Raymond Hettinger
8b8f8cc1b0
Add example to the seealso section.
2009-04-27 21:12:54 +00:00
R. David Murray
ec047e0725
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 17:22:36 +00:00
Georg Brandl
9bc668251f
#5848 : small unittest doc patch.
2009-04-27 17:04:23 +00:00
Georg Brandl
b44c9f357d
Demote warnings to notices, part 2: stuff that is 2.x-only.
2009-04-27 15:29:26 +00:00
Georg Brandl
16a57f6a34
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 15:29:09 +00:00
Georg Brandl
e1b79ce17e
#5856 : fix typo s in traceback example.
2009-04-27 15:09:25 +00:00
Georg Brandl
208b00d03f
#5841 : add deprecation py3k warning and notice in the docs for commands module.
2009-04-25 15:11:29 +00:00
Georg Brandl
cf5608df81
#5821 : add some capabilities of TarFile's file-like object.
2009-04-25 15:05:04 +00:00
Georg Brandl
64034bbf84
#5834 : use "failure" instead of "error" because the two have different meanings in unittest context.
2009-04-25 14:51:31 +00:00
Georg Brandl
69923a1df6
#5813 : add a reference to the "future statements" section.
2009-04-23 08:49:56 +00:00
Georg Brandl
95089bc9bf
Fix rewrapping accident.
2009-04-23 08:49:39 +00:00
Georg Brandl
49cc4eafcb
#5820 : fix bug in usage of getreader().
2009-04-23 08:44:57 +00:00
Mark Dickinson
8100bd8431
Issue #5812 : make Fraction('1e-6') valid. Backport of r71806.
2009-04-22 18:15:25 +00:00
Nick Coghlan
5533ff6a2e
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
2009-04-22 15:26:04 +00:00
Eric Smith
4c074382bd
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
2009-04-22 00:47:00 +00:00
Georg Brandl
e56101136c
#5751 : fix escaping of \\n.
2009-04-21 18:24:34 +00:00
Georg Brandl
ce54356690
#5757 : fix copy-paste error in notify().
2009-04-21 18:23:08 +00:00
Raymond Hettinger
cccfc825e4
Fix typo
2009-04-20 18:23:57 +00:00
Raymond Hettinger
ceecb8d3d8
Fix typo
2009-04-20 18:23:26 +00:00
Raymond Hettinger
fd2405415b
Remove duplicate recipe.
2009-04-18 23:58:45 +00:00
R. David Murray
b729135eee
Merged revisions 71651 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines
Less red ink (warning->note) and add link to def of side-by-side assembly.
........
2009-04-16 18:17:55 +00:00
Raymond Hettinger
76162e305c
Clarify the behavior of any() and all() with an empty iterable.
2009-04-16 18:16:10 +00:00
R. David Murray
7203081025
Less red ink (warning->note) and add link to def of side-by-side assembly.
2009-04-16 18:12:53 +00:00
R. David Murray
7cd8f2bea3
Merged revisions 70873,70904,70934,71490,71553,71579 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines
This resolves issue 1161031. Tests pass.
........
r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines
Made handle_expt_event() be called last, so that we don't accidentally read
after closing the socket.
........
r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines
Fix for failing asyncore tests.
........
r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines
Make test_asyncore tests match code changes introduced by the
fix to Issue1161031, refactoring the test to simplify it in
the process.
........
r71553 | r.david.murray | 2009-04-12 21:06:46 -0400 (Sun, 12 Apr 2009) | 3 lines
Adjust test_asyncore to account for intentional asyncore behavior change
introduced by r70934 that was causing a test failure when run under -O.
........
r71579 | r.david.murray | 2009-04-13 12:56:32 -0400 (Mon, 13 Apr 2009) | 2 lines
Add missing NEWS item for issue1161031 fix.
........
2009-04-15 23:00:41 +00:00
R. David Murray
0ec635138f
Merged revisions 71631 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines
Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
........
2009-04-15 22:34:30 +00:00
R. David Murray
6076d399b4
Fix for issue3440: add warning to subprocess discussion of
...
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
2009-04-15 22:33:07 +00:00
Benjamin Peterson
5c9914899b
tupel -> tuple
2009-04-14 21:23:09 +00:00
Georg Brandl
b48327a215
#5745 : more linking for identifiers in email docs.
2009-04-13 13:13:25 +00:00
Hirokazu Yamamoto
c3ffc549e5
Merged revisions 71554-71555 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71554 | hirokazu.yamamoto | 2009-04-13 10:07:06 +0900 | 1 line
Fixed typo. (email.Utils => email.utils)
........
r71555 | hirokazu.yamamoto | 2009-04-13 10:21:56 +0900 | 1 line
Fixed another typos. (email.Utils => email.utils)
........
2009-04-13 03:51:11 +00:00
Hirokazu Yamamoto
4585746fb0
Fixed another typos. (email.Utils => email.utils)
2009-04-13 01:21:56 +00:00
Hirokazu Yamamoto
3bd4058d82
Fixed typo. (email.Utils => email.utils)
2009-04-13 01:07:06 +00:00
Benjamin Peterson
a9feadc0dd
fix missing quote
2009-04-12 23:44:15 +00:00
Benjamin Peterson
7bedd625df
fix extra parenthesis #5774
2009-04-12 23:19:56 +00:00
Nick Coghlan
cd2e7042ae
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
2009-04-11 13:31:31 +00:00
Raymond Hettinger
21fde35e71
Fix alignment
2009-04-10 19:46:51 +00:00
Raymond Hettinger
099769c0e5
No start argument
2009-04-10 18:58:58 +00:00
Raymond Hettinger
92d1951f04
Add examples.
2009-04-10 18:52:23 +00:00
Raymond Hettinger
f0f475da61
Add examples.
2009-04-10 13:16:50 +00:00
Raymond Hettinger
c4f4697196
Fix the count of datatypes.
2009-04-10 06:38:39 +00:00
Raymond Hettinger
d06358fe3e
Clarify the table entries for combinatorics.
2009-04-10 04:29:23 +00:00
Raymond Hettinger
f368fbc24e
Clarify the table entries for combinatorics.
2009-04-10 04:25:45 +00:00
Raymond Hettinger
c473c5aa9b
Add note on using keyword arguments with OrderedDict.
2009-04-09 22:31:51 +00:00
Andrew M. Kuchling
5963185b23
Typo fixes
2009-04-09 11:23:36 +00:00
Georg Brandl
40e15edd65
Merged revisions 69578-69580,69901,69907,69994,70022-70023,70025-70026,70166,70273,70275,70342,70386-70387,70389-70390,70392-70393,70395,70397,70400,70418 via svnmerge
...
........
r69578 | georg.brandl | 2009-02-13 12:03:59 +0100 (Fr, 13 Feb 2009) | 1 line
#3694 : add test for fix committed in r66693.
........
r69579 | georg.brandl | 2009-02-13 12:06:59 +0100 (Fr, 13 Feb 2009) | 2 lines
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
r69580 | georg.brandl | 2009-02-13 12:10:04 +0100 (Fr, 13 Feb 2009) | 2 lines
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
r69901 | georg.brandl | 2009-02-23 12:24:46 +0100 (Mo, 23 Feb 2009) | 2 lines
#5349 : C++ pure virtuals can also have an implementation.
........
r69907 | georg.brandl | 2009-02-23 19:33:48 +0100 (Mo, 23 Feb 2009) | 1 line
Fix grammar.
........
r69994 | georg.brandl | 2009-02-26 18:36:26 +0100 (Do, 26 Feb 2009) | 1 line
Document that setting sys.py3kwarning wont do anything.
........
r70022 | georg.brandl | 2009-02-27 17:23:18 +0100 (Fr, 27 Feb 2009) | 1 line
#5361 : fix typo.
........
r70023 | georg.brandl | 2009-02-27 17:39:26 +0100 (Fr, 27 Feb 2009) | 1 line
#5363 : fix cmpfiles() docs. Another instance where a prose description is twice as long as the code.
........
r70025 | georg.brandl | 2009-02-27 17:52:55 +0100 (Fr, 27 Feb 2009) | 1 line
#5344 : fix punctuation.
........
r70026 | georg.brandl | 2009-02-27 17:59:03 +0100 (Fr, 27 Feb 2009) | 1 line
#5365 : add quick look conversion table for different time representations.
........
r70166 | georg.brandl | 2009-03-04 19:24:41 +0100 (Mi, 04 Mär 2009) | 2 lines
Remove obsolete stuff from string module docs.
........
r70273 | georg.brandl | 2009-03-09 15:25:07 +0100 (Mo, 09 Mär 2009) | 2 lines
#5458 : add a note when we started to raise RuntimeErrors.
........
r70275 | georg.brandl | 2009-03-09 17:35:48 +0100 (Mo, 09 Mär 2009) | 2 lines
Add missing space.
........
r70342 | georg.brandl | 2009-03-13 20:03:58 +0100 (Fr, 13 Mär 2009) | 1 line
#5486 : typos.
........
r70386 | georg.brandl | 2009-03-15 22:32:06 +0100 (So, 15 Mär 2009) | 1 line
#5496 : fix docstring of lookup().
........
r70387 | georg.brandl | 2009-03-15 22:37:16 +0100 (So, 15 Mär 2009) | 1 line
#5493 : clarify __nonzero__ docs.
........
r70389 | georg.brandl | 2009-03-15 22:43:38 +0100 (So, 15 Mär 2009) | 1 line
Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
........
r70390 | georg.brandl | 2009-03-15 22:44:43 +0100 (So, 15 Mär 2009) | 1 line
#5491 : clarify nested() semantics.
........
r70392 | georg.brandl | 2009-03-15 22:46:00 +0100 (So, 15 Mär 2009) | 1 line
#5488 : add missing struct member.
........
r70393 | georg.brandl | 2009-03-15 22:47:42 +0100 (So, 15 Mär 2009) | 1 line
#5478 : fix copy-paste oversight in function signature.
........
r70395 | georg.brandl | 2009-03-15 22:51:48 +0100 (So, 15 Mär 2009) | 1 line
#5276 : document IDLESTARTUP and .Idle.py.
........
r70397 | georg.brandl | 2009-03-15 22:53:56 +0100 (So, 15 Mär 2009) | 1 line
#5469 : add with statement to list of name-binding constructs.
........
r70400 | georg.brandl | 2009-03-15 22:59:37 +0100 (So, 15 Mär 2009) | 3 lines
Fix markup in re docs and give a mail address in regex howto, so that
the recommendation to send suggestions to the author can be followed.
........
r70418 | georg.brandl | 2009-03-16 20:42:03 +0100 (Mo, 16 Mär 2009) | 1 line
Add token markup.
........
2009-04-05 21:48:06 +00:00
Georg Brandl
e9b912164b
Merged revisions 71058,71149-71150,71212,71214-71216,71222,71225,71234,71237-71238,71240-71241,71243,71249,71251 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71058 | georg.brandl | 2009-04-02 20:09:04 +0200 (Do, 02 Apr 2009) | 3 lines
PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
call on hitting the recursion limit into just assigning it to the arguments provided.
........
r71149 | georg.brandl | 2009-04-04 15:42:39 +0200 (Sa, 04 Apr 2009) | 1 line
#5642 : clarify map() compatibility to the builtin.
........
r71150 | georg.brandl | 2009-04-04 15:45:49 +0200 (Sa, 04 Apr 2009) | 1 line
#5601 : clarify that webbrowser is not meant for file names.
........
r71212 | georg.brandl | 2009-04-05 12:24:20 +0200 (So, 05 Apr 2009) | 1 line
#1742837 : expand HTTP server docs, and fix SocketServer ones to document methods as methods, not functions.
........
r71214 | georg.brandl | 2009-04-05 12:29:57 +0200 (So, 05 Apr 2009) | 1 line
Normalize spelling of Mac OS X.
........
r71215 | georg.brandl | 2009-04-05 12:32:26 +0200 (So, 05 Apr 2009) | 1 line
Avoid sure signs of a diseased mind.
........
r71216 | georg.brandl | 2009-04-05 12:41:02 +0200 (So, 05 Apr 2009) | 1 line
#1718017 : document the relation of os.path and the posixpath, ntpath etc. modules better.
........
r71222 | georg.brandl | 2009-04-05 13:07:14 +0200 (So, 05 Apr 2009) | 1 line
#5615 : make it possible to configure --without-threads again.
........
r71225 | georg.brandl | 2009-04-05 13:54:07 +0200 (So, 05 Apr 2009) | 1 line
#5580 : no need to use parentheses when converterr() argument is actually a type description.
........
r71234 | georg.brandl | 2009-04-05 15:16:35 +0200 (So, 05 Apr 2009) | 1 line
Whitespace normalization.
........
r71237 | georg.brandl | 2009-04-05 16:24:52 +0200 (So, 05 Apr 2009) | 1 line
#1326077 : fix traceback formatting of SyntaxErrors. This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space.
........
r71238 | georg.brandl | 2009-04-05 16:25:41 +0200 (So, 05 Apr 2009) | 1 line
Add NEWS entry for r71237.
........
r71240 | georg.brandl | 2009-04-05 16:40:06 +0200 (So, 05 Apr 2009) | 1 line
#5370 : doc update about unpickling objects with custom __getattr__ etc. methods.
........
r71241 | georg.brandl | 2009-04-05 16:48:49 +0200 (So, 05 Apr 2009) | 1 line
#5471 : fix expanduser() for $HOME set to "/".
........
r71243 | georg.brandl | 2009-04-05 17:14:29 +0200 (So, 05 Apr 2009) | 1 line
#5432 : make plistlib docstring a raw string, since it contains examples with backslash escapes.
........
r71249 | georg.brandl | 2009-04-05 18:30:43 +0200 (So, 05 Apr 2009) | 1 line
#5444 : adapt make.bat to new htmlhelp output file name.
........
r71251 | georg.brandl | 2009-04-05 19:17:42 +0200 (So, 05 Apr 2009) | 1 line
#5298 : clarify docs about GIL by using more consistent wording.
........
2009-04-05 21:26:31 +00:00
Georg Brandl
9b08e05e1e
Merged revisions 70866-70868,70870-70871,70893,70896,70902,70905,70907,70912,70915,70927,70933,70940,70944,70954,70963,70998,71056 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70866 | georg.brandl | 2009-03-31 21:06:57 +0200 (Di, 31 Mär 2009) | 1 line
#4882 : document named group behavior a bit better.
........
r70867 | georg.brandl | 2009-03-31 21:10:35 +0200 (Di, 31 Mär 2009) | 1 line
#1096310 : document usage of sys.__std*__ a bit better.
........
r70868 | georg.brandl | 2009-03-31 21:12:17 +0200 (Di, 31 Mär 2009) | 1 line
#5190 : export make_option in __all__.
........
r70870 | georg.brandl | 2009-03-31 21:26:24 +0200 (Di, 31 Mär 2009) | 1 line
#4411 : document mro() and __mro__. (I hope I got it right.)
........
r70871 | georg.brandl | 2009-03-31 21:30:56 +0200 (Di, 31 Mär 2009) | 1 line
#5618 : fix typo.
........
r70893 | georg.brandl | 2009-03-31 22:56:32 +0200 (Di, 31 Mär 2009) | 1 line
#1530012 : move TQS section before raw strings.
........
r70896 | georg.brandl | 2009-03-31 23:15:33 +0200 (Di, 31 Mär 2009) | 1 line
#5598 : document DocFileSuite *args argument.
........
r70902 | georg.brandl | 2009-03-31 23:43:03 +0200 (Di, 31 Mär 2009) | 1 line
#1675026 : add a note about a strange Windows problem, and remove notes about AtheOS.
........
r70905 | georg.brandl | 2009-04-01 00:03:40 +0200 (Mi, 01 Apr 2009) | 1 line
#5563 : more documentation for bdist_msi.
........
r70907 | georg.brandl | 2009-04-01 00:18:19 +0200 (Mi, 01 Apr 2009) | 1 line
#3427 : document correct return type for urlopen().info().
........
r70912 | georg.brandl | 2009-04-01 00:35:46 +0200 (Mi, 01 Apr 2009) | 1 line
#5617 : add a handy function to print a unicode string to gdbinit.
........
r70915 | georg.brandl | 2009-04-01 00:40:16 +0200 (Mi, 01 Apr 2009) | 1 line
#5018 : remove confusing paragraph.
........
r70927 | georg.brandl | 2009-04-01 01:01:27 +0200 (Mi, 01 Apr 2009) | 1 line
Dont shout to users.
........
r70933 | georg.brandl | 2009-04-01 02:04:33 +0200 (Mi, 01 Apr 2009) | 2 lines
Issue #5635 : Fix running test_sys with tracing enabled.
........
r70940 | georg.brandl | 2009-04-01 06:21:14 +0200 (Mi, 01 Apr 2009) | 2 lines
The SimpleXMLRPCServer's CGI handler now runs like a pony.
........
r70944 | georg.brandl | 2009-04-01 06:32:39 +0200 (Mi, 01 Apr 2009) | 1 line
#5631 : add upload to list of possible commands, which is presented in --help-commands.
........
r70954 | georg.brandl | 2009-04-01 17:23:43 +0200 (Mi, 01 Apr 2009) | 1 line
Fix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.
........
r70963 | georg.brandl | 2009-04-01 19:46:01 +0200 (Mi, 01 Apr 2009) | 1 line
#5655 : fix docstring oversight.
........
r70998 | georg.brandl | 2009-04-01 23:54:21 +0200 (Mi, 01 Apr 2009) | 1 line
In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext.
........
r71056 | georg.brandl | 2009-04-02 19:43:07 +0200 (Do, 02 Apr 2009) | 2 lines
Actually the displayhook should print the repr.
........
2009-04-05 21:21:05 +00:00
Georg Brandl
8943caf716
Merged revisions 70642,70648,70656,70661,70765,70773,70789,70824-70825,70828,70830,70832,70836,70838,70842,70851,70855,70857-70858 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70642 | georg.brandl | 2009-03-28 01:48:48 +0100 (Sa, 28 Mär 2009) | 1 line
Fix typo.
........
r70648 | georg.brandl | 2009-03-28 20:10:37 +0100 (Sa, 28 Mär 2009) | 1 line
#5324 : document __subclasses__().
........
r70656 | georg.brandl | 2009-03-28 20:33:33 +0100 (Sa, 28 Mär 2009) | 2 lines
Add a script to fixup rst files if the pre-commit hook rejects them.
........
r70661 | georg.brandl | 2009-03-28 20:57:36 +0100 (Sa, 28 Mär 2009) | 2 lines
Add section numbering to some of the larger subdocuments.
........
r70765 | georg.brandl | 2009-03-31 00:09:34 +0200 (Di, 31 Mär 2009) | 1 line
#5199 : make warning about vars() assignment more visible.
........
r70773 | georg.brandl | 2009-03-31 00:43:00 +0200 (Di, 31 Mär 2009) | 1 line
#5039 : make it clear that the impl. note refers to CPython.
........
r70789 | georg.brandl | 2009-03-31 03:25:15 +0200 (Di, 31 Mär 2009) | 1 line
Fix a wrong struct field assignment (docstring as closure).
........
r70824 | georg.brandl | 2009-03-31 17:43:20 +0200 (Di, 31 Mär 2009) | 1 line
#5519 : remove reference to Kodos, which seems dead.
........
r70825 | georg.brandl | 2009-03-31 17:46:30 +0200 (Di, 31 Mär 2009) | 1 line
#5566 : fix versionadded from PyLong ssize_t functions.
........
r70828 | georg.brandl | 2009-03-31 17:50:16 +0200 (Di, 31 Mär 2009) | 1 line
#5581 : fget argument of abstractproperty is optional as well.
........
r70830 | georg.brandl | 2009-03-31 18:11:45 +0200 (Di, 31 Mär 2009) | 1 line
#5529 : backport new docs of import semantics written by Brett to 2.x.
........
r70832 | georg.brandl | 2009-03-31 18:31:11 +0200 (Di, 31 Mär 2009) | 1 line
#1386675 : specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.
........
r70836 | georg.brandl | 2009-03-31 18:50:25 +0200 (Di, 31 Mär 2009) | 1 line
#5417 : replace references to undocumented functions by ones to documented functions.
........
r70838 | georg.brandl | 2009-03-31 18:54:38 +0200 (Di, 31 Mär 2009) | 1 line
#992207 : document that the parser only accepts \\n newlines.
........
r70842 | georg.brandl | 2009-03-31 19:13:06 +0200 (Di, 31 Mär 2009) | 1 line
#970783 : document PyObject_Generic[GS]etAttr.
........
r70851 | georg.brandl | 2009-03-31 20:26:55 +0200 (Di, 31 Mär 2009) | 1 line
#837577 : note cryptic return value of spawn*e on invalid env dicts.
........
r70855 | georg.brandl | 2009-03-31 20:30:37 +0200 (Di, 31 Mär 2009) | 1 line
#5245 : note that PyRun_SimpleString doesnt return on SystemExit.
........
r70857 | georg.brandl | 2009-03-31 20:33:10 +0200 (Di, 31 Mär 2009) | 1 line
#5227 : note that Py_Main doesnt return on SystemExit.
........
r70858 | georg.brandl | 2009-03-31 20:38:56 +0200 (Di, 31 Mär 2009) | 1 line
#5241 : document missing U in regex howto.
........
2009-04-05 21:11:43 +00:00
Michael Foord
f2dfef1637
Adding assertIs and assertIsNot methods to unittest.TestCase
...
Issue #2578
2009-04-05 19:19:28 +00:00
Georg Brandl
a7ec0726e2
#5370 : doc update about unpickling objects with custom __getattr__ etc. methods.
2009-04-05 14:40:06 +00:00
Georg Brandl
5d19610f8d
#1718017 : document the relation of os.path and the posixpath, ntpath etc. modules better.
2009-04-05 10:41:02 +00:00
Georg Brandl
75f1107b7c
Avoid sure signs of a diseased mind.
2009-04-05 10:32:26 +00:00
Georg Brandl
89b1296ab9
Normalize spelling of Mac OS X.
2009-04-05 10:29:57 +00:00
Georg Brandl
9af0c56057
#1742837 : expand HTTP server docs, and fix SocketServer ones to document methods as methods, not functions.
2009-04-05 10:24:20 +00:00
Benjamin Peterson
e42e2535c4
Merged revisions 71203 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71203 | benjamin.peterson | 2009-04-04 18:46:34 -0500 (Sat, 04 Apr 2009) | 1 line
note how using iter* are unsafe while mutating and document iter(dict)
........
2009-04-04 23:58:19 +00:00
Benjamin Peterson
f9c8193b76
note how using iter* are unsafe while mutating and document iter(dict)
2009-04-04 23:46:34 +00:00
Georg Brandl
29b36308a4
#5601 : clarify that webbrowser is not meant for file names.
2009-04-04 13:45:49 +00:00
Georg Brandl
9d977b81a1
#5642 : clarify map() compatibility to the builtin.
2009-04-04 13:42:39 +00:00
R. David Murray
c9da90a74e
Merged revisions 71123 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71123 | r.david.murray | 2009-04-04 02:39:56 -0400 (Sat, 04 Apr 2009) | 2 lines
Fix error in description of 'oct' (issue 5678).
........
2009-04-04 06:43:39 +00:00
R. David Murray
195374e836
Fix error in description of 'oct' (issue 5678).
2009-04-04 06:39:56 +00:00
Raymond Hettinger
8de959252a
Add helpful link.
2009-04-04 05:39:34 +00:00
Raymond Hettinger
64906bbeba
Add helpful link.
2009-04-04 05:37:47 +00:00
Vinay Sajip
353a85f99c
Clarified warning about logging use from asynchronous signal handlers.
2009-04-03 21:58:16 +00:00
Andrew M. Kuchling
b20df9a89a
Fix 'the the' duplication (partial backport of r71103
2009-04-03 21:56:36 +00:00
Andrew M. Kuchling
a178a69819
Fix 'the the' duplication
2009-04-03 21:45:29 +00:00
Vinay Sajip
b0b1aa214a
Added warning about logging use from asynchronous signal handlers.
2009-04-03 10:23:18 +00:00
Raymond Hettinger
c41cf8c0ee
Fix typo.
2009-04-03 05:41:10 +00:00
Raymond Hettinger
6df48a3354
Update docs for namedtuple's renaming change.
2009-04-02 22:34:17 +00:00
Antoine Pitrou
789be0c0a0
Issue #2396 : backport the memoryview object.
2009-04-02 21:18:34 +00:00
Jesse Noller
7152f6d915
Add custom initializer argument to multiprocess.Manager*, courtesy of lekma
2009-04-02 05:17:26 +00:00
R. David Murray
dc362b0b96
Merged revisions 71037 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71037 | r.david.murray | 2009-04-02 00:34:04 -0400 (Thu, 02 Apr 2009) | 6 lines
Clarify that datetime strftime does not produce leap seconds and datetime
strptime does not accept it in the strftime behavior section of the
datetime docs.
Closes issue 2568.
........
2009-04-02 04:52:48 +00:00
R. David Murray
d56bab47f1
Clarify that datetime strftime does not produce leap seconds and datetime
...
strptime does not accept it in the strftime behavior section of the
datetime docs.
Closes issue 2568.
2009-04-02 04:34:04 +00:00
Jesse Noller
5053fbbb38
Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES
2009-04-02 04:22:09 +00:00
Michael Foord
345b2fe21e
Better exception messages for unittest assert methods.
...
- unittest.assertNotEqual() now uses the inequality operator (!=) instead
of the equality operator.
- Default assertTrue and assertFalse messages are now useful.
- TestCase has a longMessage attribute. This defaults to False, but if set to True
useful error messages are shown in addition to explicit messages passed to assert methods.
Issue #5663
2009-04-02 03:20:38 +00:00
Andrew M. Kuchling
e9d35ef230
Typo fix
2009-04-02 00:02:14 +00:00
Georg Brandl
88ed8f2c50
#4572 : add SEEK_* values as constants in io.py.
2009-04-01 21:00:55 +00:00
Raymond Hettinger
d9f564f60f
Add link to an alternative generator with a long-period.
2009-04-01 20:52:52 +00:00
Raymond Hettinger
fff2f4bb03
Add link to an alternative generator with a long-period.
2009-04-01 20:50:58 +00:00
Jesse Noller
3e7a65f565
Merged revisions 70960 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70960 | jesse.noller | 2009-04-01 11:42:19 -0500 (Wed, 01 Apr 2009) | 1 line
Issue 3270: document Listener address restrictions on windows
........
2009-04-01 16:44:24 +00:00
Jesse Noller
b12e79da1b
Issue 3270: document Listener address restrictions on windows
2009-04-01 16:42:19 +00:00
Jesse Noller
02cb0eb231
Fix multiprocessing.event to match the new threading.Event API
2009-04-01 03:45:50 +00:00
Josiah Carlson
bb94d43dcd
Fix for failing asyncore tests.
2009-04-01 01:28:11 +00:00
Raymond Hettinger
6bc94cbbc8
Improve examples for collections.deque()
2009-03-31 22:43:03 +00:00
Georg Brandl
b7715865e7
#3427 : document correct return type for urlopen().info().
2009-03-31 22:18:19 +00:00
Georg Brandl
a08e8dedc2
#5598 : document DocFileSuite *args argument.
2009-03-31 21:15:33 +00:00
Georg Brandl
ef660e8e50
#1674032 : return value of flag from Event.wait(). OKed by Guido.
2009-03-31 20:41:08 +00:00
Gregory P. Smith
65ff00559a
Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
...
Document the deprecation.
2009-03-31 19:59:14 +00:00
Georg Brandl
956ed9782a
#4411 : document mro() and __mro__. (I hope I got it right.)
2009-03-31 19:26:24 +00:00
Georg Brandl
b48adecbd6
#1096310 : document usage of sys.__std*__ a bit better.
2009-03-31 19:10:35 +00:00
Georg Brandl
5206086e0d
#4882 : document named group behavior a bit better.
2009-03-31 19:06:57 +00:00
Georg Brandl
22717dffba
#837577 : note cryptic return value of spawn*e on invalid env dicts.
2009-03-31 18:26:55 +00:00
Gregory P. Smith
2839985c7e
The unittest.TestCase.assertEqual() now displays the differences in lists,
...
tuples, dicts and sets on failure.
Many new handy type and comparison specific assert* methods have been added
that fail with error messages actually useful for debugging. Contributed in
by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.
Discussion lives in http://bugs.python.org/issue2578 .
2009-03-31 16:54:10 +00:00
Georg Brandl
b945bbf33e
#1386675 : specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.
2009-03-31 16:31:11 +00:00
Georg Brandl
624f3372e2
#5529 : backport new docs of import semantics written by Brett to 2.x.
2009-03-31 16:11:45 +00:00
Georg Brandl
21b60afd4c
#5581 : fget argument of abstractproperty is optional as well.
2009-03-31 15:50:16 +00:00
Georg Brandl
382edff289
#5519 : remove reference to Kodos, which seems dead.
2009-03-31 15:43:20 +00:00
Jesse Noller
8b56d47d01
Merged revisions 68915 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68915 | jesse.noller | 2009-01-24 21:36:13 -0600 (Sat, 24 Jan 2009) | 1 line
Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels
........
2009-03-31 15:01:45 +00:00
Andrew M. Kuchling
efa97718e6
typo fix
2009-03-30 23:08:24 +00:00
Barry Warsaw
dbf95a3643
A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
...
though with some changes by me. This patch should not be back ported or
forward ported. It's a bit too risky for 2.6 and 3.x does things fairly
differently.
2009-03-30 22:42:17 +00:00
Andrew M. Kuchling
55acfc6c87
Many edits
2009-03-30 22:31:11 +00:00
Andrew M. Kuchling
19672006a7
Typo fixes
2009-03-30 22:29:15 +00:00
Georg Brandl
d59efbccf1
#5199 : make warning about vars() assignment more visible.
2009-03-30 22:09:34 +00:00
Ronald Oussoren
524e36a5d0
Merged revisions 70746 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines
Fix for issue 13095
........
2009-03-30 20:04:12 +00:00
Ronald Oussoren
008af85dc0
Fix for issue 13095
2009-03-30 20:02:08 +00:00
Ronald Oussoren
783fa44f2c
Merged revisions 70719 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70719 | ronald.oussoren | 2009-03-30 11:01:51 -0500 (Mon, 30 Mar 2009) | 2 lines
Fix for issue 896199 (some Carbon modules aren't present in the documentation)
........
2009-03-30 16:03:41 +00:00
Ronald Oussoren
8ba6f3baf6
Fix for issue 896199 (some Carbon modules aren't present in the documentation)
2009-03-30 16:01:51 +00:00
Benjamin Peterson
ac0580edc2
there's actually three methods here #5600
2009-03-30 02:49:32 +00:00
Mark Dickinson
a30f349ecf
Merged revisions 70678 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70678 | mark.dickinson | 2009-03-29 15:37:51 +0100 (Sun, 29 Mar 2009) | 3 lines
Issue #532631 : Replace confusing fabs(x)/1e25 >= 1e25 test
with fabs(x) >= 1e50, and fix documentation.
........
2009-03-29 15:06:29 +00:00
Mark Dickinson
2e648ecc7d
Issue #532631 : Replace confusing fabs(x)/1e25 >= 1e25 test
...
with fabs(x) >= 1e50, and fix documentation.
2009-03-29 14:37:51 +00:00
Benjamin Peterson
097aafdde6
fix consistency
2009-03-29 03:39:58 +00:00
Benjamin Peterson
7233acc5c5
stop the versionchanged directive from hiding the docs
2009-03-29 03:31:40 +00:00
Benjamin Peterson
be76d4caed
a more realistic example
2009-03-29 03:16:57 +00:00
Georg Brandl
a0eea590c7
Add section numbering to some of the larger subdocuments.
2009-03-28 19:57:36 +00:00
Benjamin Peterson
0e9285845e
give os.symlink and os.link() better parameter names #5564
2009-03-28 19:16:10 +00:00
Georg Brandl
a31aa45fbf
#5324 : document __subclasses__().
2009-03-28 19:10:37 +00:00
Benjamin Peterson
47d9738b0f
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
2009-03-26 20:05:50 +00:00
Skip Montanaro
9a1337b95e
clarify the type of data returned
2009-03-25 00:52:11 +00:00
Raymond Hettinger
f70097684e
Add links to related resources.
2009-03-24 00:21:36 +00:00
Raymond Hettinger
21b617bd98
Add links to related resources.
2009-03-24 00:17:11 +00:00
Benjamin Peterson
31b7806ee8
forgot to document that setUp can be skipped (silly me...)
2009-03-23 23:13:36 +00:00
Benjamin Peterson
99721e0c44
refactor unittest docs
2009-03-23 23:10:14 +00:00
Benjamin Peterson
cb2b0e45d4
comply with the evilJavaNamingScheme for attribute names
...
It seems my love of PEP 8 overrode the need for consistentcy
2009-03-23 22:29:45 +00:00
Benjamin Peterson
692428e77f
implement test skipping and expected failures
...
patch by myself #1034053
2009-03-23 21:50:21 +00:00
Antoine Pitrou
f8387af262
Issue #4688 : Add a heuristic so that tuples and dicts containing only
...
untrackable objects are not tracked by the garbage collector. This can
reduce the size of collections and therefore the garbage collection overhead
on long-running programs, depending on their particular use of datatypes.
(trivia: this makes the "binary_trees" benchmark from the Computer Language
Shootout 40% faster)
2009-03-23 18:41:45 +00:00
Raymond Hettinger
399ff09961
Add MutableSet example.
2009-03-20 18:30:29 +00:00
Raymond Hettinger
2cef1a5409
Add MutableSet example.
2009-03-20 18:25:49 +00:00
Mark Dickinson
efc82f7e8e
Issue #4258 : Use 30-bit digits for Python longs, on 64-bit platforms.
...
Backport of r70459.
2009-03-20 15:51:55 +00:00
Raymond Hettinger
2412299be9
* Add clearer comment to initialization code.
...
* Add optional argument to popitem() -- modeled
after Anthon van der Neut's C version.
* Fix method markup in docs.
2009-03-19 19:59:58 +00:00
Raymond Hettinger
91852ca673
Issue 5381: Add object_pairs_hook to the json module.
2009-03-19 19:19:03 +00:00
Benjamin Peterson
06919a177d
a much better example
2009-03-18 20:58:09 +00:00
Benjamin Peterson
ed3558b334
I thought this was begging for an example
2009-03-17 20:29:51 +00:00
Georg Brandl
8cbe9556cf
Add token markup.
2009-03-16 19:42:03 +00:00
Georg Brandl
545a134916
Fix markup in re docs and give a mail address in regex howto, so that
...
the recommendation to send suggestions to the author can be followed.
2009-03-15 21:59:37 +00:00
Georg Brandl
09827eb55e
#5276 : document IDLESTARTUP and .Idle.py.
2009-03-15 21:51:48 +00:00
Georg Brandl
8db96b5969
#5478 : fix copy-paste oversight in function signature.
2009-03-15 21:47:42 +00:00
Georg Brandl
5a95b21fee
#5491 : clarify nested() semantics.
2009-03-15 21:44:43 +00:00
Georg Brandl
e83a4adba7
#5486 : typos.
2009-03-13 19:03:58 +00:00
Raymond Hettinger
2b45819b75
Issue 5477: Fix buglet in the itertools documentation.
2009-03-12 00:35:05 +00:00
Raymond Hettinger
efa7c138b6
Issue 5477: Fix buglet in the itertools documentation.
2009-03-12 00:31:58 +00:00
Brett Cannon
6c4cff0f32
Require implementations for warnings.showwarning() support the 'line' argument.
...
Was a DeprecationWarning for not supporting it since Python 2.6.
Closes issue #3652 .
2009-03-11 04:51:06 +00:00
Gregory P. Smith
b7ec0025b9
Merged revisions 70197 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70197 | jesus.cea | 2009-03-05 11:37:37 -0800 (Thu, 05 Mar 2009) | 1 line
Minor bsddb documentation glitch
........
2009-03-10 16:51:19 +00:00
Raymond Hettinger
8ef4e78cf5
Fix typo.
2009-03-10 13:05:40 +00:00
Raymond Hettinger
8f19598f78
Fix typo.
2009-03-10 13:04:30 +00:00
Raymond Hettinger
56411aac79
For collections.deque() objects, expose the maxlen parameter as a read-only attribute.
2009-03-10 12:50:59 +00:00
Raymond Hettinger
ced6b1da83
Update the decimal FAQ for the from_float() classmethod and improve the recipe for remove_exponent() to make it cut and pasteable.
2009-03-10 08:16:05 +00:00
Raymond Hettinger
eecd1dc6e0
Clarify the meaning of normal and subnormal.
2009-03-10 04:40:24 +00:00
Raymond Hettinger
f345a21d8e
Update url for the spec.
2009-03-10 01:07:30 +00:00
Raymond Hettinger
618f505c02
Fix markup.
2009-03-10 00:11:32 +00:00
Raymond Hettinger
f4ea929044
Fix markup.
2009-03-10 00:06:05 +00:00
Benjamin Peterson
6d83429a1d
gzip and bz2 are context managers
2009-03-09 20:38:56 +00:00
Georg Brandl
38f1bf6745
Add missing space.
2009-03-09 16:35:48 +00:00
Georg Brandl
2cd82a8383
#5458 : add a note when we started to raise RuntimeErrors.
2009-03-09 14:25:07 +00:00
Raymond Hettinger
e1bfcfac2d
Add cross-reference to the collections docs.
2009-03-09 12:57:55 +00:00
Raymond Hettinger
9324ed8982
Add cross-reference to the collections docs.
2009-03-09 12:56:23 +00:00
Raymond Hettinger
fb30cca591
Add consume() recipe to itertools docs.
2009-03-09 11:58:33 +00:00
Raymond Hettinger
3496a89f27
Add consume() recipe to itertools docs.
2009-03-09 11:57:29 +00:00
Raymond Hettinger
d31d294e89
Issue 5443: Fix typo.
2009-03-09 11:39:03 +00:00
Raymond Hettinger
fed84c765d
Issue 5443: Fix typo.
2009-03-09 11:31:39 +00:00
Jesus Cea
ce15a65ca7
Minor bsddb documentation glitch
2009-03-05 19:37:37 +00:00
Benjamin Peterson
c51ec0a9e3
add example
2009-03-05 00:17:57 +00:00
Facundo Batista
eeafb96b08
Fixed a typo.
2009-03-04 21:18:17 +00:00
Georg Brandl
d5ad6da03b
Remove obsolete stuff from string module docs.
2009-03-04 18:24:41 +00:00
Benjamin Peterson
288618e1a7
making the writing more formal
2009-03-03 22:51:57 +00:00
Raymond Hettinger
a07038d614
Fix markup.
2009-03-03 05:11:56 +00:00
Raymond Hettinger
e89b8e9832
Backport 70111: Let configparser use ordered dicts by default.
2009-03-03 05:00:37 +00:00
Raymond Hettinger
88a9164cdb
Backport 70106: Add OrderedDict support to collections.namedtuple().
2009-03-03 04:51:24 +00:00
Raymond Hettinger
bc512d3abd
Backport PEP 372: OrderedDict()
2009-03-03 04:45:34 +00:00
Gregory P. Smith
13b19c1f94
Merged revisions 70088 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70088 | gregory.p.smith | 2009-03-01 20:53:24 -0800 (Sun, 01 Mar 2009) | 4 lines
The note about caching of regular expression objects was incorrect ReST and
thus invisible in the compiled documentation. Fixed. Also I cleaned up the
wording.
........
2009-03-02 05:25:11 +00:00
Gregory P. Smith
ae91d0907d
Adds an optional flags argument to re.split, re.sub and re.subn to be
...
consistent with the other re module functions.
2009-03-02 05:13:57 +00:00
Gregory P. Smith
0261e5d0b6
The note about caching of regular expression objects was incorrect ReST and
...
thus invisible in the compiled documentation. Fixed. Also I cleaned up the
wording.
2009-03-02 04:53:24 +00:00
Raymond Hettinger
4a9fda4280
Fix docs for ConfigParser.
2009-03-01 02:07:25 +00:00
Raymond Hettinger
3bac8b20b5
Fix docs for ConfigParser.
2009-03-01 02:04:32 +00:00
Jeffrey Yasskin
68d6852006
Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
...
POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing
a POP_TOP on each conditional and sometimes allows the peephole optimizer to
skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly.
2009-02-28 19:03:21 +00:00
Hirokazu Yamamoto
02172ddbee
Binary flag is needed on windows.
2009-02-28 15:24:00 +00:00
Georg Brandl
5c189b16a8
#5365 : add quick look conversion table for different time representations.
2009-02-27 16:59:03 +00:00
Georg Brandl
ee6361f7d8
#5363 : fix cmpfiles() docs. Another instance where a prose description is twice as long as the code.
2009-02-27 16:39:26 +00:00
Georg Brandl
da2790c47d
#5361 : fix typo.
2009-02-27 16:23:18 +00:00
Georg Brandl
13813f7092
Document that setting sys.py3kwarning wont do anything.
2009-02-26 17:36:26 +00:00
Benjamin Peterson
a168698ab3
fix str.format()'s first arg #5371
2009-02-26 00:30:11 +00:00
Raymond Hettinger
815476044a
Fix typo.
2009-02-26 00:20:22 +00:00
Raymond Hettinger
ed955f108f
Fix typo.
2009-02-26 00:05:24 +00:00
Raymond Hettinger
a665853bab
Clarify Counter() docs.
2009-02-25 22:48:24 +00:00
Raymond Hettinger
65c8655e33
Remove reference to zero argument form of super() in 2.x docs.
2009-02-25 01:08:27 +00:00
Raymond Hettinger
afe496dc46
Remove reference to zero argument form of super() in 2.x docs.
2009-02-25 01:06:52 +00:00
Raymond Hettinger
e95f90c420
More markup and spelling fixes.
2009-02-25 00:53:46 +00:00
Raymond Hettinger
b762d58544
More markup and spelling fixes.
2009-02-25 00:52:37 +00:00
Raymond Hettinger
2775afcb06
Backport doc updates for super().
2009-02-25 00:41:32 +00:00
Raymond Hettinger
eb7cbb94c5
Restore Py2.x version of sample call to super().
2009-02-25 00:39:47 +00:00
Raymond Hettinger
9766033b7c
Sync-up py3.1 doc updates for super().
2009-02-25 00:37:57 +00:00
Raymond Hettinger
d187d52085
Sync-up itertools docs with Py3.1 version.
...
* Merge 69715: rewrite introduction and add summary table
* Merge 69739: generalize tee() recipe
* Merge 69141: Fix tab alignment on recipes to match other recipes
* Merge 68942: Update powerset() recipe
2009-02-23 21:23:04 +00:00
Raymond Hettinger
fc9a6659b4
Update itertools recipes to use next().
2009-02-23 19:59:57 +00:00
Raymond Hettinger
d47442e3cb
Update itertools recipes to use next().
2009-02-23 19:32:55 +00:00
Georg Brandl
52bc7b85fd
Fix grammar.
2009-02-23 18:33:48 +00:00
Georg Brandl
4ae203c610
Merged revisions 69905 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69905 | georg.brandl | 2009-02-23 16:51:27 +0100 (Mo, 23 Feb 2009) | 2 lines
#5352 : str.count() counts non-overlapping instances.
........
2009-02-23 15:53:25 +00:00
Georg Brandl
de196911f1
#5352 : str.count() counts non-overlapping instances.
2009-02-23 15:51:27 +00:00
Georg Brandl
89d4f0d7c5
#5349 : C++ pure virtuals can also have an implementation.
2009-02-23 11:24:46 +00:00
Georg Brandl
ec7d3909ba
Merged revisions 68582,68718,68720-68721,68724-68727,68859,68973,69288-69289,69293,69295,69297-69301,69409,69414,69570,69573,69576,69728-69730,69769,69776,69803-69805,69840,69896 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68582 | georg.brandl | 2009-01-13 23:14:01 +0100 (Di, 13 Jan 2009) | 2 lines
Use assertRaises.
........
r68718 | georg.brandl | 2009-01-18 11:42:35 +0100 (So, 18 Jan 2009) | 1 line
#4976 : union() and intersection() take multiple args, but talk about "the other".
........
r68720 | georg.brandl | 2009-01-18 11:45:22 +0100 (So, 18 Jan 2009) | 1 line
#4974 : fix redundant mention of lists and tuples.
........
r68721 | georg.brandl | 2009-01-18 11:48:16 +0100 (So, 18 Jan 2009) | 1 line
#4914 : trunc is in math.
........
r68724 | georg.brandl | 2009-01-18 14:24:10 +0100 (So, 18 Jan 2009) | 1 line
#4979 : correct result range for some random functions.
........
r68725 | georg.brandl | 2009-01-18 14:47:26 +0100 (So, 18 Jan 2009) | 1 line
#4857 : fix augmented assignment target spec.
........
r68726 | georg.brandl | 2009-01-18 15:41:52 +0100 (So, 18 Jan 2009) | 1 line
#4923 : clarify what was added.
........
r68727 | georg.brandl | 2009-01-18 19:25:30 +0100 (So, 18 Jan 2009) | 1 line
#4986 : augassigns are not expressions.
........
r68859 | georg.brandl | 2009-01-22 19:29:28 +0100 (Do, 22 Jan 2009) | 2 lines
Clarify wording.
........
r68973 | georg.brandl | 2009-01-26 22:29:38 +0100 (Mo, 26 Jan 2009) | 2 lines
Copy over docs on advanced role features from Sphinx docs.
........
r69288 | georg.brandl | 2009-02-05 11:30:57 +0100 (Do, 05 Feb 2009) | 1 line
#5153 : fix typo in example.
........
r69289 | georg.brandl | 2009-02-05 11:37:07 +0100 (Do, 05 Feb 2009) | 1 line
#5144 : document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path.
........
r69293 | georg.brandl | 2009-02-05 11:59:28 +0100 (Do, 05 Feb 2009) | 1 line
#5059 : fix example.
........
r69295 | georg.brandl | 2009-02-05 12:23:47 +0100 (Do, 05 Feb 2009) | 1 line
PyErr_PrintEx is also in 2.x...
........
r69297 | georg.brandl | 2009-02-05 12:32:18 +0100 (Do, 05 Feb 2009) | 1 line
#5015 : document PythonHome API functions.
........
r69298 | georg.brandl | 2009-02-05 12:33:21 +0100 (Do, 05 Feb 2009) | 1 line
#4827 : fix callback example.
........
r69299 | georg.brandl | 2009-02-05 12:35:28 +0100 (Do, 05 Feb 2009) | 1 line
#4820 : use correct module for ctypes.util.
........
r69300 | georg.brandl | 2009-02-05 12:38:23 +0100 (Do, 05 Feb 2009) | 1 line
#4563 : disable alpha and roman lists, fixes wrong formatting of contributor list.
........
r69301 | georg.brandl | 2009-02-05 12:40:35 +0100 (Do, 05 Feb 2009) | 1 line
#5031 : fix Thread.daemon property docs.
........
r69409 | georg.brandl | 2009-02-07 13:21:17 +0100 (Sa, 07 Feb 2009) | 1 line
#5174 : fix wrong file closing in example.
........
r69414 | georg.brandl | 2009-02-07 19:49:54 +0100 (Sa, 07 Feb 2009) | 1 line
make "super only for new-style classes" a note.
........
r69570 | georg.brandl | 2009-02-13 11:40:14 +0100 (Fr, 13 Feb 2009) | 1 line
#4894 : document "newurl" parameter to redirect_request().
........
r69573 | georg.brandl | 2009-02-13 11:44:17 +0100 (Fr, 13 Feb 2009) | 1 line
#3734 : document complex coercing behavior better.
........
r69576 | georg.brandl | 2009-02-13 11:56:50 +0100 (Fr, 13 Feb 2009) | 1 line
#1661108 : note that urlsafe encoded string can contain "=".
........
r69728 | georg.brandl | 2009-02-18 01:22:55 +0100 (Mi, 18 Feb 2009) | 2 lines
#5297 : fix example.
........
r69729 | georg.brandl | 2009-02-18 01:25:13 +0100 (Mi, 18 Feb 2009) | 2 lines
#5296 : sequence -> iterable.
........
r69730 | georg.brandl | 2009-02-18 01:31:36 +0100 (Mi, 18 Feb 2009) | 2 lines
#5268 : mention VMSError.
........
r69769 | georg.brandl | 2009-02-19 09:30:06 +0100 (Do, 19 Feb 2009) | 1 line
#5310 , #3558 : fix operator precedence table.
........
r69776 | georg.brandl | 2009-02-19 17:34:51 +0100 (Do, 19 Feb 2009) | 2 lines
#5317 : update IronPython URL.
........
r69803 | georg.brandl | 2009-02-20 08:48:21 +0100 (Fr, 20 Feb 2009) | 1 line
#5327 : fix a broken link by joining it.
........
r69804 | georg.brandl | 2009-02-20 09:22:21 +0100 (Fr, 20 Feb 2009) | 1 line
At least separate imports from other statements.
........
r69805 | georg.brandl | 2009-02-20 09:45:47 +0100 (Fr, 20 Feb 2009) | 2 lines
Fix punctuation.
........
r69840 | georg.brandl | 2009-02-21 20:09:40 +0100 (Sa, 21 Feb 2009) | 1 line
#5338 , #5339 : two types in the API manual.
........
r69896 | georg.brandl | 2009-02-23 11:24:23 +0100 (Mo, 23 Feb 2009) | 1 line
#5348 : format() converts all kinds of values.
........
2009-02-23 10:41:11 +00:00
Georg Brandl
528f8810aa
#5348 : format() converts all kinds of values.
2009-02-23 10:24:23 +00:00
Mark Dickinson
3e4caeb3bf
Issue #5341 : Fix a variety of spelling errors.
2009-02-21 20:27:01 +00:00
Georg Brandl
8b8c2df9b1
Fix punctuation.
2009-02-20 08:45:47 +00:00
Georg Brandl
6b5dbaa6c9
At least separate imports from other statements.
2009-02-20 08:22:21 +00:00
Benjamin Peterson
a7b55a33f8
revert r69777 since all the experts agree that extra import lines distract from the code
2009-02-20 03:31:23 +00:00
Jeroen Ruigrok van der Werven
5149742e8b
Since we recommend one module per import line, reflect this also in the
...
documentation.
2009-02-19 18:52:21 +00:00
Raymond Hettinger
b2d412117c
Add links to helpful external resources.
2009-02-19 06:57:23 +00:00
Raymond Hettinger
749e6d0a01
Add links to helpful external resources.
2009-02-19 06:55:03 +00:00
Raymond Hettinger
7f48c1055e
Add an example for math.fsum() and elaborate on the accurary note.
2009-02-19 05:53:22 +00:00
Raymond Hettinger
7d854955e1
Add an example for math.fsum() and elaborate on the accurary note.
2009-02-19 05:51:41 +00:00
Raymond Hettinger
5894c2b548
Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe.
2009-02-19 05:38:53 +00:00
Raymond Hettinger
f9bce83e71
Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe.
2009-02-19 05:34:35 +00:00
Raymond Hettinger
bb94fd8290
Generalize itertools.tee() recipe.
2009-02-18 21:04:16 +00:00
Raymond Hettinger
c8223b09b0
Generalize the itertools.tee() recipe.
2009-02-18 20:54:53 +00:00
Gregory P. Smith
8367becc02
Clarify socket timeout behavior vs system network stack behavior on connect
...
for issue5293.
2009-02-18 05:46:11 +00:00
Georg Brandl
580d7c1f57
#5268 : mention VMSError.
2009-02-18 00:31:36 +00:00
Georg Brandl
52f6b6d500
#5297 : fix example.
2009-02-18 00:22:55 +00:00
Marc-André Lemburg
1d0b5cc6dc
Clarify the deprecation of platform.dist().
...
Add versionadded tags.
2009-02-17 12:48:19 +00:00
Raymond Hettinger
0aee942a08
Fixup intro paragraphs for the itertools docs. Add some tables for quick reference.
2009-02-17 11:00:27 +00:00
Raymond Hettinger
f746a1f1e4
Fix-up intro paragraph for collections docs.
2009-02-17 08:33:01 +00:00
Raymond Hettinger
7c98a6d4dc
Add explanation for super(type1, type2).
2009-02-16 23:00:25 +00:00
Raymond Hettinger
fd04870a3d
Issue 5229: Documentation for super() neglects to say what super() actually does
2009-02-16 22:42:54 +00:00
Hirokazu Yamamoto
5b8c701eef
Fixed typo.
2009-02-15 09:19:48 +00:00
Raymond Hettinger
a4038038c6
Add keyword argument support to itertools.count().
2009-02-14 00:25:51 +00:00
Georg Brandl
5ccf2ae21c
#1661108 : note that urlsafe encoded string can contain "=".
2009-02-13 10:56:50 +00:00
Georg Brandl
8fba5b337c
#4894 : document "newurl" parameter to redirect_request().
2009-02-13 10:40:14 +00:00
Raymond Hettinger
31c769ca89
Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments.
2009-02-12 05:39:46 +00:00
Benjamin Peterson
1312b4bcfd
os.fsync() should be used to ensure that data is written to disk
2009-02-12 03:50:00 +00:00
Raymond Hettinger
b6b3879a01
Clean-up named tuple docs.
2009-02-11 00:12:07 +00:00
Raymond Hettinger
e4ae63c402
Clean-up named tuple docs.
2009-02-11 00:06:17 +00:00
Raymond Hettinger
322daea7c3
Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.
2009-02-10 01:24:05 +00:00
Benjamin Peterson
b8e17f7370
a few edits and typos
2009-02-08 15:14:57 +00:00
Benjamin Peterson
c5e68b1898
document numliterals fixer
2009-02-08 14:38:13 +00:00
Nick Coghlan
0194f5bc98
Issue #4512 closeout: Make ZipImport.get_filename() a public method
2009-02-08 03:17:00 +00:00
Nick Coghlan
d39600e69f
Issue 4195: Restore the ability to execute packages with the -m switch (but this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda)
2009-02-08 01:26:34 +00:00
Benjamin Peterson
e0820e2ea7
document individual 2to3 fixers
2009-02-07 23:01:19 +00:00
Georg Brandl
95f8ef2825
make "super only for new-style classes" a note.
2009-02-07 18:49:54 +00:00
Georg Brandl
34feea3205
#5174 : fix wrong file closing in example.
2009-02-07 12:21:17 +00:00
Eric Smith
81fe09344c
Implement issue #4285 , convert sys.version_info to a named
...
tuple. Patch by Ross Light.
2009-02-06 00:48:26 +00:00
Georg Brandl
ecd2afa452
#5031 : fix Thread.daemon property docs.
2009-02-05 11:40:35 +00:00
Georg Brandl
2b0dd8e199
#4820 : use correct module for ctypes.util.
2009-02-05 11:35:28 +00:00
Georg Brandl
253a29fa4d
#4827 : fix callback example.
2009-02-05 11:33:21 +00:00
Georg Brandl
b21c75beab
#5059 : fix example.
2009-02-05 10:59:28 +00:00
Georg Brandl
174fbe7742
#5153 : fix typo in example.
2009-02-05 10:30:57 +00:00
Raymond Hettinger
11485b4869
Minor doc fixes.
2009-02-04 19:34:31 +00:00
Raymond Hettinger
1e884d9f67
Doc fixes. Remove overbroad, redundant warnings. Fixup example code.
2009-02-04 11:59:49 +00:00
Raymond Hettinger
939a3cc5a2
Tweak the docs for Counter() objects.
2009-02-04 11:31:30 +00:00
Raymond Hettinger
8184f5a46c
Doc fixes. Remove overbroad, redundant warnings. Fixup example code.
2009-02-04 11:14:18 +00:00
Raymond Hettinger
d507afdc81
Minor doc fixups.
2009-02-04 10:52:32 +00:00
Raymond Hettinger
154ab71e0b
Record operator deprecations in docs.
2009-02-03 03:36:27 +00:00
Raymond Hettinger
4a1b62a555
Record operator deprecations in docs.
2009-02-03 03:18:14 +00:00
Gregory P. Smith
5a219e8fff
merge 69161 wording update.
2009-02-01 00:25:16 +00:00
Gregory P. Smith
86cc5029dc
wording for for issue4903.
2009-02-01 00:24:21 +00:00
Gregory P. Smith
8c6b5040a3
#documentation update for issue4903 -
...
svn merge -c68535 http://svn.python.org/projects/python/trunk
svn merge -c69159 http://svn.python.org/projects/python/trunk
2009-02-01 00:19:42 +00:00
Gregory P. Smith
5501d65590
Update doc wording as suggested in issue4903.
2009-02-01 00:16:01 +00:00
Benjamin Peterson
4829136965
fix indentation
2009-01-31 20:01:48 +00:00
Andrew M. Kuchling
8c2f85c43e
Text edits and markup fixes
2009-01-31 03:26:02 +00:00
Brett Cannon
e4b6ab79ec
Merged revisions 69078-69079 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69078 | brett.cannon | 2009-01-28 16:54:11 -0800 (Wed, 28 Jan 2009) | 2 lines
Clarify some __del__ stuff.
........
r69079 | brett.cannon | 2009-01-28 16:54:32 -0800 (Wed, 28 Jan 2009) | 2 lines
Minor spelling mistake in datetime docs.
........
2009-01-29 03:58:16 +00:00
Brett Cannon
8aa2c6ce8e
Minor spelling mistake in datetime docs.
2009-01-29 00:54:32 +00:00
Raymond Hettinger
e4cb43d420
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
2009-01-29 00:02:31 +00:00
Raymond Hettinger
1712baa852
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
2009-01-28 23:58:16 +00:00
Guilherme Polo
cda93aafde
Added the ttk module. See issue #2983 : Ttk support for Tkinter.
2009-01-28 13:09:03 +00:00
Raymond Hettinger
cdc9f2c1d5
Fixup itertools recipe to cover a corner case.
2009-01-27 06:38:00 +00:00
Raymond Hettinger
d081abc8be
Promote combinations_with_replacement() from a recipe to a regular itertool.
2009-01-27 02:58:49 +00:00
Raymond Hettinger
22bfa9e3e8
Tweak column alignment for collections docs.
2009-01-27 02:36:33 +00:00
Raymond Hettinger
5cd012b64e
Backport r68942: update powerset() recipe.
2009-01-26 02:17:52 +00:00
Brett Cannon
93881c6c58
Backport importlib in the form of providing importlib.import_module(). This has
...
been done purely to help transitions from 2.7 to 3.1.
2009-01-26 01:16:50 +00:00
Raymond Hettinger
68d919e4d6
Improved itertools recipe for generating powerset().
2009-01-25 21:31:47 +00:00
Raymond Hettinger
2bcb8e9b0d
Promote compress() from a recipe to being a regular itertool.
2009-01-25 21:04:14 +00:00
Jesse Noller
b5a4b0abed
Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels
2009-01-25 03:36:13 +00:00
Jesse Noller
403c6632e6
Issue 4593: apply() documentation is unclear
2009-01-22 21:53:22 +00:00
Raymond Hettinger
7bdca05a3b
More doc tweaks.
2009-01-22 05:20:47 +00:00
Raymond Hettinger
0a1f7b8f72
Tighten-up the docs for Counter().
2009-01-21 23:12:51 +00:00
Raymond Hettinger
4571f347f9
Simplify explanation of multiset operations by removing restrictions on negative inputs.
2009-01-21 20:31:50 +00:00
Andrew M. Kuchling
42ffbdb903
Markup fixes
2009-01-21 02:16:26 +00:00
Raymond Hettinger
acdc84abcf
Beautify and cleanup the references section.
2009-01-20 23:42:54 +00:00
Raymond Hettinger
196a0f7a8a
Fix typos.
2009-01-20 12:59:36 +00:00
Raymond Hettinger
230dd27628
Don't disrupt automatic url target name generation
...
with manually specified, conflicting names.
Before:
http://docs.python.org/dev/library/collections.html#id1
After:
http://docs.python.org/dev/library/collections.html#counter-objects
2009-01-20 07:11:47 +00:00
Raymond Hettinger
bad1eb2ff3
Build-outs for Counter() class:
...
* Constructor and update() support keyword args (like their dict counterparts).
* The 'del' statement no longer raises KeyError for missing values.
* Add multiset operations: __add__, __sub__, __and__, __or__.
2009-01-20 01:19:26 +00:00
Benjamin Peterson
c84ebe73a7
add email address
2009-01-19 16:18:27 +00:00
Benjamin Peterson
b6c7beb722
move BufferedIOBase into the base class section
2009-01-19 16:17:54 +00:00
Vinay Sajip
4b78233cbd
Added more cross-reference targets and tidied up list of useful handlers.
2009-01-19 06:49:19 +00:00
Georg Brandl
af9a97b245
#4923 : clarify what was added.
2009-01-18 14:41:52 +00:00
Georg Brandl
9f7fb849df
#4979 : correct result range for some random functions.
2009-01-18 13:24:10 +00:00
Georg Brandl
bb550c99cb
#4914 : trunc is in math.
2009-01-18 10:48:16 +00:00
Georg Brandl
79f722da6c
#4974 : fix redundant mention of lists and tuples.
2009-01-18 10:45:22 +00:00
Georg Brandl
6c81b54cc4
#4976 : union() and intersection() take multiple args, but talk about "the other".
2009-01-18 10:42:35 +00:00
Benjamin Peterson
afd7eaadb0
Merged revisions 68708 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68708 | jesse.noller | 2009-01-17 20:45:38 -0600 (Sat, 17 Jan 2009) | 1 line
Resolve issue 4449: AssertionError in mp_benchmarks.py
........
2009-01-18 04:01:18 +00:00
Jesse Noller
6ab22154dd
Resolve issue 4449: AssertionError in mp_benchmarks.py
2009-01-18 02:45:38 +00:00
Thomas Heller
757d25526a
Change an example in the docs to avoid a mistake when the code is copy
...
pasted and changed afterwards.
2009-01-16 18:53:44 +00:00
Vinay Sajip
b1a15e489a
Minor changes/corrections in markup.
2009-01-15 23:04:47 +00:00
Vinay Sajip
b5902e6054
Made minor changes/corrections in markup. Added a couple of section headings.
2009-01-15 22:48:13 +00:00
Raymond Hettinger
2950bca89c
Fix-up indentation of sample code blocks for namedtuple mthod definitions.
2009-01-14 01:39:51 +00:00
Raymond Hettinger
59894127e4
Minor doc tweaks.
2009-01-14 00:15:21 +00:00
Georg Brandl
686d53eed3
Merged revisions 68521,68527,68534-68536,68540,68547,68552,68563,68570,68572,68575,68579-68580,68584 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68521 | hirokazu.yamamoto | 2009-01-11 04:28:13 +0100 (So, 11 Jan 2009) | 1 line
Fixed version number in build_ssl.bat.
........
r68527 | martin.v.loewis | 2009-01-11 10:43:55 +0100 (So, 11 Jan 2009) | 2 lines
Issue #4895 : Use _strdup on Windows CE.
........
r68534 | gregory.p.smith | 2009-01-11 18:53:33 +0100 (So, 11 Jan 2009) | 2 lines
correct email address
........
r68535 | gregory.p.smith | 2009-01-11 18:57:54 +0100 (So, 11 Jan 2009) | 9 lines
Update the documentation for binascii and zlib crc32/adler32 functions
to better describe the signed vs unsigned return value behavior on
different platforms and versions of python. Mention the workaround to
make them all return the same thing by using & 0xffffffff.
Fixes issue4903.
Also needs to be merged into release26-maint, release30-maint, & py3k.
........
r68536 | benjamin.peterson | 2009-01-11 20:48:15 +0100 (So, 11 Jan 2009) | 1 line
add email addresses
........
r68540 | martin.v.loewis | 2009-01-12 08:57:11 +0100 (Mo, 12 Jan 2009) | 2 lines
Issue #4915 : Port sysmodule to Windows CE.
........
r68547 | kristjan.jonsson | 2009-01-12 19:09:27 +0100 (Mo, 12 Jan 2009) | 1 line
Add tests for invalid format specifiers in strftime, and for handling of invalid file descriptors in the os module.
........
r68552 | vinay.sajip | 2009-01-12 21:36:18 +0100 (Mo, 12 Jan 2009) | 1 line
Minor changes/corrections in markup.
........
r68563 | benjamin.peterson | 2009-01-13 02:49:10 +0100 (Di, 13 Jan 2009) | 1 line
small logic correction
........
r68570 | raymond.hettinger | 2009-01-13 10:08:32 +0100 (Di, 13 Jan 2009) | 5 lines
Issue 4922: Incorrect comments for MutableSet.add() and MutableSet.discard().
Needs to be backported to 2.6 and forward ported to 3.0 and 3.1.
........
r68572 | andrew.kuchling | 2009-01-13 14:40:54 +0100 (Di, 13 Jan 2009) | 1 line
Note that first coord. is left alone
........
r68575 | thomas.heller | 2009-01-13 18:32:28 +0100 (Di, 13 Jan 2009) | 1 line
Fix refcount leak in error cases. Bug found by coverity.
........
r68579 | benjamin.peterson | 2009-01-13 22:42:23 +0100 (Di, 13 Jan 2009) | 1 line
make bytearrayobject.o depend on the stringlib #4936
........
r68580 | benjamin.peterson | 2009-01-13 22:43:11 +0100 (Di, 13 Jan 2009) | 1 line
add bytearrayobject.h to PYTHON_HEADERS
........
r68584 | benjamin.peterson | 2009-01-13 23:22:41 +0100 (Di, 13 Jan 2009) | 1 line
de-spacify
........
2009-01-14 00:08:09 +00:00
Georg Brandl
c04c2890c7
Merged revisions 68292,68344,68361,68378,68424,68426,68429-68430,68450,68457,68480-68481,68493,68495,68499,68501,68512,68514-68515 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68292 | skip.montanaro | 2009-01-04 11:36:58 +0100 (So, 04 Jan 2009) | 3 lines
If user configures --without-gcc give preference to $CC instead of blindly
assuming the compiler will be "cc".
........
r68344 | marc-andre.lemburg | 2009-01-05 20:43:35 +0100 (Mo, 05 Jan 2009) | 7 lines
Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration
into the extern "C" section.
Add a few more comments and apply some minor edits to make the file contents
fit the original structure again.
........
r68361 | antoine.pitrou | 2009-01-06 19:34:08 +0100 (Di, 06 Jan 2009) | 3 lines
Use shutil.rmtree rather than os.rmdir.
........
r68378 | mark.dickinson | 2009-01-07 18:48:33 +0100 (Mi, 07 Jan 2009) | 2 lines
Issue #4869 : clarify documentation for random.expovariate.
........
r68424 | benjamin.peterson | 2009-01-09 03:53:35 +0100 (Fr, 09 Jan 2009) | 1 line
specify what -3 warnings are about
........
r68426 | benjamin.peterson | 2009-01-09 04:03:05 +0100 (Fr, 09 Jan 2009) | 1 line
fix spelling
........
r68429 | benjamin.peterson | 2009-01-09 04:05:14 +0100 (Fr, 09 Jan 2009) | 1 line
add -3 to manpage
........
r68430 | benjamin.peterson | 2009-01-09 04:07:27 +0100 (Fr, 09 Jan 2009) | 1 line
be more specific in -3 option help
........
r68450 | jeffrey.yasskin | 2009-01-09 17:47:07 +0100 (Fr, 09 Jan 2009) | 3 lines
Fix issue 4884, preventing a crash in the socket code when python is compiled
with llvm-gcc and run with a glibc <2.10.
........
r68457 | kristjan.jonsson | 2009-01-09 21:10:59 +0100 (Fr, 09 Jan 2009) | 1 line
Issue 3677: Fix import from UNC paths on Windows.
........
r68480 | vinay.sajip | 2009-01-10 14:38:04 +0100 (Sa, 10 Jan 2009) | 1 line
Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library.
........
r68481 | vinay.sajip | 2009-01-10 14:42:04 +0100 (Sa, 10 Jan 2009) | 1 line
Corrected an incorrect self-reference.
........
r68493 | benjamin.peterson | 2009-01-10 18:18:55 +0100 (Sa, 10 Jan 2009) | 1 line
rewrite verbose conditionals
........
r68495 | benjamin.peterson | 2009-01-10 18:36:44 +0100 (Sa, 10 Jan 2009) | 1 line
tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901
........
r68499 | mark.dickinson | 2009-01-10 20:14:55 +0100 (Sa, 10 Jan 2009) | 2 lines
Remove an unnecessary check from test_decimal.
........
r68501 | vinay.sajip | 2009-01-10 20:22:57 +0100 (Sa, 10 Jan 2009) | 1 line
Corrected minor typo and added .currentmodule directives to fix missing cross-references.
........
r68512 | benjamin.peterson | 2009-01-10 23:42:10 +0100 (Sa, 10 Jan 2009) | 1 line
make tests fail if they can't be imported
........
r68514 | benjamin.peterson | 2009-01-11 00:41:59 +0100 (So, 11 Jan 2009) | 1 line
move seealso to a more appropiate place
........
r68515 | benjamin.peterson | 2009-01-11 00:49:08 +0100 (So, 11 Jan 2009) | 1 line
macos 9 isn't supported
........
2009-01-14 00:00:17 +00:00
Andrew M. Kuchling
847c43a22d
Note that first coord. is left alone
2009-01-13 13:40:54 +00:00
Raymond Hettinger
fbcf749479
Add table of idioms/patterns for using Counter objects.
...
Improve the appearance and flow of the References section -- it used
to have a box around it that wasn't distinct from the preceding code
boxes and it had a weird bolding pattern and hanging indents that
made the section disproportionately large.
2009-01-13 08:38:14 +00:00
Raymond Hettinger
8278385a05
Minor documentation tweaks and simpler update() example.
2009-01-13 03:49:43 +00:00
Benjamin Peterson
5a0c864045
small logic correction
2009-01-13 01:49:10 +00:00
Raymond Hettinger
aaa6e630f8
Simplify Counter() API. Replace items keyword argument
...
with a mapping. Makes Counter() idempotent, makes update()
API the same as Counter.__init__(), makes a more readable
repr, makes the API more dict-like, and allows Steven
Bethard's update() example to work.
2009-01-13 01:05:03 +00:00
Raymond Hettinger
f94d7fa5fb
Issue 1696199: Add collections.Counter().
2009-01-12 22:58:41 +00:00
Vinay Sajip
99234c5c74
Minor changes/corrections in markup.
2009-01-12 20:36:18 +00:00
Benjamin Peterson
51a37034db
add email addresses
2009-01-11 19:48:15 +00:00
Gregory P. Smith
987735c4ec
Update the documentation for binascii and zlib crc32/adler32 functions
...
to better describe the signed vs unsigned return value behavior on
different platforms and versions of python. Mention the workaround to
make them all return the same thing by using & 0xffffffff.
Fixes issue4903.
Also needs to be merged into release26-maint, release30-maint, & py3k.
2009-01-11 17:57:54 +00:00
Gregory P. Smith
26f8d1bbe2
correct email address
2009-01-11 17:53:33 +00:00
Benjamin Peterson
5ed4f6cfb9
macos 9 isn't supported
2009-01-10 23:49:08 +00:00
Benjamin Peterson
4db53b212c
move seealso to a more appropiate place
2009-01-10 23:41:59 +00:00
Vinay Sajip
c2211adcc1
Corrected minor typo and added .currentmodule directives to fix missing cross-references.
2009-01-10 19:22:57 +00:00
Vinay Sajip
7c303e9a98
Corrected an incorrect self-reference.
2009-01-10 13:42:04 +00:00
Vinay Sajip
99505c841e
Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library.
2009-01-10 13:38:04 +00:00
Benjamin Peterson
9f7ae1b8c3
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
................
r68288 | benjamin.peterson | 2009-01-03 18:39:07 -0600 (Sat, 03 Jan 2009) | 1 line
only check the actual compile() call for a SyntaxError
................
r68289 | georg.brandl | 2009-01-04 02:26:10 -0600 (Sun, 04 Jan 2009) | 2 lines
Test commit.
................
r68290 | georg.brandl | 2009-01-04 04:23:49 -0600 (Sun, 04 Jan 2009) | 4 lines
Add "suspicious" builder which finds leftover markup in the HTML files.
Patch by Gabriel Genellina.
................
r68291 | georg.brandl | 2009-01-04 04:24:09 -0600 (Sun, 04 Jan 2009) | 2 lines
Fix two issues found by the suspicious builder.
................
r68325 | benjamin.peterson | 2009-01-04 16:00:18 -0600 (Sun, 04 Jan 2009) | 1 line
use Jinja 2.1.1
................
r68326 | georg.brandl | 2009-01-04 16:03:10 -0600 (Sun, 04 Jan 2009) | 2 lines
Update make.bat.
................
r68338 | neal.norwitz | 2009-01-04 21:57:25 -0600 (Sun, 04 Jan 2009) | 1 line
Make sure to checkout any new packages
................
r68388 | benjamin.peterson | 2009-01-07 21:39:46 -0600 (Wed, 07 Jan 2009) | 1 line
string exceptions are gone
................
r68393 | benjamin.peterson | 2009-01-07 22:01:00 -0600 (Wed, 07 Jan 2009) | 1 line
use new sphinx modules
................
r68423 | benjamin.peterson | 2009-01-08 20:13:34 -0600 (Thu, 08 Jan 2009) | 29 lines
Merged revisions 68306-68308,68340,68368,68422 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r68306 | benjamin.peterson | 2009-01-04 12:27:19 -0600 (Sun, 04 Jan 2009) | 1 line
fix_urllib: add mappings for the url parsing functions
........
r68307 | benjamin.peterson | 2009-01-04 12:30:01 -0600 (Sun, 04 Jan 2009) | 1 line
remove duplicated function
........
r68308 | benjamin.peterson | 2009-01-04 12:50:34 -0600 (Sun, 04 Jan 2009) | 1 line
turtle is no longer renamed
........
r68340 | georg.brandl | 2009-01-05 02:11:39 -0600 (Mon, 05 Jan 2009) | 2 lines
Fix undefined locals in parse_tokens().
........
r68368 | benjamin.peterson | 2009-01-06 17:56:10 -0600 (Tue, 06 Jan 2009) | 1 line
fix typo (thanks to Robert Lehmann)
........
r68422 | benjamin.peterson | 2009-01-08 20:01:03 -0600 (Thu, 08 Jan 2009) | 1 line
run the imports fixers after fix_import, so fix_import doesn't try to make stdlib renames into relative imports #4876
........
................
2009-01-09 03:04:01 +00:00
Raymond Hettinger
5b913e31a1
Forward port r68394 for issue 4816.
2009-01-08 06:39:04 +00:00
Raymond Hettinger
825758c50b
- Issue 4816: itertools.combinations() and itertools.product were raising
...
a ValueError for values of *r* larger than the input iterable. They now
correctly return an empty iterator.
2009-01-08 05:20:19 +00:00
Mark Dickinson
e6dc53120d
Issue #4869 : clarify documentation for random.expovariate.
2009-01-07 17:48:33 +00:00
Antoine Pitrou
f0d2c3f730
Issue #4272 : Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream.
2009-01-04 21:29:23 +00:00
Georg Brandl
dd7e313035
Fix two issues found by the suspicious builder.
2009-01-04 10:24:09 +00:00
Georg Brandl
775aa4a026
Test commit.
2009-01-04 08:26:10 +00:00
Georg Brandl
8c8cc6b392
Manually merge r67868 from 2.6 branch.
2009-01-03 22:05:22 +00:00
Georg Brandl
fe427895b5
Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.
2009-01-03 22:03:11 +00:00
Georg Brandl
734373cc4d
Merged revisions 68133-68134,68141-68142,68145-68146,68148-68149,68159-68162,68166,68171-68174,68179,68195-68196,68210,68214-68215,68217-68222 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68133 | antoine.pitrou | 2009-01-01 16:38:03 +0100 (Thu, 01 Jan 2009) | 1 line
fill in actual issue number in tests
........
r68134 | hirokazu.yamamoto | 2009-01-01 16:45:39 +0100 (Thu, 01 Jan 2009) | 2 lines
Issue #4797 : IOError.filename was not set when _fileio.FileIO failed to open
file with `str' filename on Windows.
........
r68141 | benjamin.peterson | 2009-01-01 17:43:12 +0100 (Thu, 01 Jan 2009) | 1 line
fix highlighting
........
r68142 | benjamin.peterson | 2009-01-01 18:29:49 +0100 (Thu, 01 Jan 2009) | 2 lines
welcome to 2009, Python!
........
r68145 | amaury.forgeotdarc | 2009-01-02 01:03:54 +0100 (Fri, 02 Jan 2009) | 5 lines
#4801 _collections module fails to build on cygwin.
_PyObject_GC_TRACK is the macro version of PyObject_GC_Track,
and according to documentation it should not be used for extension modules.
........
r68146 | ronald.oussoren | 2009-01-02 11:44:46 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue4472: "configure --enable-shared doesn't work on OSX"
........
r68148 | ronald.oussoren | 2009-01-02 11:48:31 +0100 (Fri, 02 Jan 2009) | 2 lines
Forgot to add a NEWS item in my previous checkin
........
r68149 | ronald.oussoren | 2009-01-02 11:50:48 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue4780
........
r68159 | ronald.oussoren | 2009-01-02 15:48:17 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue 1627952
........
r68160 | ronald.oussoren | 2009-01-02 15:52:09 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue r1737832
........
r68161 | ronald.oussoren | 2009-01-02 16:00:05 +0100 (Fri, 02 Jan 2009) | 3 lines
Fix for issue 1149804
........
r68162 | ronald.oussoren | 2009-01-02 16:06:00 +0100 (Fri, 02 Jan 2009) | 3 lines
Fix for issue 4472 is incompatible with Cygwin, this patch
should fix that.
........
r68166 | benjamin.peterson | 2009-01-02 19:26:23 +0100 (Fri, 02 Jan 2009) | 1 line
document PyMemberDef
........
r68171 | georg.brandl | 2009-01-02 21:25:14 +0100 (Fri, 02 Jan 2009) | 3 lines
#4811 : fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
........
r68172 | martin.v.loewis | 2009-01-02 21:32:55 +0100 (Fri, 02 Jan 2009) | 2 lines
Issue #4075 : Use OutputDebugStringW in Py_FatalError.
........
r68173 | martin.v.loewis | 2009-01-02 21:40:14 +0100 (Fri, 02 Jan 2009) | 2 lines
Issue #4051 : Prevent conflict of UNICODE macros in cPickle.
........
r68174 | benjamin.peterson | 2009-01-02 21:47:27 +0100 (Fri, 02 Jan 2009) | 1 line
fix compilation on non-Windows platforms
........
r68179 | raymond.hettinger | 2009-01-02 22:26:45 +0100 (Fri, 02 Jan 2009) | 1 line
Issue #4615 . Document how to use itertools for de-duping.
........
r68195 | georg.brandl | 2009-01-03 14:45:15 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove useless string literal.
........
r68196 | georg.brandl | 2009-01-03 15:29:53 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix indentation.
........
r68210 | georg.brandl | 2009-01-03 20:10:12 +0100 (Sat, 03 Jan 2009) | 2 lines
Set eol-style correctly for mp_distributing.py.
........
r68214 | georg.brandl | 2009-01-03 20:44:48 +0100 (Sat, 03 Jan 2009) | 2 lines
Make indentation consistent.
........
r68215 | georg.brandl | 2009-01-03 21:15:14 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix role name.
........
r68217 | georg.brandl | 2009-01-03 21:30:15 +0100 (Sat, 03 Jan 2009) | 2 lines
Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources.
........
r68218 | georg.brandl | 2009-01-03 21:38:59 +0100 (Sat, 03 Jan 2009) | 2 lines
Recognize usage of the default role.
........
r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix uses of the default role.
........
r68220 | georg.brandl | 2009-01-03 21:55:06 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove trailing whitespace.
........
r68221 | georg.brandl | 2009-01-03 22:04:55 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove tabs from the documentation.
........
r68222 | georg.brandl | 2009-01-03 22:11:58 +0100 (Sat, 03 Jan 2009) | 2 lines
Disable the line length checker by default.
........
2009-01-03 21:55:17 +00:00
Georg Brandl
7044b11818
Remove tabs from the documentation.
2009-01-03 21:04:55 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Georg Brandl
e92818f58c
Fix uses of the default role.
2009-01-03 20:47:01 +00:00
Georg Brandl
a24067e8b3
Fix role name.
2009-01-03 20:15:14 +00:00
Georg Brandl
aa5bb329fd
Make indentation consistent.
2009-01-03 19:44:48 +00:00
Raymond Hettinger
f4d8597a59
Issue 4796: Add from_float methods to the decimal module.
2009-01-03 19:02:23 +00:00
Georg Brandl
edd7d95581
Fix indentation.
2009-01-03 14:29:53 +00:00
Raymond Hettinger
c921dacf78
Lost one line on a decimal recipe.
2009-01-03 07:50:46 +00:00
Raymond Hettinger
b3833ddecd
Simplify one of the decimal recipes.
2009-01-03 07:46:36 +00:00
Raymond Hettinger
44e1581df3
Issue #4615 . Document how to use itertools for de-duping.
2009-01-02 21:26:45 +00:00
Raymond Hettinger
d84616535c
Issue #4615 . Document how to use itertools for de-duping.
2009-01-02 21:20:38 +00:00
Georg Brandl
fc29f27c16
#4811 : fix markup glitches (mostly remains of the conversion),
...
found by Gabriel Genellina.
2009-01-02 20:25:14 +00:00
Vinay Sajip
511048673f
Minor documentation changes relating to NullHandler, the module used for handlers and references to ConfigParser.
2009-01-02 18:53:04 +00:00
Benjamin Peterson
8ea999930c
fix highlighting
2009-01-01 16:43:12 +00:00
Georg Brandl
47fe9817f1
Merged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970-67971,67973,67982,67988,67990,67995,68014,68016,68030,68057,68061,68112,68115-68118,68120-68121,68123-68128 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67952 | georg.brandl | 2008-12-27 18:42:40 +0100 (Sat, 27 Dec 2008) | 2 lines
#4752 : actually use custom handler in example.
........
r67953 | georg.brandl | 2008-12-27 19:20:04 +0100 (Sat, 27 Dec 2008) | 3 lines
Patch #4739 by David Laban: add symbols to pydoc help topics,
so that ``help('@')`` works as expected.
........
r67955 | georg.brandl | 2008-12-27 19:27:53 +0100 (Sat, 27 Dec 2008) | 3 lines
Follow-up to r67746 in order to restore backwards-compatibility for
those who (monkey-)patch TextWrapper.wordsep_re with a custom RE.
........
r67957 | georg.brandl | 2008-12-27 19:49:19 +0100 (Sat, 27 Dec 2008) | 2 lines
#4754 : improve winsound documentation.
........
r67958 | georg.brandl | 2008-12-27 20:02:59 +0100 (Sat, 27 Dec 2008) | 2 lines
#4682 : 'b' is actually unsigned char.
........
r67960 | georg.brandl | 2008-12-27 20:04:44 +0100 (Sat, 27 Dec 2008) | 2 lines
#4695 : fix backslashery.
........
r67961 | georg.brandl | 2008-12-27 20:06:04 +0100 (Sat, 27 Dec 2008) | 2 lines
Use :samp: role.
........
r67963 | georg.brandl | 2008-12-27 20:11:15 +0100 (Sat, 27 Dec 2008) | 2 lines
#4671 : document that pydoc imports modules.
........
r67965 | antoine.pitrou | 2008-12-27 21:34:52 +0100 (Sat, 27 Dec 2008) | 3 lines
Issue #4677 : add two list comprehension tests to pybench.
........
r67967 | benjamin.peterson | 2008-12-27 23:18:58 +0100 (Sat, 27 Dec 2008) | 1 line
fix markup
........
r67970 | alexandre.vassalotti | 2008-12-28 02:52:58 +0100 (Sun, 28 Dec 2008) | 2 lines
Fix name mangling of PyUnicode_ClearFreeList.
........
r67971 | alexandre.vassalotti | 2008-12-28 03:10:35 +0100 (Sun, 28 Dec 2008) | 2 lines
Sort UCS-2/UCS-4 name mangling list.
........
r67973 | alexandre.vassalotti | 2008-12-28 03:58:22 +0100 (Sun, 28 Dec 2008) | 2 lines
Document Py_VaBuildValue.
........
r67982 | benjamin.peterson | 2008-12-28 16:37:31 +0100 (Sun, 28 Dec 2008) | 1 line
fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
........
r67988 | ronald.oussoren | 2008-12-28 20:40:56 +0100 (Sun, 28 Dec 2008) | 1 line
Issue4064: architecture string for universal builds on OSX
........
r67990 | ronald.oussoren | 2008-12-28 20:50:40 +0100 (Sun, 28 Dec 2008) | 3 lines
Update the fix for issue4064 to deal correctly with all three variants of
universal builds that are presented by the configure script.
........
r67995 | benjamin.peterson | 2008-12-28 22:16:07 +0100 (Sun, 28 Dec 2008) | 1 line
#4763 PyErr_ExceptionMatches won't blow up with NULL arguments
........
r68014 | benjamin.peterson | 2008-12-29 18:47:42 +0100 (Mon, 29 Dec 2008) | 1 line
#4764 set IOError.filename when trying to open a directory on POSIX platforms
........
r68016 | benjamin.peterson | 2008-12-29 18:56:58 +0100 (Mon, 29 Dec 2008) | 1 line
#4764 in io.open, set IOError.filename when trying to open a directory on POSIX platforms
........
r68030 | benjamin.peterson | 2008-12-29 22:38:14 +0100 (Mon, 29 Dec 2008) | 1 line
fix French
........
r68057 | vinay.sajip | 2008-12-30 08:01:25 +0100 (Tue, 30 Dec 2008) | 1 line
Minor documentation change relating to NullHandler.
........
r68061 | georg.brandl | 2008-12-30 11:15:49 +0100 (Tue, 30 Dec 2008) | 2 lines
#4778 : attributes can't be called.
........
r68112 | benjamin.peterson | 2009-01-01 00:48:39 +0100 (Thu, 01 Jan 2009) | 1 line
#4795 inspect.isgeneratorfunction() should return False instead of None
........
r68115 | benjamin.peterson | 2009-01-01 05:04:41 +0100 (Thu, 01 Jan 2009) | 1 line
simplfy code
........
r68116 | georg.brandl | 2009-01-01 12:46:51 +0100 (Thu, 01 Jan 2009) | 2 lines
#4100 : note that element children are not necessarily present on "start" events.
........
r68117 | georg.brandl | 2009-01-01 12:53:55 +0100 (Thu, 01 Jan 2009) | 2 lines
#4156 : make clear that "protocol" is to be replaced with the protocol name.
........
r68118 | georg.brandl | 2009-01-01 13:00:19 +0100 (Thu, 01 Jan 2009) | 2 lines
#4185 : clarify escape behavior of replacement strings.
........
r68120 | georg.brandl | 2009-01-01 13:15:31 +0100 (Thu, 01 Jan 2009) | 4 lines
#4228 : Pack negative values the same way as 2.4
in struct's L format.
........
r68121 | georg.brandl | 2009-01-01 13:43:33 +0100 (Thu, 01 Jan 2009) | 2 lines
Point to types module in new module deprecation notice.
........
r68123 | georg.brandl | 2009-01-01 13:52:29 +0100 (Thu, 01 Jan 2009) | 2 lines
#4784 : ... on three counts ...
........
r68124 | georg.brandl | 2009-01-01 13:53:19 +0100 (Thu, 01 Jan 2009) | 2 lines
#4782 : Fix markup error that hid load() and loads().
........
r68125 | georg.brandl | 2009-01-01 14:02:09 +0100 (Thu, 01 Jan 2009) | 2 lines
#4776 : add data_files and package_dir arguments.
........
r68126 | georg.brandl | 2009-01-01 14:05:13 +0100 (Thu, 01 Jan 2009) | 2 lines
Handlers are in the `logging.handlers` module.
........
r68127 | georg.brandl | 2009-01-01 14:14:49 +0100 (Thu, 01 Jan 2009) | 2 lines
#4767 : Use correct submodules for all MIME classes.
........
r68128 | antoine.pitrou | 2009-01-01 15:11:22 +0100 (Thu, 01 Jan 2009) | 3 lines
Issue #3680 : Reference cycles created through a dict, set or deque iterator did not get collected.
........
2009-01-01 15:46:10 +00:00
Georg Brandl
4ba9f412bf
#4767 : Use correct submodules for all MIME classes.
2009-01-01 13:14:49 +00:00
Georg Brandl
430effb6a9
Handlers are in the `logging.handlers` module.
2009-01-01 13:05:13 +00:00
Georg Brandl
914fc88cdc
#4782 : Fix markup error that hid load() and loads().
2009-01-01 12:53:19 +00:00
Georg Brandl
07bfe45730
#4784 : ... on three counts ...
2009-01-01 12:52:29 +00:00
Georg Brandl
3f74f57d76
Point to types module in new module deprecation notice.
2009-01-01 12:43:33 +00:00
Georg Brandl
775c307068
#4222 : document dis.findlabels() and dis.findlinestarts() and
...
put them into dis.__all__.
2009-01-01 12:09:40 +00:00
Georg Brandl
d0eb8f9692
#4156 : make clear that "protocol" is to be replaced with the protocol name.
2009-01-01 11:53:55 +00:00
Georg Brandl
fb22263586
#4100 : note that element children are not necessarily present on "start" events.
2009-01-01 11:46:51 +00:00
Georg Brandl
3bcb0ce922
#4778 : attributes can't be called.
2008-12-30 10:15:49 +00:00
Vinay Sajip
7cc9755cfb
Minor documentation change relating to NullHandler.
2008-12-30 07:01:25 +00:00
Antoine Pitrou
cc928de44f
wrong version number in doc changes committed in r67979
2008-12-28 14:24:29 +00:00
Antoine Pitrou
697ca3d0cb
Issue #4444 : Allow assertRaises() to be used as a context handler.
2008-12-28 14:09:36 +00:00
Benjamin Peterson
fbaeca70e5
fix markup
2008-12-27 22:18:58 +00:00
Georg Brandl
1ffbfbc566
#4671 : document that pydoc imports modules.
2008-12-27 19:11:15 +00:00
Georg Brandl
6b28f394a2
Use :samp: role.
2008-12-27 19:06:04 +00:00
Georg Brandl
f5b04fc65e
#4695 : fix backslashery.
2008-12-27 19:04:44 +00:00
Georg Brandl
348fa7968b
#4754 : improve winsound documentation.
2008-12-27 18:49:19 +00:00
Georg Brandl
bedc343145
#4752 : actually use custom handler in example.
2008-12-27 17:42:40 +00:00
Antoine Pitrou
6f193e0e95
Issue #4756 : zipfile.is_zipfile() now supports file-like objects.
...
Patch by Gabriel Genellina.
2008-12-27 15:43:12 +00:00
Benjamin Peterson
c6e80eb5ee
Merged revisions 67654,67676-67677,67681,67692,67725,67746,67748,67761,67784-67785,67787-67788,67802,67832,67848-67849,67859,67862-67864,67880,67882,67885,67889-67892,67895 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
................
r67654 | georg.brandl | 2008-12-07 16:42:09 -0600 (Sun, 07 Dec 2008) | 2 lines
#4457 : rewrite __import__() documentation.
................
r67676 | benjamin.peterson | 2008-12-08 20:03:03 -0600 (Mon, 08 Dec 2008) | 1 line
specify how things are copied
................
r67677 | benjamin.peterson | 2008-12-08 20:05:11 -0600 (Mon, 08 Dec 2008) | 1 line
revert unrelated change to installer script
................
r67681 | jeremy.hylton | 2008-12-09 15:03:10 -0600 (Tue, 09 Dec 2008) | 2 lines
Add simple unittests for Request
................
r67692 | amaury.forgeotdarc | 2008-12-10 18:03:42 -0600 (Wed, 10 Dec 2008) | 2 lines
#1030250 : correctly pass the dry_run option to the mkpath() function.
................
r67725 | benjamin.peterson | 2008-12-12 22:02:20 -0600 (Fri, 12 Dec 2008) | 1 line
fix incorrect example
................
r67746 | antoine.pitrou | 2008-12-13 17:12:30 -0600 (Sat, 13 Dec 2008) | 3 lines
Issue #4163 : Use unicode-friendly word splitting in the textwrap functions when given an unicode string.
................
r67748 | benjamin.peterson | 2008-12-13 19:46:11 -0600 (Sat, 13 Dec 2008) | 1 line
remove has_key usage
................
r67761 | benjamin.peterson | 2008-12-14 11:26:04 -0600 (Sun, 14 Dec 2008) | 1 line
fix missing bracket
................
r67784 | georg.brandl | 2008-12-15 02:33:58 -0600 (Mon, 15 Dec 2008) | 2 lines
#4446 : document "platforms" argument for setup().
................
r67785 | georg.brandl | 2008-12-15 02:36:11 -0600 (Mon, 15 Dec 2008) | 2 lines
#4611 : fix typo.
................
r67787 | georg.brandl | 2008-12-15 02:58:59 -0600 (Mon, 15 Dec 2008) | 2 lines
#4578 : fix has_key() usage in compiler package.
................
r67788 | georg.brandl | 2008-12-15 03:07:39 -0600 (Mon, 15 Dec 2008) | 2 lines
#4568 : remove limitation in varargs callback example.
................
r67802 | amaury.forgeotdarc | 2008-12-15 16:29:14 -0600 (Mon, 15 Dec 2008) | 4 lines
#3632 : the "pyo" macro from gdbinit can now run when the GIL is released.
Patch by haypo.
................
r67832 | antoine.pitrou | 2008-12-17 16:46:54 -0600 (Wed, 17 Dec 2008) | 4 lines
Issue #2467 : gc.DEBUG_STATS reports invalid elapsed times.
Patch by Neil Schemenauer, very slightly modified.
................
r67848 | benjamin.peterson | 2008-12-18 20:28:56 -0600 (Thu, 18 Dec 2008) | 1 line
fix typo
................
r67849 | benjamin.peterson | 2008-12-18 20:31:35 -0600 (Thu, 18 Dec 2008) | 1 line
_call_method -> _callmethod and _get_value to _getvalue
................
r67859 | amaury.forgeotdarc | 2008-12-19 16:56:48 -0600 (Fri, 19 Dec 2008) | 4 lines
#4700 : crtlicense.txt is displayed by the license() command and should be kept ascii-only.
Will port to 3.0
................
r67862 | benjamin.peterson | 2008-12-19 20:48:02 -0600 (Fri, 19 Dec 2008) | 1 line
copy sentence from docstring
................
r67863 | benjamin.peterson | 2008-12-19 20:51:26 -0600 (Fri, 19 Dec 2008) | 1 line
add headings
................
r67864 | benjamin.peterson | 2008-12-19 20:57:19 -0600 (Fri, 19 Dec 2008) | 1 line
beef up docstring
................
r67880 | benjamin.peterson | 2008-12-20 16:49:24 -0600 (Sat, 20 Dec 2008) | 1 line
remove redundant sentence
................
r67882 | benjamin.peterson | 2008-12-20 16:59:49 -0600 (Sat, 20 Dec 2008) | 1 line
add some recent releases to the list
................
r67885 | benjamin.peterson | 2008-12-20 17:48:54 -0600 (Sat, 20 Dec 2008) | 1 line
silence annoying DeprecationWarning
................
r67889 | benjamin.peterson | 2008-12-20 19:04:32 -0600 (Sat, 20 Dec 2008) | 1 line
sphinx.web is long gone
................
r67890 | benjamin.peterson | 2008-12-20 19:12:26 -0600 (Sat, 20 Dec 2008) | 1 line
update readme
................
r67891 | benjamin.peterson | 2008-12-20 19:14:47 -0600 (Sat, 20 Dec 2008) | 1 line
there are way too many places which need to have the current version added
................
r67892 | benjamin.peterson | 2008-12-20 19:29:32 -0600 (Sat, 20 Dec 2008) | 9 lines
Merged revisions 67809 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r67809 | benjamin.peterson | 2008-12-15 21:54:45 -0600 (Mon, 15 Dec 2008) | 1 line
fix logic error
........
................
r67895 | neal.norwitz | 2008-12-21 08:28:32 -0600 (Sun, 21 Dec 2008) | 2 lines
Add Tarek for work on distutils.
................
2008-12-21 17:01:26 +00:00
Benjamin Peterson
9de7298102
remove redundant sentence
2008-12-20 22:49:24 +00:00
Raymond Hettinger
043e9f1431
Clarify the round-off behavior of int().
...
Remove incorrect deprecation (int is alive and well).
2008-12-20 07:28:32 +00:00
Benjamin Peterson
4f6ec9d9ff
add headings
2008-12-20 02:51:26 +00:00
Benjamin Peterson
2d54e72a62
copy sentence from docstring
2008-12-20 02:48:02 +00:00
Mark Dickinson
4b3ed5d8ba
Fix typo in Python equivalent for bit_length.
2008-12-19 17:46:51 +00:00
Raymond Hettinger
ba666a59db
Fix-up and clean-up docs for int.bit_length().
...
* Replace dramatic footnote with in-line comment about possible round-off errors in logarithms of large numbers.
* Add comments to the pure python code equivalent.
* replace floor() with int() in the mathematical equivalent so the type is correct (should be an int, not a float).
* add abs() to the mathematical equivalent so that it matches the previous line that it is supposed to be equivalent to.
* make one combined example with a negative input.
2008-12-19 09:06:07 +00:00
Benjamin Peterson
2b97b71b6f
_call_method -> _callmethod and _get_value to _getvalue
2008-12-19 02:31:35 +00:00
Benjamin Peterson
dd5312d62d
fix typo
2008-12-19 02:28:56 +00:00
Mark Dickinson
1a707981c8
Issue #3439 : add bit_length method to int and long.
...
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.
2008-12-17 16:14:37 +00:00
Antoine Pitrou
d0c3515bc5
Issue #2183 : Simplify and optimize bytecode for list comprehensions.
2008-12-17 00:38:28 +00:00
Georg Brandl
60b2e38b68
#4568 : remove limitation in varargs callback example.
2008-12-15 09:07:39 +00:00
Benjamin Peterson
d729aada6a
specify how things are copied
2008-12-09 02:03:03 +00:00
Georg Brandl
f8668ce473
#4457 : rewrite __import__() documentation.
2008-12-07 22:42:09 +00:00
Georg Brandl
f3a0b86408
Merged revisions 67571,67574-67576,67579-67581,67583,67591,67597,67608,67631 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67571 | georg.brandl | 2008-12-05 10:13:45 +0100 (Fri, 05 Dec 2008) | 2 lines
Use markup.
........
r67574 | georg.brandl | 2008-12-05 10:25:32 +0100 (Fri, 05 Dec 2008) | 2 lines
#4441 followup: Add link to open() docs for Windows.
........
r67575 | georg.brandl | 2008-12-05 12:34:51 +0100 (Fri, 05 Dec 2008) | 2 lines
#4544 : add `dedent` to textwrap.__all__.
........
r67576 | georg.brandl | 2008-12-05 13:09:41 +0100 (Fri, 05 Dec 2008) | 2 lines
#4529 : fix parser's validation for try-except-finally statements.
........
r67579 | georg.brandl | 2008-12-05 16:29:39 +0100 (Fri, 05 Dec 2008) | 2 lines
#4517 : add "special method" glossary entry and clarify when __getattribute__ is bypassed.
........
r67580 | georg.brandl | 2008-12-05 16:32:29 +0100 (Fri, 05 Dec 2008) | 2 lines
#4478 : document that copyfile() can raise Error.
........
r67581 | georg.brandl | 2008-12-05 16:42:03 +0100 (Fri, 05 Dec 2008) | 2 lines
#3171 : document that *slice are removed in 3k.
........
r67583 | georg.brandl | 2008-12-05 16:52:20 +0100 (Fri, 05 Dec 2008) | 4 lines
Move __import__ to the bottom of the functions list.
It doesn't make sense for such a fundamental document to have
the most obscure function listed at the top.
........
r67591 | georg.brandl | 2008-12-05 19:00:06 +0100 (Fri, 05 Dec 2008) | 2 lines
Followup to #4511 : add link from decorator glossary entry to definition.
........
r67597 | georg.brandl | 2008-12-05 20:03:19 +0100 (Fri, 05 Dec 2008) | 2 lines
Remove confusing sentence part.
........
r67608 | georg.brandl | 2008-12-06 12:57:12 +0100 (Sat, 06 Dec 2008) | 2 lines
Follow-up to #4488 : document PIPE and STDOUT properly.
........
r67631 | georg.brandl | 2008-12-07 12:54:07 +0100 (Sun, 07 Dec 2008) | 2 lines
Add link to the favicon to the docs.
........
2008-12-07 14:47:12 +00:00
Georg Brandl
f5d5a66349
Follow-up to #4488 : document PIPE and STDOUT properly.
2008-12-06 11:57:12 +00:00
Georg Brandl
248e172ff8
Move __import__ to the bottom of the functions list.
...
It doesn't make sense for such a fundamental document to have
the most obscure function listed at the top.
2008-12-05 15:52:20 +00:00
Georg Brandl
95a840b044
#3171 : document that *slice are removed in 3k.
2008-12-05 15:42:03 +00:00
Georg Brandl
905e0f65ba
#4478 : document that copyfile() can raise Error.
2008-12-05 15:32:29 +00:00
Georg Brandl
e70ff4bf0d
#4441 followup: Add link to open() docs for Windows.
2008-12-05 09:25:32 +00:00
Georg Brandl
8d6c49047f
Use markup.
2008-12-05 09:13:45 +00:00
Georg Brandl
fa71a90703
Merged revisions 67326,67498,67531-67532,67538,67553-67554,67556-67557 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67326 | benjamin.peterson | 2008-11-22 02:59:15 +0100 (Sat, 22 Nov 2008) | 1 line
backport r67325: make FileIO.mode always contain 'b'
........
r67498 | raymond.hettinger | 2008-12-03 16:42:10 +0100 (Wed, 03 Dec 2008) | 1 line
Backport r67478
........
r67531 | georg.brandl | 2008-12-04 19:54:05 +0100 (Thu, 04 Dec 2008) | 2 lines
Add reference to enumerate() to indices example.
........
r67532 | georg.brandl | 2008-12-04 19:59:16 +0100 (Thu, 04 Dec 2008) | 2 lines
Add another heapq example.
........
r67538 | georg.brandl | 2008-12-04 22:28:16 +0100 (Thu, 04 Dec 2008) | 2 lines
Clarification to avoid confusing output with file descriptors.
........
r67553 | georg.brandl | 2008-12-05 08:49:49 +0100 (Fri, 05 Dec 2008) | 2 lines
#4408 : document regex.groups.
........
r67554 | georg.brandl | 2008-12-05 08:52:26 +0100 (Fri, 05 Dec 2008) | 2 lines
#4409 : fix asterisks looking like footnotes.
........
r67556 | georg.brandl | 2008-12-05 09:02:17 +0100 (Fri, 05 Dec 2008) | 2 lines
#4441 : improve doc for os.open() flags.
........
r67557 | georg.brandl | 2008-12-05 09:06:57 +0100 (Fri, 05 Dec 2008) | 2 lines
Add an index entry for "subclassing immutable types".
........
2008-12-05 09:08:28 +00:00
Georg Brandl
5c7f8fb7fd
Merged revisions 67398,67423-67424,67432,67440-67441,67444-67445,67454,67457,67463 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67398 | benjamin.peterson | 2008-11-26 18:39:17 +0100 (Wed, 26 Nov 2008) | 1 line
fix typo in sqlite3 docs
........
r67423 | jesse.noller | 2008-11-28 19:59:35 +0100 (Fri, 28 Nov 2008) | 2 lines
issue4238: bsd support for cpu_count
........
r67424 | christian.heimes | 2008-11-28 20:33:33 +0100 (Fri, 28 Nov 2008) | 1 line
Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
........
r67432 | benjamin.peterson | 2008-11-29 00:18:46 +0100 (Sat, 29 Nov 2008) | 1 line
SVN format 9 is the same it seems
........
r67440 | jeremy.hylton | 2008-11-29 00:42:59 +0100 (Sat, 29 Nov 2008) | 4 lines
Move definition int sval into branch of ifdef where it is used.
Otherwise, you get a warning about an undefined variable.
........
r67441 | jeremy.hylton | 2008-11-29 01:09:16 +0100 (Sat, 29 Nov 2008) | 2 lines
Reflow long lines.
........
r67444 | amaury.forgeotdarc | 2008-11-29 03:03:32 +0100 (Sat, 29 Nov 2008) | 2 lines
Fix a small typo in docstring
........
r67445 | benjamin.peterson | 2008-11-30 04:07:33 +0100 (Sun, 30 Nov 2008) | 1 line
StringIO.close() stops you from using the buffer, too
........
r67454 | benjamin.peterson | 2008-11-30 15:43:23 +0100 (Sun, 30 Nov 2008) | 1 line
note the version that works
........
r67457 | christian.heimes | 2008-11-30 22:16:28 +0100 (Sun, 30 Nov 2008) | 1 line
w# requires Py_ssize_t
........
r67463 | skip.montanaro | 2008-12-01 02:55:22 +0100 (Mon, 01 Dec 2008) | 1 line
typo in comment
........
2008-12-05 09:00:55 +00:00
Georg Brandl
d20946002a
Merged revisions 67245,67277,67289,67295,67301-67303,67307,67330,67332,67336,67355,67359,67362,67364,67367-67368,67370 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67245 | benjamin.peterson | 2008-11-17 23:05:19 +0100 (Mon, 17 Nov 2008) | 1 line
improve __hash__ docs
........
r67277 | skip.montanaro | 2008-11-19 04:35:41 +0100 (Wed, 19 Nov 2008) | 1 line
patch from issue 1108
........
r67289 | brett.cannon | 2008-11-19 21:29:39 +0100 (Wed, 19 Nov 2008) | 2 lines
Ignore .pyc and .pyo files.
........
r67295 | benjamin.peterson | 2008-11-20 05:05:12 +0100 (Thu, 20 Nov 2008) | 1 line
move useful sys.settrace information to the function's documentation from the debugger
........
r67301 | benjamin.peterson | 2008-11-20 22:25:31 +0100 (Thu, 20 Nov 2008) | 1 line
fix indentation and a sphinx warning
........
r67302 | benjamin.peterson | 2008-11-20 22:44:23 +0100 (Thu, 20 Nov 2008) | 1 line
oops! didn't mean to disable that test
........
r67303 | benjamin.peterson | 2008-11-20 23:06:22 +0100 (Thu, 20 Nov 2008) | 1 line
backport r67300
........
r67307 | amaury.forgeotdarc | 2008-11-21 00:34:31 +0100 (Fri, 21 Nov 2008) | 9 lines
Fixed issue #4233 .
Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False.
The file descriptor is still kept open but the file object behaves like a closed file.
The FileIO object also got a new readonly attribute closefd.
Approved by Barry
Backport of r67106 from the py3k branch
........
r67330 | georg.brandl | 2008-11-22 09:34:14 +0100 (Sat, 22 Nov 2008) | 2 lines
#4364 : fix attribute name on ctypes object.
........
r67332 | georg.brandl | 2008-11-22 09:45:33 +0100 (Sat, 22 Nov 2008) | 2 lines
Fix typo.
........
r67336 | georg.brandl | 2008-11-22 11:08:50 +0100 (Sat, 22 Nov 2008) | 2 lines
Fix error about "-*-" being mandatory in coding cookies.
........
r67355 | georg.brandl | 2008-11-23 20:17:25 +0100 (Sun, 23 Nov 2008) | 2 lines
#4392 : fix parameter name.
........
r67359 | georg.brandl | 2008-11-23 22:57:30 +0100 (Sun, 23 Nov 2008) | 2 lines
#4399 : fix typo.
........
r67362 | gregory.p.smith | 2008-11-24 01:41:43 +0100 (Mon, 24 Nov 2008) | 2 lines
Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple.
........
r67364 | benjamin.peterson | 2008-11-24 02:16:29 +0100 (Mon, 24 Nov 2008) | 2 lines
replace reference to debugger-hooks
........
r67367 | georg.brandl | 2008-11-24 17:16:07 +0100 (Mon, 24 Nov 2008) | 2 lines
Fix typo.
........
r67368 | georg.brandl | 2008-11-24 20:56:47 +0100 (Mon, 24 Nov 2008) | 2 lines
#4404 : make clear what "path" is.
........
r67370 | jeremy.hylton | 2008-11-24 23:00:29 +0100 (Mon, 24 Nov 2008) | 8 lines
Add unittests that verify documented behavior of public methods in Transport
class.
These methods can be overridden. The tests verify that the overridden
methods are called, and that changes to the connection have a visible
effect on the request.
........
2008-12-05 08:51:30 +00:00
Georg Brandl
bb608a84aa
Merged revisions 67154,67157-67159,67162-67163,67166,67175-67176,67189,67224-67225,67243 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67154 | hirokazu.yamamoto | 2008-11-08 04:46:17 +0100 (Sat, 08 Nov 2008) | 1 line
Issue #4071 : ntpath.abspath returned an empty string for long unicode path.
........
r67157 | georg.brandl | 2008-11-08 12:47:44 +0100 (Sat, 08 Nov 2008) | 2 lines
Don't use "HOWTO" as the title for all howto .tex files.
........
r67158 | georg.brandl | 2008-11-08 12:48:20 +0100 (Sat, 08 Nov 2008) | 2 lines
Update "Documenting" a bit. Concentrate on Python-specifics.
........
r67159 | georg.brandl | 2008-11-08 13:52:25 +0100 (Sat, 08 Nov 2008) | 2 lines
Fix warning.
........
r67162 | benjamin.peterson | 2008-11-08 17:55:33 +0100 (Sat, 08 Nov 2008) | 1 line
a few compile() and ast doc improvements
........
r67163 | benjamin.peterson | 2008-11-08 18:04:18 +0100 (Sat, 08 Nov 2008) | 1 line
move context clue to versionchanged tag
........
r67166 | benjamin.peterson | 2008-11-08 18:07:06 +0100 (Sat, 08 Nov 2008) | 1 line
clarify what was added
........
r67175 | benjamin.peterson | 2008-11-09 02:44:32 +0100 (Sun, 09 Nov 2008) | 1 line
update link
........
r67176 | benjamin.peterson | 2008-11-09 02:52:32 +0100 (Sun, 09 Nov 2008) | 1 line
fix comment
........
r67189 | benjamin.peterson | 2008-11-11 22:56:06 +0100 (Tue, 11 Nov 2008) | 1 line
use correct name
........
r67224 | georg.brandl | 2008-11-15 09:10:04 +0100 (Sat, 15 Nov 2008) | 2 lines
#4324 : fix getlocale() argument.
........
r67225 | brett.cannon | 2008-11-15 23:33:25 +0100 (Sat, 15 Nov 2008) | 1 line
Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
........
r67243 | benjamin.peterson | 2008-11-17 22:39:05 +0100 (Mon, 17 Nov 2008) | 1 line
a few fixes on the download page
........
2008-12-05 08:35:09 +00:00
Georg Brandl
0c880bd4fb
#4441 : improve doc for os.open() flags.
2008-12-05 08:02:17 +00:00
Georg Brandl
5b5f273640
#4409 : fix asterisks looking like footnotes.
2008-12-05 07:52:26 +00:00
Georg Brandl
b46f0d788c
#4408 : document regex.groups.
2008-12-05 07:49:49 +00:00
Gregory P. Smith
26576801a6
rename the new check_call_output to check_output. its less ugly.
2008-12-05 02:27:01 +00:00
Georg Brandl
1743201364
Clarification to avoid confusing output with file descriptors.
2008-12-04 21:28:16 +00:00
Gregory P. Smith
97f49f4be7
Adds a subprocess.check_call_output() function to return the output from a
...
process on success or raise an exception on error.
2008-12-04 20:21:09 +00:00
Georg Brandl
32d1408192
Add another heapq example.
2008-12-04 18:59:16 +00:00
Vinay Sajip
213faca204
Issue #4384 : Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
2008-12-03 23:22:58 +00:00
Benjamin Peterson
4f21f985eb
StringIO.close() stops you from using the buffer, too
2008-11-30 03:07:33 +00:00
Jesse Noller
6e15860081
Merge r67419 - mp doc fixes
2008-11-28 18:37:06 +00:00
Jesse Noller
a280fd72e7
mp docs - fix issues 4012,3518,4193
2008-11-28 18:22:54 +00:00
Benjamin Peterson
78f98a4d7a
fix typo in sqlite3 docs
2008-11-26 17:39:17 +00:00
Georg Brandl
623429132e
#4404 : make clear what "path" is.
2008-11-24 19:56:47 +00:00
Georg Brandl
df9bcf1196
Fix typo.
2008-11-24 16:16:07 +00:00
Benjamin Peterson
39ff59e577
replace reference to debugger-hooks
2008-11-24 01:16:29 +00:00
Georg Brandl
0b9999c079
#4399 : fix typo.
2008-11-23 21:57:30 +00:00
Georg Brandl
061d2e2ee9
#4392 : fix parameter name.
2008-11-23 19:17:25 +00:00
Georg Brandl
b053f991b4
#4364 : fix attribute name on ctypes object.
2008-11-22 08:34:14 +00:00
Amaury Forgeot d'Arc
322656596a
Fixed issue #4233 .
...
Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False.
The file descriptor is still kept open but the file object behaves like a closed file.
The FileIO object also got a new readonly attribute closefd.
Approved by Barry
Backport of r67106 from the py3k branch
2008-11-20 23:34:31 +00:00
Benjamin Peterson
050f4adcb4
fix indentation and a sphinx warning
2008-11-20 21:25:31 +00:00
Benjamin Peterson
5ab9c3badb
move useful sys.settrace information to the function's documentation from the debugger
2008-11-20 04:05:12 +00:00
Brett Cannon
031f3fb69a
Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
2008-11-15 22:33:25 +00:00
Georg Brandl
ee1a7da135
#4324 : fix getlocale() argument.
2008-11-15 08:10:04 +00:00
Benjamin Peterson
c4d39b2507
use correct name
2008-11-11 21:56:06 +00:00
Benjamin Peterson
942e4779b0
clarify what was added
2008-11-08 17:07:06 +00:00
Benjamin Peterson
728c6f6d34
move context clue to versionchanged tag
2008-11-08 17:04:18 +00:00