On Mon, May 11, 2020 at 04:28:38AM +0000, Steve Barnes wrote:
So we currently have a situation where not only does whether code works or not depends on who typed it, in what environment, with what settings but also on the same factors for who received it
You say "currently", but that has always been the case, and the further back you go, the worse it was.
- so I could use Outlook or Word to send a code fragment to 100 people and 5 say that is great it works and the other 95 end up thinking that there is something wrong with their installation.
While the actual problem is that you are sending code via a non-WYSIWYG medium that may modify what you type. If you want to send code via email, the most reliable method is to attach it as a .py file.
Personally I don't think this fits in with the pythonic way of thinking!
The Zen says differently: "Errors should never pass silently." It's not Python's responsibility to make up for lossy transmission methods such as mail servers which strip the high bit off every octet, or faulty hardware that randomly corrupts one byte in a thousand. And nor is it the interpreter's responsibility to guess what the user intended to type, or *should have* intended to type, in the face of editors which substitute characters. -- Steven