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:
- isort 4.3.4
- jedi 0.12.0 and parso 0.2.1
- Microsoft Python Language Server
- ptvsd
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with which help ๐ make this extension useful:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: nose, pytest, unittest
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)
- Display progress indicator when activating the language server and validating user setup. (#3082)
- Allow for connection to a remote
Jupyter
server. (#3316) ๐ 1. Allow users to request the 'Install missing Linter' prompt to not show again forpylint
. (#3349) - 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)
- 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) - Activate
conda
prior to runningjupyter
for the Python interactive window. (#3341) ๐ 1. Respect value defined forpylintEnabled
in usersettings.json
. (#3388) - Expand variables in
pythonPath
before validating it. (#3392) - 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) - Handle interrupts crashing the kernel.
(#3511)
โช 1. Revert
ctags
argument from--extras
to--extra
. (#3517) ๐ง 1. Fix problems withjupyter
startup related to custom configurations. (#3533) - 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
, andFalse
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)