c83ea137d7e717f764e2f31fc2544f522de7d857 |
|
09-May-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Untabify C files. Will watch buildbots.
/external/python/cpython2/Include/symtable.h
|
b646547bb45fe1df6abefd94f892c633798d91d2 |
|
11-Jan-2010 |
Alexandre Vassalotti <alexandre@peadrop.com> |
Issue #2333: Backport set and dict comprehensions syntax.
/external/python/cpython2/Include/symtable.h
|
94819cf47ce2c626cd32bda2a292ec6e50a1cd07 |
|
23-Jun-2009 |
Benjamin Peterson <benjamin@python.org> |
remove some unused symtable constants
/external/python/cpython2/Include/symtable.h
|
d9920c255d4a88a70ff9bcfc21f273f5e42fff4e |
|
22-Jun-2009 |
Benjamin Peterson <benjamin@python.org> |
remove tmpname support since it's no longer used
/external/python/cpython2/Include/symtable.h
|
025d9392a6929d15ee542aeeaa4a7710745d6afe |
|
17-Aug-2008 |
Benjamin Peterson <benjamin@python.org> |
fix compile errors
/external/python/cpython2/Include/symtable.h
|
e0d4c7b5bd2ad5c94d12d48f23552da06a0230e5 |
|
17-Aug-2008 |
Benjamin Peterson <benjamin@python.org> |
expose PySTEntry.nested so the symtable module will work
/external/python/cpython2/Include/symtable.h
|
e93237dfcc4ee4feee62adafb4e7899487ca864b |
|
19-Dec-2007 |
Christian Heimes <christian@cheimes.de> |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
/external/python/cpython2/Include/symtable.h
|
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 |
|
21-Jul-2007 |
Martin v. Löwis <martin@v.loewis.de> |
PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
/external/python/cpython2/Include/symtable.h
|
ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b |
|
04-Jun-2006 |
Georg Brandl <georg@python.org> |
Patch #1346214: correctly optimize away "if 0"-style stmts (thanks to Neal for review)
/external/python/cpython2/Include/symtable.h
|
090b3dde06c7590ed7d789bd01a7d800cc09a348 |
|
28-Feb-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
No need to export PySTEntry_New, it is only used in symtable.c
/external/python/cpython2/Include/symtable.h
|
8208b646704822e4111ce9d8e8ad17bc7bd60046 |
|
07-Jan-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix icc warnings: single bit fields should be unsigned
/external/python/cpython2/Include/symtable.h
|
62c2fac9a0758f303c0382e459031a2679a056e2 |
|
24-Oct-2005 |
Neal Norwitz <nnorwitz@gmail.com> |
Do not pollute name block_ty, prefix with _Py_
/external/python/cpython2/Include/symtable.h
|
8b528b28f15a78c116fc90303194ad8b1476034d |
|
23-Oct-2005 |
Neil Schemenauer <nascheme@enme.ucalgary.ca> |
Fix private name mangling. The symtable also must do mangles so that the scope of names can be correctly determined.
/external/python/cpython2/Include/symtable.h
|
6d777bb122e066f7847709673556d23263fb2380 |
|
21-Oct-2005 |
Neal Norwitz <nnorwitz@gmail.com> |
Remove dup declarations after AST merge
/external/python/cpython2/Include/symtable.h
|
3e0055f8c65c407e74ce476b8e2b1fb889723514 |
|
20-Oct-2005 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Merge ast-branch to head This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests.
/external/python/cpython2/Include/symtable.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/symtable.h
|
4d508adae3101434ae62be1c140e9877673dc257 |
|
21-May-2003 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Fix for SF [ 734869 ] Lambda functions in list comprehensions The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter for the entire module. Repair by move tmpname into the symtable entry. Bugfix candidate.
/external/python/cpython2/Include/symtable.h
|
95292d6caa3af3196c5b9f5f95dae209815c09e5 |
|
11-Dec-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Constify filenames and scripts. Fixes #651362.
/external/python/cpython2/Include/symtable.h
|
91a681debf9ffec155d0aff8a0bb5f965f592e16 |
|
12-Aug-2002 |
Mark Hammond <mhammond@skippinet.com.au> |
Excise DL_EXPORT from Include. Thanks to Skip Montanaro and Kalle Svensson for the patches.
/external/python/cpython2/Include/symtable.h
|
1abf610b154cc727f219fd52b2c1f868584a6e7b |
|
11-Aug-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Remove st_nested_scopes from struct symtable, because nested scopes are always enabled. (Accidentally checked in one small change along this path yesterday, wreaking havoc in the Windows build.)
/external/python/cpython2/Include/symtable.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/symtable.h
|
2e2cded1b56cc5488f49d395b46131fd995b02bc |
|
22-Mar-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Set the line number correctly for a nested function with an exec or import *. Mark the offending stmt rather than the function def line.
/external/python/cpython2/Include/symtable.h
|
99858b53fc47c98d04357e6a1c0aa5634a443415 |
|
01-Mar-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
add DEF_BOUND
/external/python/cpython2/Include/symtable.h
|
4db62b1e14ed909d4bd574633a11c45455c76beb |
|
27-Feb-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Improved __future__ parser; still more to do Makefile.pre.in: add target future.o Include/compile.h: define PyFutureFeaters and PyNode_Future() add c_future slot to struct compiling Include/symtable.h: add st_future slot to struct symtable Python/future.c: implementation of PyNode_Future() Python/compile.c: use PyNode_Future() for nested_scopes support Python/symtable.c: include compile.h to pick up PyFutureFeatures decl
/external/python/cpython2/Include/symtable.h
|
29906eef3a56c43a4cd68a8706c75844b2384e59 |
|
27-Feb-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Preliminary support for future nested scopes compile.h: #define NESTED_SCOPES_DEFAULT 0 for Python 2.1 __future__ feature name: "nested_scopes" symtable.h: Add st_nested_scopes slot. Define flags to track exec and import star. Lib/test/test_scope.py: requires nested scopes compile.c: Fiddle with error messages. Reverse the sense of ste_optimized flag on PySymtableEntryObjects. If it is true, there is an optimization conflict. Modify get_ref_type to respect st_nested_scopes flags. Refactor symtable_load_symbols() into several smaller functions, which use struct symbol_info to share variables. In new function symtable_update_flags(), raise an error or warning for import * or bare exec that conflicts with nested scopes. Also, modify handle for free variables to respect st_nested_scopes flag. In symtable_init() assign st_nested_scopes flag to NESTED_SCOPES_DEFAULT (defined in compile.h). Add preliminary and often incorrect implementation of symtable_check_future(). Add symtable_lookup() helper for future use.
/external/python/cpython2/Include/symtable.h
|
cb17ae8b19c35cc63e7daec871c025d903c49105 |
|
09-Feb-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Relax the rules for using 'from ... import *' and exec in the presence of nested functions. Either is allowed in a function if it contains no defs or lambdas or the defs and lambdas it contains have no free variables. If a function is itself nested and has free variables, either is illegal. Revise the symtable to use a PySymtableEntryObject, which holds all the revelent information for a scope, rather than using a bunch of st_cur_XXX pointers in the symtable struct. The changes simplify the internal management of the current symtable scope and of the stack. Added new C source file: Python/symtable.c. (Does the Windows build process need to be updated?) As part of these changes, the initial _symtable module interface introduced in 2.1a2 is replaced. A dictionary of PySymtableEntryObjects are returned.
/external/python/cpython2/Include/symtable.h
|
5acc0c0cfc3b47ac993cb27e67b8e171a9d4f22d |
|
02-Feb-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Fix symbol table pass to generation SyntaxError exceptions that include the filename and line number.
/external/python/cpython2/Include/symtable.h
|
4b38da664c107bc08768235a66621429beef5444 |
|
02-Feb-2001 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Move a bunch of definitions that were internal to compile.c to symtable.h, so that they can be used by external module. Improve error handling in symtable_enter_scope(), which return an error code that went unchecked by most callers. XXX The error handling in symtable code is sloppy in general. Modify symtable to record the line number that begins each scope. This can help to identify which code block is being referred to when multiple blocks are bound to the same name. Add st_scopes dict that is used to preserve scope info when PyNode_CompileSymtable() is called. Otherwise, this information is tossed as soon as it is no longer needed. Add Py_SymtableString() to pythonrun; analogous to Py_CompileString().
/external/python/cpython2/Include/symtable.h
|