[ python-Bugs-951482 ] New module: doc versus action

SourceForge.net noreply at sourceforge.net
Tue Aug 17 04:32:26 CEST 2004


Bugs item #951482, was opened at 2004-05-10 15:01
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=951482&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Terry J. Reedy (tjreedy)
Assigned to: Raymond Hettinger (rhettinger)
Summary: New module: doc versus action

Initial Comment:
Because the functions in the new module give direct 
access to API functions, syntactically legal code that 
uses them can be more fragile than normal -- leading to 
possible core dumps (which are normally considered to 
be interpreter bugs).

Should Lib Ref 3.27 warn about this possibility?
Can the interfacing be strengthened to cover at least 
some bad inputs?
Can ceval be strengthed without slowing it down?

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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-08-16 21:32

Message:
Logged In: YES 
user_id=80475

Michael Hudson patched compile.c to make PyNew_Code less
susceptible to bogus arguments.  See Python/compile.c 2.315

Also, I expanded the warnings in the docs for the new
module.  See Doc/lib/libnew.tex 1.10.


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

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


More information about the Python-bugs-list mailing list