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 lemburg
Recipients ezio.melotti, lemburg, radiocane, serhiy.storchaka, steven.daprano, vstinner
Date 2018-12-20.11:07:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <dd1497cc-d0aa-8829-c2a6-3f56d7f61493@egenix.com>
In-reply-to <1545302936.41.0.788709270274.issue35544@psf.upfronthosting.co.za>
Content
You can install any codec you like and those essentially decide
on what to return as type. However, the unicode methods only
allow strings or unicode to be returned in Python 2.
In Python 3, .encode() only allows bytes.

You can still get the full codec encode/decode functionality
via the codecs encode/decode methods in Python 3.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Experts (#1, Dec 20 2018)
>>> Python Projects, Coaching and Consulting ...  http://www.egenix.com/
>>> Python Database Interfaces ...           http://products.egenix.com/
>>> Plone/Zope Database Interfaces ...           http://zope.egenix.com/
________________________________________________________________________

::: We implement business ideas - efficiently in both time and costs :::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/
                      http://www.malemburg.com/
History
Date User Action Args
2018-12-20 11:07:14lemburgsetrecipients: + lemburg, vstinner, ezio.melotti, steven.daprano, serhiy.storchaka, radiocane
2018-12-20 11:07:14lemburglinkissue35544 messages
2018-12-20 11:07:13lemburgcreate