summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* Merge doc changes from 3.2.Éric Araujo2011-09-016-26/+26
|\ | | | | | | | | rstlint complains about packaging docs but I’m working on those in another patch.
| * Fix some misuses of Sphinx roles and one typoÉric Araujo2011-09-011-1/+1
| |
| * Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.Éric Araujo2011-09-015-25/+25
| |
| * Remove outdated pointer to optparse (fixes #11360).Éric Araujo2011-08-261-3/+0
| | | | | | | | The doc already points to argparse.
* | Clean up packaging.util: add __all__, remove some unused functions.Éric Araujo2011-09-011-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This huge module is the heir of six distutils modules, and contains a number of miscellaneous functions. I have attempted to help readers of the source code with an annoted __all__. Removed or deprecated functions have been removed from the documentation; I’m working on another patch to document the remaining public functions. For the curious: The unzip_file and untar_file were used by (or intended to be used by) “pysetup install path/to/archive.tar.gz”, but the code presently used shutil.unpack_archive and an helper function, so I just deleted them. They’re still in the repository if we need them in the future. The find_packages function is not used anymore but I want to discuss module and package auto-discovery (in “pysetup create”) again before removing it. subst_vars now lives in sysconfig; rfc822_escape is inlined in packaging.metadata. Other functions are for internal use only, or deprecated; I have left them out of __all__ and sprinkled TODO notes for future cleanups.
* | Synchronize packaging docs with distutils’ (includes fix for #9302)Éric Araujo2011-08-252-32/+41
| |
* | Issue #12803: SSLContext.load_cert_chain() now accepts a password argumentAntoine Pitrou2011-08-251-1/+17
| | | | | | | | to be used if the private key is encrypted. Patch by Adam Simpkins.
* | #12191: add shutil.chown() to change user and/or group owner of a given path ↵Sandro Tosi2011-08-222-0/+17
| | | | | | | | also specifying their names.
* | Add support for the send/recvmsg API to the socket module. Patch by David ↵Nick Coghlan2011-08-221-0/+182
| | | | | | | | Watson and Heiko Wundram. (Closes #6560)
* | Issue #12326: update sys.platform doc for LinuxVictor Stinner2011-08-211-7/+12
| |
* | Issue #12213: make it clear that BufferedRWPair shouldn't be called with theAntoine Pitrou2011-08-201-19/+23
|\ \ | |/ | | | | same object as reader and writer, and deemphasize it in document order.
| * Issue #12213: make it clear that BufferedRWPair shouldn't be called with theAntoine Pitrou2011-08-201-19/+23
| | | | | | | | same object as reader and writer, and deemphasize it in document order.
* | #12787: merge with 3.2Sandro Tosi2011-08-201-2/+9
|\ \ | |/
| * #12787: link original MultiCall proposal to webarchive and in a footnoteSandro Tosi2011-08-201-2/+9
| |
* | merge with 3.2Sandro Tosi2011-08-191-1/+1
|\ \ | |/
| * fix description of \r; thanks to Thomas Waldmann from docs@Sandro Tosi2011-08-191-1/+1
| |
* | merge with 3.2Sandro Tosi2011-08-191-2/+2
|\ \ | |/
| * mention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@Sandro Tosi2011-08-191-2/+2
| |
* | Mark abc.abstractproperty as a propertyÉric Araujo2011-08-191-1/+1
| |
* | Merge 3.2Éric Araujo2011-08-1912-53/+65
|\ \ | |/
| * Link isinstance/issubclass to the ABC glossary entry (#12256)Éric Araujo2011-08-191-2/+4
| |
| * Don’t quote characters twice.Éric Araujo2011-08-181-17/+17
| | | | | | | | | | | | | | | | | | | | ``code`` markup is enough to mark command-line fragments or to talk about a character. ``'c'`` is still used for actual Python string objects. I did a similar change in optparse.rst in r86521. I’ve also ported two minor changes from the 3.3 version of the file (removing an unnecessary module name in a class directive, adding a comma).
| * Don’t use “arg” for “argument”Éric Araujo2011-08-181-15/+15
| |
| * Add a few missing source links from 2.7 and harmonize lib docs headersÉric Araujo2011-08-187-16/+23
| |
| * Minor improvements to BadZipFile and BadZipfile docs.Éric Araujo2011-08-181-3/+4
| | | | | | | | | | | | | | | | | | I made the doc for the compat alias BadZipfile shorter and used a directive to document deprecation. I figured there was no point of talking about zipfile.error (“the old name” that’s older than the other old name BadZipfile) in the 3.x docs so I just removed it.
| * Fix markup to get a target instead of a commentÉric Araujo2011-08-181-1/+1
| |
| * Fix a typo and touch up blank linesÉric Araujo2011-08-181-2/+2
| |
| * Add missing reST target for one section of this fileÉric Araujo2011-08-181-0/+3
| |
* | Move versionadded directive to the top level, as we do in other filesÉric Araujo2011-08-161-2/+3
| |
* | Fix typoÉric Araujo2011-08-161-1/+1
| |
* | #12204: merge with 3.2.Ezio Melotti2011-08-151-18/+21
|\ \ | |/
| * #12204: document that str.upper().isupper() might be False and add a note ↵Ezio Melotti2011-08-151-18/+21
| | | | | | | | about cased characters.
* | #12725: merge with 3.2.Ezio Melotti2011-08-141-3/+3
|\ \ | |/
| * #12725: fix working. Patch by Ben Hayden.Ezio Melotti2011-08-141-3/+3
| |
* | Issue #12646: Add an 'eof' attribute to zlib.Decompress.Nadeem Vawda2011-08-131-8/+12
| | | | | | | | | | | | This will make it easier to detect truncated input streams. Also, make zlib's error messages more consistent.
* | merge with 3.2Sandro Tosi2011-08-121-1/+1
|\ \ | |/
| * it's 'rather than'; reported by James Bateman on docs@Sandro Tosi2011-08-121-1/+1
| |
| * Branch mergeÉric Araujo2011-08-121-19/+19
| |\
* | \ Brench mergeÉric Araujo2011-08-122-20/+20
|\ \ \
| * | | Fix directive markupÉric Araujo2011-08-101-1/+1
| | | |
| * | | Merge 3.2Éric Araujo2011-08-101-19/+19
| |\ \ \ | | | |/ | | |/|
| | * | Use real word in English text (i.e. not code)Éric Araujo2011-08-101-19/+19
| | | |
* | | | Closes #12718: Merge documentation fix from 3.2.Vinay Sajip2011-08-111-0/+25
|\ \ \ \ | | |_|/ | |/| |
| * | | Issue #12718: Add documentation on using custom importers.Vinay Sajip2011-08-111-0/+25
| | |/ | |/|
| * | Branch mergeÉric Araujo2011-08-081-36/+88
| |\ \
* | | | Add support for unary plus and unary minus to collections.Counter()Raymond Hettinger2011-08-091-1/+13
| |_|/ |/| |
* | | Branch mergeÉric Araujo2011-08-082-43/+95
|\ \ \
| * | | Clean up shutil.disk_usage.Éric Araujo2011-08-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move a test from call time to define time - Add the function name to __all__ - Improve docstring and docs A few lines are now duplicated (named tuple definition and docstring) but I think the end result reads better.
| * | | Merge doc changes from 3.2 (#8617, #10745).Éric Araujo2011-08-061-41/+92
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the install and library docs, I changed the text to refer to packaging instead of distutils. I also checked that the documented paths correctly reflect what’s really defined in sysconfig; the main difference with paths defined in distutils.install is that include directories don’t end with the distribution name anymore (i.e. distutils uses include/python3.3/spam, sysconfig include/python3.3), I have no idea why.
| | * | Add documentation for PEP 370 features in distutils (#10745).Éric Araujo2011-08-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This started out as an easy task, just add a section describing this alternate scheme, but I found a lot of cleanup to do along the way: - fixed inverted reST targets - fixed entries for modules (hi abiflags!) or data files - avoided duplicating the same options listing five or six times - added missing entries for C headers locations - added documentation for --install-lib - fixed a few misuses of the option role (see #9312), but not all (not worth the time, but will do it in packaging docs) - fixed some markup The paths fixes were done with an eye on the source code in the install command, so they really describe what’s actually done. The situation on Mac OS X is rather messy: the fix for #8084 touched site and sysconfig, but distutils doesn’t use these files. I suspect we have a mismatched stdlib at the moment, and the fix is not even clear (see the bug report for further discussion).