Permalink
Switch branches/tags
Nothing to show
Commits on May 14, 2013
  1. Merge pull request #1 from crozzy/master

    String format method (python2.6) was is entirely supported.
    committed May 14, 2013
Commits on Apr 28, 2013
Commits on Jan 25, 2011
  1. * 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.
    thomasvs committed Jan 25, 2011
  2. * 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.
    thomasvs committed Jan 25, 2011
  3. pep8, more docs, and more naming consistency

    thomasvs committed Jan 25, 2011
Commits on Jan 22, 2011
  1. Update MANIFEST.in to generate an sdist more similar to releases prio…

    …r to 0.8.19
    pronovic committed Jan 22, 2011
Commits on Jan 21, 2011
  1. add debian and fedora maintainers

    thomasvs committed Jan 21, 2011
  2. add testing notes

    thomasvs committed Jan 21, 2011
  3. * test/input/nestedinit.py:

    	  Add another test case that triggers the wrong warnings.
    thomasvs committed Jan 21, 2011
  4. * pychecker/check.py:

    	  Don't add None to sys.path
    thomasvs committed Jan 21, 2011
  5. * 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.
    thomasvs committed Jan 21, 2011
  6. * pychecker/CodeChecks.py:

    	  Make it clear when handling IMPORT_STAR whether we are actually
    	  able to import because we've loaded the module.
    thomasvs committed Jan 21, 2011
Commits on Jan 20, 2011
  1. add another test that currently triggers a wrong warning about unused…

    … module
    thomasvs committed Jan 20, 2011
Commits on Jan 18, 2011
  1. * test/test_internal.py:

    	  Add another assert.
    	* pychecker/CodeChecks.py:
    	  Fix getting module names with * in it when doing star imports.
    thomasvs committed Jan 18, 2011
  2. add another TODO

    thomasvs committed Jan 18, 2011
  3. * pychecker/pcmodules.py:

    	  Allow getting the whole dict, for testing.
    	* test/test_internal.py:
    	  Add a test that shows that we are creating bogus modules
    	  when doing star imports.
    thomasvs committed Jan 18, 2011
Commits on Jan 17, 2011
  1. add todo

    thomasvs committed Jan 17, 2011
  2. * test/input/starimport.py:

    	* test/input/starimportfrom.py:
    	  Actually add input files for the test
    thomasvs committed Jan 17, 2011
  3. * pychecker/pcmodules.py:

    	  Key functions on their alias instead of their own name.
    	  Resolves problem of import gettext and _ = gettext.gettext
    	* test/test_internal.py:
    	  Only one test is now left TODO.
    thomasvs committed Jan 17, 2011
  4. remove some unneeded code

    thomasvs committed Jan 17, 2011
  5. * test/test_internal.py:

    	  Add another test to show that the problem is in the original
    	  module, 'gettext' is being added as a function.
    thomasvs committed Jan 17, 2011
  6. make assert clearer

    thomasvs committed Jan 17, 2011
Commits on Jan 16, 2011
  1. * pychecker/pcmodules.py:

    	  Add an assertion to make sure that the alias being imported
    	  was not already imported before.
    	* test/test_internal.py:
    	  Add a test for star imports.
    	  Also triggers the assert above.
    thomasvs committed Jan 16, 2011
Commits on Jan 13, 2011
  1. * pychecker/pcmodules.py:

    	  Older Python versions do not have try/except/finally.
    thomasvs committed Jan 13, 2011
  2. * pychecker/check.py:

    	  When processing files, only return warnings about newly loaded
    	  modules because of the files processed.
    	* test/test_internal.py:
    	  Fix up the tests now that warnings don't bleed over from one test
    	  to the next.
    thomasvs committed Jan 13, 2011
  3. add note

    thomasvs committed Jan 13, 2011
  4. add a debug line

    thomasvs committed Jan 13, 2011
  5. * pychecker/pcmodules.py:

    	  Prepare for keying functions on alias instead of name.
    thomasvs committed Jan 13, 2011
  6. * pychecker/check.py:

    	* pychecker/checker.py:
    	* pychecker/options.py:
    	* test/test_internal.py:
    	  Split out the module parts of checker.py into check.py
    	  checker.py is now only either the main of the pychecker script,
    	  or the side effects when importing.
    	  Adjust options and test_internal to suit.
    thomasvs committed Jan 13, 2011
  7. add note on binary modules

    thomasvs committed Jan 13, 2011
  8. * pychecker/pcmodules.py:

    	  When a module is binary (for now, ".so" extension, but might
    	  need to add more), don't try to setup main code and disassemble.
    thomasvs committed Jan 13, 2011
Commits on Jan 11, 2011
  1. * pychecker/CodeChecks.py:

    	* pychecker/warn.py:
    	  Implement support for cells which are used to store variables
    	  used in nested scope.
    	  Instead of blindly reusing the code object to handle nested code,
    	  restore the func object afterwards so that the code object points
    	  to the outside function at the end.
    	  Consider in the future actually making copies or deepcopies of
    	  the code object for the nested code, and keep references around.
    	  Fixes test_scope.py
    	* test/expected/nested:
    	* test/test_internal.py:
    	* test/test_scope.py:
    	* test_expected/test76:
    	  Adjust tests and expected output for this fix.
    thomasvs committed Jan 11, 2011
Commits on Jan 10, 2011
  1. remove notes about test44 now that it's fixed

    thomasvs committed Jan 10, 2011
  2. * test/test_pychecker_CodeChecks.py:

    	* test/expected/future_divide:
    	* test/input/future_divide.py:
    	  Add a test for inplace-division with __future__ division.
    	* pychecker/CodeChecks.py:
    	  Implement INPLACE_FLOOR_DIVIDE and INPLACE_TRUE_DIVIDE.
    thomasvs committed Jan 10, 2011