Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for \textgreater, \textless. | Fred Drake | 2002-04-04 | 1 | -4/+9 |
| | | | | Updated productionlist environment. | ||||
* | Add a version annotation regarding the urlopen(proxies={...}). | Fred Drake | 2002-04-04 | 1 | -0/+2 |
| | |||||
* | The rest of the documentation for manual proxy configuration for a basic | Fred Drake | 2002-04-04 | 1 | -3/+20 |
| | | | | | urlopen(). This is part of SF patch #523415. | ||||
* | Documentation for manual proxy configuration, by Andy Gimblett. | Fred Drake | 2002-04-04 | 1 | -0/+35 |
| | | | | This closes SF patch #523415. | ||||
* | Mark the notice about the new development version of the docs as not needing | Fred Drake | 2002-04-04 | 1 | -0/+1 |
| | | | | to be archived. Most of these are pretty bland. ;-) | ||||
* | Removed old Digital Creations copyright/license notices (with | Guido van Rossum | 2002-04-04 | 1 | -3/+3 |
| | | | | | permission from Paul Everitt). Also removed a few other references to Digital Creations and changed the remaining ones to Zope Corporation. | ||||
* | SF 539024, Fix broken link to numpy | Neal Norwitz | 2002-04-04 | 1 | -1/+1 |
| | |||||
* | Correct the descriptions of the PyObject_As*Buffer() return values. | Fred Drake | 2002-04-04 | 1 | -6/+6 |
| | | | | This closes SF bug #539081. | ||||
* | Add empty section for bool | Andrew M. Kuchling | 2002-04-03 | 1 | -0/+12 |
| | |||||
* | Add the 'bool' type and its values 'False' and 'True', as described in | Guido van Rossum | 2002-04-03 | 3 | -13/+58 |
| | | | | | | | | | | | | | 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. | ||||
* | Updated PEP link to point to the now-canonical site. | Fred Drake | 2002-04-03 | 1 | -1/+1 |
| | |||||
* | Update the PEP URL format to point to python.org. | Fred Drake | 2002-04-03 | 1 | -1/+1 |
| | |||||
* | Add a note warning against semicolons following PyObject_HEAD. | Fred Drake | 2002-04-02 | 1 | -5/+9 |
| | | | | Minor cleanups. | ||||
* | Add an item | Andrew M. Kuchling | 2002-04-02 | 1 | -0/+20 |
| | |||||
* | Add an experimental mechanism to support extending the pprint formatting. | Fred Drake | 2002-04-02 | 1 | -0/+23 |
| | | | | Partly responds to SF bug #505152. | ||||
* | Explain that os.spawn*() return the process handle on Windows. | Fred Drake | 2002-04-01 | 1 | -3/+5 |
| | | | | | Clarify that os.waitpid() on Windows takes a process handle, not a process ID. This closes SF bug #537582. | ||||
* | There is no PyArg_ConvertTuple(); call it by the right name. | Fred Drake | 2002-04-01 | 1 | -1/+1 |
| | | | | This closes SF bug #537511. | ||||
* | Fix up the documentation of the type codes to give both the C and Python | Fred Drake | 2002-04-01 | 1 | -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. | ||||
* | Change reference to execframes to naming. | Jeremy Hylton | 2002-04-01 | 1 | -1/+1 |
| | |||||
* | Restore a minimal definition of execution frame, since other parts of | Jeremy Hylton | 2002-04-01 | 1 | -0/+6 |
| | | | | | | | | the manual refer to it. XXX Not sure that it belongs in this section, or that the concept is particularly important for writing documentation. Perhaps references to the frame should be removed entirely. | ||||
* | Update programmer's note on nested functions. | Jeremy Hylton | 2002-04-01 | 1 | -5/+5 |
| | |||||
* | Reword explanation of global statement since an undeclared global is a | Jeremy Hylton | 2002-04-01 | 1 | -3/+3 |
| | | | | free variable and is subject to those rules. | ||||
* | Note the sole case in which the ban on "from ... import *" within a | Jeremy Hylton | 2002-04-01 | 1 | -1/+5 |
| | | | | function is enforced. | ||||
* | Remove the following restriction: | Jeremy Hylton | 2002-04-01 | 1 | -4/+0 |
| | | | | | | | Names bound by import statements may not occur in global statements in the same scope. Why not? | ||||
* | Note that it is illegal to delete a cell variable. | Jeremy Hylton | 2002-04-01 | 1 | -2/+6 |
| | | | | Note that deleteing an unbound local will raise a NameError. | ||||
* | Given lambda its own section, instead of burying it in boolean operators. | Jeremy Hylton | 2002-04-01 | 1 | -30/+7 |
| | |||||
* | Update / simplify Identifiers section for nested scopes. | Jeremy Hylton | 2002-04-01 | 1 | -18/+2 |
| | | | | How do I create a cross reference to section 4.1? | ||||
* | Update docs for nested scopes. | Jeremy Hylton | 2002-04-01 | 2 | -257/+134 |
| | | | | | | | | | | | | | Replace section 4.1 with section A.3. The new section 4.1 is titled "Naming and binding." It includes the text of section A.3 augmented with some of the detailed text from the old section 4.1. The \dfn, \index stuff is probably wrong, but I tried. Also update other parts of appendix A to mention that nested scopes and generators are standard features. | ||||
* | Update to push the docs to python.org instead of python.sf.net. | Fred Drake | 2002-04-01 | 2 | -9/+12 |
| | |||||
* | Copy section on generators from the 2.2 document with a bit of rewriting | Andrew M. Kuchling | 2002-04-01 | 1 | -1/+153 |
| | | | | Add an item | ||||
* | Mention 2.2.1 in intro and in bug/patch counts | Andrew M. Kuchling | 2002-04-01 | 1 | -8/+11 |
| | | | | Fix two typos spotted by Joonas Paalasmaa | ||||
* | Update documentation of code objects. | Jeremy Hylton | 2002-04-01 | 1 | -10/+15 |
| | | | | | | | | Split the description of co_flags into two paragraphs. The first describes the flags that are used for non-future purposes, where CO_GENERATOR was added. The second describes __future__'s use of co_flags and mentions the only one currently meaningful, CO_FUTURE_DIVISION. | ||||
* | Minor adjustments. | Fred Drake | 2002-04-01 | 1 | -1/+2 |
| | |||||
* | Small fixes for description of function attributes. | Jeremy Hylton | 2002-04-01 | 1 | -5/+3 |
| | | | | | | func_closure is a readonly attribute. Add \ttindex{} for func_closure. Remove discussion of func_closure specific to 2.1. | ||||
* | Use the right types for a couple of fields of the type structure. | Fred Drake | 2002-03-29 | 1 | -2/+2 |
| | |||||
* | Started updating information about defining attributes on types. | Fred Drake | 2002-03-29 | 1 | -7/+171 |
| | | | | | There's still a long way to go, but we're starting to see some real content in the docs. | ||||
* | Mark a couple of types that had not been marked. | Fred Drake | 2002-03-28 | 1 | -5/+5 |
| | |||||
* | Added comments for more entries of the type structure in the example | Fred Drake | 2002-03-28 | 1 | -19/+19 |
| | | | | type implementation. | ||||
* | The new files included by \verbatiminput in newtypes.tex. | Fred Drake | 2002-03-28 | 2 | -0/+134 |
| | |||||
* | Move some of the longer example code to external fragments, and | Fred Drake | 2002-03-28 | 1 | -148/+31 |
| | | | | | | | | | | | | | | include them using \verbatiminput. This has the advantage that pages can still break at reasonable places, and examples that go longer than a page won't get cut off. Make a few small markup adjustments for consistency. Explain that PyObject_New() is not a C function but a polymorphic beast that returns a pointer to the type that's passed as the first arg. Explain why type objects use the PyObject_VAR_HEAD. | ||||
* | Added index entries. | Fred Drake | 2002-03-28 | 1 | -0/+4 |
| | |||||
* | Extend \verbatiminput so that the typeset version provides the same appearance | Fred Drake | 2002-03-28 | 1 | -0/+14 |
| | | | | as a verbatim environment. (The HTML version is already fine.) | ||||
* | Minor wording change. | Fred Drake | 2002-03-28 | 1 | -1/+1 |
| | |||||
* | add exception class hierarchy. This should probably be done differently, | Skip Montanaro | 2002-03-28 | 1 | -0/+44 |
| | | | | but at least the content is there. | ||||
* | Allow a page break in a code longish example. | Fred Drake | 2002-03-28 | 1 | -1/+3 |
| | |||||
* | Add documentation on the hasfree data object. | Fred Drake | 2002-03-28 | 1 | -0/+4 |
| | |||||
* | Minor consistency adjustments. | Fred Drake | 2002-03-28 | 1 | -11/+12 |
| | |||||
* | Introduce two new flag bits that can be set in a PyMethodDef method | Fred Drake | 2002-03-28 | 1 | -2/+30 |
| | | | | | | | | | | | | | | | | | | | descriptor, as used for the tp_methods slot of a type. These new flag bits are both optional, and mutually exclusive. Most methods will not use either. These flags are used to create special method types which exist in the same namespace as normal methods without having to use tedious construction code to insert the new special method objects in the type's tp_dict after PyType_Ready() has been called. If METH_CLASS is specified, the method will represent a class method like that returned by the classmethod() built-in. If METH_STATIC is specified, the method will represent a static method like that returned by the staticmethod() built-in. These flags may not be used in the PyMethodDef table for modules since these special method types are not meaningful in that case; a ValueError will be raised if these flags are found in that context. | ||||
* | Ignore new output directory. | Fred Drake | 2002-03-27 | 1 | -0/+1 |
| | |||||
* | Expose C library's gettext. Fixes #516412. | Martin v. Löwis | 2002-03-27 | 1 | -0/+18 |
| |