cython.git
18 years agoFixed an error in a call to the error function.
William Stein [Sun, 29 Oct 2006 01:19:51 +0000 (18:19 -0700)]
Fixed an error in a call to the error function.

18 years agoFix a Py_ssize_t build problem.
William Stein [Fri, 27 Oct 2006 11:22:40 +0000 (06:22 -0500)]
Fix a Py_ssize_t build problem.

18 years agoAdd a new option "-e" or "--embed-positions" to Pyrex.
William Stein [Wed, 25 Oct 2006 07:05:47 +0000 (02:05 -0500)]
Add a new option "-e" or "--embed-positions" to Pyrex.

  -p, --embed-positions          If specified, the positions in Pyrex files of each
                                 function definition is embedded in its docstring.

This is very useful to support interactive viewing of *Pyrex* source
code in, e.g, IPython.

18 years agoChange so that warning for multiple declarations are printed by default.
William Stein [Wed, 25 Oct 2006 06:21:53 +0000 (01:21 -0500)]
Change so that warning for multiple declarations are printed by default.

18 years agoDelete spurious print statement (that was used for debugging).
William Stein [Mon, 23 Oct 2006 03:51:53 +0000 (22:51 -0500)]
Delete spurious print statement (that was used for debugging).

18 years agoAdd correct setting of tp_name to the full module name in Nodes.py.
William Stein [Sun, 22 Oct 2006 04:56:20 +0000 (21:56 -0700)]
Add correct setting of tp_name to the full module name in Nodes.py.

  This required a number of changes to a few files.  Basically, the
  full module name is determined in Main.py. It is then passed around
  a bit until it is used when generating tp_name.

  This change was needed because otherwise pickling of extension classes
  with full module names like sage.rings.integer.Integer would fail
  (since Python would look for integer.Integer instead).  NOTE: This is
  pickling of the extension class itself, not of instances (which could
  also fail, because the class doesn't pickle).

18 years agoPrint out the usage message if pyrexc is called with no options and no input source...
William Stein [Sun, 22 Oct 2006 04:54:06 +0000 (21:54 -0700)]
Print out the usage message if pyrexc is called with no options and no input source files.

18 years agoDon't list experimental macosx only options. Never needed in context of SAGE.
William Stein [Sun, 22 Oct 2006 03:56:56 +0000 (20:56 -0700)]
Don't list experimental macosx only options.  Never needed in context of SAGE.

18 years agoAdd to help that multiple include directories are allowed.
William Stein [Sun, 22 Oct 2006 03:55:47 +0000 (20:55 -0700)]
Add to help that multiple include directories are allowed.

18 years agoAdded nice error messages with context information.
William Stein [Sun, 22 Oct 2006 02:47:08 +0000 (19:47 -0700)]
Added nice error messages with context information.

Finally, you can see the line itself where the error occured,
instead of just the line number!!

18 years agoPrint "warning: " before warnings, so they look different than errors.
William Stein [Sun, 22 Oct 2006 02:35:04 +0000 (19:35 -0700)]
Print "warning: " before warnings, so they look different than errors.

18 years agoAdded a "Warning" class, and changed it so redeclaring or re-importing is a warning...
William Stein [Sun, 22 Oct 2006 01:53:34 +0000 (18:53 -0700)]
Added a "Warning" class, and changed it so redeclaring or re-importing is a warning rather than an error.

    Because Pyrex has no #ifndef macro, it is impossibly painful to use
    pxi files for declarations in a large project.  SAGE is a large project.
    Also, in Python it is not an error to import a module twice.  Thus
    more in line with Python's behavior, multiple declarations of the same
    symbol is no longer an error.

18 years agoVersion of Pyrex distributed with SAGE on October 19, 2006
William Stein [Fri, 20 Oct 2006 04:30:50 +0000 (21:30 -0700)]
Version of Pyrex distributed with SAGE on October 19, 2006

18 years agoOfficial Pyrex version 0.9.4.1
William Stein [Fri, 20 Oct 2006 04:28:18 +0000 (21:28 -0700)]
Official Pyrex version 0.9.4.1