Python v2018.9.0 Release Notes

Release Date: 2018-10-09 // 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. Adds support for code completion in the debug console window. (#1076)

    1. Auto activate Python Environment in terminals (disable with "python.terminal.activateEnvironment": false). (#1387) ๐Ÿ‘ 1. Add support for activation of pyenv environments in the Terminal. (#1526) ๐ŸŽ 1. Display a message with options when user selects the default macOS Python interpreter. (#1689) ๐Ÿ”ง 1. Add debug configuration snippet for modules for the debugger. (#2175)
    2. Search for python interpreters in all paths found in the PATH/Path environment variable. (#2398)
    3. Add telemetry to download, extract, and analyze, phases of the Python Language Server. (#2461)
    4. The pvsc-dev-ext.py script now captures stderr for more informative exceptions when execution fails. (#2483)
    5. Display notification when attempting to debug without selecting a python interpreter. (#2494) โšก๏ธ 1. Add support for out of band updates to the language server. (#2580)
    6. Ensure status bar with interpreter information takes priority over other items. (#2617)
    7. Add Python Language Server version to the survey banner URL presented to some users. (#2630)
    8. Language server now provides rename functionality. (#2650) ๐Ÿ 1. Search for default known paths for conda environments on windows. (#2794 ๐Ÿ‘• 1. Add bandit to supported linters. (thanks Steven Demurjian) (#2775)

    ๐Ÿ›  Fixes

    1. Improvements to the display format of interpreter information in the list of interpreters. (#1352) ๐Ÿ—„ 1. Deprecate the use of the setting python.autoComplete.preloadModules. Recommendation is to utilize the new language server (change the setting "python.jediEnabled": false). (#1704)
    2. Add a new python.condaPath setting to use if conda is not found on PATH. (#1944)
    3. Ensure code is executed when the last line of selected code is indented. (#2167)
    4. Stop duplicate initializations of the Python Language Server's progress reporter. (#2297) ๐Ÿ‘• 1. Fix the regex expression to match MyPy linter messages that expects the file name to have a .py extension, that isn't always the case, to catch any filename. E.g., .pyi files that describes interfaces wouldn't get the linter messages to Problems tab. (#2380) โšก๏ธ 1. Do not use variable substitution when updating python.pythonPath. This matters because VS Code does not do variable substitution in settings values. (#2459)
    5. Use a python script to launch the debugger, instead of using -m which requires changes to the PYTHONPATH variable. (#2509)
    6. Provide paths from PYTHONPATH environment variable to the language server, as additional search locations of Python modules. (#2518)
    7. Fix issue preventing debugger user survey banner from opening. (#2557)
    8. Use folder name of the Python interpreter as the name of the virtual environment. (#2562) ๐Ÿ 1. Give preference to bitness information retrieved from the Python interpreter over what's been retrieved from Windows Registry. (#2563)
    9. Use the environment folder name for environments without environment names in the Conda Environments list file. (#2577) โšก๏ธ 1. Update environment variable naming convention for SPARK_HOME, when stored in settings.json. (#2628) โœ… 1. Fix debug adapter Attach test. (#2655)
    10. Fix colon-triggered block formatting. (#2714) ๐Ÿ 1. Use full path to activate command in conda environments on windows when python.condaPath is set. (#2753)

    Code Health

    ๐Ÿ‘ท 1. Fix broken CI on Azure DevOps. (#2549) โฌ†๏ธ 1. Upgraded our version of request to 2.87.0. (#2621)

    1. Include the version of language server in telemetry. (#2702) โšก๏ธ 1. Update vscode-extension-telemetry to 0.0.22. (#2745)