Andrey Vlasovskikh
ed3781b0e9
Merge branch 'python3.4'
2014-01-21 18:14:56 +04:00
Andrey Vlasovskikh
d2a8310ee8
Removed redundant PyTypeProvider.getIterationType()
...
It was used only for 'file', superseded by 'io' classes. Providers can
provide iteration types via '__iter__' and '__next__'.
2014-01-21 16:18:10 +04:00
Andrey Vlasovskikh
89beff839b
Fixed PyABCUtil.isSubtype() check for class definitions that have metaclasses
2014-01-21 02:03:34 +04:00
Andrey Vlasovskikh
6238d926c2
Store metaclass qualified name in class stub for better performance
2014-01-21 00:51:59 +04:00
Andrey Vlasovskikh
cb9e823882
Added PyClass.getMetaClassExpression()
2014-01-21 00:33:01 +04:00
Andrey Vlasovskikh
bf9a384d08
Refactored PyUtil.getMetaClass() into PyClass.getMetaClassType()
...
This will allow to deal with metaclasses that are not necessary based
on PSI elements. Also it will help creating stubs for Python 3
metaclasses defined as keyword arguments.
2014-01-20 23:07:05 +04:00
Dmitry Trofimov
609c0db87b
Keywords already contains 'as' and 'with'
2014-01-20 17:27:17 +01:00
Dmitry Trofimov
4d1ca37c01
Merge PyKeywords with PyNames
2014-01-20 17:26:17 +01:00
Andrey Vlasovskikh
8e8019c396
Nullity annotations
2014-01-17 16:42:55 +04:00
Andrey Vlasovskikh
b8a5d1e191
Added 'inherited' parameter to PyClass.findProperty()
2014-01-16 17:52:39 +04:00
Andrey Vlasovskikh
38bf2a6862
Python skeletons class members provider now can provide new overridden members
...
It is useful for overloading method signatures in subclasses.
2014-01-16 17:06:46 +04:00
Ekaterina Tuzova
de36aec875
updated test data for python3.4
2013-12-26 19:23:29 +04:00
Ekaterina Tuzova
892dab2528
updated code compatibility inspection
2013-12-24 19:24:40 +04:00
Andrey Vlasovskikh
bc9e47fbbe
Removed unused PyStringLiteralExpression.iterateCharacterRanges()
2013-12-05 19:16:22 +04:00
Andrey Vlasovskikh
2d0dc7d61f
Use Pair instead of a custom class
2013-12-05 18:12:42 +04:00
Andrey Vlasovskikh
7e72dbfc8b
Added PyStringLiteralExpression.getDecodedFragments()
2013-12-04 15:31:14 +04:00
Ekaterina Tuzova
76b3bee7e5
fixed PY-9967 App Engine: do not resolve to installed to interpreter library
2013-11-18 15:45:00 +04:00
Dmitry Jemerov
74d8bc04e4
add some more builtin functions to PyNames (PY-10544)
2013-10-31 15:43:17 +01:00
Dmitry Jemerov
c96acd51da
use correct language level when creating name identifiers for renamed elements (EA-43620 - CCE: PyElementGeneratorImpl.createNameIdentifier)
2013-10-30 19:50:10 +01:00
Andrey Vlasovskikh
a632bbd485
Use constants for names of the 'numbers' classes
2013-10-28 16:28:52 +04:00
Dmitry Jemerov
70e628954f
Apache 2 copyright headers
2013-10-21 15:29:20 +02:00
Dmitry Jemerov
f7b1beede3
move QualifiedName class from Python to platform
2013-10-16 13:21:40 +02:00
Ekaterina Tuzova
7ed02a54b5
Merge remote-tracking branch 'origin/master'
...
Conflicts:
python/community/psi-api/src/com/jetbrains/python/PyNames.java
2013-10-15 10:16:11 +02:00
Ekaterina Tuzova
9132454299
PY-11103 Method can be static: false positive for aliased class abstractproperty(property):
2013-10-14 20:02:41 +02:00
Andrey Vlasovskikh
2efaf7375b
Extracted name of str.format() function
2013-10-14 15:46:38 +02:00
Andrey Vlasovskikh
01b5f6d221
Added javadocs for TextRangeConsumer
2013-10-03 19:45:38 +04:00
Ekaterina Tuzova
b7ee7d894f
Merge remote-tracking branch 'origin/master'
2013-09-20 10:58:02 +04:00
Andrey Vlasovskikh
bc2140236b
Fixed false positive attribute assignment warning for classes that inherit '__slots__', but don't define their own slots (PY-10158)
2013-09-19 22:04:28 +04:00
Ekaterina Tuzova
8a059733eb
fixed PY-8946 Classmethod docstring creation
2013-09-19 20:27:18 +04:00
nik
64a094ca79
icon classes regenerated: copyright added to generated files, more instructive comment added
2013-09-18 09:02:26 +04:00
Andrey Vlasovskikh
e2dc3c839c
Fixed docstring
2013-09-17 21:06:39 +04:00
Andrey Vlasovskikh
09fdfb6986
Removed redundant PyClass.getSuperClassElements() method
2013-09-17 20:59:01 +04:00
Andrey Vlasovskikh
9ba8bb6487
Docs for super classes and ancestors-related methods of PyClass
2013-09-17 20:25:55 +04:00
Andrey Vlasovskikh
a2b76b7735
Docs and the base class for Python token set contributors
2013-09-17 19:26:10 +04:00
Andrey Vlasovskikh
51d3a547c8
Use parameters provided by function type for method signature checks in inspections
2013-09-13 19:22:18 +04:00
Andrey Vlasovskikh
4c7704c222
Moved Cython-specific inspection checks to CythonInspectionExtension
2013-08-29 17:50:59 +04:00
Ekaterina Tuzova
2e88c54614
Merge remote-tracking branch 'origin/master'
2013-08-29 16:01:56 +04:00
Ekaterina Tuzova
445622e530
fixed PY-9724 Notice about abstract methods and properties
2013-08-29 15:47:04 +04:00
Andrey Vlasovskikh
a886faf6a0
Merge branch 'remove-cython'
2013-08-28 22:01:59 +04:00
Andrey Vlasovskikh
8fdfa4c104
Extracted CythonReferenceExpression with its own getReference()
2013-08-28 21:52:01 +04:00
Andrey Vlasovskikh
8fec120fa4
Get unbalanced braces recovery tokens via PythonDialectsTokenSetProvider
2013-08-28 20:29:05 +04:00
Dmitry Jemerov
bbd463af52
decouple AddFunctionQuickFix from Django
2013-08-28 17:42:02 +02:00
Dmitry Jemerov
b627ec802b
rename UnusedLocalFilter to PyInspectionExtension, added method for ignoring missing docstrings
2013-08-28 17:42:02 +02:00
Andrey Vlasovskikh
789d18607e
Name definers collected in ScopeImpl made PyImportedNameDefiner instances
2013-08-28 16:58:28 +04:00
Andrey Vlasovskikh
9a1c7fe632
Updated javadoc
2013-08-28 16:47:50 +04:00
Andrey Vlasovskikh
2e8150a2e9
Added stubs for docstrings of target expressions
2013-08-16 20:09:05 +04:00
Andrey Vlasovskikh
8e19b68746
Merge branch 'python-fixes'
2013-08-14 21:50:32 +04:00
Andrey Vlasovskikh
25e55b1c1b
Property.getGetter() doesn't depend on stub/AST switch, explicit Property.getType()
2013-08-14 21:39:28 +04:00
Andrey Vlasovskikh
81458c1cc3
Allow any PsiElement as an anchor in TypeEvalContext.maySwitchToAST()
2013-08-14 21:33:42 +04:00
Dmitry Jemerov
b0f6a39540
introduce PyQualifiedNameOwner interface
2013-08-14 19:30:55 +02:00