summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* Add versionadded (3.2) tag to os.supports_bytes_environ documentationVictor Stinner2010-05-181-0/+2
|
* Issue #8513: os.get_exec_path() supports b'PATH' key and bytes value.Victor Stinner2010-05-181-1/+8
| | | | | | subprocess.Popen() and os._execvpe() support bytes program name. Add os.supports_bytes_environ flag: True if the native OS type of the environment is bytes (eg. False on Windows).
* Removing the reference in the docs for overriding _urlopener global value. ↵Senthil Kumaran2010-05-181-20/+0
| | | | See Issue8619 for details.
* Merged revisions 81279 via svnmerge fromSenthil Kumaran2010-05-181-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81279 | senthil.kumaran | 2010-05-18 08:50:43 +0530 (Tue, 18 May 2010) | 3 lines Fix minor typo. ........
* Issue #8633: Support for POSIX.1-2008 binary pax headers.Lars Gustäbel2010-05-171-3/+5
| | | | | | | | | | | | | | tarfile is now able to read and write pax headers with a "hdrcharset=BINARY" record. This record was introduced in POSIX.1-2008 as a method to store unencoded binary strings that cannot be translated to UTF-8. In practice, this is just a workaround that allows a tar implementation to store filenames that do not comply with the current filesystem encoding and thus cannot be decoded correctly. Additionally, tarfile works around a bug in current versions of GNU tar: undecodable filenames are stored as-is in a pax header without a "hdrcharset" record being added. Technically, these headers are invalid, but tarfile manages to read them correctly anyway.
* Issue #8550: Add first class `SSLContext` objects to the ssl module.Antoine Pitrou2010-05-161-47/+236
|
* Merged revisions 81229 via svnmerge fromAntoine Pitrou2010-05-161-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81229 | antoine.pitrou | 2010-05-16 16:16:56 +0200 (dim., 16 mai 2010) | 3 lines Document that SSL v2 is insecure. ........
* Issue #8610: Load file system codec at startup, and display a fatal error onVictor Stinner2010-05-151-5/+7
| | | | | failure. Set the file system encoding to utf-8 (instead of None) if getting the locale encoding failed, or if nl_langinfo(CODESET) function is missing.
* Merged revisions 81163 via svnmerge fromVictor Stinner2010-05-145-12/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP ........
* Merged revisions 81108 via svnmerge fromFred Drake2010-05-121-3/+12
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81108 | fred.drake | 2010-05-11 22:24:50 -0400 (Tue, 11 May 2010) | 4 lines - clarify Attr.name comment on the presence of colons in namespace mode - document Attr.value - wrap some long lines ........
* Merged revisions 81087,81106 via svnmerge fromFred Drake2010-05-121-3/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81087 | fred.drake | 2010-05-11 14:12:27 -0400 (Tue, 11 May 2010) | 2 lines fix typo ........ r81106 | fred.drake | 2010-05-11 21:22:03 -0400 (Tue, 11 May 2010) | 2 lines fix error introduced in previous commit, and the adjacent additional typo ........
* #8575 - Update and reorganize some _winreg contents.Brian Curtin2010-05-111-82/+247
| | | | | | | | | | | | | I've removed the hopeful note about a future higher-level module since it's been in there for quite a long time and nothing of the sort has come up. There are a few places where markup was added to cross-reference other sections, and many of the external links have been removed and now point to newly created sections containing previously undocumented information. The Value Types section was created and it's contents were taken from a function-specific area, since it applies to more than just that function. It fits in better with the other newly documented constants.
* remove reference to second argument to raise #8676Benjamin Peterson2010-05-101-4/+4
|
* Fix issue #4972: adds ftplib.FTP context manager protocolGiampaolo Rodolà2010-05-101-0/+19
|
* Merged revisions 80990 via svnmerge fromMichael Foord2010-05-081-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80990 | michael.foord | 2010-05-08 18:40:52 +0200 (Sat, 08 May 2010) | 1 line Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038. ........
* replace long with intBenjamin Peterson2010-05-081-3/+3
|
* Merged revisions 80980 via svnmerge fromMichael Foord2010-05-081-0/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80980 | michael.foord | 2010-05-08 17:09:37 +0200 (Sat, 08 May 2010) | 1 line Documenting test discovery from package name and potential problems with test discovery importing tests from the wrong location. Issue 7780 and issue 8547. ........
* Issue #8644: Improve accuracy of timedelta.total_seconds, by doing intermediateMark Dickinson2010-05-081-1/+4
| | | | | | | computations with integer arithmetic instead of floating point. td.total_seconds() now agrees with td / timedelta(seconds = 1). Thanks Alexander Belopolsky for the patch.
* Issue #8514: Add os.fsencode() function (Unix only): encode a string to bytesVictor Stinner2010-05-081-0/+11
| | | | for use in the file system, environment variables or the command line.
* Merged revisions 80894,80896 via svnmerge fromBenjamin Peterson2010-05-062-129/+341
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80894 | benjamin.peterson | 2010-05-06 17:33:46 -0500 (Thu, 06 May 2010) | 1 line Availability gets its own line ........ r80896 | benjamin.peterson | 2010-05-06 17:49:28 -0500 (Thu, 06 May 2010) | 1 line ensure that availability information is on its own line at the end of the function docs ........
* spacing and another versionaddedBenjamin Peterson2010-05-061-0/+3
|
* versionadded for environbBenjamin Peterson2010-05-061-0/+2
|
* Issue #8603: Create a bytes version of os.environ for UnixVictor Stinner2010-05-062-7/+38
| | | | | | | Create os.environb mapping and os.getenvb() function, os.unsetenv() encodes str argument to the file system encoding with the surrogateescape error handler (instead of utf8/strict) and accepts bytes, and posix.environ keys and values are bytes.
* Merged revisions 80826 via svnmerge fromMark Dickinson2010-05-051-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80826 | mark.dickinson | 2010-05-05 22:52:39 +0100 (Wed, 05 May 2010) | 1 line Issue 8628: fix incorrect documentation for numbers.Complex.imag. ........
* Issue #8390: tarfile uses surrogateespace as the default error handlerVictor Stinner2010-05-051-8/+13
| | | | (instead of replace in read mode or strict in write mode)
* Fix issue8619 - Doc fix - code example.Senthil Kumaran2010-05-051-1/+1
|
* Fix Issue8619 docfix related to urllib.Senthil Kumaran2010-05-051-4/+4
|
* Merged revisions 80716 via svnmerge fromJesus Cea2010-05-031-3/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80716 | jesus.cea | 2010-05-03 18:09:21 +0200 (Mon, 03 May 2010) | 1 line wbits negative was documented SEVEN years ago ........
* Merged revisions 80631 via svnmerge fromGiampaolo Rodolà2010-04-291-91/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80631 | giampaolo.rodola | 2010-04-29 22:31:17 +0200 (gio, 29 apr 2010) | 1 line Fixes issue 8543 (asynchat documentation issues) ........
* Merged revisions 80627 via svnmerge fromSenthil Kumaran2010-04-291-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80627 | senthil.kumaran | 2010-04-30 01:16:08 +0530 (Fri, 30 Apr 2010) | 3 lines Fixing the Broken links of mechanize library. ........
* Merged revisions 80620 via svnmerge fromEzio Melotti2010-04-291-7/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80620 | ezio.melotti | 2010-04-29 18:07:20 +0200 (Thu, 29 Apr 2010) | 1 line Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup. ........
* make sure shutil checks for bz2 availability before it uses it.Tarek Ziadé2010-04-291-3/+3
|
* Merged revisions 80591-80592 via svnmerge fromAntoine Pitrou2010-04-281-8/+7
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80591 | antoine.pitrou | 2010-04-28 21:53:35 +0200 (mer., 28 avril 2010) | 4 lines State clearly that truncate() doesn't move the file position, and remove a duplicate of its specification. ........ r80592 | antoine.pitrou | 2010-04-28 21:57:33 +0200 (mer., 28 avril 2010) | 3 lines Clarify and fix the documentation for IOBase.close() ........
* #8295 : Added shutil.unpack_archive and related APIsTarek Ziadé2010-04-281-1/+63
|
* Merged revisions 80583 via svnmerge fromSenthil Kumaran2010-04-281-0/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80583 | senthil.kumaran | 2010-04-28 22:50:43 +0530 (Wed, 28 Apr 2010) | 3 lines Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked" ........
* Merged revisions 80561 via svnmerge fromBenjamin Peterson2010-04-271-7/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80561 | benjamin.peterson | 2010-04-27 17:56:31 -0500 (Tue, 27 Apr 2010) | 1 line make slice notation in (r)find docs consistent ........
* Merged revisions 80544 via svnmerge fromBenjamin Peterson2010-04-271-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80544 | benjamin.peterson | 2010-04-27 16:01:54 -0500 (Tue, 27 Apr 2010) | 1 line reject None as the buffering argument like the C implementation does #8546 ........
* Adding versionadded to several new functions in unittest documentation.Michael Foord2010-04-261-0/+8
|
* Merged revisions 80476 via svnmerge fromMichael Foord2010-04-251-36/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80476 | michael.foord | 2010-04-25 20:02:46 +0100 (Sun, 25 Apr 2010) | 1 line Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs. ........
* Merged revisions 79786 via svnmerge fromEzio Melotti2010-04-251-70/+72
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79786 | ezio.melotti | 2010-04-05 11:02:54 +0300 (Mon, 05 Apr 2010) | 1 line Fix markup, punctuation and whitespaces in _winreg.rst. ........
* Merged revisions 80150,80460-80461 via svnmerge fromGeorg Brandl2010-04-251-1/+1
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80150 | r.david.murray | 2010-04-17 17:45:38 +0200 (Sa, 17 Apr 2010) | 2 lines Update link to Apple Publication Style guide. ........ r80460 | georg.brandl | 2010-04-25 12:16:00 +0200 (So, 25 Apr 2010) | 1 line #8528: fix typo. ........ r80461 | georg.brandl | 2010-04-25 12:17:27 +0200 (So, 25 Apr 2010) | 1 line #8522: use with statement instead of try-finally for file handling. ........
* Fix #5774. Change doc to reflect that some functions have defaults but not ↵Brian Curtin2010-04-241-3/+3
| | | | kwargs.
* added a note about the ignore_dangling_symlinks optionTarek Ziadé2010-04-231-1/+2
|
* Port of issue8451 to python3: Syslog use sys.argv[0] for ident.Sean Reifscheider2010-04-231-20/+65
|
* Merged revisions 80362 via svnmerge fromSenthil Kumaran2010-04-221-1/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80362 | senthil.kumaran | 2010-04-22 17:40:13 +0530 (Thu, 22 Apr 2010) | 4 lines Changed tests to only urlparse one, which was enough, addressed Ezio's comment on Invalid url check statement and versionchanged string in docs. ........
* Fixing a note on encoding declaration, its usage in urlopen based on reviewSenthil Kumaran2010-04-221-17/+24
| | | | comments from RDM and Ezio.
* Fix indentation.Georg Brandl2010-04-221-2/+2
|
* Merged revisions 80336 via svnmerge fromSenthil Kumaran2010-04-221-5/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80336 | senthil.kumaran | 2010-04-22 11:18:35 +0530 (Thu, 22 Apr 2010) | 3 lines Updated the RFCs list in the See Also section of urlparse.rst ........
* Port #7347 to py3k.Brian Curtin2010-04-211-3/+101
| | | | Add CreateKeyEx and DeleteKeyEx, along with test improvements.
* Issue #2706: Add support for dividing a timedelta by another timedelta.Mark Dickinson2010-04-201-2/+20
| | | | | | | | | | | | | Adds support for the three division operations: - timedelta / timedelta -> float - timedelta // timedelta -> int - timedelta % timedelta -> timedelta also adds support for divmod(timedelta, timedelta). Patch by Victor Stinner, adapted for py3k and extended by Alexander Belopolsky.