diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-11-12 21:36:39 +0200 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-11-12 21:36:39 +0200 |
commit | 42d9dfe804bf93b33a0336ff7effecf33b2e04b7 (patch) | |
tree | 38b70eebaa0dd3445b63cb30897e4cb8a860a23a /doc | |
parent | 969cc7ad839110034108b518817f480c19766b3c (diff) | |
download | pylint-42d9dfe804bf93b33a0336ff7effecf33b2e04b7.tar.gz |
Remove psyco section from documentation, it's not a relevant project anymore.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/faq.rst | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/faq.rst b/doc/faq.rst index e3cd73e..7e2f3cc 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -192,30 +192,6 @@ tricks like: :: method-hidden, too-many-lines -4.7 Why do I get a lot of spurious "unused variables messages" when using psyobj from psyco_? ----------------------------------------------------------------------------------------------- - -This is actually due to a bug in psyco, making the locals() -function for objects inheriting from *psyobj* returning an empty -dictionary. For the moment, the only way to fix this is to use the -PYLINT_IMPORT environment variable to not use psyco during Pylint -checking. Sample code :: - - import os - try: - if os.environ.has_key('PYLINT_IMPORT'): - raise ImportError() - from psyco.classes import psyobj - except ImportError: - class psyobj: - pass - -NOTICE: this problem should not occur with Pylint >= 0.5 since from -this version Pylint is not looking anymore for information in living -objects (i.e. it no longer imports analysed modules) - -.. _psyco: http://psyco.sf.net - 5. Classes and Inheritance ========================== |