[Numpy-discussion] What protocol to use now?
Christopher Barker
Chris.Barker at noaa.gov
Tue Dec 8 18:41:15 EST 2009
Pauli Virtanen wrote:
>> I think the wording is overly strong.
not just too string, but actually wrong -- you can't target PEP 3118 --
numpy doesn't support it at all yet!
Current wording:
"""
Warning
This page describes the old, deprecated array interface. Everything
still works as described as of numpy 1.2 and on into the foreseeable
future, but new development should target PEP 3118 – The Revised Buffer
Protocol. PEP 3118 was incorporated into Python 2.6 and 3.0
...
"""
My suggested new wording:
"""
Warning
This page describes the current array interface. Everything still works
as described as of numpy 1.4 and on into the foreseeable future.
However, future versions of numpy will target PEP 3118 – The Revised
Buffer Protocol. PEP 3118 was incorporated into Python 2.6 and 3.0, and
we hope to incorporate it into numpy 1.5
...
"""
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the NumPy-Discussion
mailing list