From 003472a6457e5546bff73caae12ed273130b753d Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 5 Feb 2013 10:11:13 -0500 Subject: token.main is now token._main --- Lib/symbol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/symbol.py b/Lib/symbol.py index 679e5c8..a702ed3 100755 --- a/Lib/symbol.py +++ b/Lib/symbol.py @@ -104,7 +104,7 @@ def main(): import token if len(sys.argv) == 1: sys.argv = sys.argv + ["Include/graminit.h", "Lib/symbol.py"] - token.main() + token._main() if __name__ == "__main__": main() -- cgit v0.12 From 16d86aa69d34450f602e31d0068920eba66d4fe5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 5 Feb 2013 10:12:14 -0500 Subject: update symbol.py for yield from grammar changes (closes #17132) --- Lib/symbol.py | 1 + Misc/NEWS | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Lib/symbol.py b/Lib/symbol.py index a702ed3..34143b5 100755 --- a/Lib/symbol.py +++ b/Lib/symbol.py @@ -91,6 +91,7 @@ comp_for = 333 comp_if = 334 encoding_decl = 335 yield_expr = 336 +yield_arg = 337 #--end constants-- sym_name = {} diff --git a/Misc/NEWS b/Misc/NEWS index 122b228..0a746fb 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -163,6 +163,8 @@ Core and Builtins Library ------- +- Issue #17132: Update symbol for "yield from" grammar changes. + - Issue #17076: Make copying of xattrs more permissive of missing FS support. Patch by Thomas Wouters. -- cgit v0.12