News for hackers. Stuff that matters.
Re:Python 2.7.4 Released by pekk on Sunday April 07, 2013 @03:07AM (#5506380)
Since you have been voted to the top of the thread for this comment, can you be more concrete on your complaint?
Re:Python 2.7.4 Released by masklinn on Sunday April 07, 2013 @05:00AM (#5506574)
See http://bugs.python.org/issue10211

Basically, Python has the "buffer" object which is a 0-copy view of some memory area (lets an object expose itself as a bytes array of sorts). It's always been plagued with a number of issues.

In Python 3, `buffer` was removed and replaced with `memoryview`, which was backported to Python 2.7. But in said Python 2.7, `buffer` and `memoryview` both exist and fill very similar need so e.g. older libraries will likely return a buffer which newer code will want to use as a memoryview. No such luck, they're not compatible.

2.7.4 fixes that so you can get a memoryview from a buffer.