A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-April/034996.html below:

[Python-Dev] PyRun_* functions

[Python-Dev] PyRun_* functionsFred L. Drake, Jr. fdrake@acm.org
Thu, 24 Apr 2003 16:09:41 -0400
wesley henwood writes:
 > How does one do this - make sure that they were created with the same lib?

Exactly.  This tends not to be a problem on Unix (though possible),
but isn't so rare on Windows.

 > Its seems that it would be a good enhancement to remove the FILE pointer 
 > parameter from these functions, and just use the file name.  For example, 
 > change PyRun_SimpleFile( FILE *fp, char *filename) to PyRun_SimpleFile(char 
 > *filename). Then no one would have to worry about the incompatibility.

That would be a loss of functionality -- these can currently work
with, for example, standard input.  That's currently required by the
interpreter's main program.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4