summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Document the context attribute of SSL socketsAntoine Pitrou2010-05-241-0/+10
|
* Add a versionadded tag for SSL contexts.Antoine Pitrou2010-05-241-0/+2
|
* Merged revisions 81490 via svnmerge fromSteven Bethard2010-05-243-4/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81490 | steven.bethard | 2010-05-23 19:38:00 -0700 (Sun, 23 May 2010) | 1 line argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP) ........
* Issue #8188: Introduce a new scheme for computing hashes of numbersMark Dickinson2010-05-232-0/+127
| | | | | | (instances of int, float, complex, decimal.Decimal and fractions.Fraction) that makes it easy to maintain the invariant that hash(x) == hash(y) whenever x and y have equal value.
* #Issue 8540: Make Context._clamp attribute public in decimal module.Mark Dickinson2010-05-221-4/+21
|
* Merged revisions 81450 via svnmerge fromGeorg Brandl2010-05-211-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81450 | georg.brandl | 2010-05-22 00:03:29 +0200 (Sa, 22 Mai 2010) | 1 line #8709: mention Windows support for os.devnull. ........
* Merged revisions 81440 via svnmerge fromGeorg Brandl2010-05-211-4/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81440 | georg.brandl | 2010-05-21 23:47:05 +0200 (Fr, 21 Mai 2010) | 1 line Correct info for Semaphore.acquire() semantics under OSX. ........
* Merged revisions 81431 via svnmerge fromGeorg Brandl2010-05-211-8/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81431 | georg.brandl | 2010-05-21 23:30:47 +0200 (Fr, 21 Mai 2010) | 1 line #8707: remove duplicate paragraph part. ........
* Fix signatures for the various TemporaryFile class^Wfunctions.Georg Brandl2010-05-211-6/+5
|
* Fix variable name in example.Georg Brandl2010-05-211-1/+1
|
* Recorded merge of revisions 81415 via svnmerge fromGeorg Brandl2010-05-211-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line typo ........
* Remove redundant example.Georg Brandl2010-05-211-4/+1
|
* Merged revisions 81404 via svnmerge fromGeorg Brandl2010-05-211-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81404 | georg.brandl | 2010-05-21 22:24:45 +0200 (Fr, 21 Mai 2010) | 1 line #8783: replace link to now dead hash collision FAQ. ........
* Merged revisions 81398 via svnmerge fromAntoine Pitrou2010-05-211-5/+33
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81398 | antoine.pitrou | 2010-05-21 19:12:38 +0200 (ven., 21 mai 2010) | 6 lines Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows embedders of the interpreter to set sys.argv without also modifying sys.path. This helps fix `CVE-2008-5983 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_. ........
* Issue #4870: Add an `options` attribute to SSL contexts, as well asAntoine Pitrou2010-05-211-0/+56
| | | | | several ``OP_*`` constants to the `ssl` module. This allows to selectively disable protocol versions, when used in combination with `PROTOCOL_SSLv23`.
* Merged revisions 81385 via svnmerge fromBenjamin Peterson2010-05-201-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81385 | benjamin.peterson | 2010-05-20 17:23:37 -0500 (Thu, 20 May 2010) | 1 line fix extra 't' #8778 ........
* Add descriptor HOWTO to py3k docs.Georg Brandl2010-05-192-0/+432
|
* Recorded merge of revisions 80466-80469 via svnmerge fromGeorg Brandl2010-05-191-40/+43
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80466 | georg.brandl | 2010-04-25 12:54:42 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. ........ r80467 | georg.brandl | 2010-04-25 12:55:16 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface. ........ r80468 | georg.brandl | 2010-04-25 12:55:58 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Minor spelling changes to _winreg docs. ........ r80469 | georg.brandl | 2010-04-25 12:56:41 +0200 (So, 25 Apr 2010) | 1 line Fix code example to have valid syntax so that it can be highlighted. ........
* Merged revisions ↵Georg Brandl2010-05-199-79/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80030,80067,80069,80080-80081,80084,80432-80433,80465-80470,81059,81065-81067 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line Get rid of multi-row cells. ........ r80067 | georg.brandl | 2010-04-14 10:53:38 +0200 (Mi, 14 Apr 2010) | 1 line #5341: typo. ........ r80069 | georg.brandl | 2010-04-14 15:50:31 +0200 (Mi, 14 Apr 2010) | 1 line Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek(). ........ r80080 | georg.brandl | 2010-04-14 21:16:38 +0200 (Mi, 14 Apr 2010) | 1 line #8399: add note about Windows and O_BINARY. ........ r80081 | georg.brandl | 2010-04-14 23:34:44 +0200 (Mi, 14 Apr 2010) | 1 line #5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable. ........ r80084 | georg.brandl | 2010-04-14 23:46:45 +0200 (Mi, 14 Apr 2010) | 1 line Fix missing. ........ r80432 | georg.brandl | 2010-04-24 10:56:58 +0200 (Sa, 24 Apr 2010) | 1 line Markup fixes. ........ r80433 | georg.brandl | 2010-04-24 11:08:10 +0200 (Sa, 24 Apr 2010) | 1 line #7507: quote "!" in pipes.quote(); it is a special character for some shells. ........ r80465 | georg.brandl | 2010-04-25 12:29:17 +0200 (So, 25 Apr 2010) | 1 line Remove LaTeXy index entry syntax. ........ r80466 | georg.brandl | 2010-04-25 12:54:42 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. ........ r80467 | georg.brandl | 2010-04-25 12:55:16 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface. ........ r80468 | georg.brandl | 2010-04-25 12:55:58 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Minor spelling changes to _winreg docs. ........ r80469 | georg.brandl | 2010-04-25 12:56:41 +0200 (So, 25 Apr 2010) | 1 line Fix code example to have valid syntax so that it can be highlighted. ........ r80470 | georg.brandl | 2010-04-25 12:57:15 +0200 (So, 25 Apr 2010) | 1 line Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric. ........ r81059 | georg.brandl | 2010-05-10 23:02:51 +0200 (Mo, 10 Mai 2010) | 1 line #8642: fix wrong function name. ........ r81065 | georg.brandl | 2010-05-10 23:46:50 +0200 (Mo, 10 Mai 2010) | 1 line Fix reference direction. ........ r81066 | georg.brandl | 2010-05-10 23:50:57 +0200 (Mo, 10 Mai 2010) | 1 line Consolidate deprecation messages. ........ r81067 | georg.brandl | 2010-05-10 23:51:33 +0200 (Mo, 10 Mai 2010) | 1 line Fix typo. ........
* Issue #8589: Decode PYTHONWARNINGS environment variable with the file systemVictor Stinner2010-05-191-0/+4
| | | | | encoding and surrogateespace error handler instead of the locale encoding to be consistent with os.environ. Add PySys_AddWarnOptionUnicode() function.
* Merged revisions 81354 via svnmerge fromStefan Krah2010-05-191-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81354 | stefan.krah | 2010-05-19 17:59:40 +0200 (Wed, 19 May 2010) | 3 lines Fix typo. ........
* 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.
* Merged revisions 81261 via svnmerge fromTarek Ziadé2010-05-171-11/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81261 | tarek.ziade | 2010-05-17 12:54:43 +0200 (Mon, 17 May 2010) | 1 line upgraded distutils docs w.r.t. the manifest regeneration ........
* 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. ........
* fix run-on sentenceBenjamin Peterson2010-05-151-1/+1
|
* Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a UnicodeVictor Stinner2010-05-151-0/+11
| | | | | | object to Py_FileSystemDefaultEncoding with the "surrogateescape" error handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
* 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.
* Issue #8711: Document PyUnicode_DecodeFSDefault*() functionsVictor Stinner2010-05-141-39/+89
| | | | | | | | | | * Add paragraph titles to c-api/unicode.rst. * Fix PyUnicode_DecodeFSDefault*() comment: it now uses the "surrogateescape" error handler (and not "replace") * Remove "The function is intended to be used for paths and file names only during bootstrapping process where the codecs are not set up." from PyUnicode_FSConverter() comment: it is used after the bootstrapping and for other purposes than file names
* Merged revisions 81163 via svnmerge fromVictor Stinner2010-05-146-13/+13
| | | | | | | | | | 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 81145 via svnmerge fromBenjamin Peterson2010-05-131-5/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81145 | benjamin.peterson | 2010-05-13 16:14:10 -0500 (Thu, 13 May 2010) | 1 line rip out mention of types.ListType #8703 ........
* 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.
* Fix nits in the lexical analysis section: \u requires four digits, backtick ↵Georg Brandl2010-05-101-4/+4
| | | | is not allowed in source in 3.x.
* 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-102-0/+22
|
* 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.