[Pyrex] Pyrex idioms and optimizations?

William Stein wstein at gmail.com
Thu Jul 26 07:04:37 CEST 2007


On 7/25/07, Alexander Belchenko <bialix at ukr.net> wrote:
> No, we can't. Because you package only small part of your repo.
> hg status show 4 files added and all others as unknown.
> It's better if you publish your repo on your server.
>

Sorry for the confusion but that is the wrong repository.
Thanks for pointing out my mistake (and for your interested
in Cython).  If you download cython-0.9.tar from
http://www.cython.org, then do the following, you'll see
the changelog:


$ tar xvf cython-0.9.tar
$ cd cython-0.9/Pyrex
$ hg log

You can use, e.g.,

$ hg browse

to use a web browser to browse the change history and
exact diffs of each patch.

...


changeset:   59:1d4844af65ee
tag:         tip
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Jul 10 22:02:54 2007 -0700
summary:     Added pre-import option, which assumes all undeclared
names come from the given module.

changeset:   58:e60c2f0f309f
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Jul 10 15:42:24 2007 -0700
summary:     gcc branch prediction

changeset:   57:e9ad6b84dcce
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Jul 10 02:55:12 2007 -0700
summary:     fix incompatable tmp release between 0.9.5.1a and fast
tuple unpacking

changeset:   56:a25519646dcb
parent:      52:30d486bd8f4a
parent:      55:8180e61d2ae9
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Jul 10 02:15:10 2007 -0700
summary:     latest 0.9.4 changes into 0.9.5 branch

changeset:   55:8180e61d2ae9
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Sat Jul 07 02:01:00 2007 -0700
summary:     Jim Kleckner patch to allow trailing commas in function
argument lists

changeset:   54:81d59f2f9d4f
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Sat Jul 07 01:56:57 2007 -0700
summary:     sagex_multi_file.patch from Joel Mohler (sane cross-file type cmp)

changeset:   53:afddfd2c876a
parent:      45:10955be1b376
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Sat Jul 07 00:58:33 2007 -0700
summary:     Fast tuple unpacking

changeset:   52:30d486bd8f4a
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Jul 10 02:08:20 2007 -0700
summary:     finish merging, fix weakref segfault, all SAGE doctests pass

changeset:   51:24cf55c6b2ba
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Jun 06 21:26:36 2007 -0700
summary:     fix inplace operators for 0.9.5.1a

changeset:   50:e88646a6cf38
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Jun 06 21:16:25 2007 -0700
summary:     copy ModuleNode changes to new file

changeset:   49:b79ada09ff7d
parent:      47:aeb7dc0c73be
parent:      48:576ed8609c87
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Jun 06 21:01:58 2007 -0700
summary:     initial merge

changeset:   48:576ed8609c87
parent:      0:0bfe89e1106d
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Jun 06 19:22:57 2007 -0700
summary:     Pyrex Official version 0.9.5.1a

changeset:   47:aeb7dc0c73be
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Jun 06 19:02:58 2007 -0700
summary:     type narrowing for pxd files

changeset:   46:3e9291fba318
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Thu May 31 17:47:16 2007 -0700
summary:     type narrowing for cdef methods

changeset:   45:10955be1b376
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed May 09 00:31:34 2007 -0700
summary:     fix semantics of cmp() -- should not be a bint

changeset:   44:346c2a66bbfc
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Fri May 04 13:05:53 2007 -0700
summary:     Added warning about infinite loops in for-from-by statement.

changeset:   43:8016ab0de059
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Fri May 04 12:44:30 2007 -0700
summary:     Compile-time checking for builtin names, cast TypeObjects
to PyObject* so c compiler won't complain.

changeset:   42:e0e6a1747756
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Apr 25 22:04:07 2007 -0700
summary:     comments, builtin objects

changeset:   41:3a5e0955a98a
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Apr 25 20:42:45 2007 -0700
summary:     Added for i from ... ['by' step] syntax.

changeset:   40:e0be0ff2a79c
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Apr 25 19:54:15 2007 -0700
summary:     Added a bint c type, which is a c int that coerces to and
from python objects via the boolean routines.

changeset:   39:118ad28ec7b4
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Sat Apr 14 04:13:05 2007 -0700
summary:     Cache __builtin__ name lookups so they are performed on
module load rather than at every use.

changeset:   38:38e021cfa028
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Feb 27 03:46:35 2007 -0800
summary:     Inline keyword for cdef functions, variable assignment on
declaration (+optimization)

changeset:   37:115ee2010fbf
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Sat Feb 24 04:44:11 2007 -0800
summary:     disable builtin functions that conflict with type names

changeset:   36:7d42606bd148
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Sat Feb 24 03:23:45 2007 -0800
summary:     Fix sizeof for dotted (cimported) types

changeset:   35:d94f78b3d680
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Fri Feb 23 13:46:02 2007 -0800
summary:     modify sizeof() operator to return size of extension type struct

changeset:   34:5379071acf45
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Fri Feb 23 00:18:05 2007 -0800
summary:     Figured out how to use the Python/C API for some builtin
functions (such as len) to avoid python calling conventions.

changeset:   33:60c798cb3765
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Thu Feb 22 20:52:31 2007 -0800
summary:     Conditional expressions

changeset:   32:1611e5756c69
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Thu Feb 22 13:17:25 2007 -0800
summary:     fast cdef type indexing into lists/tuples via runtime type checking

changeset:   31:d82e531905f8
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Feb 20 22:17:26 2007 -0800
summary:     Disable a**b for cdef int's. (Return result was a double.)

changeset:   30:c38b6e579dca
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Fri Jan 26 23:06:06 2007 -0800
summary:     De-allocate function temp variables _after_ computing
return value, in case an exception is thrown, caught, and said temp
variables still need to be accessed.

changeset:   29:348678f461f2
parent:      27:11f3f989c302
parent:      28:99ea02ec9222
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Tue Jan 16 20:24:21 2007 -0800
summary:     fix temp allocation order, remove straggling comment output

changeset:   28:99ea02ec9222
parent:      25:2b9268db69fe
user:        William Stein <wstein at gmail.com>
date:        Wed Jan 10 22:25:21 2007 -0800
summary:     Get rid of this sort of error: "Cannot assign type
'gsl_complex' to 'gsl_complex'"

changeset:   27:11f3f989c302
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Mon Jan 15 18:21:26 2007 -0800
summary:     FloorDiv operation

changeset:   26:b9686700a656
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Mon Jan 15 17:39:47 2007 -0800
summary:     Implemented inplace arithmetic

changeset:   25:2b9268db69fe
user:        Robert Bradshaw <robertwb at math.washington.edu>
date:        Wed Jan 10 01:06:30 2007 -0800
summary:     List comprehension

changeset:   24:df6018d28c56
user:        William Stein <wstein at gmail.com>
date:        Sun Dec 17 18:59:29 2006 -0800
summary:     Peter Johnson (peter at tortall.net) weakref patch

changeset:   23:3aa99d4d1596
user:        William Stein <wstein at gmail.com>
date:        Sun Dec 17 18:05:12 2006 -0800
summary:     Apply Nick Alexander's patch so that Sagex that embeds
positions in module, cdef class, and def class docstrings.

changeset:   22:d63e5e052932
user:        William Stein <wstein at gmail.com>
date:        Thu Nov 30 11:57:57 2006 -0800
summary:     Eric Huss's readonly variable patch:

changeset:   21:3c39e1dc9ff8
user:        William Stein <wstein at gmail.com>
date:        Sat Nov 25 01:26:53 2006 -0800
summary:     Modified usage banner.

changeset:   20:8e9e6c1eb2b7
user:        William Stein <wstein at gmail.com>
date:        Fri Nov 03 15:41:38 2006 -0800
summary:     Had to also put the type code in for the signed case.

changeset:   19:da1b74ea3f1b
user:        William Stein <wstein at gmail.com>
date:        Fri Nov 03 15:34:50 2006 -0800
summary:     Made some error output more verbose.

changeset:   18:e636ec52706d
user:        William Stein <wstein at gmail.com>
date:        Fri Nov 03 15:34:39 2006 -0800
summary:     Added support for automatic conversion of input types to
Py_ssize_t.

changeset:   17:2ad2bbbe3195
user:        William Stein <wstein at gmail.com>
date:        Fri Nov 03 09:33:27 2006 -0800
summary:     Made annoted C files easier to read.

changeset:   16:c16e8cd2d8aa
user:        William Stein <wstein at gmail.com>
date:        Thu Nov 02 20:29:29 2006 -0800
summary:     Fix one warning was too high a level

changeset:   15:f86226413d96
user:        William Stein <wstein at gmail.com>
date:        Thu Nov 02 07:46:17 2006 -0800
summary:     Made the output generated by Pyrex much more verbose with
better context information.

changeset:   14:db22ad348832
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 28 18:21:12 2006 -0700
summary:     Changed that error to a warning.

changeset:   13:55de4bc58bad
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 28 18:19:51 2006 -0700
summary:     Fixed an error in a call to the error function.

changeset:   12:f74c886a7126
user:        William Stein <wstein at gmail.com>
date:        Fri Oct 27 06:22:40 2006 -0500
summary:     Fix a Py_ssize_t build problem.

changeset:   11:3cb3bc35bbfd
user:        William Stein <wstein at gmail.com>
date:        Wed Oct 25 02:05:47 2006 -0500
summary:     Add a new option "-e" or "--embed-positions" to Pyrex.

changeset:   10:d23578401492
user:        William Stein <wstein at gmail.com>
date:        Wed Oct 25 01:21:53 2006 -0500
summary:     Change so that warning for multiple declarations are
printed by default.

changeset:   9:a5e1199db061
user:        William Stein <wstein at gmail.com>
date:        Sun Oct 22 22:51:53 2006 -0500
summary:     Delete spurious print statement (that was used for debugging).

changeset:   8:88bc22a39e40
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 21:56:20 2006 -0700
summary:     Add correct setting of tp_name to the full module name in Nodes.py.

changeset:   7:a17974b7a78a
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 21:54:06 2006 -0700
summary:     Print out the usage message if pyrexc is called with no
options and no input source files.

changeset:   6:bfb1141bd850
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 20:56:56 2006 -0700
summary:     Don't list experimental macosx only options.  Never
needed in context of SAGE.

changeset:   5:19b65afe3178
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 20:55:47 2006 -0700
summary:     Add to help that multiple include directories are allowed.

changeset:   4:4cbb7d9ff514
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 19:47:08 2006 -0700
summary:     Added nice error messages with context information.

changeset:   3:37b085ba4d7c
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 19:35:04 2006 -0700
summary:     Print "warning: " before warnings, so they look different
than errors.

changeset:   2:bc0cd828b4cd
user:        William Stein <wstein at gmail.com>
date:        Sat Oct 21 18:53:34 2006 -0700
summary:     Added a "Warning" class, and changed it so redeclaring or
re-importing is a warning rather than an error.

changeset:   1:3d8ba7d930b9
user:        William Stein <wstein at gmail.com>
date:        Thu Oct 19 21:30:50 2006 -0700
summary:     Version of Pyrex distributed with SAGE on October 19, 2006

changeset:   0:0bfe89e1106d
user:        William Stein <wstein at gmail.com>
date:        Thu Oct 19 21:28:18 2006 -0700
summary:     Official Pyrex version 0.9.4.1



More information about the Pyrex mailing list