summaryrefslogtreecommitdiffstats
path: root/Lib/test/buffer_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs().Ezio Melotti2013-11-161-5/+11
|
* Issue #13012: Allow 'keepends' to be passed as a keyword argument in ↵Mark Dickinson2011-09-241-1/+7
| | | | str.splitlines, bytes.splitlines and bytearray.splitlines.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-24/+24
|
* make 'c' only accept bytes and 'C' only unicode #5499Benjamin Peterson2009-04-021-3/+3
|
* Removed PyInt_GetMax and sys.maxintChristian Heimes2007-12-041-2/+2
| | | | | I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform. Also added docs for sys.maxsize.
* Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum2007-11-061-2/+2
| | | | | | | | | | | | | | No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list.
* For PEP3137: Adds missing methods to the mutable PyBytes object (soonGregory P. Smith2007-10-161-0/+206
to be called a buffer). Shares code with stringobject when possible. Adds unit tests with common code that should be usable to test the PEPs mutable buffer() and immutable bytes() types. http://bugs.python.org/issue1261