Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A few minor improvements | Barry Warsaw | 2003-06-28 | 1 | -3/+4 |
| | |||||
* | Rewrote the docs for supporting cyclic garbage collection to reflect | Jim Fulton | 2003-06-28 | 5 | -103/+394 |
| | | | | | | | the new way that once writes types. Deleted the old section and sample code and added a new section building on the Noddy example. | ||||
* | Updated the depenencies to reflect changes in the sample code for | Jim Fulton | 2003-06-28 | 1 | -1/+3 |
| | | | | building new types. | ||||
* | Added tests for sample modules. | Jim Fulton | 2003-06-28 | 1 | -0/+121 |
| | |||||
* | Added s setup module to make it easier to test the sample modules. | Jim Fulton | 2003-06-28 | 1 | -0/+8 |
| | |||||
* | Fixed bug in implementation of tp_init function. It should be an int | Jim Fulton | 2003-06-28 | 2 | -8/+6 |
| | | | | function, not a PyObject *. | ||||
* | Changed the assignment of PyType_GenericNew to tp_new slot. Now do | Jim Fulton | 2003-06-28 | 1 | -17/+1 |
| | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. | ||||
* | Changed the assignment of PyType_GenericNew to tp_new slot. Now do | Jim Fulton | 2003-06-28 | 1 | -23/+12 |
| | | | | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. Fixed bug in implementation of tp_init function. It should be an int function, not a PyObject *. | ||||
* | Correct markup errors that prevented formatting. | Fred Drake | 2003-06-28 | 1 | -2/+2 |
| | |||||
* | Explain source encodings. Fixes #683486. | Martin v. Löwis | 2003-06-28 | 1 | -0/+33 |
| | |||||
* | Add take() to examples. Tighten the islice() example | Raymond Hettinger | 2003-06-28 | 1 | -1/+4 |
| | |||||
* | fix markup nits | Fred Drake | 2003-06-28 | 1 | -12/+12 |
| | |||||
* | SF patch #761519: Fixes for bugs 760703 and 757821 | Raymond Hettinger | 2003-06-27 | 1 | -15/+30 |
| | | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821). | ||||
* | A hack to ease compatibility with pre-2.3 Pythons: by default, doctest | Tim Peters | 2003-06-27 | 1 | -0/+17 |
| | | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way. | ||||
* | Don't assume the name of the table of contents will be contents.html; | Fred Drake | 2003-06-27 | 1 | -1/+4 |
| | | | | | | | | | that won't be right when mkhowto is called with --numeric (as it is for the Python Tutorial). Save the actual name we use when we build the table of contents, then use that in the page head metadata. The node2label.pl script will munge this properly when --numeric isn't given, so this works in both cases. Closes SF bug #761830. | ||||
* | Add definitions of the test and testlist symbols in the grammar so | Fred Drake | 2003-06-27 | 1 | -0/+5 |
| | | | | | there are no gaps in the definitions. Closes SF bug #726150. | ||||
* | fix link-hovering so <a name='...'> (no href attribute) doesn't get | Fred Drake | 2003-06-27 | 1 | -4/+10 |
| | | | | the hovering background | ||||
* | * Markup nits for the Invoking Descriptors section | Raymond Hettinger | 2003-06-27 | 1 | -7/+121 |
| | | | | | | | * Documented __slots__ * Documented __metaclass__ Shamelessly plagarized from Guido's tutorial. | ||||
* | SF patch #760792: "wo" in "word" now valid but not documented as such | Raymond Hettinger | 2003-06-26 | 1 | -4/+7 |
| | | | | | | Revised version of a contribution from Gerrit Holl. Update the docs for the extended behavior of __contains__ | ||||
* | * Fixed an unmatched parenthesis early in the text. | Raymond Hettinger | 2003-06-26 | 1 | -2/+10 |
| | | | | | * Clarified the meaning of lexicographic sequence ordering as discussed on comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493 | ||||
* | markup consistency nits | Fred Drake | 2003-06-26 | 1 | -9/+10 |
| | |||||
* | remove _ from label: LaTeX rejects this due to all the magic we use to | Fred Drake | 2003-06-26 | 1 | -1/+1 |
| | | | | get the _ character to format like a normal character | ||||
* | Removed useless intra-section references which jump to the top of the | Raymond Hettinger | 2003-06-25 | 1 | -4/+2 |
| | | | | section instead of the specific item being referenced. | ||||
* | SF bug #696777: How to make a class iterable using a member generator. | Raymond Hettinger | 2003-06-25 | 1 | -0/+6 |
| | | | | | * Added a note that a container class can implement the iterator protocol by defining its __iter__() method as a generator. | ||||
* | * Document how descriptors are invoked. | Raymond Hettinger | 2003-06-25 | 1 | -3/+63 |
| | | | | * Fix minor parenthesis matching errors in ref3.tex. | ||||
* | SF bug #757822: Additional index items, other minor details | Raymond Hettinger | 2003-06-25 | 1 | -2/+2 |
| | | | | * Minor grammatical fix. | ||||
* | Patch #640236: Better eplain unused data. | Martin v. Löwis | 2003-06-21 | 1 | -7/+12 |
| | |||||
* | Patch #755683: Document that there might be a maximum indentation limit. | Martin v. Löwis | 2003-06-21 | 1 | -1/+3 |
| | | | | Fixes #700827 | ||||
* | Add some documentation which describes how to use the email package | Barry Warsaw | 2003-06-20 | 1 | -1/+35 |
| | | | | instead of rfc822 as the Message factory. | ||||
* | SF #757229, fix libsocket.tex typo | Neal Norwitz | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Remove heading from orphan section. | Fred Drake | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Update link to Python book information. | Fred Drake | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Avoid using 'dir' as a variable name and use os.path.join() to create | Skip Montanaro | 2003-06-19 | 1 | -4/+4 |
| | | | | paths. | ||||
* | Minor updates: | Raymond Hettinger | 2003-06-18 | 1 | -4/+11 |
| | | | | | | * Updated comment on design of imap() * Added untraversed object in izip() structure * Replaced the pairwise() example with a more general window() example | ||||
* | Include "instances of most classes" in a warning about mutable objects | Fred Drake | 2003-06-18 | 1 | -2/+3 |
| | | | | as default values of function/method parameters. | ||||
* | Fix typo. | Raymond Hettinger | 2003-06-18 | 1 | -1/+1 |
| | |||||
* | SF patch #751038 fixing SF bug#750092: exec doesn't need newline | Raymond Hettinger | 2003-06-18 | 1 | -6/+0 |
| | | | | Patch contributed by Steven Taschuk. | ||||
* | Updated documentation for the new slice arguments for list.index(). | Walter Dörwald | 2003-06-17 | 1 | -3/+8 |
| | |||||
* | SF Patch 569574 - enhancements to cgitb for plain text display | Skip Montanaro | 2003-06-17 | 1 | -4/+10 |
| | |||||
* | Fix some markup nits | Neal Norwitz | 2003-06-17 | 1 | -4/+4 |
| | |||||
* | ^D means EOF on Unix but not on Windows. Expand the example's prompt to | Tim Peters | 2003-06-15 | 1 | -5/+5 |
| | | | | | | tell Windows Truth too. Bugfix candidate. | ||||
* | Add explicit text for where an obindex call for generators was since obindex ↵ | Brett Cannon | 2003-06-15 | 1 | -1/+2 |
| | | | | does not cause output of its argument. | ||||
* | Documented the fact that the main class now mimicks the OSA "application" class. | Jack Jansen | 2003-06-13 | 1 | -5/+7 |
| | |||||
* | * Added missing documentation for object(). | Raymond Hettinger | 2003-06-11 | 1 | -2/+15 |
| | | | | * Noted the Py2.3 in the optional arg for bool(). | ||||
* | SF bug #660022: parameters for int(), str(), etc. | Raymond Hettinger | 2003-06-11 | 1 | -19/+28 |
| | | | | | | * Indicate that arguments are optional for most builtin type constructors. * Replace e.g. in staticmethod() and classmethod() docs. * Add \code{} markup to some in-line code examples. | ||||
* | Add docs for get_grouped_opcodes(). | Raymond Hettinger | 2003-06-11 | 1 | -2/+17 |
| | |||||
* | SF bug: 751941 Invisible HTML tag | Raymond Hettinger | 2003-06-10 | 1 | -0/+2 |
| | | | | Added missing jump target labels. | ||||
* | guess_all_extensions(): Return the empty list instead of None when | Barry Warsaw | 2003-06-09 | 1 | -2/+1 |
| | | | | | there are no matching types. Updated the docs and docstrings. Added some unit tests. | ||||
* | Document context_diff() and unified_diff() | Raymond Hettinger | 2003-06-09 | 1 | -0/+63 |
| | |||||
* | SF #735051, add time.tzset documentation | Neal Norwitz | 2003-06-08 | 1 | -0/+96 |
| |