summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove mention of 'pre' moduleAndrew M. Kuchling2002-04-101-9/+0
| | | | (2.2 bugfix candidate?)
* document all the valid encoding valuesSkip Montanaro2002-04-101-1/+4
|
* Update docs for bool changes by Guido around April 6Neal Norwitz2002-04-096-16/+16
|
* Patch #512005: getrusage() returns struct-like object.Martin v. Löwis2002-04-081-33/+39
|
* Do not call "knee" a standard module, and point to the new location.Fred Drake2002-04-081-3/+3
| | | | This addresses the issue in SF bug #515745.
* Update doc to reflect Tim's changes to bool.Neal Norwitz2002-04-058-27/+28
|
* Add a version annotation regarding the urlopen(proxies={...}).Fred Drake2002-04-041-0/+2
|
* The rest of the documentation for manual proxy configuration for a basicFred Drake2002-04-041-3/+20
| | | | | urlopen(). This is part of SF patch #523415.
* Documentation for manual proxy configuration, by Andy Gimblett.Fred Drake2002-04-041-0/+35
| | | | This closes SF patch #523415.
* SF 539024, Fix broken link to numpyNeal Norwitz2002-04-041-1/+1
|
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-032-10/+41
| | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
* Add an experimental mechanism to support extending the pprint formatting.Fred Drake2002-04-021-0/+23
| | | | Partly responds to SF bug #505152.
* Explain that os.spawn*() return the process handle on Windows.Fred Drake2002-04-011-3/+5
| | | | | Clarify that os.waitpid() on Windows takes a process handle, not a process ID. This closes SF bug #537582.
* Fix up the documentation of the type codes to give both the C and PythonFred Drake2002-04-011-17/+24
| | | | | | | | | types for each code, and give the actual C types. Clarified the support for slice operations and note when some TypeError exceptions are raised. This closes SF bugs 518767 and 536469.
* Minor wording change.Fred Drake2002-03-281-1/+1
|
* add exception class hierarchy. This should probably be done differently,Skip Montanaro2002-03-281-0/+44
| | | | but at least the content is there.
* Add documentation on the hasfree data object.Fred Drake2002-03-281-0/+4
|
* Minor consistency adjustments.Fred Drake2002-03-281-11/+12
|
* Expose C library's gettext. Fixes #516412.Martin v. Löwis2002-03-271-0/+18
|
* add seealso referring to site module doc where people can learn how toSkip Montanaro2002-03-271-0/+6
| | | | extend sys.path using .pth files.
* Document the finditer() function and method.Fred Drake2002-03-251-2/+26
| | | | | | | | This closes SF bug #520904. Explain that many of the escapes supported by string literals are also supported by the RE compiler, and list which ones. This closes SF bug #529923.
* Added description of binhex.Error.Fred Drake2002-03-251-0/+8
|
* document InvalidURL exceptionSkip Montanaro2002-03-241-0/+5
|
* Add local_hostname to SMTP.__init__().Neil Schemenauer2002-03-241-1/+2
|
* Add more example exceptions that unpickling can raise.Neil Schemenauer2002-03-221-1/+2
|
* Fix grammarNeal Norwitz2002-03-211-1/+1
|
* [Apply SF patch #504943]Walter Dörwald2002-03-211-1/+7
| | | | | | This patch makes it possible to pass Warning instances as the first argument to warnings.warn. In this case the category argument will be ignored. The message text used will be str(warninginstance).
* SF# 522426, add doc for common parameter for filecmp.cmpfiles()Neal Norwitz2002-03-201-0/+1
|
* Adjust some poor wording in the text that explains what events are usedFred Drake2002-03-191-27/+29
| | | | | for (reported by Keith Briggs). Wrap some very long lines.
* Clarify that copy_reg.pickle() is not intended for use with "classic" classes.Fred Drake2002-03-191-3/+5
| | | | | | This was stated before, but a minor grammatical error made it difficult to be sure of the meaning. This closes SF bug #530143.
* Remove extra verb; reported by Detlef Lannert.Fred Drake2002-03-181-2/+1
|
* Patch #495598: add an -q (quiet) option to pycompile.Martin v. Löwis2002-03-181-2/+10
|
* added note that xmlrpclib won't marshal instances of subclasses of theSkip Montanaro2002-03-171-1/+3
| | | | builtin types
* Patch #430706: Persistent connections in BaseHTTPServer.Martin v. Löwis2002-03-171-6/+16
|
* Fix stupid typo in example.Fred Drake2002-03-161-1/+1
|
* Clarify the descriptions of the positive and negative lookbehind assertions.Fred Drake2002-03-161-9/+30
| | | | | Added examples of positive lookbehind assertions. This closes SF bug #529708.
* update text to refer to ServerProxy class in preference to Server, which isSkip Montanaro2002-03-141-8/+11
| | | | only retained for backward compatibility with older versions of the library.
* "level" keyword argument in example should be "stacklevel".Fred Drake2002-03-121-1/+1
| | | | This closes SF bug #517684.
* Change Windows file.truncate() to (a) restore the original file position,Tim Peters2002-03-121-13/+18
| | | | | | | | | | | | and (b) stop trying to prevent file growth. Beef up the file.truncate() docs. Change test_largefile.py to stop assuming that f.truncate() moves the file pointer to the truncation point, and to verify instead that it leaves the file position alone. Remove the test for what happens when a specified size exceeds the original file size (it's ill-defined, according to the Single Unix Spec).
* file_truncate(): provide full "large file" support on Windows, byTim Peters2002-03-111-3/+2
| | | | | | | | | | | | | | | | | | | | dropping MS's inadequate _chsize() function. This was inspired by SF patch 498109 ("fileobject truncate support for win32"), which I rejected. libstdtypes.tex: Someone who knows should update the availability blurb. For example, if it's available on Linux, it would be good to say so. test_largefile: Uncommented the file.truncate() tests, and reworked to do more. The old comment about "permission errors" in the truncation tests under Windows was almost certainly due to that the file wasn't open for *write* access at this point, so of course MS wouldn't let you truncate it. I'd be appalled if a Unixish system did. CAUTION: Someone should run this test on Linux (etc) too. The truncation part was commented out before. Note that test_largefile isn't run by default.
* [Bug #486527] Note that the caller has to ensure there are no controlAndrew M. Kuchling2002-03-081-2/+12
| | | | | | | characters in strings being passed via XML-RPC. Fix some typos. 2.2.1 bugfix candidate.
* add SSL class submitted by Tino LangePiers Lauder2002-03-081-3/+23
|
* Added missing version annotation for dict().Fred Drake2002-03-061-0/+2
|
* Remove extra indenatation from sample interpreter session.Fred Drake2002-03-051-11/+11
| | | | | Remove whitespace from the middle of an inline RE example; it was OK for the typeset formats, but LaTeX2HTML is more touchy about this.
* add simple example of avoiding backtrackingSkip Montanaro2002-03-041-6/+22
|
* Patch #523268, #522027: return enhanced tuples.Martin v. Löwis2002-03-011-3/+4
|
* Patch #523268, #522027: return enhanced tuples.Martin v. Löwis2002-03-011-3/+4
|
* Patch 520694: arraymodule.c improvements:Martin v. Löwis2002-03-011-11/+29
| | | | | | - make array.array a type - add Py_UNICODE arrays - support +=, *=
* Fix error in explanation of the interaction between $ and MULTILINE mode.Fred Drake2002-02-251-1/+1
| | | | Reported by Steve Alexander.
* SF bug #501591: dir() doc is oldTim Peters2002-02-231-9/+22
| | | | | | | | | | | | | | Bugfix candidate. + Updated dir() description to match actual 2.2 behavior. + Replaced the dir(sys) example with dir(struct), because the former was way out of date and is bound to change frequently, while the latter is stable. + Added a note cautioning that dir() is supplied primarily for convenience at an interactive prompt (hoping to discourage its use as the foundation of introspective code outside the core).