- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | gregory.p.smith |
|---|---|
| Recipients | ajaksu2, gregory.p.smith, pitrou |
| Date | 2008-08-28.19:30:29 |
| SpamBayes Score | 4.490673e-05 |
| Marked as misclassified | No |
| Message-id | <1219951830.54.0.599883125975.issue3708@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
if i did n = int(n) that would change the API to allow bytes/unicode to be passed in which is not something i want. i don't even like that it allows floats. by not doing the int conversion at all, a DeprecationWarning is raised by the read() about the argument being a float which I figure it not a bad thing given that the API really should only accept ints... fwiw, daniel's patch would still cause this deprecation warning from read so I guess using while len(bs) < int(n): isn't that bad either. but it would allow a string such as '0' to be passed in as an argument without an exception... |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-08-28 19:30:30 | gregory.p.smith | set | recipients: + gregory.p.smith, pitrou, ajaksu2 |
| 2008-08-28 19:30:30 | gregory.p.smith | set | messageid: <1219951830.54.0.599883125975.issue3708@psf.upfronthosting.co.za> |
| 2008-08-28 19:30:30 | gregory.p.smith | link | issue3708 messages |
| 2008-08-28 19:30:29 | gregory.p.smith | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
