Message188160
plistlib.writePlist documentation states """Write 'rootObject' to a .plist file. 'pathOrFile' may either be a file name or a (writable) file object.""", but if a text IO object is given for the pathOrFile object (e.g. ``io.TextIOBase`` or ``sys.stdout``) a ``TypeError`` with message "must be str, not bytes" is raised.
To clarify the documentation should be changed to be """...or a (writable, binary) file object.""". |
|
Date |
User |
Action |
Args |
2013-04-30 13:22:22 | lanhel | set | recipients:
+ lanhel |
2013-04-30 13:22:22 | lanhel | set | messageid: <1367328142.85.0.378048877663.issue17881@psf.upfronthosting.co.za> |
2013-04-30 13:22:22 | lanhel | link | issue17881 messages |
2013-04-30 13:22:22 | lanhel | create | |
|