- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message79384
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 | pitrou |
|---|---|
| Recipients | pitrou |
| Date | 2009-01-07.23:48:13 |
| SpamBayes Score | 0.023857128 |
| Marked as misclassified | No |
| Message-id | <1231372096.73.0.0745033084101.issue4874@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The following function calls should raise a TypeError instead. Encoding
functions are fine (they only accept str).
>>> import codecs
>>> codecs.utf_8_decode('aa')
('aa', 2)
>>> codecs.utf_8_decode('éé')
('éé', 4)
>>> codecs.latin_1_decode('éé')
('éé', 4) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-01-07 23:48:17 | pitrou | set | recipients: + pitrou |
| 2009-01-07 23:48:16 | pitrou | set | messageid: <1231372096.73.0.0745033084101.issue4874@psf.upfronthosting.co.za> |
| 2009-01-07 23:48:15 | pitrou | link | issue4874 messages |
| 2009-01-07 23:48:14 | pitrou | create | |

