This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients docs@python, rhettinger, serhiy.storchaka
Date 2018-11-26.19:37:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543261078.09.0.788709270274.issue35318@psf.upfronthosting.co.za>
In-reply-to
Content
Is not it exactly what the docsting says?

> If encoding or
> errors is specified, then the object must expose a data buffer
> that will be decoded using the given encoding and error handler.
> Otherwise, returns the result of object.__str__() (if defined)
> or repr(object).
History
Date User Action Args
2018-11-26 19:37:58serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, docs@python
2018-11-26 19:37:58serhiy.storchakasetmessageid: <1543261078.09.0.788709270274.issue35318@psf.upfronthosting.co.za>
2018-11-26 19:37:58serhiy.storchakalinkissue35318 messages
2018-11-26 19:37:58serhiy.storchakacreate