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: python/mypy_extensions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.4.3
Choose a base ref
...
head repository: python/mypy_extensions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.0
Choose a head ref
  • 11 commits
  • 7 files changed
  • 2 contributors

Commits on Jan 4, 2021

  1. Add 3.9 to the list of classifiers (#20)

    Co-authored-by: hauntsaninja <>
    hauntsaninja authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    dffd016 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Drop Python 3.4 support (#25)

    PyPI stats indicates that 0.00% of downloads are for Python 3.4:
    https://www.pypistats.org/packages/mypy-extensions
    
    Other supported Python versions have non-trivial downloads, so let's
    continue to support them for now.
    JukkaL authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    c02c54f View commit details
    Browse the repository at this point in the history
  2. Add 3.10 and 3.11 to classifiers (#26)

    I'm not updating .travis.yml since Travis CI is no longer
    functioning.
    JukkaL authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    6565d3b View commit details
    Browse the repository at this point in the history
  3. Add Python 3.8 to 3.11 to tox envs (#27)

    Now `tox run` runs tests on all supported Python versions. One 3.11 test
    is still failing -- I'll look at it later.
    JukkaL authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    7c4d002 View commit details
    Browse the repository at this point in the history
  4. Fix test_typeddict_errors test case on Python 3.11 (#28)

    Integers are now accepted as types in many runtime contexts:
    python/cpython#90802
    
    Fixes #24.
    JukkaL authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    1c3f2ed View commit details
    Browse the repository at this point in the history
  5. Drop Python 2 support (#29)

    Mypy has dropped Python 2 support some time ago, and maintaining
    Python 2 support is getting too complicated for little benefit.
    JukkaL authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    2874924 View commit details
    Browse the repository at this point in the history
  6. Document development status as stable and prepare for 1.0 release (#30)

    Mypy 1.0 is release is going out soon, so let's make mypy_extensions 1.0
    as well.
    JukkaL authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    0a0adae View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Add mypyc native int types i64, i32, i16 and u8 (#31)

    In code compiled with mypyc, these can be used in annotations to use
    faster native int operations that don't check for overflow, as an
    alternative to the default arbitrary-precision int type.
    
    See mypyc/mypyc/issues/837 for more context. Note that only i64 and
    i32 are currently supported by mypyc, but I'm adding the planned i16
    and u8 types as well since their implementation is essentially the
    same.
    
    These are not real classes. In particular, there can be no instances
    of these types. In code that is not compiled with mypyc, there are
    just regular 'int' objects, in order to allow code using these types
    to be run without compilation. In code compiled with mypyc, these are
    represented as native integers that don't have a 1:1 Python
    replacement. The native integers are impliciticly converted to/from
    'int' objects when boxed/unboxed.
    
    I originally was planning to make these aliases of `int`, but there
    are runtime type checking and introspection use cases where it's
    important to make these distinct objects.
    
    The types only support a few runtime operations:
    
    * Conversions from numbers and strings
    * `isinstance` checks
    
    We could also add at least the `from_bytes` class method, but it
    doesn't seem urgent as long as mypyc doesn't support it as a primitive
    operation.
    JukkaL authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    53c8777 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Don't describe mypy_extensions as experimental in the description (#32)

    Also a few other minor updates to the description.
    JukkaL authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    d48060d View commit details
    Browse the repository at this point in the history
  2. Require Python 3.5+ in setup.py and setup.cfg (#34)

    Followed these instructions:
    https://packaging.python.org/en/latest/guides/dropping-older-python-versions/
    
    I'm not going to make a release with python_requires>='2.7' first as suggested
    by the docs, since dropping universal wheels should be enough to not have this
    version installed on Python 2, and since 3.4 and earlier are basically non-existent
    at this point.
    JukkaL authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    c2ff5b8 View commit details
    Browse the repository at this point in the history
  3. Bump version to 1.0.0

    JukkaL committed Feb 4, 2023
    Configuration menu
    Copy the full SHA
    4161db8 View commit details
    Browse the repository at this point in the history
Loading