File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Write Your Python Program - CHANGELOG
22
3+ * 2.2.0 (2026-03-17)
4+ * Performance improvements
5+ * Fix for multi-threaded environment
36* 2.1.2 (2025-12-08)
47 * Fix for running a file that has the same name as a module from the stdlib
58 * Fix debugger invocation #194
Original file line number Diff line number Diff line change 33 "displayName" : " Write Your Python Program!" ,
44 "description" : " A user friendly python environment for beginners" ,
55 "license" : " See license in LICENSE" ,
6- "version" : " 2.1.2 " ,
6+ "version" : " 2.2.0 " ,
77 "publisher" : " StefanWehr" ,
88 "icon" : " icon.png" ,
99 "engines" : {
Original file line number Diff line number Diff line change 1+ START
2+ started
3+ WyppTypeError: '1'
4+
5+ Rückgabewert vom Typ `int` erwartet bei Aufruf der Funktion `foo`.
6+ Aber der Aufruf gibt einen Wert vom Typ `str` zurück.
7+
8+ ## Datei file-test-data/extras/multi_thread_ok.py
9+ ## Rückgabetyp deklariert in Zeile 4:
10+
11+ def foo(i: int) -> [0;31m[1mint[0;0m:
12+
13+ ## Aufruf in Zeile 9 verursacht das fehlerhafte return:
14+
15+ [0;31m[1mfoo(1)[0;0m
Original file line number Diff line number Diff line change 1+ import wypp
2+ import threading
3+
4+ def foo (i : int ) -> int :
5+ return str (i )
6+
7+ def doWork ():
8+ try :
9+ foo (1 )
10+ except wypp .WyppTypeError as e :
11+ print (e )
12+
13+ t = threading .Thread (target = doWork )
14+ print ('START' )
15+ t .start ()
16+ print ('started' )
17+ t .join ()
18+
You can’t perform that action at this time.
0 commit comments