summaryrefslogtreecommitdiff
path: root/astroid/brain/py2stdlib.py
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that generated enum values have the correct base classesenum-fixesPhilip Lorenz2015-05-011-2/+2
| | | | | | | | | | | | | | Enum values should share the same base classes as their defining class. If this is not the case it may lead to wrong inference results when an enum member is used - e.g. for the following snippet: class X(enum.IntEnum): one = 1 print([1, 2][X.one]) pylint will detect a "invalid-sequence-index" error as the __index__ method of X.one is not detected.
* SyncManager is a context manager as well.Claudiu Popa2015-04-291-0/+2
|
* Add brain tips for multiprocessing post Python 3.4+.Claudiu Popa2015-04-021-4/+33
| | | | | | | In Python 3.4+, the module level functions are retrieved with getattr from a context object, leading to many no-member errors in Pylint. This patch ensures us that we can retrieve those attributes, no matter what.
* Add brain tips for multiprocessing.Manager and ↵Claudiu Popa2015-03-281-0/+52
| | | | multiprocessing.managers.SyncManager.
* Some style fixes.Claudiu Popa2015-03-281-5/+4
|
* removed long suffixFran?ois Mockers2015-01-081-2/+2
|
* added properties block_size and digest_size to hashlibFran?ois Mockers2015-01-071-0/+6
|
* Trim two extra lines.Claudiu Popa2015-01-031-2/+0
|
* Fix a typo.Claudiu Popa2014-12-111-1/+1
|
* don't commit/push without checking for unsaved bufferSylvain Th?nault2014-12-041-43/+0
|
* Add brain definition for most string and unicode methodsSylvain Th?nault2014-12-041-0/+47
|
* Return proper string types for hashlib overlay. Fixes #29.Torsten Marek2014-11-221-5/+5
|
* fix function's prototype (bad copy/paste)Sylvain Th?nault2014-11-191-1/+1
|
* Simplify & generalize code for module extenders.Torsten Marek2014-11-151-38/+14
|
* Move all astroid modules into a its own directory, which is now the package.Torsten Marek2014-11-081-0/+350
python setup.py develop now works.