Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cclauss/pythonparser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: m-labs/pythonparser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 8 files changed
  • 6 contributors

Commits on Sep 2, 2018

  1. Travis CI: Run flake8 tests to find Python syntax errors and undefine…

    …d names
    
    Add [flake8](http://flake8.pycqa.org) tests to find Python syntax errors and undefined names.
    
    __E901,E999,F821,F822,F823__ are the "_showstopper_" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
    * F821: undefined name `name`
    * F822: undefined name `name` in `__all__`
    * F823: local variable name referenced before assignment
    * E901: SyntaxError or IndentationError
    * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
    cclauss
    cclauss authored Sep 2, 2018
    Configuration menu
    Copy the full SHA
    c3359ad View commit details
    Browse the repository at this point in the history
  2. Undefined name: exception --> Exception

    exception (lowercase 'e') is an undefined name in this context while Exception (uppercase 'e') is the superclass.
    
    flake8 testing of https://github.com/cclauss/pythonparser on Python 2.7.14
    
    $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
    
    ./pythonparser/source.py:259:9: F821 undefined name 'exception'
            exception.__init__(self, "Ranges %s and %s overlap" % (repr(first), repr(second)))
            ^
    1     F821 undefined name 'exception'
    1
    cclauss
    cclauss authored Sep 2, 2018
    Configuration menu
    Copy the full SHA
    fa51676 View commit details
    Browse the repository at this point in the history
  3. Fix indentation error in LongOnly.__ne__()

    Also follow Python porting best practice [__use feature detection instead of version detection__](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).
    cclauss
    cclauss authored Sep 2, 2018
    Configuration menu
    Copy the full SHA
    5a7291b View commit details
    Browse the repository at this point in the history
  4. Update test_utils.py

    cclauss
    cclauss authored Sep 2, 2018
    Configuration menu
    Copy the full SHA
    356f711 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0397e2b View commit details
    Browse the repository at this point in the history
  6. allow_failures on python: "3.7"

    cclauss authored and whitequark committed Sep 2, 2018
    Configuration menu
    Copy the full SHA
    52789ce View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a46b8fd View commit details
    Browse the repository at this point in the history
  8. Merge pull request m-labs#22 from cclauss/patch-2

    Travis CI: flake8 tests to find Python syntax errors & undefined names
    whitequark authored Sep 2, 2018
    Configuration menu
    Copy the full SHA
    04a90a6 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2018

  1. Bump version.

    whitequark committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    7b10870 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2018

  1. parser.Parser explicitly inheriting from object

    This allows Python2 code to inherit the parser without monkeypatches
    alanjds authored and whitequark committed Dec 11, 2018
    Configuration menu
    Copy the full SHA
    c31a65f View commit details
    Browse the repository at this point in the history
  2. Accepts empty print_stmt with destination fp

    As in `print >> self.stdout` with no value
    alanjds authored and whitequark committed Dec 11, 2018
    Configuration menu
    Copy the full SHA
    6dd870e View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2018

  1. Bump version.

    whitequark committed Dec 29, 2018
    Configuration menu
    Copy the full SHA
    4ca9753 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. setup.py: Update url

    jayvdb authored and sbourdeauducq committed May 5, 2021
    Configuration menu
    Copy the full SHA
    b284a6a View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2021

  1. Configuration menu
    Copy the full SHA
    f6be5a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6b7db6 View commit details
    Browse the repository at this point in the history
  3. bump version

    sbourdeauducq committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    5413ee5 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2026

  1. README.md broken link, fix m-labs#28

    abitrolly authored and sbourdeauducq committed Jan 3, 2026
    Configuration menu
    Copy the full SHA
    a2ace42 View commit details
    Browse the repository at this point in the history
Loading