[Patches] [ python-Patches-794400 ] startup file compiler flags

SourceForge.net noreply at sourceforge.net
Mon Nov 10 07:55:59 EST 2003


Patches item #794400, was opened at 2003-08-24 19:15
Message generated for change (Comment added) made by jepler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=794400&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric Tiedemann (est)
Assigned to: Nobody/Anonymous (nobody)
Summary: startup file compiler flags

Initial Comment:
Allow the startup file to modify the compiler flags.
This allows you, for example, to have true division
automatically in interactive mode.


----------------------------------------------------------------------

Comment By: Jeff Epler (jepler)
Date: 2003-11-10 06:55

Message:
Logged In: YES 
user_id=2772

I would expect the behavior of $PYTHONSTARTUP to be just
like typing the commands in at the interactive prompt,
except that the results of the individual expr_statements
are not printed.  That simply makes the old behavior
(__future__ directives ignored) a bug.  Instead of writing
documentation that is specific "this works, but this
doesn't", any remaining details of interpreter state that
differ between $PYTHONSTARTUP and entering commands at the
interactive prompt should be fixed.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-11-10 00:47

Message:
Logged In: YES 
user_id=21627

Eric, are you willing to contribute documentation changes?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-10-18 05:46

Message:
Logged In: YES 
user_id=21627

I think there should be some documentation changes to
document what precisely can be done in the startup code.

----------------------------------------------------------------------

Comment By: Jeff Epler (jepler)
Date: 2003-09-01 09:15

Message:
Logged In: YES 
user_id=2772

Works for me.  It's a simple change, even though some code
was moved out of line into a separate static function.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=794400&group_id=5470



More information about the Patches mailing list