Thanks to visit codestin.com
Credit goes to github.com

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: satarii/MagicPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: MagicStack/MagicPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 15 commits
  • 81 files changed
  • 7 contributors

Commits on Oct 17, 2019

  1. Add a meta.member.access.python scope.

    Add a `meta.member.access.python` scope wrapping around any attribute
    access or method call.
    
    Fixes MagicStack#188.
    vpetrovykh committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    c0f8d51 View commit details
    Browse the repository at this point in the history
  2. Bump syntaxdev dep

    1st1 committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    076e2bb View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. Add an update-test make target.

    The `update-test` make target will automatically update the output of
    any test that failed. This kind of bulk update is intended to be used
    when the changes to scopes affect a large number of files. Of course, the
    actual updated tests should still be reviewed for correctness.
    vpetrovykh committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9d40c71 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Configuration menu
    Copy the full SHA
    c9b3409 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. Add snakemake (MagicStack#203)

    goi42 authored Mar 31, 2020
    Configuration menu
    Copy the full SHA
    0b09c1f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Add some more specific scopes for member access.

    Add `meta.attribute.python` to mark otherwise non-special attributes.
    Add `meta.indexed-name.python` to mark the name of the object being
    indexed.
    
    In combination with `meta.member.access.python` the above scopes can
    help highlight member access that is no otherwise using a builtin or
    some other special case. For highlighting method names in method calls
    the combination of `meta.member.access.python` and
    `meta.function-call.generic.python` could be used.
    
    Fixes MagicStack#188.
    vpetrovykh committed May 1, 2020
    Configuration menu
    Copy the full SHA
    dd48b8f View commit details
    Browse the repository at this point in the history
  2. Improve detection of call signature and kwargs.

    Correctly identify calls of the form "foo[123](bar=2)" to highlight the
    contents of the parentheses as call arguments.
    
    Issue: MagicStack#197
    vpetrovykh committed May 1, 2020
    Configuration menu
    Copy the full SHA
    72ccccb View commit details
    Browse the repository at this point in the history
  3. Update the way "in" is scoped.

    The "in" keyword is scoped as either `keyword.operator.logical.python`
    or as `keyword.control.flow.python` depending on whether it appears as
    part of a "for ... in" construct.
    
    Fixes: MagicStack#193
    vpetrovykh committed May 1, 2020
    Configuration menu
    Copy the full SHA
    2ca894f View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Configuration menu
    Copy the full SHA
    b4b2e6e View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. Configuration menu
    Copy the full SHA
    225fa4c View commit details
    Browse the repository at this point in the history
  2. Remove invalid first_line_match key

    pchaigno authored and vpetrovykh committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b2b4f4a View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Github doesn't seem to use MP for highlighter tokenization

    MagicPython is still used by Linguist, but the actual syntax
    hightlighting seems to be driven by something else now.  Thus, remove
    the outdated statement from the README.
    
    Closes: MagicStack#225
    elprans authored and 1st1 committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    2802ded View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Add Python 3.8 features.

    Add walrus operator `:=`.
    Add positional only args separator `/`.
    Add `=` to f-string formatting.
    
    Fixes MagicStack#189
    vpetrovykh committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    db32a0d View commit details
    Browse the repository at this point in the history
  2. Make raw f-strings consistent.

    Any f-string allows variable interpolation, that includes a raw
    f-string. Make all raw prefixes (`r` or `R`) behave the same way in
    combination with `f` prefix.
    
    Fixes MagicStack#186
    vpetrovykh committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    5b5f388 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Update the syntax to Python 3.10

    Update the built-ins, dunders and add `match` and `case` keywords.
    vpetrovykh committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    7d0f2b2 View commit details
    Browse the repository at this point in the history
Loading