Simon Grantham added the comment:
My googling skills are a bit amiss too. I searched for some kind of
encoding pragma before reporting. Perhaps just a footnote in the basic
documentation of a python comment is the easiest solution.
Simon
On 1/10/2017 12:58 PM, Ammar Askar wrote:
> Am
Simon Grantham added the comment:
Thanks Ammar. Curiously, the comment I had put in my code was a note
regarding usage and actually didn't contain the word "coding:" but the
word "encoding:".
# curl -v --header "Transfer-Encoding: chunked" -d @somefile.txt
&
Changes by Simon Grantham <sgrant...@walled.net>:
--
type: -> compile error
___
Python tracker <rep...@bugs.python.org>
<http://bugs.pyt
New submission from Simon Grantham:
Placing the word "coding:" in a hash tag comment in a file causes a syntax
error. Eg:
~ $ cat tst.py
# coding: Wow! How odd!
~ $ python tst.py
File "tst.py", line 2
SyntaxError: encoding problem: Wow
~ $
--
components: Inter