Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Denis S. Otkidach <ods@users.sourceforge.net>: | Fred Drake | 2000-09-21 | 1 | -0/+42 |
| | | | | | | | | | | Show how code can be written to handle __getslice__ & friends in a way that is compatible with pre-2.0 versions of Python while still working with the "new" way of handling slicing. Additional explanation added by Fred Drake. This closes SourceForge patch #101388. | ||||
* | Lots of minor fixes, many suggested by Detlef Lannert | Fred Drake | 2000-09-21 | 1 | -7/+8 |
| | | | | <lannert@uni-duesseldorf.de>. | ||||
* | Note that __getitem__() may receive a slice object as the index; | Fred Drake | 2000-09-21 | 1 | -2/+3 |
| | | | | reported by Detlef Lannert <lannert@uni-duesseldorf.de>. | ||||
* | Moshe Zadka <mzadka@geocities.com>: | Fred Drake | 2000-09-19 | 1 | -0/+10 |
| | | | | | | | Document the __contains__() method. (Patch slightly modified by FLD.) This closes SourceForge patch #101387. | ||||
* | Many small clarifications, including many suggested by email. | Fred Drake | 2000-09-19 | 1 | -17/+18 |
| | |||||
* | Thomas Wouters <thomas@xs4all.net>: | Fred Drake | 2000-09-12 | 1 | -0/+39 |
| | | | | | | Reference manual docs for augmented assignment. This closes SourceForge patch #101418. | ||||
* | add index entries for list comprehensions | Skip Montanaro | 2000-09-11 | 1 | -0/+2 |
| | |||||
* | Document "print >> None" | Barry Warsaw | 2000-08-29 | 1 | -3/+4 |
| | |||||
* | Rough and incomplete documentation on augmented assignment, which follows | Thomas Wouters | 2000-08-24 | 2 | -4/+11 |
| | | | | shortly. Markup also needs checking. | ||||
* | fix list comprehension discussion to use \keyword macro instead of simply | Skip Montanaro | 2000-08-23 | 1 | -3/+4 |
| | | | | quoting keywords. | ||||
* | require list comprehensions to start with a for clause | Skip Montanaro | 2000-08-22 | 1 | -2/+3 |
| | |||||
* | PEP 214, Extended print Statement, has been accepted by the BDFL. | Barry Warsaw | 2000-08-21 | 1 | -0/+12 |
| | | | | | Document the extended print form. Fred, please double check the markup! | ||||
* | Disallow "import mod.submod as m", because the result is ambiguous. Does it | Thomas Wouters | 2000-08-19 | 1 | -1/+6 |
| | | | | | | | | | | load mod.submod as m, or mod as m ? Both can be achieved differently, and unambiguously. Also attempt to document this restriction (editor appreciated!) Note that this is an artificial check during compile, because incorporating this in the grammar is hard, and then adjusting the compiler to do the right thing with the right nodes is harder. | ||||
* | Adjust the way __getslice__() is marked as deprecated; this will also | Fred Drake | 2000-08-18 | 1 | -2/+4 |
| | | | | stand out more. | ||||
* | Apply SF patch #101135, adding 'import module as m' and 'from module import | Thomas Wouters | 2000-08-17 | 1 | -8/+12 |
| | | | | | | | | name as n'. By doing some twists and turns, "as" is not a reserved word. There is a slight change in semantics for 'from module import name' (it will now honour the 'global' keyword) but only in cases that are explicitly undocumented. | ||||
* | Apply SF patch #101029: call __getitem__ with a proper slice object if there | Thomas Wouters | 2000-08-17 | 1 | -9/+18 |
| | | | | | | | | is no __getslice__ available. Also does the same for C extension types. Includes rudimentary documentation (it could use a cross reference to the section on slice objects, I couldn't figure out how to do that) and a test suite for all Python __hooks__ I could think of, including the new behaviour. | ||||
* | Fix error made in applying Thomas's patch. | Fred Drake | 2000-08-15 | 1 | -1/+1 |
| | |||||
* | Thomas Wouters <thomas@xs4all.net>: | Fred Drake | 2000-08-15 | 1 | -1/+2 |
| | | | | | Update the grammar to reflect the most recent changes to list comprehensions. | ||||
* | list comprehensions. see | Skip Montanaro | 2000-08-12 | 1 | -5/+14 |
| | | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details. | ||||
* | Change as suggested by Peter Funk <pf@artcom-gmbh.de>: | Fred Drake | 2000-07-31 | 1 | -2/+3 |
| | | | | | Create a hyperlink between the language reference and documentation for the built in functions. | ||||
* | More of Rob W. W. Hooft's spelling fixes. The only ones left now are the | Thomas Wouters | 2000-07-16 | 4 | -8/+8 |
| | | | | | | | | | | | distutils patches, which I'll leave to the distutils maintainers. Tip: review the patch like this: grep "^[\!+-] " <patchfile> To get a quick and easy way to review the actual changes. Most of the changes are single-line ones, anyway. | ||||
* | Improve the descriptions of expected exceptions for __getitem__(), | Fred Drake | 2000-07-13 | 1 | -4/+14 |
| | | | | | __setitem__(), and __delitem__(). Based on related comments from Barry Warsaw. | ||||
* | Moshe Zadka <mzadka@geocities.com>: | Fred Drake | 2000-07-11 | 1 | -8/+29 |
| | | | | | | | | | | Update the "in" / "not in" description to accomodate the current use of the __contains__() discipline. This patch also incorporates suggestions from Marc-Andre Lemburg <mal@lemburg.com>, minor markup revisions from Fred Drake, and some rewording of the first affected paragraph (also from Fred). Closes SourceForge patch #100831. | ||||
* | Typo: "This table table" -> "This table is" | Fred Drake | 2000-07-06 | 1 | -1/+1 |
| | | | | Noted by Nicholas Spies <ns11@voicenet.com>. | ||||
* | Revise the description of when functions retrieved from class instances | Fred Drake | 2000-06-28 | 1 | -9/+11 |
| | | | | | | | | | are and are not turned into bound methods; some confusion was noted by Andrew Dalke. In particular, it has to be noted that functions located on the class instance are not turned into any sort of method, only those which are found via the underlying class. | ||||
* | Fix markup error that hid a tilde character; reported long ago by | Fred Drake | 2000-06-15 | 1 | -1/+12 |
| | | | | Carl Feynman <carlf@abinitio.com>. | ||||
* | Added a note to the section on 'exec' about the need for a trailing newline | Greg Ward | 2000-04-27 | 1 | -1/+10 |
| | | | | in certain circumstances. (Apparently, this is a CPython problem.) | ||||
* | Removed some extraneous and confusing parenthesized expressions. | Fred Drake | 2000-04-25 | 1 | -3/+3 |
| | | | | Noted by Skip Montanaro <skip@mojam.com>. | ||||
* | But don't do the funny \UNICODE macro; we're trying to get away from | Fred Drake | 2000-04-06 | 1 | -1/+1 |
| | | | | those markups! <with-mixed-feelings> | ||||
* | Patch from Marc-Andre Lemburg <mal@lemburg.com>: | Fred Drake | 2000-04-06 | 1 | -0/+15 |
| | | | | Added Unicode type to the language reference. | ||||
* | Merged changes from the 1.5.2p2 release. | Fred Drake | 2000-04-03 | 5 | -37/+40 |
| | |||||
* | Use \citetitle as appropriate. | Fred Drake | 1999-11-10 | 3 | -30/+30 |
| | |||||
* | Use \programopt in one place. | Fred Drake | 1999-11-09 | 1 | -1/+1 |
| | |||||
* | Added sentence "All exceptions must have an executable block."; from | Fred Drake | 1999-08-24 | 1 | -1/+2 |
| | | | | Dan Wolfe <wolfeman@apple.com>. | ||||
* | Change an {\em ...} to \var{...} and a {\bf ...} to \program{...} (the | Fred Drake | 1999-07-29 | 1 | -1/+1 |
| | | | | | | | new markup makes sense in context). These allow the SGML/XML conversion updates to work, & should not have still been in there anyway. | ||||
* | Small nits around some of the index entries. | Fred Drake | 1999-05-13 | 1 | -72/+68 |
| | | | | | When refering to chapters, use \ref, don't hardcode the chapter number. | ||||
* | Fixed some index entries. | Fred Drake | 1999-05-10 | 1 | -36/+36 |
| | | | | | | In the __coerce__ description, None should be returned if the conversion is *impossible*, not *possible*. Reported by Robert Kern <kernr@ncifcrf.gov>. | ||||
* | Reflect recent patch for float % and divmod() by Tim Peters. Content | Fred Drake | 1999-05-06 | 1 | -3/+10 |
| | | | | updates by Tim Peters, markup by FLD. | ||||
* | Added index entries for operator precedence; suggestion from Randall | Fred Drake | 1999-04-29 | 1 | -8/+10 |
| | | | | Hopper <rhh@vislab.epa.gov>. | ||||
* | Typo: "Otherwose" --> "Otherwise" (reported by Joakim Sernbrant | Fred Drake | 1999-04-14 | 1 | -29/+29 |
| | | | | | | <joakim.sernbrant@front.se>). Misc. small fixes to the logical markup. | ||||
* | Fixed latex2html weirdness with footnotes. | Fred Drake | 1999-04-05 | 3 | -18/+18 |
| | |||||
* | Added note about __builtin__._ to section dicussing classes of | Fred Drake | 1999-03-05 | 1 | -5/+15 |
| | | | | reserved names, just to avoid confusion on the part of users. | ||||
* | Dictionaries are created using the "{...}" notation, not the "..." | Fred Drake | 1999-02-23 | 1 | -13/+11 |
| | | | | notation. Problem reported by Magnus L. Hetland <mlh@idt.ntnu.no>. | ||||
* | 1. Clarify that immutability isn't entirely the same as unchangeable | Guido van Rossum | 1999-02-23 | 1 | -2/+12 |
| | | | | | | | value (because of immutable containers containing mutable objects). 2. Document that func_code, func_defaults and func_doc / __doc__ are now writable. | ||||
* | Revised description of blank line handling for the interpreter, based | Fred Drake | 1999-02-22 | 1 | -7/+11 |
| | | | | on a comment from /F. | ||||
* | Minor markup nits. | Fred Drake | 1999-02-12 | 2 | -18/+12 |
| | |||||
* | Documented __complex__(), made sure all the discipline names hit the | Fred Drake | 1999-02-12 | 1 | -5/+8 |
| | | | | index. | ||||
* | "numberic" --> "numeric", two places | Fred Drake | 1999-01-28 | 1 | -2/+2 |
| | |||||
* | Removed a lot of unnecessary comment markers which cause unexplained | Fred Drake | 1999-01-12 | 1 | -84/+83 |
| | | | | numbers to appear in the HTML version of the manual. | ||||
* | Suggestion by Tim Peters clarifying what "before global" means. | Guido van Rossum | 1998-12-21 | 1 | -1/+2 |
| | | | | | (Also added an XXX comment requesting clarification of module initialization -- TBD later.) |