summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add a note about when the "%r" formatting code was added.Fred Drake2002-04-301-0/+1
|
* Mostly in SequenceMatcher.{__chain_b, find_longest_match}:Tim Peters2002-04-291-14/+18
| | | | | | | | | | | | This now does a dynamic analysis of which elements are so frequently repeated as to constitute noise. The primary benefit is an enormous speedup in find_longest_match, as the innermost loop can have factors of 100s less potential matches to worry about, in cases where the sequences have many duplicate elements. In effect, this zooms in on sequences of non-ubiquitous elements now. While I like what I've seen of the effects so far, I still consider this experimental. Please give it a try!
* Slightly expand and clarify the differences between getegid(), getgid(),Fred Drake2002-04-261-6/+9
| | | | | getpgrp(), and setpgid(). This closes SF bug #547939.
* Be more consistent, both internally and with recommended practice.Fred Drake2002-04-261-4/+2
| | | | This closes SF bug #547953.
* Documentation for the enumerate() function/type.Fred Drake2002-04-261-0/+12
| | | | This closes SF patch #547162.
* Add text about circular references caused by storing frames in localFred Drake2002-04-231-0/+16
| | | | variables. This closes SF bug #543148.
* WCOREDUMP(), WIFCONTINUED(), WCONTINUED, WUNTRACED: New.Fred Drake2002-04-231-6/+38
| | | | | isatty(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(): Changed to return bools instead of ints.
* SF patch [ 545523 ] patch for 514433 bsddb.dbopen (NULL)Anthony Baxter2002-04-231-3/+9
| | | | | | | | | | | | closes SF #514433 can now pass 'None' as the filename for the bsddb.*open functions, and you'll get an in-memory temporary store. docs are ripped out of the bsddb dbopen man page. Fred may want to clean them up. Considering this for 2.2, but not 2.1.
* Apply patch diff.txt from SF feature requestWalter Dörwald2002-04-221-7/+18
| | | | | | | | | http://www.python.org/sf/444708 This adds the optional argument for str.strip to unicode.strip too and makes it possible to call str.strip with a unicode argument and unicode.strip with a str argument.
* typoSkip Montanaro2002-04-171-1/+1
|
* Add a version annotation for the help() function.Fred Drake2002-04-171-0/+1
|
* added small clarification to the descriptions of encode() and decode()Skip Montanaro2002-04-161-2/+6
|
* Be consistent in presenting the signatures.Fred Drake2002-04-151-1/+1
|
* Add docs for os.fchdir().Fred Drake2002-04-151-0/+9
|
* Apply the second version of SF patch http://www.python.org/sf/536241Walter Dörwald2002-04-151-0/+6
| | | | | | | | | | Add a method zfill to str, unicode and UserString and change Lib/string.py accordingly. This activates the zfill version in unicodeobject.c that was commented out and implements the same in stringobject.c. It also adds the test for unicode support in Lib/string.py back in and uses repr() instead() of str() (as it was before Lib/string.py 1.62)
* Patch #543447: Add posix.mknod.Martin v. Löwis2002-04-141-0/+11
|
* Document the optional argument to the .strip(), .rstrip(), .strip() stringFred Drake2002-04-131-8/+20
| | | | | methods. Part of SF feature #444708.
* BDFL agreed with Tim: rehabilitate randint().Fred Drake2002-04-121-1/+0
|
* Add Raymond Hettinger's d.pop(). See SF patch 539949.Guido van Rossum2002-04-121-0/+3
|
* Explain octal escapes. Fixes #542226.Martin v. Löwis2002-04-111-5/+3
|
* 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.