Senthil Kumaran
7089a4e127
Fix Issue10226 - Clarifying the role of the netloc separator.
2010-11-07 12:57:04 +00:00
Mark Dickinson
4a3c7c4ecf
Issue #10145 : the float.is_integer method was undocumented.
2010-11-07 12:48:18 +00:00
Mark Dickinson
43ef32ae36
Issue 10297: Add missing import in decimal example snippet.
2010-11-07 11:24:44 +00:00
Eric Smith
5ad85f81b0
Added example for str.format_map().
2010-11-06 13:22:13 +00:00
Éric Araujo
1cb25aa2e3
Tweak example to make clear the argument is a boolean, not any integer.
...
With Raymond’s approval.
2010-11-06 07:03:07 +00:00
Éric Araujo
c6ecb012da
Fix wrapper/wrapped typo (with Raymond’s blessing)
2010-11-06 06:33:03 +00:00
Éric Araujo
8f9626b08b
Fix typo
2010-11-06 06:30:16 +00:00
Éric Araujo
2642ad07ee
Fix typo from r86170.
2010-11-06 04:59:27 +00:00
Antoine Pitrou
a078115434
Issue #10282 : Add a `nntp_implementation` attribute to NNTP objects.
2010-11-05 19:16:37 +00:00
Ezio Melotti
4841fd60fb
Merge the doc for assertTrue/False, assert[Not]AlmostEqual, assert[Not]RegexpMatches, rephrase a couple of paragraphs, and remove redundant doc about the msg arg.
2010-11-05 15:43:40 +00:00
Antoine Pitrou
08eeadac27
Issue #10283 : Add a `group_pattern` argument to NNTP.list().
2010-11-04 21:36:15 +00:00
Ezio Melotti
8f2e07b7d0
Move the deprecated aliases in a new section.
2010-11-04 19:09:28 +00:00
Eric Smith
27bbca6f79
Issue #6081 : Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
2010-11-04 17:06:58 +00:00
Ezio Melotti
9794a26de9
Merge the doc for assertIs[Not], assertIs[Not]None, and assert[Not]IsInstance.
2010-11-04 14:52:13 +00:00
Raymond Hettinger
fd15191b92
Demote one warning to a note. There's no security risk here, just a note on usage and avialability.
2010-11-04 03:02:56 +00:00
Raymond Hettinger
f4477703a5
Put warning block in the main flow of text.
2010-11-04 02:39:07 +00:00
Phillip J. Eby
b6d4a8e4de
Implement http://bugs.python.org/issue10155 using And Clover's patch, w/added
...
docs and support for more client-generated CGI variables. (This should
complete the WSGI 1.0.1 compliance changes for Python 3.x.)
2010-11-03 22:39:01 +00:00
Ezio Melotti
327433f864
Divide the context manager signature from the normal one for consistency with the other methods.
2010-11-03 20:51:17 +00:00
Ezio Melotti
9c02c2ffa2
Minor cleanups to unittest doc.
2010-11-03 20:45:31 +00:00
Ezio Melotti
4370b30139
List the assert* methods in tables in unittest doc.
2010-11-03 20:39:14 +00:00
Antoine Pitrou
7dd1af00ad
Issue #10285 : explain the `flag` return field better in NNTP.list().
...
Patch by Julien Élie.
2010-11-03 18:32:54 +00:00
Antoine Pitrou
4103bc09a4
Issue #10281 : nntplib now returns None for absent fields in the OVER/XOVER
...
response, instead of raising an exception.
2010-11-03 18:18:43 +00:00
Phillip J. Eby
a01799f71a
Update docs (and sample app in wsgiref.simple_server) to reflect PEP 3333.
2010-11-03 00:46:45 +00:00
Michael Foord
7a26cb9772
Updating unittest docs to reflect change in unittest.TestCase.assert[Not]AlmostEqual signature change
2010-11-02 14:27:10 +00:00
Martin v. Löwis
16f344df36
Issue #10184 : Touch directories only once when extracting a tarfile.
2010-11-01 21:39:13 +00:00
Alexander Belopolsky
ea13d9d86b
Issue #10199 : Moved Demo/turtle under Lib/
2010-11-01 17:39:37 +00:00
Alexander Belopolsky
6509599056
Issue #7061 : Simplified a section title.
2010-11-01 15:45:34 +00:00
Raymond Hettinger
b373799e05
Issue 7447: Improve docs for sum().
2010-10-31 21:23:24 +00:00
Antoine Pitrou
e974571d36
Issue #10160 : Speed up operator.attrgetter. Patch by Christos Georgiou.
2010-10-31 15:26:04 +00:00
Vinay Sajip
c5b273011b
Added style argument to logging.basicConfig() and documented this change.
2010-10-31 14:59:16 +00:00
Raymond Hettinger
b643ef8f8e
Issue #5729 : json.dumps to support using '\t' as an indent string
2010-10-31 08:00:16 +00:00
Alexander Belopolsky
a9615d14de
Issues #7061 , #10225 : Fixed doctests in turtle manual
2010-10-31 00:51:11 +00:00
Georg Brandl
6ce29fa7a8
Fix test_mailbox by supporting context manager protocol for get_file() returns.
2010-10-30 14:33:28 +00:00
Alexander Belopolsky
3cdfb12360
Issue 7061: Explained 'gon'
2010-10-29 17:16:49 +00:00
Lars Gustäbel
9cbdd75ec5
Add read support for all missing variants of the GNU sparse
...
extensions. Thus, in addition to GNUTYPE_SPARSE headers, sparse
information in pax headers created by GNU tar can now be decoded.
All three formats 0.0, 0.1 and 1.0 are supported.
On filesystems that support this, holes in files are now restored
whenever a sparse member is extracted.
2010-10-29 09:08:19 +00:00
Georg Brandl
3122ce3e5d
(?:...) is a non-capturing, but still grouping construct.
2010-10-29 06:17:38 +00:00
Georg Brandl
5c66bcaa1a
Fix markup error and update false positive entries from "make suspicious".
2010-10-29 05:36:28 +00:00
Georg Brandl
b98273fff9
Re-add "debugger" label, it is used in pydoc-topics.
2010-10-29 05:24:24 +00:00
Georg Brandl
30176890d0
send_bytes obviously needs bytes...
2010-10-29 05:22:17 +00:00
Georg Brandl
5bc168600a
Review new Barrier docs.
2010-10-28 13:07:50 +00:00
Kristján Valur Jónsson
3be00037d6
issue 8777
...
Add threading.Barrier
2010-10-28 09:43:10 +00:00
Georg Brandl
b9a4391754
#10218 : return timeout status from Condition.wait, mirroring other primitives' behavior.
2010-10-28 09:03:20 +00:00
Georg Brandl
4d54088599
#7351 : add more consistent exception name alias.
2010-10-28 06:42:33 +00:00
Georg Brandl
7424dd359c
#5975 : add unix_dialect to csv module.
2010-10-27 07:27:06 +00:00
Alexander Belopolsky
f0a0d14c28
Issue #7061 : Dropped "for Tk" from turtle module title and moved its
...
doc section under frameworks. Also fixed a couple of markup issues
that affected TOC rendering.
2010-10-27 03:06:43 +00:00
Georg Brandl
599dbfca2f
#10200 : typo.
2010-10-26 19:58:11 +00:00
Georg Brandl
70cd7bc748
#10200 : typo.
2010-10-26 19:31:06 +00:00
Georg Brandl
19208900f4
Markup fix.
2010-10-26 06:59:23 +00:00
Vinay Sajip
a39c571061
logging: Added style option to Formatter to allow %, {} or himBHformatting.
2010-10-25 13:57:39 +00:00
Georg Brandl
2062937aff
Add documentation about the default warnings filters.
2010-10-24 15:16:02 +00:00
Georg Brandl
08be72d0aa
Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default,
...
except when configured --with-pydebug.
Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
2010-10-24 15:11:22 +00:00
Georg Brandl
872a702bbd
Fix style.
2010-10-24 14:32:45 +00:00
Nick Coghlan
543af75961
Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)
2010-10-24 11:23:25 +00:00
R. David Murray
8451c4b6e0
#1349106 : add linesep argument to generator.flatten and header.encode.
2010-10-23 22:19:56 +00:00
Georg Brandl
1e908af335
#6518 : enable context manager protocol for ossaudiodev types.
2010-10-23 17:31:52 +00:00
Antoine Pitrou
d532321f7b
Issue #5639 : Add a *server_hostname* argument to `SSLContext.wrap_socket`
...
in order to support the TLS SNI extension. `HTTPSConnection` and
`urlopen()` also use this argument, so that HTTPS virtual hosts are now
supported.
2010-10-22 18:19:07 +00:00
Alexander Belopolsky
c08f544844
Fixed a typo
2010-10-21 22:29:36 +00:00
Alexander Belopolsky
41f56f0192
Issue #7061 : Fixed section title
2010-10-21 18:15:39 +00:00
Antoine Pitrou
9583cac633
Issue #10089 : Add support for arbitrary -X options on the command-line.
...
They can be retrieved through a new attribute `sys._xoptions`.
2010-10-21 13:42:28 +00:00
Vinay Sajip
05ed69590b
logging: Improved StreamHandler documentation.
2010-10-20 20:34:09 +00:00
Vinay Sajip
22246fdd9d
logging: clarified Filter documentation.
2010-10-20 11:40:02 +00:00
R. David Murray
f19076e592
Correct signature of BytesGenerator in docs.
2010-10-19 23:05:35 +00:00
Vinay Sajip
fc082cafa6
logging: Documented usage of callables as filters.
2010-10-19 21:13:49 +00:00
Alexander Belopolsky
435d306aa9
Issue #7061 : Fixed some of the issues in turtle module documentation
...
reported by Terry J. Reedy.
2010-10-19 21:07:52 +00:00
Georg Brandl
f285bcca28
Be consistent in the spelling of thread-safe(ty).
2010-10-19 21:07:16 +00:00
Georg Brandl
7004bd1a3d
#10092 : Properly reset locale in Locale*Calendar classes. The context manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this.
2010-10-19 18:54:25 +00:00
R. David Murray
7cefc30d34
Tighten up 'byte string' wording in base64 docs.
2010-10-17 23:12:16 +00:00
R. David Murray
a90032a3fb
#1343 : Add short_empty_elements option to XMLGenerator.
...
Patch and tests by Neil Muller.
2010-10-17 22:46:45 +00:00
Georg Brandl
134c35b191
#9730 : fix example.
2010-10-17 11:36:28 +00:00
Georg Brandl
2379877246
Fix documentation of dis.opmap direction.
2010-10-17 11:29:07 +00:00
Georg Brandl
c16e8f17ac
Make twisted example a bit more logical.
2010-10-17 11:23:56 +00:00
Georg Brandl
c8148265dc
Port changes to pickle docs apparently lost in py3k.
2010-10-17 11:13:37 +00:00
Georg Brandl
8527126f85
#9237 : document sys.call_tracing().
2010-10-17 11:06:14 +00:00
Georg Brandl
6f4e68d82c
#5962 : clarify sys.exit() vs. threads.
2010-10-17 10:51:45 +00:00
Georg Brandl
e0bf91d597
Some markup and style fixes in argparse docs.
2010-10-17 10:34:28 +00:00
Georg Brandl
9375492be3
#9112 : document error() and exit() methods of ArgumentParser.
2010-10-17 10:28:04 +00:00
Georg Brandl
0036bcf8d8
#9105 : move pickle warning to a bit more prominent location.
2010-10-17 10:24:54 +00:00
Georg Brandl
047e486c45
Remove second parser module example; it referred to non-readily-available example files, and this kind of discovery is much better done with the AST nowadays anyway.
2010-10-17 10:22:28 +00:00
Georg Brandl
531d76b096
#5212 : md5 weaknesses do not affect hmac, so remove the note about that.
2010-10-17 10:09:06 +00:00
Georg Brandl
f3d008737e
Fix copy-paste error in example.
2010-10-17 10:07:29 +00:00
Georg Brandl
eec2d768cd
#8968 : add actual name of token constants.
2010-10-17 09:46:11 +00:00
Georg Brandl
80b75fd288
Fix hmac docs: it takes and returns bytes, except for hexdigest().
2010-10-17 09:43:35 +00:00
Georg Brandl
7716ca6cdd
#8855 : add shelve security warning.
2010-10-17 09:37:54 +00:00
Georg Brandl
96115fb2d3
#8811 : small fixes to sqlite3 docs.
2010-10-17 09:33:24 +00:00
Georg Brandl
8e9eb95c40
#8686 : remove potentially confusing wording that does not add any value.
2010-10-17 09:23:05 +00:00
Georg Brandl
edc9e7ff17
#8556 : use less confusing mapping key in example.
2010-10-17 09:19:03 +00:00
Georg Brandl
17ef0d51d7
Note that maxtasksperchild is new in 3.2.
2010-10-17 06:21:59 +00:00
Georg Brandl
8e4ddcfaea
#10122 : typo fix.
2010-10-16 18:51:05 +00:00
Barry Warsaw
a40453df37
abiflags: alphabetize and versionadded
2010-10-16 14:17:50 +00:00
Barry Warsaw
8cf4eae522
First (uncontroversial) part of issue 9807.
...
* Expose the build flags to Python as sys.abiflags
* Shared library libpythonX.Y<abiflags>.so
* python-config --abiflags
* Make two distutils tests that failed with --enable-shared (even before this
patch) succeed.
* Fix a few small style issues.
2010-10-16 01:04:07 +00:00
Georg Brandl
392c92a0c6
#10072 : assume a bit less knowledge of the FTP protocol in the ftplib docs.
2010-10-15 19:46:19 +00:00
Georg Brandl
d4460aaacd
#4785 : document strict argument of JSONDecoder, plus add object_pairs_hook in the docstrings.
2010-10-15 17:03:02 +00:00
Georg Brandl
b67878a522
#7790 : move table of struct_time members to the actual description of struct_time.
2010-10-15 17:01:15 +00:00
Georg Brandl
39cadc3ffe
#4968 : updates to inspect.is* function docs.
2010-10-15 16:53:24 +00:00
Georg Brandl
d0b0e1d869
#6798 : fix wrong docs for the arguments to several trace events.
2010-10-15 16:42:37 +00:00
Georg Brandl
f1f8d47d38
#7303 : add documentation for useful pkgutil functions and classes.
2010-10-15 16:35:46 +00:00
Georg Brandl
3ed4114f7d
#9801 : document how list and dict proxies created by Managers behave w.r.t. mutable items.
2010-10-15 16:19:43 +00:00
Georg Brandl
c1c4bf85c1
#9683 : remove broken dead code dealing with nested arguments removed from Py3k, and update the docs and docstrings accordingly.
2010-10-15 16:07:41 +00:00
Georg Brandl
f74cf77c8d
#7771 : reference to documentation of dictview methods and operations.
2010-10-15 16:03:02 +00:00
Georg Brandl
1f7fffb308
#2830 : add html.escape() helper and move cgi.escape() uses in the standard library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
2010-10-15 15:57:45 +00:00