lp:pychecker
- Get this branch:
- bzr branch lp:pychecker
Branch information
Import details
This branch is an import of the CVS module pychecker from :pserver:anonymous@pychecker.cvs.sourceforge.net:/cvsroot/pychecker.
Last successful import was .
Recent revisions
- 1537. By thomasvs
-
patch by: Arfrever Frehtes Taifersar Arahesis
* setup.py:
Make sure we close the file so it gets written. - 1536. By thomasvs
-
* pychecker/Stack.py:
Document isMethodCall.
Add a FIXME for the fact that we're not checking at all if the
item really represents a method known to the classObject passed.
It breaks test 69 which does __init__ aliasing.
* pychecker/pcmodules. py:
Document Class better.
Add an assert to make sure that we add by the real name of the
method. - 1535. By thomasvs
-
* HACKING:
Add debian note.
* pychecker/CodeChecks. py:
Add a FIXME for an internal warning.
* pychecker/Stack.py:
Comment, document, and assert assumptions related to
attributes and indirections. - 1530. By thomasvs
-
* test/input/
nestedinit. py:
Add another test case that triggers the wrong warnings. - 1528. By thomasvs
-
* pychecker/
CodeChecks. py:
Handle sibling imports, where a module could be importing another
living in the same directory.
When handling IMPORT_NAME, pass the current's module moduleDir as
the sibling module dir so we can load the ones that are as such,
and tag them properly in the PCModules.
* pychecker/check.py:
Track both PC Modules and normal python modules added/loaded after
importing all files to be checked.
Delete the modules that are likely to be a sibling module from
sys.modules, because they pollute that namespace by pretending they
are an importable module from sys.path when they were a side effect
of loading the files we were interested in.
* pychecker/checker. py:
Find a good moduleDir for the candidate files.
* test/test_internal. py:
Allow PYCHECKER_DEBUG as an env var so runs of trial can be done
with debugging.
Fix variables assert.
Test now passes.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)