summaryrefslogtreecommitdiffstats
path: root/Lib/token.py
Commit message (Collapse)AuthorAgeFilesLines
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-2/+4
|
* Issue #22831: Use "with" to avoid possible fd leaks.Serhiy Storchaka2015-04-041-6/+6
|
* PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-5/+6
|
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
|\ | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-3/+3
|/
* Issue #9260: A finer-grained import lock.Antoine Pitrou2012-05-171-1/+1
| | | | | Most of the import sequence now uses per-module locks rather than the global import lock, eliminating well-known issues with threads and imports.
* Issue #13629: Renumber the tokens in token.h to match the ↵Meador Inge2012-01-161-30/+30
| | | | _PyParser_TokenNames indexes.
* Fix instructions on how to rebuild some modulesÉric Araujo2011-11-291-1/+1
|
* Issue #10386: Added __all__ to token module; this simplifies importingAlexander Belopolsky2010-11-111-10/+8
| | | | | in tokenize module and prevents leaking of private names through import *.
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Merged revisions ↵Christian Heimes2008-02-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61038,61042-61045,61047,61050,61053,61055-61056,61061-61064,61066-61080 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61063 | andrew.kuchling | 2008-02-25 17:29:19 +0100 (Mon, 25 Feb 2008) | 1 line Move .setupterm() output so that we don't try to call endwin() if it fails ........ r61064 | andrew.kuchling | 2008-02-25 17:29:58 +0100 (Mon, 25 Feb 2008) | 1 line Use file descriptor for real stdout ........ r61067 | facundo.batista | 2008-02-25 19:06:00 +0100 (Mon, 25 Feb 2008) | 4 lines Issue 2117. Update compiler module to handle class decorators. Thanks Thomas Herve ........ r61069 | georg.brandl | 2008-02-25 21:17:56 +0100 (Mon, 25 Feb 2008) | 2 lines Rename sphinx.addons to sphinx.ext. ........ r61071 | georg.brandl | 2008-02-25 21:20:45 +0100 (Mon, 25 Feb 2008) | 2 lines Revert r61029. ........ r61072 | facundo.batista | 2008-02-25 23:33:55 +0100 (Mon, 25 Feb 2008) | 4 lines Issue 2168. gdbm and dbm needs to be iterable; this fixes a failure in the shelve module. Thanks Thomas Herve. ........ r61073 | raymond.hettinger | 2008-02-25 23:42:32 +0100 (Mon, 25 Feb 2008) | 1 line Make sure the itertools filter functions give the same performance for func=bool as func=None. ........ r61074 | raymond.hettinger | 2008-02-26 00:17:41 +0100 (Tue, 26 Feb 2008) | 1 line Revert part of r60927 which made invalid assumptions about the API offered by db modules. ........ r61075 | facundo.batista | 2008-02-26 00:46:02 +0100 (Tue, 26 Feb 2008) | 3 lines Coerced PyBool_Type to be able to compare it. ........ r61076 | raymond.hettinger | 2008-02-26 03:46:54 +0100 (Tue, 26 Feb 2008) | 1 line Docs for itertools.combinations(). Implementation in forthcoming checkin. ........ r61077 | neal.norwitz | 2008-02-26 05:50:37 +0100 (Tue, 26 Feb 2008) | 3 lines Don't use a hard coded port. This test could hang/fail if the port is in use. Speed this test up by avoiding a sleep and using the event. ........ r61078 | neal.norwitz | 2008-02-26 06:12:50 +0100 (Tue, 26 Feb 2008) | 1 line Whitespace normalization ........ r61079 | neal.norwitz | 2008-02-26 06:23:51 +0100 (Tue, 26 Feb 2008) | 1 line Whitespace normalization ........ r61080 | georg.brandl | 2008-02-26 07:40:10 +0100 (Tue, 26 Feb 2008) | 2 lines Banish tab. ........
* Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ↵Georg Brandl2007-03-181-3/+4
| | | | ." for Ellipsis.
* Use better idiom to sort keys.Guido van Rossum2007-02-261-2/+1
|
* Fix token.py main code vs. dict views.Georg Brandl2007-02-261-1/+1
|
* - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum2007-02-111-1/+1
| | | | | | | | | | and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help.
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-3/+3
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* 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/+0
| | | | 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.
* Updates to track Grammar changes. The patch to token.py loosens the regexp toMichael W. Hudson2002-10-031-1/+1
| | | | allow "testlist1" to be snagged.
* Remove redundant 'import string' (PyChecker).Guido van Rossum2001-08-131-1/+0
|
* Regenerated token.py to account for new DOUBLESLASH and DOUBLESLASHEQUAL.Tim Peters2001-08-081-3/+5
|
* String method cleanup.Eric S. Raymond2001-02-101-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-3/+3
|
* Update for augmented assignment.Thomas Wouters2000-08-241-3/+14
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-3/+3
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-23/+23
|
* Convert all remaining *simple* cases of regex usage to re usage.Guido van Rossum1997-10-221-10/+8
|
* Reduced number of temporary names used at module scope. Use underscores inFred Drake1997-10-061-5/+4
| | | | front of temporary names in the module namespace.
* New batch from FredGuido van Rossum1996-08-211-4/+75
|
* Changes for new parser module (Fred Drake)Guido van Rossum1996-07-211-5/+15
|
* * test_select.py: (some) tests for built-in select moduleGuido van Rossum1993-11-111-0/+50
* test_grammar.py, testall.out: added test for funny things in string literals * token.py, symbol.py: definitions used with built-in parser module. * tokenize.py: added double-quote recognition