Python v2018.12.0 Release Notes

Release Date: 2018-12-13 // over 5 years ago
  • Thanks

    Thanks to the following projects which we fully rely on to provide some of our features:

    Also thanks to the various projects we provide integrations with which help ๐Ÿ‘‰ make this extension useful:

    And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

    โœจ Enhancements

    ๐Ÿ”ง 1. Load the configured language server in the background during extension activation. (#3020)

    1. Display progress indicator when activating the language server and validating user setup. (#3082)
    2. Allow for connection to a remote Jupyter server. (#3316) ๐Ÿ‘• 1. Allow users to request the 'Install missing Linter' prompt to not show again for pylint. (#3349)
    3. Add the Jupyter server URI to the interactive window info cell. (#3668)

    ๐Ÿ›  Fixes

    โšก๏ธ 1. Updated logic used to determine whether the Microsoft Python Language Server is supported. (#2729)

    1. Add export from the Python interactive window as a notebook file. (#3109) โœ… 1. Fix issue with the unittest runner where test suite/module initialization methods were not for a single test method. (thanks Alex Yu) (#3295)
    2. Activate conda prior to running jupyter for the Python interactive window. (#3341) ๐Ÿ‘• 1. Respect value defined for pylintEnabled in user settings.json. (#3388)
    3. Expand variables in pythonPath before validating it. (#3392)
    4. Clear cached display name of Python if interpreter changes. (#3406) 0๏ธโƒฃ 1. Run in the workspace directory by default for the interactive window. (#3407) ๐Ÿ”ง 1. Create a default config when starting a local Jupyter server to resolve potential conflicts with user's custom configuration. (#3475) ๐Ÿ‘ 1. Add support for running Python interactive commands from the command palette. (#3476)
    5. Handle interrupts crashing the kernel. (#3511) โช 1. Revert ctags argument from --extras to --extra. (#3517) ๐Ÿ”ง 1. Fix problems with jupyter startup related to custom configurations. (#3533)
    6. Fix crash when kernelspec is missing path or language. (#3561) ๐Ÿš€ 1. Update the Microsoft Python Language Server to 0.1.72/2018.12.1 (#3657):
      • Properly resolve namespace packages and relative imports.
      • Go to Definition now supports namespace packages.
      • Fixed null reference exceptions.
      • Fixed erroneously reporting None, True, and False as undefined.

    Code Health

    ๐Ÿ“Œ 1. Pin python dependencies bundled with the extension in a requirements.txt file. (#2965) ๐Ÿšš 1. Remove scripts that bundled the extension using the old way, without webpack. (#3479)

    1. Fix environment variable token in Azure DevOps YAML. (#3630) โœ… 1. Add missing imports and enable functional tests. (#3649) โœ… 1. Enable code coverage for unit tests and functional tests. (#3650) ๐ŸŒฒ 1. Add logging for improved diagnostics. (#3460)