Menu

#697 pywintypes.Unicode() fails in Python 3

v1.0 (example)
open
nobody
None
5
2016-08-17
2015-07-09
HHN
No

Python 3 incompatibility in PyWinTypesmodule.cpp implementation for "pywintypes.Unicode()".
Bad format string "t#" used which is Python 2 only.

Source:
http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/file/713ac73c22e5/win32/src/PyWinTypesmodule.cpp#l356

See also this:
http://stackoverflow.com/a/31314297/419404

Discussion

  • HHN

    HHN - 2015-07-09

    pywintypes.Unicode('s') yields

    TypeError: must be impossible<bad format char>, not str
    
     
  • radi s

    radi s - 2016-08-17

    Any news on this one other than - we know about the problem?

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.