summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Explain what [].insert() does when the target index is negative.Fred Drake2001-10-261-7/+11
|
* Add notes pointing out that these classes are kept for backward compatibilityFred Drake2001-10-261-0/+17
| | | | | and suggeest that new code that does not require compatibility with older Python versions subclass dictionary, list, or str.
* Many, many small fixes and improvements, most suggested by Detlef Lannert.Fred Drake2001-10-261-17/+27
|
* Added docs for PyObject_CallFunctionObArgs() and PyObject_CallMethodObArgs().Fred Drake2001-10-261-11/+32
| | | | Minor cleanups & markup consistency fixes.
* Added refcount data for PyObject_CallFunctionObArgs() andFred Drake2001-10-261-0/+9
| | | | PyObject_CallMethodObArgs().
* Some style changes and typo fixes.Fred Drake2001-10-261-6/+9
|
* Clean up the tables of child links generated by stock LaTeX2HTML so we getFred Drake2001-10-261-0/+8
| | | | | | consistent (lack of) vertical space between sections, and remove some of the unnecessary cruft that was added in (finally we get to *remove* something that got generated!).
* Typo: destuction --> destructionFred Drake2001-10-261-1/+1
| | | | Reported by Thomas Heller.
* Generalize dictionary() to accept a sequence of 2-sequences. At theTim Peters2001-10-262-7/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | outer level, the iterator protocol is used for memory-efficiency (the outer sequence may be very large if fully materialized); at the inner level, PySequence_Fast() is used for time-efficiency (these should always be sequences of length 2). dictobject.c, new functions PyDict_{Merge,Update}FromSeq2. These are wholly analogous to PyDict_{Merge,Update}, but process a sequence-of-2- sequences argument instead of a mapping object. For now, I left these functions file static, so no corresponding doc changes. It's tempting to change dict.update() to allow a sequence-of-2-seqs argument too. Also changed the name of dictionary's keyword argument from "mapping" to "x". Got a better name? "mapping_or_sequence_of_pairs" isn't attractive, although more so than "mosop" <wink>. abstract.h, abstract.tex: Added new PySequence_Fast_GET_SIZE function, much faster than going thru the all-purpose PySequence_Size. libfuncs.tex: - Document dictionary(). - Fiddle tuple() and list() to admit that their argument is optional. - The long-winded repetitions of "a sequence, a container that supports iteration, or an iterator object" is getting to be a PITA. Many months ago I suggested factoring this out into "iterable object", where the definition of that could include being explicit about generators too (as is, I'm not sure a reader outside of PythonLabs could guess that "an iterator object" includes a generator call). - Please check my curly braces -- I'm going blind <0.9 wink>. abstract.c, PySequence_Tuple(): When PyObject_GetIter() fails, leave its error msg alone now (the msg it produces has improved since PySequence_Tuple was generalized to accept iterable objects, and PySequence_Tuple was also stomping on the msg in cases it shouldn't have even before PyObject_GetIter grew a better msg).
* Add yet more markup that let's a stylesheet pick out a small bit of theFred Drake2001-10-261-3/+11
| | | | | presentation. This is acceptable since it only occurs in the formatted output and does not affect the document markup.
* Enforce a bit of markup consistency.Fred Drake2001-10-261-13/+12
| | | | | | When describing a Boolean return value, use "true" and "false" instead of "1" and "0". Style-guide conformance: no "iff" -- to obscure for many readers. ;-(
* Minor textual adjustment, and style-guide conformance (no use of "iff").Fred Drake2001-10-261-4/+5
|
* Applying proposed patch for bug #474583, optional support forBarry Warsaw2001-10-251-16/+39
| | | | | | | | | | | | | | | | | | | non-standard but common types. Including Martin's suggestion to add rejected non-standard types from patch #438790. Specifically, guess_type(), guess_extension(): Both the functions and the methods grow an optional "strict" flag, defaulting to true, which determines whether to recognize non-standard, but commonly found types or not. Also, I sorted, reformatted, and culled duplicates from the big types_map dictionary. Note that there are a few non-equivalent duplicates (e.g. .cdf and .xls) for which the first will just get thrown away. I didn't remove those though. Finally, use of the module as a script as grown the -l and -e options to toggle strictness and to do guess_extension(), respectively. Doc and unittest updates too.
* Typo: NamedNodeList --> NamedNodeMapFred Drake2001-10-251-1/+1
|
* Slightly better conformance to the Python C style guide.Fred Drake2001-10-251-4/+8
|
* One more LaTeX-ism that we'd rather ignore.Fred Drake2001-10-251-0/+1
|
* No need to run make twice here.Fred Drake2001-10-251-1/+0
|
* Update the rules so that changes to the HTML stylesheet cause appropriateFred Drake2001-10-251-21/+55
| | | | work to be done, but do not require the HTML to be re-built.
* Make the deprecation notice use the same form as other such notices.Fred Drake2001-10-241-3/+3
| | | | This has sat around in a deprecated state for a *long* time!
* Minor revision of the text.Fred Drake2001-10-241-2/+2
|
* When describing "import *", add a level of indirection between "*" and theFred Drake2001-10-241-3/+17
| | | | | | | | set of names imported (the "public names"), adding a definition of "public names" that describes the use of __all__. This closes SF bug #473986. Flesh out the vague reference to __import__().
* Documentation for the new PyArg_UnpackTuple() function.Fred Drake2001-10-231-0/+47
|
* Fill out section on how to write a new-style classAndrew M. Kuchling2001-10-231-7/+145
|
* Doc and NEWS changes due to Jeremy adding traceback objects to gc.Tim Peters2001-10-231-1/+4
|
* Fixed an example in the use of email.Utils.getaddresses(). TheBarry Warsaw2001-10-221-4/+4
| | | | failobj has to be a list or the `+' can fail.
* Add better support for Mozilla's use of <link> elements.Fred Drake2001-10-221-10/+41
|
* Update bug/patch countsAndrew M. Kuchling2001-10-221-1/+1
|
* Do a little bit more to try and add <link> elements to the header, not thatFred Drake2001-10-221-1/+10
| | | | | | | Mozilla 0.9.5 can make intelligent use of them. Specifically, this causes the "Acknowledgements" and "Global Module Index" pages to acquire "up" links in the Mozilla "Site Navigation Bar". This partially responds to SF bug #469772.
* Clarify that the resource module does not attempt to mask platformFred Drake2001-10-221-1/+3
| | | | | differences by defining symbols not defined on particular platforms. This closes SF bug #473433.
* Add correction from /F about SREAndrew M. Kuchling2001-10-221-10/+10
| | | | \filename{} should be \file{}
* Partly fill out the PEP 252 sectionAndrew M. Kuchling2001-10-221-12/+214
|
* A bunch of minor rewordingsAndrew M. Kuchling2001-10-221-48/+64
|
* Update description of border()Andrew M. Kuchling2001-10-201-3/+2
|
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-2045-163/+156
|
* Describe the content given as the parameter to the \note and \warning macrosFred Drake2001-10-201-10/+13
| | | | in more detail, and use them where appropriate.
* Additional rules to support the iSilo conversion.Fred Drake2001-10-191-1/+110
|
* Hush up CVS.Fred Drake2001-10-191-0/+10
|
* Support for the iSilo conversion.Fred Drake2001-10-191-0/+12
|
* When stating that some parameters to makefile() are similar to the open()Fred Drake2001-10-191-1/+2
| | | | | | | | parameters, given a hyperlink to the right part of the documentation to make it easier to look those up. Also, refer to the file() function/ constructor instead of open() now that that is where the actual docs for those parameters live. This closes SF bug #472004.
* Additional test and documentation for the unicode() changes.Marc-André Lemburg2001-10-191-13/+27
| | | | This patch should also be applied to the 2.2b1 trunk.
* Added a note about the somewhat kludgey behavior of the messageBarry Warsaw2001-10-191-0/+10
| | | | | | epilogue, based on the discussion in this SF bug report: https://sourceforge.net/tracker/index.php?func=detail&aid=472481&group_id=25568&atid=384678
* SF patch #443759: Add Interface to readline's add_historyGuido van Rossum2001-10-191-0/+4
| | | | | | | | | | | | | | This was submitted by Moshe, but apparently he's too busy to check it in himself. He wrote: Here is a function in GNU readline called add_history, which is used to manage the history list. Though Python uses this function internally, it does not expose it to the Python programmer. This patch adds direct interface to this function with documentation. This could be used by friendly modules to "seed" the history with commands.
* changed misleading argument nameFredrik Lundh2001-10-181-5/+5
|
* Some minor clarifications for find()'s arguments based on SF bugBarry Warsaw2001-10-181-5/+6
| | | | #463572. Closing.
* Straighten out the exec*() function descriptions a bit, and clarify a fewFred Drake2001-10-181-65/+68
| | | | points in the spawn*() description.
* Bump version number.Fred Drake2001-10-181-4/+3
| | | | Remove inconsistent use of HTMLDIR.
* Bump release information.Fred Drake2001-10-181-2/+2
|
* Fix typo reported by Michael Soulier.Fred Drake2001-10-181-1/+1
|
* Function descriptions must end as well as start!Fred Drake2001-10-181-0/+1
|
* Elaborate on types and meaning of the setgroups arguments.Martin v. Löwis2001-10-181-2/+4
|