[Python-3000] [Python-3000-checkins] r45689 - in python/branches/p3yk: Include/bytesobject.h Lib/test/test_bytes.py Lib/test/test_file.py Objects/bytesobject.c Objects/fileobject.c
Thomas Wouters
thomas at python.org
Mon Apr 24 16:27:30 CEST 2006
On 4/24/06, guido.van.rossum <python-3000-checkins at python.org> wrote:
> + new->ob_size = size;
> + if (size == 0)
> + new->ob_bytes = NULL;
> + else {
> + new->ob_bytes = PyMem_Malloc(size);
> + if (new->ob_bytes == NULL) {
> + Py_DECREF(new);
> + return NULL;
> + }
> + if (bytes != NULL)
> + memcpy(new->ob_bytes, bytes, size);
Hmmm... Should we see this as official confirmation that PEP 7 is going to
go to 4-space indents instead of tab ones, or is it just an editor
accidentily left in Google-indent mode? (I think I prefer the former ;)
--
Thomas Wouters <thomas at python.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20060424/e02003d9/attachment.htm
More information about the Python-3000
mailing list