[issue30426] why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underline).

2017-05-22 Thread jf
Changes by jf : -- title: why not use the same style func name. eg: int.to_bytes (with underline or not) and array.tobytes(). -> why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underl

[issue30426] why not use the same style func name. eg: int.to_bytes (with underline or not) and array.tobytes().

2017-05-22 Thread jf
New submission from jf: I note that, some functions have different style names, some have underline, and some not. why do so?? eg: int.to_bytes() and array.tobytes() int.from_byte() and array.frombytes() ZipInfo.from_file() and array.fromfile() ... -- components: Library (Lib

[issue28034] local var in "for v in iter" modify the uplevel var value.

2016-09-08 Thread jf
New submission from jf: eg: s = 'aaa' print(s) for s in '111', '222', '333': print(s) print(s) the right result should be: 'aaa' '111' '222' '333' 'aaa' but, i got: 'aaa'

[issue23831] tkinter canvas lacks of moveto method.

2016-08-29 Thread jf
jf added the comment: i met the same problem, when i translate knighstour.tcl(upder tk demos dir) to tkinter. -- nosy: +zaazbb ___ Python tracker <https://bugs.python.org/issue23

[issue16448] 'module' object has no attribute 'font' when "import tkinter" only.

2012-11-10 Thread jf
jf added the comment: when i use tkinter.font, i meet a error "'module' object has no attribute 'font'". if i add "import tkinter.font", it's no error. but when i use tkinter,messagebox, it's no error without "import tkinter.messagebo

[issue16448] 'module' object has no attribute 'font' when "import tkinter" only.

2012-11-10 Thread jf
New submission from jf: when i use tkinter.font, i meet a error "'module' object has no attribute 'font'". if i add "import tkinter.font", it's no error. but when i use tkinter,messagebox, it's no error without "import tkinter.messagebo