07f54515178ac2c2881169bde24128cc64ac16b9 |
|
11-Dec-2010 |
Benjamin Peterson <benjamin@python.org> |
remove dictmaker rule; it's unused
/external/python/cpython2/Include/graminit.h
|
b646547bb45fe1df6abefd94f892c633798d91d2 |
|
11-Jan-2010 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #2333: Backport set and dict comprehensions syntax.
/external/python/cpython2/Include/graminit.h
|
ee936a21308679654b2d458166ff094ed735fef7 |
|
10-Jan-2010 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #2335: Backport set literals syntax from Python 3.x.
/external/python/cpython2/Include/graminit.h
|
944f684ce6f439bc868d4b189c45f726dfb9d3b1 |
|
25-May-2009 |
Georg Brandl <georg@python.org> |
Allow multiple context managers in one with statement, as proposed in http://codereview.appspot.com/53094 and accepted by Guido. The construct is transformed into multiple With AST nodes so that there should be no problems with the semantics.
/external/python/cpython2/Include/graminit.h
|
820b51c1706a608aa4725aebc952266b4f9a8d36 |
|
13-Apr-2008 |
Benjamin Peterson <benjamin@python.org> |
#2627 Let it be known what pgen generates
/external/python/cpython2/Include/graminit.h
|
5224d28d38eb784f17c2fed3f48368285df6d17a |
|
23-Feb-2008 |
Christian Heimes <christian@cheimes.de> |
Patch #1759: Backport of PEP 3129 class decorators with some help from Georg
/external/python/cpython2/Include/graminit.h
|
c2e20744b2b7811632030470971c31630f0975e2 |
|
27-Feb-2006 |
Guido van Rossum <guido@python.org> |
PEP 343 -- the with-statement. 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).
/external/python/cpython2/Include/graminit.h
|
dca3b9c797f6dd4b08d590fa2aa1031e22ab598e |
|
27-Feb-2006 |
Thomas Wouters <thomas@python.org> |
PEP 308 implementation, including minor refdocs and some testcases. It 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 ;)
/external/python/cpython2/Include/graminit.h
|
0d6615fd29063bdaccb13e1fbae542fb666d8728 |
|
02-Aug-2005 |
Phillip J. Eby <pje@telecommunity.com> |
PEP 342 implementation. Per Guido's comments, the generator throw() method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too.
/external/python/cpython2/Include/graminit.h
|
1a4ddaecc732c207fa69890db87ac4b47da867b8 |
|
31-Aug-2004 |
Anthony Baxter <anthonybaxter@gmail.com> |
SF patch #1007189, multi-line imports, for instance: "from blah import (foo, bar baz, bongo)"
/external/python/cpython2/Include/graminit.h
|
c2a5a636545a88f349dbe3e452ffb4494b68e534 |
|
02-Aug-2004 |
Anthony Baxter <anthonybaxter@gmail.com> |
PEP-0318, @decorator-style. In Guido's words: "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
/external/python/cpython2/Include/graminit.h
|
354433a59dd1701985ec8463ced25a967cade3c1 |
|
19-May-2004 |
Raymond Hettinger <python@rcn.com> |
SF patch #872326: Generator expression implementation (Code contributed by Jiwon Seo.) The documentation portion of the patch is being re-worked and will be checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's rationale for the design decisions on binding behavior (as described in in his patch comments and in discussions on python-dev). The test file, test_genexps.py, is written in doctest format and is meant to exercise all aspects of the the patch. Further additions are welcome from everyone. Please stress test this new feature as much as possible before the alpha release.
/external/python/cpython2/Include/graminit.h
|
00f1e3f5a54adb0a7159a446edeca2e36da4092e |
|
04-Aug-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #534304: Implement phase 1 of PEP 263.
/external/python/cpython2/Include/graminit.h
|
2d3b986480f5a01329cc66b2bdf50fdb94e1c1e4 |
|
24-May-2002 |
Guido van Rossum <guido@python.org> |
Disambiguate the grammar for backtick. The old syntax suggested that a trailing comma was OK inside backticks, but in fact (due to ideosyncrasies of pgen) it was not. Fix the grammar to avoid the ambiguity. Fred: you may want to update the refman.
/external/python/cpython2/Include/graminit.h
|
1c917072ca2895a196de7f397d4e96bcc577e13d |
|
15-Oct-2001 |
Guido van Rossum <guido@python.org> |
Very subtle syntax change: in a list comprehension, the testlist in "for <var> in <testlist> may no longer be a single test followed by a comma. This solves SF bug #431886. Note that if the testlist contains more than one test, a trailing comma is still allowed, for maximum backward compatibility; but this example is not: [(x, y) for x in range(10), for y in range(10)] ^ The fix involved creating a new nonterminal 'testlist_safe' whose definition doesn't allow the trailing comma if there's only one test: testlist_safe: test [(',' test)+ [',']]
/external/python/cpython2/Include/graminit.h
|
5ca576ed0a0c697c7e7547adfd0b3af010fd2053 |
|
19-Jun-2001 |
Tim Peters <tim.peters@gmail.com> |
Merging the gen-branch into the main line, at Guido's direction. Yay! Bugfix candidate in inspect.py: it was referencing "self" outside of a method.
/external/python/cpython2/Include/graminit.h
|
dd8dbdb7172fbafb5ffab8600e620103fc19879e |
|
24-Aug-2000 |
Thomas Wouters <thomas@python.org> |
The real suport for augmented assignment: new opcodes, new PyNumber and PySequence methods and functions, new tokens.
/external/python/cpython2/Include/graminit.h
|
5215225ea1e3200b572775639d567f5e3f489a15 |
|
18-Aug-2000 |
Thomas Wouters <thomas@python.org> |
Apply SF patch #101135, adding 'import module as m' and 'from module import 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.
/external/python/cpython2/Include/graminit.h
|
803d6e5451cbf0416bfb252eedba36ff2e354fac |
|
12-Aug-2000 |
Skip Montanaro <skip@pobox.com> |
list comprehensions. see http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
/external/python/cpython2/Include/graminit.h
|
8ecd1ad785c59edc64d1ed0760b8356bb28a566c |
|
02-Apr-1997 |
Guido van Rossum <guido@python.org> |
Added assert grammar.
/external/python/cpython2/Include/graminit.h
|
0dfcf753ad75892c0ad2a68713841402183514d4 |
|
13-Aug-1996 |
Guido van Rossum <guido@python.org> |
Disable support for access statement
/external/python/cpython2/Include/graminit.h
|
26a70f6b32b8d5981bb9e39cc37f709dd7acf043 |
|
30-Jul-1996 |
Guido van Rossum <guido@python.org> |
Changes due to slice and ellipses grammar changes
/external/python/cpython2/Include/graminit.h
|
3d1f09557bd447b2e45bf90385391ffc16eafe13 |
|
12-Jan-1996 |
Guido van Rossum <guido@python.org> |
changes for ** (power) operator
/external/python/cpython2/Include/graminit.h
|
5bb73ed5e44797571173232dd0b0888717ed5b9a |
|
08-Jul-1995 |
Guido van Rossum <guido@python.org> |
new grammar symbols arglist and argument
/external/python/cpython2/Include/graminit.h
|
3615aaf6c56332e2e74cb8ae9c021dd8710ec945 |
|
07-Jan-1995 |
Guido van Rossum <guido@python.org> |
Changed since Grammar has changed
/external/python/cpython2/Include/graminit.h
|
590baa4a7a43b596119b47f605e3e570c2b3b0ee |
|
30-Nov-1993 |
Guido van Rossum <guido@python.org> |
* import.c (get_module): pass .py filename to parse_file, not .pyc filename! * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous functions. * bltinmodule.c: removed lambda (which is now a built-in function); removed implied lambda for string arg to filter/map/reduce. * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in function by lambda as grammar entity: instead of "lambda('x: x+1')" you write "lambda x: x+1". * Xtmodule.c (checkargdict): return 0, not NULL, for error.
/external/python/cpython2/Include/graminit.h
|
12d12c5faf4d770160b7975b54e8f9b12694e012 |
|
26-Oct-1993 |
Guido van Rossum <guido@python.org> |
* compile.[ch]: support for lambda() * PROTO.h, mymalloc.h: added #ifdefs for TURBOC and GNUC. * allobjects.h: added #include "rangeobject.h" * Grammar: added lambda_input; relaxed syntax for exec. * bltinmodule.c: added bagof, map, reduce, lambda, xrange. * tupleobject.[ch]: added resizetuple(). * rangeobject.[ch]: new object type to speed up range operations (not convinced this is needed!!!)
/external/python/cpython2/Include/graminit.h
|
db3165e6559c6b83373e7fed9cdf4371552a9a8e |
|
18-Oct-1993 |
Guido van Rossum <guido@python.org> |
* bltinmodule.c: removed exec() built-in function. * Grammar: add exec statement; allow testlist in expr statement. * ceval.c, compile.c, opcode.h: support exec statement; avoid optimizing locals when it is used * fileobject.{c,h}: add getfilename() internal function.
/external/python/cpython2/Include/graminit.h
|
25831652fd4c03323066d4cafdc0551c396a993e |
|
19-May-1993 |
Guido van Rossum <guido@python.org> |
Several changes in one: (1) dictionaries/mappings now have attributes values() and items() as well as keys(); at the C level, use the new function mappinggetnext() to iterate over a dictionary. (2) "class C(): ..." is now illegal; you must write "class C: ...". (3) Class objects now know their own name (finally!); and minor improvements to the way how classes, functions and methods are represented as strings. (4) Added an "access" statement and semantics. (This is still experimental -- as long as you don't use the keyword 'access' nothing should be changed.)
/external/python/cpython2/Include/graminit.h
|
c1b5cec10ee45214ee0db17aa8a8a703363cd612 |
|
24-Mar-1992 |
Guido van Rossum <guido@python.org> |
*** empty log message ***
/external/python/cpython2/Include/graminit.h
|
18315a0ecd4369f8c9c185ef53d1985e95479593 |
|
27-Jul-1991 |
Guido van Rossum <guido@python.org> |
New syntax
/external/python/cpython2/Include/graminit.h
|
f70e43a073b36c6f6e9894c01025243a77a452d4 |
|
19-Feb-1991 |
Guido van Rossum <guido@python.org> |
Added copyright notice.
/external/python/cpython2/Include/graminit.h
|
3ccb6172f86d67335b577fd0160de1055e1b0cb6 |
|
26-Oct-1990 |
Guido van Rossum <guido@python.org> |
removed dir statement. Function arguments may now be tests.
/external/python/cpython2/Include/graminit.h
|
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d |
|
14-Oct-1990 |
Guido van Rossum <guido@python.org> |
Initial revision
/external/python/cpython2/Include/graminit.h
|