Commit Graph

56 Commits

Author SHA1 Message Date
Guido van Rossum 2018831b2b Adding bytes.join() -- a class methods that concatenates an iterable of bytes.
The name and API are questionable, but the functionality isn't.
2006-05-05 15:15:40 +00:00
Guido van Rossum 13e57219d3 Implement bytes += bytes, bytes *= int, int in bytes, bytes in bytes. 2006-04-27 22:54:26 +00:00
Guido van Rossum d624f18a21 Added much functionality to the bytes type.
Change file.readinto() to require binary mode.
2006-04-24 13:47:05 +00:00
Guido van Rossum e06b6b8ff5 Fix a leak and a buglet discovered by Thomas.
Get rid of silly lambdas in the unit test suite.
Add a TODO list to the unit test suite (TDD style).
2006-04-23 07:43:54 +00:00
Thomas Wouters 5f6f27de4d Fix test_main function so test_bytes can be run by regrtest.py. 2006-04-23 00:19:58 +00:00
Guido van Rossum 4dfe8a1131 Here is a bytes type. It's very minimal but it's a start. 2006-04-22 23:28:04 +00:00