summaryrefslogtreecommitdiffstats
path: root/Include/token.h
Commit message (Collapse)AuthorAgeFilesLines
* PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-6/+7
|
* make _PyParser_TokenNames constBenjamin Peterson2012-10-241-1/+1
|
* Issue #13629: Renumber the tokens in token.h to match the ↵Meador Inge2012-01-161-31/+30
| | | | _PyParser_TokenNames indexes.
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-1/+2
|
* #4499: silence compiler warning on AIX.R. David Murray2010-10-181-0/+2
| | | | Patch from ActiveState.
* Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ↵Georg Brandl2007-03-181-3/+4
| | | | ." for Ellipsis.
* PEP 3107 - Function Annotations thanks to Tony LowndsNeal Norwitz2006-12-281-3/+4
|
* Get rid of some more cases of backquotes. parsermodule.c doesn't compileNeal Norwitz2006-08-291-1/+1
| | | | but looks like that was a problem before this change.
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-021-3/+4
| | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
* Excise DL_EXPORT from Include.Mark Hammond2002-08-121-4/+4
| | | | Thanks to Skip Montanaro and Kalle Svensson for the patches.
* Implement PEP 238 in its (almost) full glory.Guido van Rossum2001-08-081-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This introduces: - A new operator // that means floor division (the kind of division where 1/2 is 0). - The "future division" statement ("from __future__ import division) which changes the meaning of the / operator to implement "true division" (where 1/2 is 0.5). - New overloadable operators __truediv__ and __floordiv__. - New slots in the PyNumberMethods struct for true and floor division, new abstract APIs for them, new opcodes, and so on. I emphasize that without the future division statement, the semantics of / will remain unchanged until Python 3.0. Not yet implemented are warnings (default off) when / is used with int or long arguments. This has been on display since 7/31 as SF patch #443474. Flames to /dev/null.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Added prototype for PyToken_ThreeChars(), to remove compiler warningFred Drake2000-08-311-0/+1
| | | | in Parser/grammar.c.
* The real suport for augmented assignment: new opcodes, new PyNumber andThomas Wouters2000-08-241-3/+14
| | | | PySequence methods and functions, new tokens.
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-091-8/+8
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* Add DL_IMPORT(returntype) for all officially exported functions.Guido van Rossum1998-12-041-3/+3
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* changes for ** (power) operatorGuido van Rossum1996-01-121-3/+4
|
* The great renaming, phase two: all header files have been updated toGuido van Rossum1995-01-121-4/+4
| | | | | | | use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
* Added 1995 copyright.Guido van Rossum1995-01-041-2/+2
| | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-1/+1
|
* * Added support for X11 modules.Guido van Rossum1993-07-281-0/+11
| | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Added shift and mask ops.Guido van Rossum1991-10-241-3/+7
|
* Added some new tokensGuido van Rossum1991-10-201-3/+9
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Initial revisionGuido van Rossum1990-10-141-0/+45