Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython: Make set main loader static (noticed by Antoine Pitrou)

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Jul 15, 2012, 6:18 AM

Post #1 of 1 (48 views)
Permalink
cpython: Make set main loader static (noticed by Antoine Pitrou)

http://hg.python.org/cpython/rev/8bf691d0b004
changeset: 78116:8bf691d0b004
user: Nick Coghlan <ncoghlan [at] gmail>
date: Sun Jul 15 23:18:08 2012 +1000
summary:
Make set_main_loader static (noticed by Antoine Pitrou)

files:
Python/pythonrun.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/pythonrun.c b/Python/pythonrun.c
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1351,7 +1351,7 @@
}

int
-set_main_loader(PyObject *d, const char *filename, const char *loader_name)
+static set_main_loader(PyObject *d, const char *filename, const char *loader_name)
{
PyInterpreterState *interp;
PyThreadState *tstate;

--
Repository URL: http://hg.python.org/cpython

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.