ANN: Pyrex 0.4.3

Greg Ewing see_reply_address at something.invalid
Mon Aug 26 21:40:38 EDT 2002


Pyrex 0.4.3 is now available:

    http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/

New Features:

  * A new kind of for-loop has been added to the language
    for iterating over ranges of integers. Example:

      for i from 0 <= i < 10:
        print i

    The main advantage of using this form is that it
    is translated into pure C code where possible, whereas
    an equivalent Python for-loop using range() is not.

    See the "Integer for-loops" section of the Language
    Overview for more information.

Enhancements:

  * The sizeof() function can now be applied to types
    as well as variables.

There are also some other minor improvements and bug
fixes. See the CHANGES file in the distribution for a
full list.


What is Pyrex?
--------------

Pyrex is a new language for writing Python extension modules.
It lets you freely mix operations on Python and C data, with
all Python reference counting and error checking handled
automatically.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list