[issue42607] raw strings SyntaxError

2020-12-08 Thread
New submission from 安迷 : [test@test ~]# python3 -c 'print(r"\n")' \n [test@test ~]# python3 -c 'print(r"n\")' File "", line 1 print(r"n\") ^ SyntaxError: EOL while scanning string literal -- components: Windows messages: 3827

[issue35140] encoding problem: gbk

2018-11-02 Thread
安迷 added the comment: I'm sorry for my english. Can I use Chinese? -- ___ Python tracker <https://bugs.python.org/issue35140> ___ ___ Python-bugs-list mailin

[issue35140] encoding problem: gbk

2018-11-02 Thread
安迷 added the comment: this problem not exist on macOS. this problem not exist in python2. Windows10x64 Python 3.7.0 (v3.7.0:1bf9cc5093 script have no problem with 15 blank lines. script haveproblem with fist line '#coding:gbk' and 14 blank lines

[issue35141] encoding problem: gbk

2018-11-01 Thread
New submission from 安迷 : Windows10x64 Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 -- components: Windows files: encoding_problem_gbk.py messages: 329099 nosy: anmikf, paul.moore, steve.dower, tim.golden, zach.ware priority: normal