Thonny blog https://thonny.org/blog/ Python IDE for beginners en-us Sat, 09 Feb 2019 00:00:00 +0200 https://thonny.org/blog/2019/02/09/version_3_1_1.html https://thonny.org/blog/2019/02/09/version_3_1_1.html <![CDATA[Version 3.1.1]]> Version 3.1.1

This is last release announcement in the blog. From now on Thonny’s development takes place in GitHub (https://github.com/thonny/thonny) and the releases will be described there:

]]>
Sat, 09 Feb 2019 00:00:00 +0200
https://thonny.org/blog/2018/11/17/version_3_0_8.html https://thonny.org/blog/2018/11/17/version_3_0_8.html <![CDATA[Version 3.0.8]]> Version 3.0.8

This is a bug-fix release.

Changes since 3.0.5:

3.0.8 (2018-11-15)

  • FIXED #597: The directory with Python scripts may not be in path for executing system commands from shell
  • FIXED: Make executing shell commands compatible with Python 3.5
  • FIXED: Make MyPy support compatible with older MyPy versions
  • FIXED: Make turtle.pyi compatible with Python 3.5 and remove Windows linebreaks
  • FIXED: MyPy error col offset

3.0.7 (2018-11-14)

  • FIXED #592: MyPy doesn’t work when cwd == sys.prefix
  • FIXED #593: No-message exceptions crash the Assistant
  • FIXED #595: Running system commands causes an error
  • FIXED #596: Arguments are ignored when running system commands from shell in Posix

3.0.6 (2018-11-13)

  • FIXED #538: Turtle programs may give false warnings (Typeshed stubs were not packaged)
  • FIXED #586: Import interception mechanism fails for some modules
  • FIXED #591: Assistant fails when filename is missing from error info
]]>
Sat, 17 Nov 2018 00:00:00 +0200
https://thonny.org/blog/2018/10/28/version_3_0_5.html https://thonny.org/blog/2018/10/28/version_3_0_5.html <![CDATA[Version 3.0.5]]> Version 3.0.5

Here are the changes since version 3.0.1:

3.0.5 (2018-10-26)

  • FIXED #573: “Highlight matching names” and “Highlight local variables” makes editor very slow
  • FIXED #574: Error in outline
  • FIXED #578: resizing local variable pane in debugger causes error

3.0.4 (2018-10-22)

  • FIXED #564: In Windows “Highlight local variables” and “Higlight matching names” cause Thonny to load Jedi files

3.0.3 (2018-10-21)

  • FIXED: Regression from 3.0.2 (incomplete code refactoring)

3.0.2 (2018-10-21)

  • FIXED #563: Problems with HeapView and EventsView
  • FIXED #565: Don’t replace tabs in shell
]]>
Sun, 28 Oct 2018 00:00:00 +0300
https://thonny.org/blog/2018/10/18/version_3_0_1.html https://thonny.org/blog/2018/10/18/version_3_0_1.html <![CDATA[Version 3.0.1]]> Version 3.0.1

This is the first published stable release of Thonny 3.0.

Thonny 3.0 has many new features and most of them have been introduced already in previous posts or explained elsewhere:

Development of several features were suggested and supported by Raspberry Pi Foundation. Many thanks to them!

There are some important changes in the requirements:

All new features and changes are listed in the changelog: https://bitbucket.org/plas/thonny/src/master/CHANGELOG.rst

Big thank you to everybody who have helped Thonny so far!

You can find download links from Thonny’s homepage.

]]>
Thu, 18 Oct 2018 00:00:00 +0300
https://thonny.org/blog/2018/09/01/version_3_0_0b5.html https://thonny.org/blog/2018/09/01/version_3_0_0b5.html <![CDATA[Version 3.0.0b5]]> Version 3.0.0b5

Most new features happened in previous betas, but this one still has one big new feature – meet the Assistant!

See Thonny’s Bitbucket downloads page for download links or pip install –pre thonny into a virtual environment.

Assistant

Just like new debugger features, this feature has been supported by Raspberry Pi Foundation (https://www.raspberrypi.org/). Many thanks to them!

Assistant is a new view in Thonny, which observes your program runs and offers help if you get an exception or if it finds something fishy in your code. It uses Pylint and MyPy for static analysis and custom dynamic analysis for understanding the error situations better.

Here is an example:

https://thonny.org/img/assistant.png

Many error types are not supported yet – you may even call it a proof of concept for now. Here is where your help is needed – if you meet a situation where Assistant could be more helpful, then click on the feedback link at the bottom of the view and let us know! You are welcome to discuss this feature also here under this blog post or in the main forum.

All changes since 3.0.0b3

  • NEW: When program has syntax error or crashes with an exception, Assistant pane opens and tries to help diagnose the problem. Uses Pylint, MyPy and custom dynamic analysis under the hood. (Big “Thank you!” to Raspberry Pi Foundation for the support!)
  • ENHANCEMENT: Resizing the main window doesn’t mess up views’ layout anymore.
  • ENHANCEMENT: Better support for debugging f-strings.
  • ENHANCEMENT: Nice debugger now recovers better when it is not able to understand a program.
  • FIXED #496: Regression which caused Variables view to skip variables updates during “nicer debugging”.
  • FIXED #440: Copy&paste over a selection will now delete the text selection first (was problem for some Linuxes)
  • FIXED: Removed a nasty debugging statement left into b3, which may cause a crash in the end of debugging.
]]>
Sat, 01 Sep 2018 00:00:00 +0300
https://thonny.org/blog/2018/08/20/version_2_1_22.html https://thonny.org/blog/2018/08/20/version_2_1_22.html <![CDATA[Version 2.1.22]]> Version 2.1.22

Happy re-independence day to Estonia!

See the homepage for download links, and wiki for installation instructions.

Changes since 2.1.21:

  • ENHANCEMENT: Less intrusive logging for AST marking problems
  • FIXED #340: Validate geometry before loading
  • FIXED #363: subprocess.run causes Thonny backend to hang
  • FIXED #419: logging doesn’t work in user programs
  • FIXED #440: In Linux paste over selection doesn’t remove the selection
  • FIXED #487: Use PyPI.org and turn off pip warnings in package manager
  • FIXED #490: Debugger gets confused with f-strings
  • FIXED: In case of back-end problems, kill backend instead of resetting
  • FIXED: Colorize f-string prefixes
]]>
Mon, 20 Aug 2018 00:00:00 +0300
https://thonny.org/blog/2018/08/11/version_3_0_beta.html https://thonny.org/blog/2018/08/11/version_3_0_beta.html <![CDATA[Version 3.0 beta]]> Version 3.0 beta

Thonny 2.2 beta already brought along many new features, but they kept coming, so I decided to skip 2.2 stable release and continue under version 3.0.

See Thonny’s Bitbucket downloads page for download links.

Debugging enhancements

Thanks to the support from Raspberry Pi Foundation, Thonny now has several new debugger-related features.

The original debugger has been very useful for explaining the meaning of Python constructs, but its memory and time overhead became noticeable when making bigger steps in some programs (especially after the introduction of stepping back in time). Although the performance has been greatly improved in 3.0 beta, larger programs would still benefit from a more efficient solution.

Thonny now has two debug modes. Beside the original AST-based debug mode – the “nicer” one (Ctrl+F5), there is new, traditional line-based mode – the “faster” one (Shift+F5). The new mode is not as intuitive but much more efficient. We expect that most students start with the nicer debuger and move on to the faster one when their programs grow bigger.

By default the new debugging mode still uses stacked windows for presenting the call stack. This gives good intuition about the concept, but it may become cumbersome to use. Therefore in 3.0 one can choose between two different styles for presenting call stack. In “Tools → Options → Debugger” you can switch to more traditional style with a separate view for presenting and switching call frames. Note that both styles can be used with both debugging modes.

Last, but not least, Thonny finally supports breakpoints. For using them, you need to switch on line numbers (Tools → Options → Editor). This gives you the margin, where you can add or remove breakpoints with double-clicks. Note that you don’t need to use breakpoints – if you start the debugger without breakpoints, Thonny stops before the first statement, just like it used to.

New default back-end

Thonny 2.1 introduced automatically managed virtual environment as default back-end. The idea was to allow students start from clean slate and add packages later without worrying about the integrity of whole system. It turned out that many instructors did not like this scheme as it often made things more complex and confusing, especially in classroom setting.

In version 3.0 the default back-end is “The same interpreter which runs Thonny” (by the way, this was already the default setting on Raspberry Pi). This means your programs will see all Python packages that are installed to this interpreter. Instructors can now install extra packages to the central interpreter and students will see the packages without any hassle.

This change does not mean that I now consider virtual environments unimportant. As a new feature, Thonny 3.0 offers an easy way for creating and using virtual environments (Tools → Options → Back-end → Alternative Python 3 interpreter or virtual environment).

“A special virtual environment” back-end is still available and if you used it with your older Thonny, then Thonny 3.0 will use it as well. If you are using Thonny+Python bundle, then 3.0 will start by creating new virtual environment, because the one created for Python 3.6 does not work with Python 3.7.

More straightforward user package management

Now when default back-end is not a virtual environment, how can users install extra packages? In 3.0 the package manager (“Tools → Manage packages…”) installs to user site packages (with pip install --user) when back-end is not a virtual environment. The plug-ins manager always installs to user site packages, unless Thonny itself is run from a virtual environment.

You can also install packages outside of Thonny (either with or without --user) and these will be visible in Thonny.

Basic MicroPython support built-in

MicroPython plug-ins for Thonny have been available for a while, but so far this topic was kept separate from the main project. Since Thonny 3.0 the core of these plug-ins will be developed and distributed as part of the thonny package. For the end-user this means that it is possible to program MicroPython devices without installing any extra plug-ins (just select “Tools → Options → Back-end → MicroPython on a generic device”). For more complete support (eg. for installing or updating firmware) there are device-specific plug-ins/back-ends available. See https://bitbucket.org/plas/thonny/wiki/MicroPython for more info.

New Windows installer

This was already introduced in 2.1.21, but let’s repeat it here as well. You can now use Windows installer for installing either for current user or for all users. See the 2.1.21 announcement for more info.

Themes

In case you missed 2.2 beta announcement – Thonny now has ability for changing UI and syntax themes (Tools → Options → Theme & Font).

New versions / requirements

  • Thonny+Python bundles now come with Python 3.7.
  • Python 3.4 is not supported anymore (neither for front-end nor as back-end).
  • Tk 8.5 is not supported anymore.
  • Mac bundle now requires macOS 10.9 or later (because it bundles 64-bit only Python). Note that you can still pip install thonny on older Macs (provided you have Python with Tk 8.6).

How to test the beta without affecting your stable Thonny?

If you don’t want to overwrite your current Thonny, then you can pip install --pre thonny into a virtual environment. Since 3.0, when Thonny is run from a virtual environment, it keeps all user data (eg. configuration.ini) also inside this environment. This way you don’t risk messing up the configuration of your stable Thonny version and you can get rid of the beta just by deleting the virtual environment.

All new features and changes since 2.2b4

  • NEW: Thonny now has two debug modes: beside original AST based debug mode (the “nicer” one, Ctrl+F5) there is now also line-based mode (the “faster” one, Shift+F5), which is not so intuitive but much more efficient.
  • NEW: Both debug modes now support breakpoints (switch on line numbers and double-click on the margin)
  • NEW: Alternative presentation for call stack (in single window, just like in most debuggers; see Tools => Options => Debugger)
  • NEW: Clicking on the links in stacktrace now shows the variables of those frames.
  • NEW: You can re-run your changed program without closing it first (relevant for graphical programs).
  • NEW: Checking “Run => Dock user windows” makes your Tkinter windows stay on top and appear always on the same location. This allows tweaking your turtle programs while looking at current output.
  • NEW: “View => Program arguments” opens a box where you can write the argument string for your program
  • NEW: “Tools => Options => Backend => Custom Python interpreter” now allows creating virtual environments
  • NEW: “Tools => Manage packages” now allows installing new packages with all CPython backends, not only virtual environments. If the backend is not a virtual environment it installs to user site packages (with pip install –user)
  • NEW: Thonny now includes basic support for MicroPython (former thonny_microbit plug-in). See https://bitbucket.org/plas/thonny/wiki/MicroPython for more info.
  • CHANGED: Upgraded Python to version 3.7.0 in Thonny+Python bundles
  • CHANGED: Dropped support for Python 3.4 (both for front-end and back-end)
  • CHANGED: Dropped support for Tk 8.5. All bundles (including Mac’s) now come with Tk 8.6.8
  • CHANGED: Default back-end is now “Same as front-end” (was “A special virtual environment”). This makes deployment easier in classroom setting and it is simpler scheme in general. “Special virtual environment” backend may be removed in future versions.
  • CHANGED: Plug-ins will be now installed to regular user site packages directory (was ~/.thonny/plugins)
  • CHANGED: If Thonny (front-end) is run from a virtual environment, user directory (with configuration.ini and logs) will be .thonny under virtual environment’s root directory (instead of usual ~/.thonny).
  • ENHANCEMENT: Better Windows installer (run as administrator for all-users install)
  • ENHANCEMENT: thonny.exe is now digitally signed
  • ENHANCEMENT: On Linux Thonny now uses native file dialogs (via zenity)
  • ENHANCEMENT: Nicer debugger can now step into your functions defined in other modules
  • ENHANCEMENT: Nicer debugger can now stop before the assignement of loop variable in for-loops
  • ENHANCEMENT: “Run to cursor” can be called by right-clicking desired line in the editor and selecting the command from context menu
  • ENHANCEMENT: Great time and memory optimizations in nicer debug mode. The ability to step back in time is not so expensive anymore.
  • ENHANCEMENT: Thonny now detects external file modifications and proposes to reload
  • ENHANCEMENT: New Windows installer (run as administrator for all-users install)
  • FIXED #163: Uninstaller now correctly removes “Open with Thonny” context menu entry
  • FIXED #340: Validate geometry before loading
  • FIXED #358: sys.exit() in user programs doesn’t show stacktrace anymore
  • FIXED #363: subprocess.run causes Thonny backend to hang
  • FIXED #375: Files are now saved with linebreaks suitable for current platform
  • FIXED #419: logging doesn’t work in user programs
  • FIXED #422: Make Ctrl+C, Ctrl+V etc. work on Greek keyboard
  • FIXED #440: In Linux paste over selection doesn’t remove the selection
  • FIXED #450: Locals marker doesn’t work with jedi 0.12
  • FIXED #468: Problem with changing backend interpreter
  • FIXED #471: Problem when Thonny uses jedi 0.11 or newer
  • FIXED #475: Heap view misbehaving on startup
  • FIXED: “Run => Run to cursor” works again
  • FIXED: Thonny now honors PEP 263 style encoding markers when saving files. (UTF-8 is still the default)
  • FIXED: Problem when jedi 0.10 and parso are both installed
  • FIXED: Various problems with pip GUI
  • FIXED: Variables view misses events
  • FIXED: Error when last back-end was not available anymore
  • FIXED: problems with pip GUI in virtualenv
  • TECHNICAL: Plug-in writers can now control each import in user programs (thonny.backend.VM.add_import_handler)
  • TECHNICAL: Communication messages between back-end and front-end were changed
  • TECHNICAL: Thonny doesn’t tweak PYTHONUSERBASE anymore to put plugins under ~/.thonny. Regular user site packages is used instead
  • TECHNICAL: Dependency to “packaging” introduced in 2.2 betas is now replaced with “setuptools”
  • TECHNICAL: Implemented ChoiceDialog
]]>
Sat, 11 Aug 2018 00:00:00 +0300
https://thonny.org/blog/2018/07/25/version_2_1_21.html https://thonny.org/blog/2018/07/25/version_2_1_21.html <![CDATA[Version 2.1.21]]> Version 2.1.21

Highlights:

  • New installer for Windows bundle. Now you can also install Thonny for all users (eg. under C:\Program Files (x86)). For this you need to run the installer as administrator (right-click installer exe and select “Run as administrator”). If you run it with simple double-click, then you get old behaviour (installing for your user only).
  • Bundled Python version was upgraded to 3.6.6.

See the homepage for download links, and wiki for installation instructions.

Whole changelog since 2.1.17:

2.1.21 (2018-07-17)

  • FIXED #471: Another problem when Thonny uses jedi 0.11 or newer

2.1.20 (2018-07-16)

  • FIXED: Problem when jedi 0.10 and parso are both installed

2.1.19 (2018-07-16)

Updates in this version are relevant only on Windows

  • FIXED #467: Error when running Thonny with pythonw on Windows (regression from 2.1.18)
  • ENHANCEMENT: New Windows installer (run as administrator for all-users install)
  • ENHANCEMENT: Upgraded Python to version 3.6.6 in Thonny+Python bundles

2.1.18 (2018-06-22)

  • FIXED #450: Locals marker doesn’t work with jedi 0.12
]]>
Wed, 25 Jul 2018 00:00:00 +0300
https://thonny.org/blog/2018/06/05/thonny_and_micropython.html https://thonny.org/blog/2018/06/05/thonny_and_micropython.html <![CDATA[Thonny and MicroPython]]> Thonny and MicroPython

Thonny 2.1 had a plug-in called thonny-microbit, which added possibility to program BBC micro:bit.

Thonny 2.2 has plug-ins which add more general support for various MicroPython devices – see https://bitbucket.org/plas/thonny-micropython for more info.

NB! You need at least Thonny 2.2b3 to test it!

]]>
Tue, 05 Jun 2018 00:00:00 +0300
https://thonny.org/blog/2018/05/04/version_2_2_0_beta.html https://thonny.org/blog/2018/05/04/version_2_2_0_beta.html <![CDATA[Version 2.2.0 beta]]> Version 2.2.0 beta

Version 2.2 contains several new features and some bug-fixes (listed below). This post will be updated during the beta phase to let you know about the progress.

See Thonny’s Bitbucket downloads page for download links.

Stepping back in time

One of the new features in 2.2 is possibility to step back in time during debugging. This comes in handy when you are debugging with big steps (step over) and accidentally step over an interesting part in code. Instead of starting from scratch again, you can now issue the command “Run -> Step back” which brings the visual represetation of the program back to the state as it was before last debugger command. From there you can choose to continue with small steps (step into). You can make as many steps back as required and you can go back and forward as many times as you wish.

Stepping back was implemented by Alar Leemet as part of his Bachelor thesis. Please give him feedback about this feature!

2.2.0b4 (2018-06-05)

  • FIXED: Couldn’t open menus with None backend

2.2.0b3 (2018-06-05)

  • FIXED #425: Too big automatic scaling
  • FIXED #427: Can’t run files with spaces in filename
  • FIXED: Fixed a bug when debugging and encountering an exception (by Alar Leemet)
  • ENHANCEMENT: Show indicator about stepping in the past in the text of editor tabs
  • ENHANCEMENT: Added Thonny version guards for installing plug-ins
  • EXPERIMENTAL: Preliminary support for running system commands in Thonny shell (eg. !ls or !dir)
  • TECHNICAL: thonny.exe in Windows bundle is now signed
  • TECHNICAL: Delay starting of Runner until UI is shown
  • TECHNICAL: Various enhancements to support MicroPython plug-ins (https://bitbucket.org/plas/thonny-micropython)

2.2.0b2 (2018-05-04)

  • FIXED: Options dialog crashes when Variables view hasn’t been created yet

2.2.0b1 (2018-05-04)

  • NEW: Added support for stepping back in time during debugging (Run => Step back) by Alar Leemet. If you accidentally stepped over an interesting part of code, then now you can step back and step into.
  • NEW: Added support for UI and syntax theming (https://bitbucket.org/plas/thonny/wiki/Theming)
  • NEW: Added several built-in dark themes
  • NEW: Added support for display scaling / high-DPI screens (Tools => Options => General)
  • NEW: Added closing buttons to the tabs of all views
  • NEW: Added support for (CPython) back-end plug-ins (https://bitbucket.org/plas/thonny/wiki/Plugins)
  • NEW: Current editor line can be highlighted (Tools => Options => Editor)
  • NEW: Thonny can be started in simple mode (https://bitbucket.org/plas/thonny/wiki/Modes)
  • NEW: Variables view now allows viewing variables from other modules beside __main__ (Tools => Options => General)
  • CHANGED: Dropped support for Python 3.4 (both for front-end and back-end)
  • CHANGED: Reorganized back-end configuration (“Tools => Options => Back-end” instead of “Tools => Options => Interpreter”)
  • CHANGED: The roles of Interrupt and Stop commands are now more clear: Stop always restarts the backend and Interrupt only tries to interrupt
  • CHANGED: Editing the running program doesn’t interrupt it anymore.
  • CHANGED: Object inspector now shows attributes and object overview on different tabs
  • CHANGED: Can’t set thonny.THONNY_USER_DIR directly in customize.py anymore (https://bitbucket.org/plas/thonny/wiki/DeploymentOptions)
  • CHANGED: For plug-in writers: Unified early and late plug-ins (load_early_plugin should be renamed to load_plugin)
  • CHANGED: For plug-in writers: get_workbench and get_runner moved from thonny.globals to thonny
  • FIXED #358: Hide the stacktrace of SystemExit
  • FIXED #368: “Open system shell” doesn’t work in Xfce (fix by Miro Hrončok)
  • FIXED #370: Made zooming with Ctrl++ / Ctrl+- work on the numpad on Linux
  • FIXED #372: Now it’s possible to specify a link as backend interpreter (fix by Miro Hrončok)
  • FIXED #396: exec causes range marker to crash
  • FIXED #403: Window width may become negative
  • TECHNICAL: Changed the location and sharing of backend.py, common.py, ast_utils.py
  • TECHNICAL: Cleaner approach for sharing jedi with the back-end
  • TECHNICAL: Package manager now uses pypi.org instead of pypi.python.org
  • TECHNICAL: Several changes in Runner and BackendProxy interface
  • TECHNICAL: Saving an editor now forces writing to disk (see https://learn.adafruit.com/adafruit-circuit-playground-express/creating-and-editing-code#1-use-an-editor-that-writes-out-the-file-completely-when-you-save-it)
]]>
Fri, 04 May 2018 00:00:00 +0300
https://thonny.org/blog/2018/03/21/version_2_1_17.html https://thonny.org/blog/2018/03/21/version_2_1_17.html <![CDATA[Version 2.1.17]]> Version 2.1.17

This version fixes a bug in package manager (triggered by the release of pip 9.0.2).

See the homepage for download links, and wiki for installation instructions.

]]>
Wed, 21 Mar 2018 00:00:00 +0200
https://thonny.org/blog/2018/01/15/version_2_1_16.html https://thonny.org/blog/2018/01/15/version_2_1_16.html <![CDATA[Version 2.1.16]]> Version 2.1.16

Versions 2.1.14 - 2.1.16 were created to support Thonny packaging on Linux and don’t introduce anything new in the main code.

2.1.16 was actually released in November, but today we are releasing Thonny+Python bundles for it.

Changes:

  • Bundled Python has been upgraded to 3.6.4
  • Bundled OpenSSL for Linux bundles been upgraded to 1.1.0g
  • Windows installer has new signer (University of Tartu Institute of Computer Science). This means Windows Smart Screen filter may present warnings about its trustworthiness for some time.

NB! The certificate for older Windows installers (2.1.13 and older) will expire on 26th January.

See the homepage for download links, and wiki for installation instructions.

]]>
Mon, 15 Jan 2018 00:00:00 +0200
https://thonny.org/blog/2017/10/29/version_2_1_13.html https://thonny.org/blog/2017/10/29/version_2_1_13.html <![CDATA[Version 2.1.13]]> Version 2.1.13

Version 2.1.13 introduces a workaround for an intermittent issue (#351). Because of this, features “Highlight local variables” and “Highlight matching names” are off by default. You can turn them on from Tools => Options => Editor.

See the homepage for download links, and wiki for installation instructions.

]]>
Sun, 29 Oct 2017 00:00:00 +0300
https://thonny.org/blog/2017/10/26/version_2_1_12.html https://thonny.org/blog/2017/10/26/version_2_1_12.html <![CDATA[Version 2.1.12]]> Version 2.1.12

Version 2.1.12 fixes following bugs / enhancement requests:

  • FIXED #303: Allow specifying same interpreter for backend as frontend uses
  • FIXED #304: Allow specifying backend interpreter by relative path
  • FIXED #312: Closing unsaved tab causes error
  • FIXED #319: Linux install script needs quoting around the path(s)
  • FIXED #320: Install gets recursive if trying to install within extracted tarball
  • FIXED #321: Linux installer fails if invoked with relative, local user path
  • FIXED #334: init.tcl not found (Better control over back-end environment variables)
  • FIXED #343: Thonny now also works with jedi 0.11

Some of these fixes allow for more flexible deployment options (eg. central installation for the classroom).

See the homepage for download links, and wiki for installation instructions.

]]>
Thu, 26 Oct 2017 00:00:00 +0300
https://thonny.org/blog/2017/07/23/version_2_1_11.html https://thonny.org/blog/2017/07/23/version_2_1_11.html <![CDATA[Version 2.1.11]]> Version 2.1.11

Version 2.1.11 fixes following bugs:

  • FIXED #31: Infinite print loop freezes Thonny
  • FIXED #285: Previous used interpreters are not shown in options dialog
  • FIXED #296: Make it more explicit that pip GUI search box needs exact package name (shown in bold after failed “search”)
  • FIXED #298: Python crashes keep backend hanging
  • FIXED #305: Variables table doesn’t get updated, if it’s blocked by another view

See the homepage for download links.

]]>
Sun, 23 Jul 2017 00:00:00 +0300
https://thonny.org/blog/2017/06/11/version_2_1_10.html https://thonny.org/blog/2017/06/11/version_2_1_10.html <![CDATA[Version 2.1.10]]> Version 2.1.10

Version 2.1.10 fixes some smaller annoyances and provides more flexibility in classroom settings.

  • NEW: More flexibility for classroom setups (see https://bitbucket.org/plas/thonny/wiki/ClassroomSetup)
  • FIXED #276: Copy with Ctrl+C causes bell
  • FIXED #277: Triple-quoted strings keep keyword coloring
  • FIXED #278: Paste in shell causes bell
  • FIXED #281: Wrong unindentation with SHIFT+TAB when last line does not end with linebreak
  • FIXED #283: backend.log path doesn’t take THONNY_USER_DIR into account
  • FIXED #284: Internal error when saving to a read-only folder/file (now proposes to choose another name)

See the homepage for download links.

]]>
Sun, 11 Jun 2017 00:00:00 +0300
https://thonny.org/blog/2017/06/03/version_2_1_9.html https://thonny.org/blog/2017/06/03/version_2_1_9.html <![CDATA[Version 2.1.9]]> Version 2.1.9

Version 2.1.9 fixes couple of bugs including a nasty memory leak. Upgrade is recommended!

  • FIXED #273: Memory leak in editor margin because of undo log
  • FIXED #275: Updating line numbers is very inefficient
  • FIXED: Pasted text occasionally was hidden below bottom edge of the editor
  • FIXED: sys.exit() didn’t really close the backend

See the homepage for download links.

]]>
Sat, 03 Jun 2017 00:00:00 +0300
https://thonny.org/blog/2017/05/29/version_2_1_8.html https://thonny.org/blog/2017/05/29/version_2_1_8.html <![CDATA[Version 2.1.8]]> Version 2.1.8

Version 2.1.8 is mostly a bugfix release with some enhancements.

See the changelog for more details.

]]>
Mon, 29 May 2017 00:00:00 +0300
https://thonny.org/blog/2017/05/02/version_2_1_0.html https://thonny.org/blog/2017/05/02/version_2_1_0.html <![CDATA[Version 2.1]]> Version 2.1

I’m happy to announce the release of Thonny version 2.1!

Most significant addition is a simple pip GUI (Tools => Manage packages …):

https://thonny.org/img/pipgui_big.png

Other highlights:

  • Thonny plug-in system now allows installing separately packaged plug-ins (Tools => Manage plug-ins…). NB! I encourage you to try out a nice plug-in from Kauri Raba, which allows Thonny to use BBC micro:bit as its backend – see https://bitbucket.org/KauriRaba/thonny-microbit for more info.
  • Built-in Python version has been upgraded to 3.6.1.
  • The Shell finally accepts compound statements.
  • Many bugs have been fixed.
  • See the changelog for more details.

See the homepage for download links.

Let me know of your experiences with the new version!

UPDATE on 2017-05-04: Seems that in some cases at first run the cursor gets stuck somewhere, ie. no entry is possible neither in the shell nor in the editor. This was fixed in 2.1.1, but if you’re reading this, the upgrade is not actually necessary – just re-start Thonny and you’re done (you won’t meet this issue on next runs).

]]>
Tue, 02 May 2017 00:00:00 +0300
https://thonny.org/blog/2017/04/19/version_2_1_0_beta.html https://thonny.org/blog/2017/04/19/version_2_1_0_beta.html <![CDATA[Version 2.1.0 beta]]> Version 2.1.0 beta

The release of Thonny version 2.1 is approaching, but you can already check out the beta – go to https://bitbucket.org/plas/thonny/downloads/ and find correct bundle for your platform.

What are the news?

  • Most significant addition is a simple pip GUI (Tools => Manage packages …)
  • Built-in Python version has been upgraded to 3.6.1
  • The Shell finally accepts compound statements.
  • Many bugs have been fixed
  • See the changelog for more details

Let me know of your impressions! Your feedback is invaluable for preparing a stable 2.1.0!

]]>
Wed, 19 Apr 2017 00:00:00 +0300
https://thonny.org/blog/2017/01/05/version_2_0_7.html https://thonny.org/blog/2017/01/05/version_2_0_7.html <![CDATA[Version 2.0.7]]> Version 2.0.7

Happy New Year!

New year comes with new Thonny version. There are no new features this time, but here’s the list of bugs fixed since 2.0.3:

  • Making font size too small would crash Thonny.
  • Configuration file was occasionally getting corrupted (for mysterious reasons, maybe a bug in Python’s configparser). 2.0.4 added a workaround for this …
  • … which introduced another bug: configuration file wasn’t created in new installations.
  • Shift-Tab wasn’t working in some cases.
  • System shell for built-in Python did not include Scripts directory in Windows PATH.
  • from __future__ import crashed the debugger.
  • There was a bug in Linux installer in short-lived 2.0.6.
]]>
Thu, 05 Jan 2017 00:00:00 +0200
https://thonny.org/blog/2016/12/28/hello_blog.html https://thonny.org/blog/2016/12/28/hello_blog.html <![CDATA[Hello Blog!]]> Hello Blog!

Hi everyone!

Just want to let you know that Thonny is alive and well and I finally created a blog for it.

Version 2.0.3 has been successful but there are some fixes and small enhancements already waiting to be released soon.

]]>
Wed, 28 Dec 2016 00:00:00 +0200