[issue35670] os functions return '??' for unicode characters in paths on windows
New submission from Creation Elemental : I have a few files that contain emojis in their names, and also a folder that has such. Commands like `os.getcwd`, `os.listdir`, `os.path.realpath`, etc. will cause this to happen. However, this is only, as far as I can tell, happening on pure windows distributions. This does not happen in the cygwin64 version I have, nor does it happen in python3. For example, say you have a folder simply called 'ðŸ”'. If you run python inside of it and run `os.getcwd()` you will simply get `'??'` as the result. This breaks MANY of my programs that depend on knowing exactly where they are, and knowing the contents of a directory to pass to other functions. -- components: Windows messages: 333100 nosy: Creation Elemental, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: os functions return '??' for unicode characters in paths on windows type: behavior versions: Python 2.7 ___ Python tracker <https://bugs.python.org/issue35670> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34154] Tkinter __init__ documentations sometimes missing valid keyword values
Creation Elemental added the comment: Ah, yes. That is what I meant to say. The doc string printed by help(widget) -- ___ Python tracker <https://bugs.python.org/issue34154> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34154] Tkinter __init__ documentations sometimes missing valid keyword values
New submission from Creation Elemental : Priority: Low Type: Documentation issue Some of the Tkinter documentation is incomplete. I've only checked it on the Listbox so far, but some of the valid keyword arguments are missing. The one I noticed was "disabledforeground" which changes how the foreground color of text when the Listbox is in the disabled state or has a selection mode of none. I've noticed this across multiple versions of python, including Python 2.7 and Python 3.6, both of which accepted "disabledforeground" as a valid keyword without it being in the list shown in the help for Listbox.__init__ I found the disabledforeground keyword argument when looking at the Listbox documentation here: https://www.tcl.tk/man/tcl8.4/TkCmd/listbox.htm -- components: Tkinter messages: 321921 nosy: Creation Elemental priority: normal severity: normal status: open title: Tkinter __init__ documentations sometimes missing valid keyword values versions: Python 2.7, Python 3.6 ___ Python tracker <https://bugs.python.org/issue34154> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com