summaryrefslogtreecommitdiff
path: root/protocols.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't crash when inferring nodes from with statements, with multiple context ↵cpopa2014-02-221-0/+2
| | | | managers. Closes #18.
* Handle python3.3's With nodesJulien Cristau2013-06-201-4/+5
| | | | | Change With nodes to have a list of (expr, var) items as in python 3.3's ast.
* rename the project astroidDavid Douard2013-06-171-9/+9
|
* import cleanupsSylvain Th?nault2013-03-291-1/+1
|
* minor cleanups: drop copyright by me, update others to 2013, droip those in ↵Sylvain Th?nault2013-03-281-3/+1
| | | | dumb test data files, delete some trailing whitespaces
* cleanupsSylvain Th?nault2011-07-081-1/+1
|
* cleanupSylvain Th?nault2011-01-111-1/+1
|
* remove some code no more necessary since we don't support anymore python < 2.5Sylvain Th?nault2011-01-051-3/+0
|
* reduce circular imports I: import exceptions directlyEmile Anclin2010-12-021-1/+1
| | | | - rename exceptions module: it's exported to Pylint anyway
* 2to3 : use py2.x compatible fixersEmile Anclin2010-11-151-1/+1
|
* copyright cleanupSylvain Th?nault2010-07-051-12/+0
|
* [fix] yield YES on multiplication of tuple/list with non valid operandEmile Anclin2010-06-141-0/+3
|
* proper licensing information (LGPL-2.1). Hope I get it right this time.Sylvain Th?nault2010-04-281-5/+19
|
* more license updatesSylvain Th?nault2010-04-261-3/+3
|
* bugfix in _resolve_looppart : catch TypeErrorEmile Anclin2010-04-151-2/+7
| | | | calling getitem raises TypeError on unsubcriptable Const (int, ...)
* fix #20464: raises ?TypeError: '_Yes' object is not iterable? on list inferenceSylvain Th?nault2010-03-231-3/+6
|
* prepare 0.20.0 releaseEmile Anclin2010-03-221-2/+2
|
* catch arithmetic errors in const_infer_binary_opEmile Anclin2010-03-221-1/+7
|
* add FilterStmtsMixin and AssignTypeMixins; use polymorphismEmile Anclin2010-03-151-32/+0
| | | | | | | - we put "ass_type" into this mixin and add "_get_filtered_stmts"; - this breaks circular import when trying to remove LookupMixin from scoped_nodes * * * step by step use _get_filtered_stmts
* move all infutils stuff to bases.pyEmile Anclin2010-03-041-1/+1
| | | | | We will need path_wrapper in the default NodeNG.infer method and have to avoid circular import.
* add AugAssing operators to BIN_OP_IMPL: we added '=' to the AugAssign opertorEmile Anclin2010-01-261-0/+2
|
* _nodes doesn't depend on _nodes_<mode>, so we can use nodes in _nodes_<mode>Emile Anclin2009-11-251-10/+10
|
* moving stuff around to avoid circular importsEmile Anclin2009-11-251-1/+2
|
* trying to handle the importsEmile Anclin2009-11-251-1/+1
|
* d-t-wSylvain Th?nault2009-11-251-7/+7
|
* mergeSylvain Th?nault2009-11-231-89/+5
|\
| * [R] demonkey patching some Const, Dict, List and Tuple attributesEmile Anclin2009-09-101-45/+0
| |
| * [B] bugfix for shift operators and testsEmile Anclin2009-09-081-2/+2
| |
| * [R] rename LookupMixin to LookupMixIn and move LocalsDictMixIn to lookup.pyEmile Anclin2009-09-071-1/+1
| |
| * [R] centralize class extensions in nodes.pyEmile Anclin2009-09-071-2/+2
| |
| * [R] demonkeypatch callable and infer_call_result methodsEmile Anclin2009-09-031-39/+0
| |
| * [R] add an _nodes.py for avoiding circular imports.pyEmile Anclin2009-09-021-1/+1
| |
* | include Dotan Barak spell fixes patchSylvain Th?nault2009-11-231-7/+7
|/
* dont monkey patch base Node classsylvain thenault2009-03-241-4/+0
|
* lint fixessylvain thenault2009-03-181-3/+1
|
* always propagate context to avoid infinite loopssylvain thenault2009-03-181-10/+10
|
* make pylint happySylvain2009-03-171-12/+12
|
* pylint fixesSylvain2009-03-171-13/+13
|
* limit cyclic dependencies / cleanup by introducing a new infutils moduleSylvain2009-03-171-19/+21
|
* AugAssign should have assigned_stmts methodsSylvain2009-03-171-0/+1
|
* fix YES handlingSylvain2009-03-171-0/+2
|
* bug fixEmile Anclin2009-03-171-1/+1
|
* * code cleanupsylvain thenault2009-03-131-0/+419
* move every method which is not .infer from inference to a new protocols module * refactor / fix unary and binary operation handling * implements iter/getitem protocol for basestring