summaryrefslogtreecommitdiffstats
path: root/Doc/ref
Commit message (Collapse)AuthorAgeFilesLines
* Remove sys.exc_type, sys.exc_value, sys.exc_tracebackNeal Norwitz2006-03-171-13/+7
|
* Checking in the code for PEP 357.Guido van Rossum2006-03-071-0/+7
| | | | | | This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation).
* PEP 343 -- the with-statement.Guido van Rossum2006-02-271-0/+6
| | | | | | | | | | | | | This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global).
* Note version added for conditional expressionsNeal Norwitz2006-02-271-1/+1
|
* PEP 308 implementation, including minor refdocs and some testcases. ItThomas Wouters2006-02-271-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | breaks the parser module, because it adds the if/else construct as well as two new grammar rules for backward compatibility. If no one else fixes parsermodule, I guess I'll go ahead and fix it later this week. The TeX code was checked with texcheck.py, but not rendered. There is actually a slight incompatibility: >>> (x for x in lambda:0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: iteration over non-sequence changes into >>> (x for x in lambda: 0) File "<stdin>", line 1 (x for x in lambda: 0) ^ SyntaxError: invalid syntax Since there's no way the former version can be useful, it's probably a bugfix ;)
* SF patch #1421726Fredrik Lundh2006-02-021-1/+1
| | | | fixed typo in language reference
* Add markup to a "Python Standard Library" doc reference I added for bug 839585.Georg Brandl2006-01-201-2/+3
|
* Remove dots in \version{changed,added} argument andGeorg Brandl2006-01-151-1/+1
| | | | correct argument order.
* Bug #839585: mention % string operator in language refGeorg Brandl2005-12-261-0/+6
|
* Updating the short blob about old/new-style classes to reflect (IMHO) moreArmin Rigo2005-12-261-7/+35
| | | | | | | | precisely the motivation and the differences. Added links to www.python.org/doc/newstyle.html and a footnote to warn against the statement "x[i] is equivalent to x.__getitem__(i)", which already caused many invalid bug reports on SF.
* Doc for PEP 341, needs improvementNeal Norwitz2005-12-171-19/+21
|
* Add placeholder section on old and new-style classesAndrew M. Kuchling2005-12-041-0/+13
|
* Bug #1359053: Doc: \Uxxxxxxxx escapes _are_ interpreted in raw unicode stringsGeorg Brandl2005-11-221-2/+3
|
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-301-3/+0
| | | | properties now.
* add missing "and"Fred Drake2005-10-301-2/+3
|
* Make close brace a paren to match open.Neal Norwitz2005-10-041-1/+1
|
* Armin caught this mistake in bug #973103.Neal Norwitz2005-10-041-1/+1
|
* Correct docs for empty raise when no exception is active.Raymond Hettinger2005-10-031-2/+3
|
* Better wording for integer ref entry.Georg Brandl2005-09-121-2/+2
|
* note that the return and yield statements cannot be used at the top level inFred Drake2005-09-071-1/+6
| | | | | exec statements; people coming from certain other languages seem to be confused by this on a regular basis
* - fix typo report by email, only 1.5 years lateFred Drake2005-09-071-7/+7
| | | | - fix several consistency nits relating to \method{...()}
* Clarify what is meant with "whole numbers".Georg Brandl2005-09-041-1/+2
|
* __new__ is a static methodGeorg Brandl2005-08-261-1/+1
|
* bug [ 1261229 ] __new__ is class methodGeorg Brandl2005-08-251-1/+1
|
* Empty sets and frozensets are also false.Georg Brandl2005-08-211-3/+3
|
* SF bug #1249837: container methods raise KeyError not IndexErrorRaymond Hettinger2005-08-211-0/+2
| | | | Minor clarification.
* Mention explicitly the False is considered false.Georg Brandl2005-08-211-3/+3
|
* add information about alternate implementations, noting that documentationFred Drake2005-07-201-1/+51
| | | | | for the implementation should be consulted (thanks to Evelyn Mitchell for suggesting this)
* Patch [ 1230615 ] Patch for (Doc) #1168746Georg Brandl2005-07-021-11/+14
| | | | Bug [ 1204734 ] incorrect description of __getattribute__
* Fix grammar (it's -> its).Neil Schemenauer2005-06-181-1/+1
|
* [Bug #1193001] Make the notation section use the same productionlist env. as ↵Andrew M. Kuchling2005-06-021-5/+5
| | | | other grammar rules
* Fix:Michael W. Hudson2005-05-261-0/+2
| | | | | | | [ 1207501 ] Issue in grammar We didn't define dotted_name in the pseudo-grammar in the reference docs. Backport candidate.
* update documentation on what constitutes a line in a source fileFred Drake2005-05-251-5/+12
| | | | (closes SF bug #1167922)
* SF bug #1190451: 6.9 First sentence is confusingRaymond Hettinger2005-04-281-7/+8
| | | | | | | * Fixed incorrect wording: expression->exception * Noted the specific exception reported by "raise" when the is nothing to re-raise. * Eliminated several instances of "e.g." as recommended in the style guide.
* Fix typo.Raymond Hettinger2005-04-261-1/+1
|
* Add grammar change for allowing ``class B(): pass`` syntax.Brett Cannon2005-04-091-1/+1
|
* SF #1156412: document the __new__() static methodGreg Ward2005-03-081-0/+29
| | | | (merge from release24-maint branch).
* Updates to the exceptions documentation (this is my patch #1156102).Michael W. Hudson2005-03-042-23/+27
|
* fix a bunch of spelling errorsFred Drake2005-01-191-1/+1
| | | | (closes SF patch #1104868)
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-013-3/+3
|
* Patch #1080684: typo repair. Thanks George Yoshida!Johannes Gijsbers2004-12-121-5/+6
| | | | | | | | | | | | | | | | - Doc/lib/libbase64.tex s/algorith/algorithm - Doc/lib/libpickle.tex s/interchangable/interchangeable - Doc/lib/libxmlrpclib.tex s/{_cmp__}/{__cmp__} leading underscore needs to be double, not single. - Doc/ref/ref6.tex 0/1 => False/True
* Fix SF bug #1061770: Manual typesets bit-shift operators as guillemetFred Drake2004-11-112-2/+4
|
* minor markup nits; fix missing whitespaceFred Drake2004-11-101-2/+2
|
* clarify discussion of iteration in the section on the "for" statementFred Drake2004-11-021-2/+4
| | | | (SF bug #829073)
* clarify trailing comma in function argument listFred Drake2004-11-022-6/+6
| | | | (SF bug #798652)
* Patch #1042969: add closing brace for \token {generator_expression}. ThanksJohannes Gijsbers2004-10-091-1/+1
| | | | George Yoshida!
* Remove claims that Python source code is ASCII. Fixes #1026038.Martin v. Löwis2004-09-141-5/+15
|
* SF patch #1007189, multi-line imports, for instance:Anthony Baxter2004-08-311-2/+5
| | | | | "from blah import (foo, bar baz, bongo)"
* Patch #1011144: Correct regex for coding decls.Martin v. Löwis2004-08-181-1/+1
|
* This is Mark Russell's patch:Michael W. Hudson2004-08-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 1009560 ] Fix @decorator evaluation order From the description: Changes in this patch: - Change Grammar/Grammar to require newlines between adjacent decorators. - Fix order of evaluation of decorators in the C (compile.c) and python (Lib/compiler/pycodegen.py) compilers - Add better order of evaluation check to test_decorators.py (test_eval_order) - Update the decorator documentation in the reference manual (improve description of evaluation order and update syntax description) and the comment: Used Brett's evaluation order (see http://mail.python.org/pipermail/python-dev/2004-August/047835.html) (I'm checking this in for Anthony who was having problems getting SF to talk to him)