- Live API objects must not be checked using
is None
since this would treat lost weakrefs as valid.# True both if obj represents a lost weakref or is None obj == None
- Lists and dicts should be created with
list()
anddict()
, as oppossed to[]
and{}
, to make use of thefuture
lib optimizations.
package | version | description |
---|---|---|
python-future |
0.18.2 | Compability layer between Python 2.7 and Python 3 |
typing |
3.7.4.3 | Backport of the typing built-in module for Python 2.7 |
retoken |
- | Regex lexer |
Rename .vscode/.settings.jsonc
to .vscode/settings.json
.
Shift+Ctrl+P → Tasks: Run tasks
task | description |
---|---|
(re)start Live |
Restart Live, or start it if closed. |
open Log.txt |
Open Live's Log.txt with the system default application for txt files. |
pytest tests/<file>::test