#pylance — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pylance, aggregated by home.social.
-
CW: Microsoft, Malware
Der Python-Language-Server #Pylance, eine von #Microsoft entwickelte Extension für Visual Studio Code, enthält eine waschechte #ReDoS-Attacke (regular expression denial of service).
Kern des Angriffs ist ein regulärer Ausdruck (siehe Screenshot), der offenbar dazu gedacht ist, Debugger-Prozesse in eine Quasi-Endlos-Busy-Loop-Falle mit 100% CPU-Auslastung laufen zu lassen.
Zwar lässt sich die Attacke mit minimalem Aufwand unschädlich machen, aber: heilige Scheiße! Solche Aktionen sind eines billionenschweren Tech-Konzerns mehr als unwürdig.
-
If #pylance includes a wrong typing for a function, where do I have to open the ticket? Pylance or the #typeshed project?
The definition from calendar.pyi is basically wrong as the function returns actually list[list[list[date]]].
```python
def yeardatescalendar(self, year: int, width: int = 3) -> list[list[int]]: ...
``` -
If #pylance includes a wrong typing for a function, where do I have to open the ticket? Pylance or the #typeshed project?
The definition from calendar.pyi is basically wrong as the function returns actually list[list[list[date]]].
```python
def yeardatescalendar(self, year: int, width: int = 3) -> list[list[int]]: ...
``` -
#Python #PythonTyping #Pyright #Pylance #Mypy
Is there a way to create type stub only for part of the library?
For example: I want to include types for a single object, but don't want to maintain full copy of the library types.
https://github.com/carltongibson/django-filter/pull/1585/files
-
https://github.com/microsoft/pylance-release/discussions/4409
What do you expect when renaming import?
I expect import to be renamed, not target class. Join the discussion.
-
#ICYMI check out the latest 🥳 Release Party 🥳 featuring cool highlights from the April #vscode release! @OliviaGuzzardo is joined by members of the team to talk about #copilotchat #pylance #devcontainers and more! 🎥 https://youtube.com/live/mhYCTz-rswE
@roblourens https://t.co/tzCaemVKc1:sys_twitter: https://twitter.com/code/status/1657051008357335047
-
#ICYMI check out the latest 🥳 Release Party 🥳 featuring cool highlights from the April #vscode release! @OliviaGuzzardo is joined by members of the team to talk about #copilotchat #pylance #devcontainers and more! 🎥 https://youtube.com/live/mhYCTz-rswE
@roblourens https://t.co/tzCaemVKc1:sys_twitter: https://twitter.com/code/status/1657051008357335047
-
⌛ We're going live in 10 minutes with another 🎉 VS Code Release Party 🎉 Join us for demos on the newest features in #vscode and chat with the team! 🎬 https://youtube.com/live/mhYCTz-rswE
#Jupyter #copilot #pylance https://t.co/uv1fUN72PE:sys_twitter: https://twitter.com/code/status/1656673016955416578
-
⌛ We're going live in 10 minutes with another 🎉 VS Code Release Party 🎉 Join us for demos on the newest features in #vscode and chat with the team! 🎬 https://youtube.com/live/mhYCTz-rswE
#Jupyter #copilot #pylance https://t.co/uv1fUN72PE:sys_twitter: https://twitter.com/code/status/1656673016955416578
-
It's another 🎉 VS Code Release Party 🎉 We are psyched to demo the newest features including #Pylance, #devcontainers, drag and drop and #copilotchat!
Mark your 📅 and join us this Thursday https://aka.ms/code-livestream-page
8 am Seattle / 11 am New York / 4 pm London
@OliviaGuzzardo https://t.co/7zV6q3BdtL:sys_twitter: https://twitter.com/code/status/1655279082739752962
-
It's another 🎉 VS Code Release Party 🎉 We are psyched to demo the newest features including #Pylance, #devcontainers, drag and drop and #copilotchat!
Mark your 📅 and join us this Thursday https://aka.ms/code-livestream-page
8 am Seattle / 11 am New York / 4 pm London
@OliviaGuzzardo https://t.co/7zV6q3BdtL:sys_twitter: https://twitter.com/code/status/1655279082739752962
-
Apparently, #pylance can now be configured to automatically create an f-string when a { is added to a string.
Currently disabled by default; can be enabled at the "python.analysis.autoFormatStrings" setting in #VSCode once the May Update has been installed.
https://devblogs.microsoft.com/python/python-in-visual-studio-code-may-2023-release/
-
I hope that I'm not the only one excited to see "Improved IntelliSense support for pytest" in the latest release notes for Visual Studio Code
-
I hope that I'm not the only one excited to see "Improved IntelliSense support for pytest" in the latest release notes for Visual Studio Code
-
#VSCode 1.75 is out, and along with it some improvements to #Python stuff!
https://code.visualstudio.com/updates/v1_75#_python
The `Create Environment` command will now ask what requirements files and/or `pyproject.toml` optional dependencies you would like to see installed.
This release also sees #Pylance having automatic indentation (if you want; controlled by a setting).
🤫 I hear if you use Pylance pre-release you can get #pytest fixture support for "Go to Definition" and completions
-
#VSCode 1.75 is out, and along with it some improvements to #Python stuff!
https://code.visualstudio.com/updates/v1_75#_python
The `Create Environment` command will now ask what requirements files and/or `pyproject.toml` optional dependencies you would like to see installed.
This release also sees #Pylance having automatic indentation (if you want; controlled by a setting).
🤫 I hear if you use Pylance pre-release you can get #pytest fixture support for "Go to Definition" and completions
-
@clayton I remember interacting with #PyCharm Community Edition one year ago, and it wasn't bad! Language server is what interested me a lot (not without few shortcomings). Indexing is more transparent, good integration with linters and formatters.
Meanwhile, in #VSCode I always feel like Python support remains deficient - virtual environments require more work to do than necessary, leaving you with the quirks of non-OSS #Pylance language server as an added "bonus". Integrated #JupyterNotebook.
-
@clayton I remember interacting with #PyCharm Community Edition one year ago, and it wasn't bad! Language server is what interested me a lot (not without few shortcomings). Indexing is more transparent, good integration with linters and formatters.
Meanwhile, in #VSCode I always feel like Python support remains deficient - virtual environments require more work to do than necessary, leaving you with the quirks of non-OSS #Pylance language server as an added "bonus". Integrated #JupyterNotebook.
-
Obligatory #introduction. I'm not a hashtag guy but they make searching work (sorry).
Hi, I'm Jake, a senior software engineer at #microsoft working on the #typescript team (doing cool stuff like https://github.com/microsoft/TypeScript/pull/51387 , build, perf stuff).
Previously, I worked on #Pylance / #pyright for #python.
My favorite and most used language, shockingly, is Go (#golang).
Though I'm on Windows for work / gaming, I've otherwise been running #archlinux for well over a decade (love sway, i3 before that).
-
Obligatory #introduction. I'm not a hashtag guy but they make searching work (sorry).
Hi, I'm Jake, a senior software engineer at #microsoft working on the #typescript team (doing cool stuff like https://github.com/microsoft/TypeScript/pull/51387 , build, perf stuff).
Previously, I worked on #Pylance / #pyright for #python.
My favorite and most used language, shockingly, is Go (#golang).
Though I'm on Windows for work / gaming, I've otherwise been running #archlinux for well over a decade (love sway, i3 before that).
-
RT Python Visual Studio Code
The August 2022 release of the #Python extension for VS @code is here! 🎉
Here's (some of) what's new:
🪲 Automatic debug configuration for web apps
📝 A Python tools extension template
🧹 Remove all unused imports with #Pylance
Learn more here:
https://devblogs.microsoft.com/python/python-in-visual-studio-code-august-2022-release/:sys_twitter: https://twitter.com/pythonvscode/status/1555612984696655872
-
Das Dezember-Release hat neue Pylance-Features im Gepäck und ist das letzte, das lokales Debugging mit Python 2.7 erlaubt.
Python in Visual Studio Code bringt Refactoring-Vorschläge -
Seit 2018 ist der Sprachserver Teil der Python-Extension für Microsofts Code-Editor. Nun hat er das Support-Ende erreicht und Pylance übernimmt.
Python in Visual Studio Code verabschiedet sich vom Python Language Server -
Das September-Update für Microsofts Python-Extension liefert auch Überarbeitungen an der automatischen Importvervollständigung.
Python Extension for Visual Studio Code unterstützt semantische Farbgebung -
Used #vscode's #pylance language server today. And overall it was pretty nice. Especially like the type checking and import suggestions, which are a noticeable improvement to the old #python language server. #microsoft