[Python-Dev] graphics maths types in python core?

Guido van Rossum guido at python.org
Sat Apr 4 20:20:19 CEST 2009


I'm not even sure what you mean by "basic math types" (it would
probably depend on which math curriculum you are using :-) but if
you're not already aware of PEP 3141, that's where to start.

--Guido

On Sat, Apr 4, 2009 at 8:09 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> C. Titus Brown <ctb <at> msu.edu> writes:
>>
>> we're having a discussion over on the GSoC mailing list about basic
>> math types
>>
> [...]
>> ->
>> -> Otherwise we'll be doomed to have each project implement vec2, vec3,
>> -> vec4, matrix3/4, quaternion (which has already happened many times) -
>> -> and continue to have interoperability issues.
>
> This interoperability problem is the very reason the new buffer API and
> memoryview object were devised by Travis Oliphant (who is, AFAIK, a numpy
> contributor). Unfortunately, Travis disappeared and left us with an unfinished
> implementation which doesn't support anything else than linear byte buffers.
>
> So, rather than trying to stuff new specialized datatypes into Python, I suggest
> maths types proponents contribute the missing bits of the new buffer API and
> memoryview object :-)
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list