Notice: amp_is_available was called incorrectly. `amp_is_available()` (or `amp_is_request()`, formerly `is_amp_endpoint()`) was called too early and so it will not work properly. WordPress is currently doing the `pre_get_posts` hook. Calling this function before the `wp` action means it will not have access to `WP_Query` and the queried object to determine if it is an AMP response, thus neither the `amp_skip_post()` filter nor the AMP enabled toggle will be considered. It appears the theme with slug `publisher` is responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /home/runcloud/webapps/techilive/wp-includes/functions.php on line 5313
Microsoft: Python programming in Visual Studio Code is now faster and smarter than ever -

Microsoft: Python programming in Visual Studio Code is now faster and smarter than ever


Microsoft has updated its popular Python extension for Visual Studio Code, bringing a number of big improvements to developers.

Python in VS Code now includes Pylance support

scyther5, Getty Images/iStockphoto


Microsoft has released the May 2021 update to the Python Extension for Visual Studio Code, which introduces Pylance as the default language server for Python alongside speedier start-up times and an auto-reload debugger for Python scripts.

Must-read developer content

Pylance is Microsoft’s language support extension for


providing smart suggestions and type information designed to help developers write code more quickly.

It’s based on Microsoft’s Pyright static type-checking tool for Python, which it released in 2019 to help developers quickly clean up and auto-complete code snippets.  

Savannah Ostrowski, Microsoft’s Program Manager of Pylance and Python in Visual Studio, said the upgraded support for Pylance within its Python extension – which is its most popular VS Code extension – “provides what we believe is the most performant and user-friendly Python editing experience for Visual Studio Code ever.”


SEE: The best programming languages to learn–and the worst (TechRepublic Premium)

Ostrowski said Microsoft had been making enhancements to Python language support via the Pylance extension since it launched it last year. The company has also been working on making language support better for developers regardless of whether they’re using Pylance or a different language server, and plans to concentrate on offering open-source language support options for users going forward.

“We’ve invested resources to standardize the way that language servers communicate with the Python extension (via Language Server Protocol),” said Ostrowski.


“This work has enabled us to further improve the performance and overall experience of other language servers, like the open-source Jedi language server.”

The May 2021 update also brings markedly improved stability and performance, including faster start-up time. The company is claiming a 10% faster boot time for Windows and macOS users, and up to 20% faster for Linux users, which Ostrowski credited to improvements in Microsoft’s Python environments discovery mechanism. “We’ve also seen that it is decreasing the number of times the Python extension becomes unresponsive by 15% across the board,” said Ostrowski.

SEE: C++ programming language: How it became the foundation for everything, and what’s next (free PDF) (TechRepublic)


Meanwhile, a new debugger feature brings live reload for Python scripts, after previously only supporting Django and Flask. This means that changes to code will be applied even after the debugger hits a breakpoint, without having to reload the debugger for them to take effect.

Miscellaneous changes and improvements to Python in VS Code include:

  • A “Default” language server option that dynamically chooses which language server to use
  • Automatic indenting following `match` and `case` statemens.
  • Addition of a Python: Refresh TensorBoard command
  • Added compatability with pypy3.7 interpreter.

Users can download the Python extension here, or install it directly from the extension gallery in Visual Studio Code.


Also see


Stay connected with us on social media platform for instant update click here to join our  Twitter, & Facebook

We are now on Telegram. Click here to join our channel (@TechiUpdate) and stay updated with the latest Technology headlines.

For all the latest Technology News Click Here 


 For the latest news and updates, follow us on Google News

Read original article here

Denial of responsibility! is an automatic aggregator around the global media. All the content are available free on Internet. We have just arranged it in one platform for educational purpose only. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials on our website, please contact us by email – The content will be deleted within 24 hours.

Leave a comment