Python Forum
what makes bytes so difficult to do?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what makes bytes so difficult to do?
#6
Have a look at this related issue and especially at the link to mailing list discussion in the last post.

Guido's opinion on whether int() and float() should accept bytes:
Guido van Rossum Wrote:Yeah, practicalibty beat purity on that one. I'd say let it beat purity on int() and float() as well.

In other words int() and float() implementation in this respect should be considered the exception, not the norm.
DeaD_EyE likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
what makes bytes so difficult to do? - by Skaperen - Dec-04-2021, 08:27 PM
RE: what makes bytes so difficult to do? - by buran - Dec-06-2021, 09:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What makes a good programmer? j.crater 5 3,807 Dec-08-2017, 05:08 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020