Put this in an SP plugin and load the plugin. The server will crash during printing the exception.
def crash():
name = 'asd'
raise NameError("'%s' crash :( ... f-strings and format() work fine."% name)
crash()
This also happens if you replace the entire source-python/__init__.py with this snippet. Python issue? Reproduced with CS:S on Windows and Linux.
Put this in an SP plugin and load the plugin. The server will crash during printing the exception.
This also happens if you replace the entire
source-python/__init__.pywith this snippet. Python issue? Reproduced with CS:S on Windows and Linux.