atlas news
    
PyDev adventures
04  février     10h51
PyDev Debugger and sys.monitoring (PEP 669) -- i.e.: really fast debugging for Python 3.12
   The latest release of PyDev . . is now available and it brings a really nice speed improvement for those who are already in Python . If you’re a LiClipse user, it’s now available in LiClipse .The PyDev Debugger now uses sys.monitoring, which enables faster debugging on my tests it...
23  juin     19h39
robocorp.log: a library to answer what happened in a Python run.
   It’s been a while since I don’t post, so, I decided to shed some details on what I’m working now which I think is a really nice open source tool for the Python ecosystem in my view it’s something close to a Time travel debugger for Python, although it’s mostly labelled as automatic...
11  août     13h46
PyDev debugger: Going from async to sync to async... oh, wait.
   nbsp;In Python asyncio land it’s always a bit of a hassle when you have existing code which runs in sync mode which needs to be retrofitted to run in async, but it’s usually doable in many cases, slapping async on the top of a bunch of definitions and adding the needed await statements where...
10  mars     14h13
PyDev 9.3.0 (debugger improvements last version with Python 2.7 - 3.5 support)
   PyDev . . is now available.The main changes in this release are related to the debugger, with improvements such as: Major issue fixed issue where variable children sometimes wouldn’t expand correctly.Fixed some case where automatic connection to subprocesses wouldn’t work.Debugging with Pandas is...
18  avril     11h53
PyDev 8.3.0 (Java 11, Flake 8 , Code-completion LRU, issue on Eclipse 4.19)
   PyDev . . is now available Let me start with some warnings here:First, PyDev now requires Java . I believe that Java is pretty standard nowadays and the latest Eclipse also requires Java if you absolutely need Java, please keep using PyDev . . or earlier indefinitely, otherwise...
27  février     13h44
PyDev 8.2.0 released (external linters, Flake8, path mappings, ...)
   nbsp;PyDev . . is now available for download.This release has many improvements for dealing with external linters.The main ones are the inclusion of support for the Flake linter as well as using a single linter call for analyzing a directory, so, that should be much faster now previously it...
08  décembre     19h26
PyDev 8.1.0 released (Python 3.9, Code analysis, f-string quick-fixes)
   nbsp;PyDev . . is now available for download.As a note, I didn’t really create a post on . . , so, I’m covering some of the features in that version in this blog post too Some nice things added: Python . is officially supported in PyDev definitely a must if you plan on using Python...
15  septembre     16h16
PyDev 8.0 released (17 years of PyDev, typing support, MyPy and Debugger)
   Wow, PyDev is turning . ... the . version probably doesn’t do much justice as it’s actually being developed for years already I’m actually pretty happy on how things are working around it right now... Some interesting points:Many users now support PyDev through Patreon or PayPal so, it...
02  août     17h43
PyDev 7.7.0 released (mypy integration improvements, namespace packages)
   This release brings multiple improvements for dealing with type hints as well as improvements in the Mypy integration in PyDev: The MYPYPATH can now be set automatically to the source folders set on PyDev and the follow imports flag is set to silent by default this flag is required because only...
11  juin     12h13
PyDev 7.6.0 (Python 3.8 parsing fixes and debugger improvements)
   PyDev . . is now available for download. This release brings multiple fixes to parsing the Python . grammar in particular, dealing with f strings and iterable unpacking had some corner cases that weren’t well supported . Also, the debugger had a number of improvements, such as: Grouping...
18  mars     14h19
How is frame evaluation used in pydevd?
   First some background in frame evaluation: Since Python . , CPython has a mechanism which allows clients to override how it evaluates frames. This is done by changing PyThreadState.interp.eval frame to a different C function the default being PyEval EvalFrameDefault . See: pydevd frame...
10  janvier     18h05
PyDev 7.5.0 Released (Python 3.8 and Cython)
   PyDev . . is now available for download. The major changes in this release are Python . support and improved Cython parsing. Python . should’ve been in . . but because of an oversight on my part during the build it wasn’t, so, this release fixes that . As for the Cyhon AST,...
27  mars     13h39
PyDev 7.2.0 released
   PyDev . . is now available for download. This version brings some improvements to the debugger and a fix for when PyDev could not properly find pipenv which could impact some users. See: http: pydev.org for more details.
09  novembre     13h17
PyDev 7.0 (mypy, black, pipenv, faster debugger)
   PyDev . actually, PyDev . . after some critical bugfixes on . . is now available. Some of the improvements available in this version include: Mypy may be used as an additional backend for code analysis see the preferences in the Preferences gt; PyDev gt; Editor gt; Code Analysis...
03  septembre     18h26
PyDev 6.5.0 (#region code folding)
   PyDev . . is now available for download. There are some nice features and fixes available in this release: region endregion comments can now be used by the code folding engine. An action to easily switch the default interpreter is now available default binding: Ctrl Shift Alt I note...
13  août     19h19
Profiling pytest startup
   I’m a fan of pytest http: www.pytest.org , yet, it seems that the startup time for running tests locally in the app I’m working on is slowly ramping up, so, I decided to do a profile to see if there was anything I could do to improve that. The first thing I did was creating a simple test and...
06  juillet     11h37
PyDev 6.4.3 (code formatter standalone, debugger improvements and f-strings handling)
   The latest version of PyDev is now out... Major changes in this release include: . Being able to use the PyDev code formatter as a standalone tool.To use it it’s possible to install it as pip install pydevf the command line is provided as a python library which will call the actual formatter from...
12  mai     15h39
Howto launch and debug in VSCode using the debug adapter protocol (part 2)
   Ok, after the basic infracstructure, the next thing to do is actually launch some program without worrying about the debugger, so, we’ll just run a program without being in debug mode to completion, show its output and terminate it when requested.To launch a program, our debug adapter must treat...
09  mai     12h11
Howto launch and debug in VSCode using the debug adapter protocol (part 1)
   This is a walkthrough with the steps I’m taking to add support to launch and debug a Python script in PyDev for VSCode note that I’m writing as I’m learning . The debugger protocol is the protocol used in VSCode to talk to debuggers and handle launching in general the naming may be a bit weird...
21  mars     18h35
PyDev 6.3.2: support for .pyi files
   PyDev . . is now available for download. The main change in this release is that PyDev will now consider .pyi stub files when doing type inference, although there’s still a shortcoming: the .pyi file must be in the same directory where the typed .py file is and it’s still not possible to use...
01  mars     11h48
PyDev 6.3.1 (implicit namespace packages and Visual Studio Code support)
   The major change in this release is that PyDev now recognizes that folders no longer require init .py files to be considered a package PEP . Although this is only available for Python . onwards, PyDev will now always display valid folders under the PYTHONPATH as if they were packages. ...
19  février     11h10
Python with PyDev on Visual Studio Code
   PyDev can now be used for Python development on Visual Studio Code The first release already provides features such as code analysis, code completion, go to definition, symbols for the workspace and editor, code formatting, find references, quick fixes and more see http: www.pydev.org vscode ...
04  décembre     11h07
Creating extension to profile Python with PyVmMonitor from Visual Studio Code
   Ok, so, the target here is doing a simple extension with Visual Studio Code which will help in profiling the current module using PyVmMonitor http: www.pyvmmonitor.com . The extension will provide a command which should open a few options for the user on how he wants to do the profile with...
30  novembre     00h23
PyDev 6.2.0: Interactive Console word wrapping, pytest hyperlinking
   PyDev . . is mostly a bugfix release, although it does bring some features to the table to such as adding the possibility of activating word wrapping in the console and support for code completion using the Python . variable typing. Another interesting change is that pytest filenames are...
07  novembre     10h37
PyDev 6.1.0: dealing with blank lines in code formatter
   PyDev . . is now available for download. The major change in this release is in the code formatter, which can now deal with adding or removing blank lines so that code can properly conform to pep, besides having a number bugs fixed see http: www.pydev.org for more details . Now, why...