On Thu, Feb 28, 2008 at 9:36 AM, Kate <[EMAIL PROTECTED]> wrote:
>
>  What gives with the following session below?
>  More specifically, what happens to the file docstring
>  when the file has a .sage extension?

There is a bug in the .sage --> .py conversion process that
your example below illustrates.  We are tracking this at

http://trac.sagemath.org/sage_trac/ticket/2391

and a patch fixing the problem will be posted very very soon.

 -- William

>
>  =============== begin shell session ===============
>
>  $ cat > sanity
>  #!/usr/bin/env sage
>  r"""Here is a docstring for this file."""
>  print __doc__
>  <control-d>
>  $ cat sanity
>  #!/usr/bin/env sage
>  r"""Here is a docstring for this file."""
>  print __doc__
>  $ chmod +x sanity
>  $ ./sanity
>  Here is a docstring for this file.
>  $ cp sanity madness.sage
>  $ ./madness.sage
>  None
>  $
>
>  =============== end shell session ===============
>
>  Kate
>  >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to