On Sep 8, 9:28 am, Mark Hammond wrote:
> I was referring to the
> 'multiple interpreters in one process' feature of Python which is
> largely deprecated, ...
Can you please point to where in the documentation for Python it says
that support for multiple interpreters in one process is 'largely
dep
On Sep 7, 6:47 pm, ganesh wrote:
> On Sep 7, 3:41 pm, Graham Dumpleton
> wrote:
>
> > On Sep 7, 3:42 pm, sturlamolden wrote:
> > interpreters. The simplified GIL state API you mentioned only works
> > for threads operating in the main (first) interpreter created wi
On Sep 7, 3:42 pm, sturlamolden wrote:
> On 7 Sep, 07:17, grbgooglefan wrote:
>
> > What is best way to embed python in multi-threaded C++ application?
>
> Did you remeber to acquire the GIL? The GIL is global to the process
> (hence the name).
>
> void foobar(void)
> {
> PyGILState_STATE sta
On Aug 27, 1:02 pm, Phil wrote:
> Thanks a lot for another response. I've never posted in groups like
> this before but the results are amazing.
>
> I will definitely consider trying mod_wsgi when I get a chance. I like
> the approach taken with it. It is unfortunate that I completely missed
> all
On Aug 27, 2:54 am, Phil wrote:
> Thanks to everybody. I believe I am understanding things better.
>
> I have looked at the links that have been provided, although I have
> seen most of them in the past month or so that I've been looking into
> this stuff. I do agree with most of the things Armin
A few additional comments on top of what others have said.
On Aug 26, 11:09 am, Phil wrote:
> I've seen lots of web sites explaining everything, but for whatever
> reason I seem to not be picking something up.
> I am a graphical person, which is probably the reason I haven't found
> my answer.
>
On Aug 26, 1:17 pm, alex23 wrote:
> Phil wrote:
> > My interest in Python 3.1 was actually to develop a framework. Again,
> > I can feel the flames. :) I understand there are enough frameworks but
> > I actually have no applications that I wish to develop.
>
> No offense intended, but that's prob
On Aug 26, 12:19 pm, exar...@twistedmatrix.com wrote:
> On 01:41 am, a...@pythoncraft.com wrote:
>
>
>
>
>
> >In article
> >,
> >Graham Dumpleton wrote:
> >>On Aug 24, 6:34=A0am, Sebastian Wiesner wrote:
>
> >>>In any case, there
On Aug 26, 8:43 am, David wrote:
> Hello,
>
> I googled online however I did not find a clue my question. So I post
> it here.
>
> I created a mod_python CGI to upload a file and saves it in folder "/
> var/www/keyword-query/files/". My code runs in root.
>
> fileitem = req.form['file']
>
>
On Aug 25, 5:37 am, Tim Chase wrote:
> > I want the file pointer set to 100 and overwrite everything from there
> [snip]
> > def application(environ, response):
> > query=os.path.join(os.path.dirname(__file__),'teemp')
> > range=environ.get('HTTP_RANGE','bytes=0-').replace
> > ('by
On Aug 24, 6:34 am, Sebastian Wiesner wrote:
> At Sunday 23 August 2009 22:13:16 you wrote:> I use Chinese and therefore
> Unicode very heavily, and so Python 3 is
> > an unavoidable choice for me.
>
> Python 2.x supports Unicode just as well as Python 3. Every common web
> framework works perfe
On Jul 16, 3:05 pm, John Nagle wrote:
> alex23 wrote:
> > On Jul 16, 2:03 pm, John Nagle wrote:
> >> "fcgi" is an option for this sort of thing. With "mod_fcgi" installed
> >> in Apache, and "fcgi.py" used to manage the Python side of the problem, you
> >> can have semi-persistent programs
On Jun 12, 3:35 pm, Dennis Lee Bieber wrote:
> On Thu, 11 Jun 2009 08:44:24 -0500, "Strax-Haber, Matthew (LARC-D320)"
> declaimed the following in
> gmane.comp.python.general:
>
> > I sent this to the Tutor mailing list and did not receive a response.
> > Perhaps one of you might be able to offer
On May 12, 1:59 am, dpapathanasiou
wrote:
> For the record, and in case anyone else runs into this particular
> problem, here's how resolved it.
>
> My original xml_utils.py was written this way:
>
> from xml.dom import minidom
>
> def parse_item_attribute (item, attribute_name):
> item_doc =
On May 10, 3:40 am, Paul Boddie wrote:
> On 9 Mai, 01:36, dpapathanasiou wrote:
>
>
>
> > Apache's configure utility (I'm using httpd version 2.2.11) doesn't
> > explicitly describe an expat library option.
>
> > Also, if libexpat is version 1.95.2, wouldn't I have to get version
> > 2.0 to be co
On May 6, 3:18 pm, "Gabriel Genellina" wrote:
> En Tue, 05 May 2009 23:52:25 -0300, Zac Burns escribió:
>
> > It seems that one cannot start a thread in an atexit callback.
>
> > My use case is that I have a IO heavy callback that I want to run in a
> > thread so that other callbacks can finish w
On May 3, 6:44 am, gert wrote:
> Aldo i like the cerrypywsgiserver very much, i do not like the tools
> that go with it
> so i am stuck with a configuration file that looks like this
>
> http://pastebin.com/m4d8184bc
>
> After 152 line I finally arrived to a point where i was thinkig "thats
> it,
On May 2, 10:15 pm, Дамјан Георгиевски wrote:
> >> > How do I do this in python3?
>
> >> What's wrong with importing it?
>
> > The problem is that my wsgi files have a wsgi extention for mod_wsgi
> > use
> ..
> > mod_wsgi has a .wsgi handler because it is recommended to rename the
> > wsgi file wi
On Apr 4, 10:41 am, Jon Clements wrote:
> On 3 Apr, 23:58, Aaron Scott wrote:
>
> > > are you an experienced python programmer?
>
> > Yeah, I'd link to think I'm fairly experienced and not making any
> > stupid mistakes. That said, I'm fairly new to working with mod_python.
>
> > All I really wan
On Mar 31, 3:07 am, 7stud wrote:
> On Mar 3, 4:01 am, Graham Dumpleton
> wrote:
>
>
>
> > On Mar 3, 8:53 am, Rey Bango wrote:
>
> > > Hi,
>
> > > I'd like to upgrade the installed version of Python that came standard
> > > on OS X (
On Mar 30, 4:35 am, a...@pythoncraft.com (Aahz) wrote:
> [p&e]
>
> In article
> ,
> Graham Dumpleton wrote:
>
>
>
>
>
> >In mod_wsgi however, Apache will completely unload the mod_wsgi module
> >on a restart. This would also mean that the Python li
On Mar 23, 10:00 pm, Mark Hammond wrote:
> On 23/03/2009 12:14 PM, Graham Dumpleton wrote:
>
> > On Mar 21, 10:27 am, Mark Hammond wrote:
> >> Calling
> >> Py_Initialize and Py_Finalize multiple times does leak (Python 3 has
> >> mechanisms so this need to
On Mar 21, 10:27 am, Mark Hammond wrote:
> Calling
> Py_Initialize and Py_Finalize multiple times does leak (Python 3 has
> mechanisms so this need to always be true in the future, but it is true
> now for non-trivial apps.
Mark, can you please clarify this statement you are making. The
grammar u
On Mar 21, 2:35 pm, roschler wrote:
> On Mar 20, 7:27 pm, Mark Hammond wrote:
>
> > On 21/03/2009 4:20 AM, roschler wrote:
>
> > Calling Py_Initialize() multiple times has no effect. Calling
> > Py_Initialize and Py_Finalize multiple times does leak (Python 3 has
> > mechanisms so this need to a
On Mar 9, 6:14 pm, "Martin v. Löwis" wrote:
> Graham Dumpleton wrote:
> > I'd rather not have to download and install them as I don't want to be
> > installing them into my actual system, so can someone please tell me
> > whether the MacOS X dmg installers
I'd rather not have to download and install them as I don't want to be
installing them into my actual system, so can someone please tell me
whether the MacOS X dmg installers provided from www.python.org are
still not full universal builds. That is, that the Python framework
component only contains
On Mar 6, 4:13 am, Johannes Permoser wrote:
> Hi,
>
> I wanted to learn Python from scratch and start off with Version 3.
> Since I already know PHP very well, I thought it would be nice to start
> off with a small web-project.
>
> But what's the way to bring python3 to the Web?
> mod_python isn't
On Mar 6, 6:24 am, Uberman wrote:
> Graham Dumpleton wrote:
>
> > I don't understand the problem, you can say where it installs the
> > framework, it doesn't have to be under /Library, so can be in your
> > special SDK folder. For example:
>
> > .
On Mar 4, 2:29 am, Uberman wrote:
> Graham Dumpleton wrote:
> > Why don't you want to use MacOS X Framework libraries? It is the
> > better installation method.
>
> Because I'm not installing Python, I'm building it. If I were just interested
> in instal
On Mar 3, 8:53 am, Rey Bango wrote:
> Hi,
>
> I'd like to upgrade the installed version of Python that came standard
> on OS X (Leopard) with either 2.6.1 or 3.0.1. Before I stick my foot
> in it, I just wanted to get a better understanding of the process.
>
> If I download the disk image installe
On Mar 3, 12:25 pm, Uberman wrote:
> I'm trying to build a 64-bit version of Python 2.5.1 on Mac OS X 10.5.6 64-bit
> (Intel processor). The configure line I'm using is:
>
> ./configure --enable-shared --disable-framework --disable-toolbox-glue
> OPT="-fast -arch x86_64 -Wall -Wstrict-prototypes
On Feb 22, 12:52 pm, Joshua Judson Rosen wrote:
> Graham Dumpleton writes:
>
> > On Feb 21, 4:20 pm, Joshua Judson Rosen wrote:
> > > Jesse Noller writes:
>
> > > > On Tue, Feb 17, 2009 at 10:34 PM, Graham Dumpleton
> > > > wrote:
On Feb 21, 4:20 pm, Joshua Judson Rosen wrote:
> Jesse Noller writes:
>
> > On Tue, Feb 17, 2009 at 10:34 PM, Graham Dumpleton
> > wrote:
> > > Why is the multiprocessing module, ie., multiprocessing/process.py, in
> > > _bootstrap() doing:
>
> > &
On Feb 19, 1:16 pm, Jesse Noller wrote:
> On Tue, Feb 17, 2009 at 10:34 PM, Graham Dumpleton
>
>
>
> wrote:
> > Why is the multiprocessing module, ie., multiprocessing/process.py, in
> > _bootstrap() doing:
>
> > os.close(sys.stdin.fileno())
>
On Feb 16, 9:27 pm, Michele Simionato
wrote:
> On Feb 16, 10:34 am, rushen...@gmail.com wrote:
>
>
>
> > Hi everybody,
> > I am an engineer. I am trying to improve my software development
> > abilities. I have started programming with ruby. I like it very much
> > but i want to add something more.
Why is the multiprocessing module, ie., multiprocessing/process.py, in
_bootstrap() doing:
os.close(sys.stdin.fileno())
rather than:
sys.stdin.close()
Technically it is feasible that stdin could have been replaced with
something other than a file object, where the replacement doesn't have
a
On Feb 12, 9:19 am, Robin wrote:
> On Feb 11, 7:59 pm, Graham Dumpleton
> wrote:
>
>
>
> > On Feb 11, 8:50 pm, Robin wrote:
>
> > > Hi,
>
> > > I am building some computational web services using soaplib. This
> > > creates a WSGI applicat
ed to use.
GAE is not suitable as they kill off any requests that take more than
a set time. That time isn't that long, so can't support long running
requests.
Graham
> appengine.google.com
>
> -Alex Goretoy
> http://www.goretoy.com
>
>
>
> On Wed, Feb 11, 2009 a
On Feb 11, 8:50 pm, Robin wrote:
> Hi,
>
> I am building some computational web services using soaplib. This
> creates a WSGI application.
>
> However, since some of these services are computationally intensive,
> and may be long running, I was looking for a way to use multiple
> processes. I thou
On Jan 30, 9:53 am, Ron Garret wrote:
> In article <498171a5$0$3681$426a7...@news.free.fr>,
> Bruno Desthuilliers
>
> wrote:
> > Ron Garret a écrit :
> > > In article ,
> > > Aleksandar Radulovic wrote:
> > (snip)
> > >> Secondly, why are you restarting apache after code changes? In normal
>
On Jan 30, 11:01 am, Ron Garret wrote:
> In article ,
> Joshua Kugler wrote:
>
> > Ron Garret wrote:
> > > My question is: is this supposed to be happening? Or is this an
> > > indication that something is wrong, and if so, what?
>
> > You are probably just hitting a different instance of Apach
On Jan 29, 8:15 pm, Aleksandar Radulovic wrote:
> Graham,
>
> On Thu, Jan 29, 2009 at 1:16 AM, Graham Dumpleton
>
> wrote:
> > Sorry, you are wrong to assume that an Apache restart is not be
> > required.
> > If you are usingmod_wsgiembedded mode, or mod_py
On Jan 29, 8:44 am, Aleksandar Radulovic wrote:
> Hi there,
>
> On Wed, Jan 28, 2009 at 9:35 PM, Ron Garret wrote:
> > I'm running a WSGI app under apache/mod_wsgiand I've noticed that
>
> Off the bat, there's no reason to run an app under apache/mod_wsgi
> while developing it,
> ie. if u use Pyl
On Jan 29, 8:35 am, Ron Garret wrote:
> I'm running a WSGI app under apache/mod_wsgiand I've noticed that
> whenever I restart the server after making a code change it takes a very
> long time (like a minute) before the script is active again. In other
> words, I do an apachectl restart, reload t
On Jan 28, 11:28 am, James Mills wrote:
> On Wed, Jan 28, 2009 at 10:15 AM, excord80 wrote:
> > Well, let's see. I don't need a templating library, since -- as you
> > pointed out -- I can just use Python's own. I don't need a db
> > interface (can just make my own dbapi calls if needed). Don't n
On Jan 20, 8:03 am, Jean-Paul Calderone wrote:
> On Mon, 19 Jan 2009 12:15:29 -0800, Ron Garret wrote:
> >Consider the following wsgi app:
>
> >def application(env, start_response):
> > start_response('200 OK',[('Content-type','text/plain')])
> > yield "hello"
> > x=1/0
> > yield "world"
>
>
On Jan 19, 6:43 am, Petite Abeille wrote:
> On Jan 18, 2009, at 8:01 PM, Ron Garret wrote:
>
> > def application(environ, start_response):
> > status = "200 OK"
> > headers = [('Content-Type', 'text/html'), ]
> > start_response(status, headers)
> > if int(environ['CONTENT_LENGTH'])>100
On Jan 19, 6:01 am, Ron Garret wrote:
> I'm writing a WSGI application and I would like to check the content-
> length header before reading the content to make sure that the content
> is not too big in order to prevent denial-of-service attacks. So I do
> something like this:
>
> def application
On Jan 14, 9:41 pm, Ståle Undheim wrote:
> On Jan 14, 11:31 am, Graham Dumpleton
> wrote:
>
>
>
> > On Jan 14, 9:20 pm, Ståle Undheim wrote:
>
> > > I have a pretty strange error that I can't figure out the cause off.
> > > This is in a Django ap
On Jan 14, 9:20 pm, Ståle Undheim wrote:
> I have a pretty strange error that I can't figure out the cause off.
> This is in a Django app.
>
> I am using berkelydb, with secondary databases for indexing. The
> secondary databases are associated with a callback that uses cPickle
> to serialize inde
On Jan 6, 2:39 am, "psaff...@googlemail.com"
wrote:
> Maybe this is an apache question, in which case apologies.
>
> I am runningmod_python3.3.1-3 on apache 2.2.9-7. It works fine, but
> I find that when I alter a source file during development, it
> sometimes takes 5 seconds or so for the changes
On Jan 2, 2:28 pm, excord80 wrote:
> On Jan 1, 9:12 pm, s...@pobox.com wrote:
>
> >
> > >>http://broadcast.oreilly.com/2008/12/five-features-perl-5-needs-now.html
>
> > >> and he mentions a neat-looking project called ``mod_perlite``. It
> > >> sounds like it will be very handy. Anyon
On Dec 28, 7:22 pm, Ron Garret wrote:
> In article ,
> Ron Garret wrote:
>
>
>
> > I successfully installed MoinMoin as a CGI according to the instructions
> > on the moinmo.in site. But when I tried to switch over to running it
> > under wsgi it failed thusly:
>
> > [Sat Dec 27 21:44:14 2008]
On Dec 20, 2:47 pm, "Anjanesh Lekshminarayanan"
wrote:
> Same requirement here.
> But isnt there any mod_python for Python 3.0 ?
> Or do we need to build it from source ourselves ?
>
> I was hoping there would bemod_wsgibinaries for Python 3.0.
At this stage it looks like there will not be a mod_
On Dec 17, 11:10 am, Дамјан Георгиевски wrote:
> > I'm trying again because I'm stubborn. Maybe the fourth time will be
> > the charm...
>
> > Are there any good tutorials out there for setting up Apache with
> > mod_python?
>
> mod_python is depreceated, nobody uses it. usemod_wsgihttp://www.modw
On Dec 6, 1:52 am, "mete bilgin" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I try to make a websevice with python and mod_python. İ try to make a po
> files, but i can not reach them in the page. When i ask the page like "
> os.listdir('.') " but i want to get files directory, what can i do? sorry
> fo
On Nov 26, 10:29 pm, Robie Basak <[EMAIL PROTECTED]> wrote:
> On 2008-11-25, Robie Basak <[EMAIL PROTECTED]> wrote:
>
> > If I use dlopen() to open a shared library that I've written, and that
> > shared library tries to use the Python/C API, then it fails. I've
> > reduced the problem to the test
On Nov 27, 12:21 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I'm using a simple form to make possible the users of our site upload
> files.
>
>
>
>
>
>
>
>
>
>
>
> The "upload.py" looks like this:
>
> from mod_python import apache, util;
>
> def index(req):
>
On Nov 22, 2:07 am, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I've got a brand new Solaris 10 computer and I'm trying to build Python
> and extension modules for it. The Python build didn't have any problem and
> I have a working Python interpreter. But I can't succeed to build
On Oct 24, 12:58 pm, Robert Kern <[EMAIL PROTECTED]> wrote:
> Giampaolo Rodola' wrote:
> >http://groups.google.com/group/python-dev2
> > It seems it no longer exists. What happened?
>
> I don't know, but something happened to the numpy-discussion Google Group
> gateway, too. Maybe there was a mass
On Oct 24, 5:28 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> M.-A. Lemburg wrote:
>
> igure script.
>
> > The config options --with-universal-archs is used for this. In theory
> > you could build a 4-way binary for Intel,PPC/32-bit,64-bit.
> > Default is 32-bit only.
>
>
>
> appar
On Sep 7, 11:07 pm, Bojan Mihelac <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I am trying to install M2Crypto to work on OSX10.5 apache
> (mod_python). Error I receive:
>
> Error was: dlopen(/Library/WebServer/eggs/M2Crypto-0.18.2-py2.5-
> macosx-10.5-i386.egg-tmp/M2Crypto/__m2crypto.so, 2): no suitab
? Currently, i
> am unable to call any cleanup code before exit.
Best you will do for writing, is to catch exceptions around the call
outputing the data. If an exception occurs then a problem has
obviously occurred.
Graham
> Regards,
>
> -vishal.
>
> On Aug 25, 11:44 am,
On Aug 25, 4:26 pm, Vishal <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the replies. In my case, the cgi is sending a large file
> to the client. In case the the stop button is pressed on the browser
> to cancel the download, i want to do some cleanup action. It's all one-
> way transfer in th
On Jul 22, 1:54 pm, [EMAIL PROTECTED] wrote:
> On Jul 22, 5:18 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Jul 21, 9:42 pm, [EMAIL PROTECTED] wrote:
>
> > > Hi,
>
> > > I am facing a very basic problem with PSP. I have inst
On Jul 23, 12:15 pm, "Jaimy Azle" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote:
> > I fixed the code. This code snippet runs in a seperate thread:
>
> > PyObject *dict=NULL;
> > PyGILState_STATE state = PyGILState_Ensure();
> > dict = CreateMyGlobalDictionary();
>
> > PyRun_String(, Py_fi
On Jul 21, 9:42 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am facing a very basic problem with PSP. I have installedmod_python
> (in fedora Core 1), added the lines required for loading Python
> modules and handling PSP pages. I have created a hello.psp page. But
> when I try to view this hello.psp p
On Jul 22, 3:30 am, Aaron Scott <[EMAIL PROTECTED]> wrote:
> I've installedmod_python, and everything seems to be working, but it
> fails when I try to import another file into the file that's actually
> producing the output. I have these lines at the top of index.py:
>
> frommod_pythonimport apach
On Jul 18, 9:50 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
> I have a question about framework pylons - how to run(in paster)
> webpages over https? Is it possible, or not?
If Paste server that is uses doesn't already support HTTPS, then run
Pylons under Apache/mod_wsgi, or just run Pylons with Paste
On Jul 18, 3:28 pm, John Nagle <[EMAIL PROTECTED]> wrote:
> Cyril Bazin wrote:
> > Thanks for your reply
>
> > The apache log contains lines like :
>
> > [Tue Jul 15 23:31:01 2008] [notice]mod_python(pid=11836,
> > interpreter='www.toto.fr'):Importing module
> > '/usr/local/apache2/htdocs/intranet/
On May 26, 4:13 am, howa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Just want to try mod_python but it is more complicated then I
> expected...
>
> I just followed the tutorial
> on:http://www.modpython.org/live/mod_python-2.7.8/doc-html/inst-testing
>
> E.g.
>
> URL =http://www.example.com/mptest.p
On May 20, 2:00 pm, James A. Donald <[EMAIL PROTECTED]> wrote:
> > > 2. It is not clear to me how a python web application scales. Python
> > > is inherently single threaded, so one will need lots of python
> > > processes on lots of computers, with the database software handling
> > > parallel a
On May 17, 6:16 am, lampshade <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using python + django to do some web design and I would really
> like to use the python image library as part of this. There seems to
> be a problem, however, with apache andmod_pythonbeing 64 bit while
> my python image lib
On May 14, 10:58 am, Rick Dooling <[EMAIL PROTECTED]> wrote:
> On May 13, 7:29 pm, Con <[EMAIL PROTECTED]> wrote:
>
> > Hi, how does properly install the Python MySQL db module for Mac OS
> > X? I was only able to locate the Win32 modules.
>
> > Thanks in advance,
>
> > -Conrad
>
> I tried this a
On May 2, 7:45 am, Christian Heimes <[EMAIL PROTECTED]> wrote:
> jmDesktop schrieb:
>
> > I have been to the main python site, but am still confused. I have
> > been using .net, so it may be obvious how to do this to everyone
> > else. I am aware there are various frameworks (Django, Pylons, etc.
On Apr 28, 7:42 pm, bvidinli <[EMAIL PROTECTED]> wrote:
> is there any apache module, you know, that i can just install with apt-get,
> then put my .py file, and run it ?
http://www.modwsgi.org
http://www.modpython.org
The mod_wsgi module supports WSGI (http://www.wsgi.org) specification
which is
On Apr 13, 3:05 am, sturlamolden <[EMAIL PROTECTED]> wrote:
> On Apr 11, 6:24 pm, [EMAIL PROTECTED] wrote:
>
> > Do I wind up with two completely independent interpreters, one per thread?
> > I'm thinking this doesn't work (there are bits which aren't thread-safe and
> > are only protected by the G
On Apr 1, 8:03 am, NccWarp9 <[EMAIL PROTECTED]> wrote:
> Hello,
>
> im using Apache HTTPD 2.2.8 with mod_python/3.3.1 Python/2.4.3 on
> Windows and having truble starting pythone, any help would be
> appreciated
> .
> Im getting this error:
>
> [Mon Mar 31 23:53:03 2008] [error] make_obcallback: co
On Mar 26, 11:00 am, Damjan <[EMAIL PROTECTED]> wrote:
> >> I'm looking for beta testers for a high performance, event-driven Python
> >> application server I've developed.
>
> >> About the server: the front end and other speed-critical parts of the
> >> server are written in portable, multithreade
On Mar 26, 7:31 am, Minor Gordon <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm looking for beta testers for a high performance, event-driven Python
> application server I've developed.
>
> About the server: the front end and other speed-critical parts of the
> server are written in portable, mult
On Mar 19, 9:30 pm, geert <[EMAIL PROTECTED]> wrote:
> On Mar 19, 2:26 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Mar 19, 9:47 am, geert <[EMAIL PROTECTED]> wrote:
>
> > > On Mar 18, 6:56 pm, geert <[EMAIL PROTECTED]> wro
On Mar 19, 9:47 am, geert <[EMAIL PROTECTED]> wrote:
> On Mar 18, 6:56 pm, geert <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 14, 1:15 pm, [EMAIL PROTECTED] wrote:
>
> > > look
> > > athttp://groups.google.be/group/comp.lang.python/browse_thread/thread/d...
>
> > > There is a macpython list that yo
On Mar 18, 4:43 am, Sean Allen <[EMAIL PROTECTED]> wrote:
> On Mar 17, 2008, at 10:55 AM, Michael Wieher wrote:
>
> > have simple webpage running
>
> > apache,mod_python
>
> > the error is binary
> > ...binary as in "every other" time I load the page, Firefox keeps
> > telling me I'm download
On Mar 15, 6:44 am, Joshua Kugler <[EMAIL PROTECTED]> wrote:
> James Yu wrote:
> > Hi folks,
>
> > I prepared a python script for dynamically get the absolute paths of the
> > files in certain folder.
> > Then I tried to invoke that function from my web server in a .psp file
> > like this:
>
> >
On Feb 20, 6:04 am, Joshua Kugler <[EMAIL PROTECTED]> wrote:
> Pradnyesh Sawant wrote:
> > Hello,
> > I have a small program which does 'import hashlib'. This program runs fine
> > with python2.5. But when I try running the same program through
> > mod_python, I get the error: 'ImportError: No modu
On Feb 17, 3:29 pm, Pradnyesh Sawant <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a small program which does 'import hashlib'. This program runs fine
> with python2.5. But when I try running the same program through mod_python,
> I get the error: 'ImportError: No module named hashlib' in the apache
On Feb 4, 6:51 pm, mcl <[EMAIL PROTECTED]> wrote:
> I am obviously doing something stupid or not understanding the
> difference between HTML file references and python script file
> references.
>
> I am trying to create a thumbnail of an existing .jpg file. It is in
> the directory 'temp', which is
On Feb 4, 10:33 am, Scott SA <[EMAIL PROTECTED]> wrote:
> On 2/3/08, Brian Smith ([EMAIL PROTECTED]) wrote:
> >Scott SA wrote:
> >> I am trying to configure mod_wsgi to run in daemon mode with
> >> Apache. I can easily get it to run 'normally' under Apache
> >> but I obtain permission errors _or_ p
On Feb 4, 10:03 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> >>> It means that
> >>> environment variable separation for changes made unique to a sub
> >>> interpreter is impossible.
> >> That's not really true. You can't use os.environ for that, yes.
>
> > Which bit isn't really true?
>
> Th
On Feb 4, 7:13 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > You might also read section 'Application Environment Variables' of
> > that document. This talks about the problem of leakage of environment
> > variables between sub interpreters. There probably isn't much that one
> > can do abou
Nice to see that your comments do come from some understanding of the
issues. Been number of times in the past when people have gone off
saying things about multiple interpreters, didn't really know what
they were talking about and were just echoing what some one else had
said. Some of the things b
On Feb 2, 12:34 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > Is there some way to track references per interpreter, or to get the
> > memory allocator to set up seperate arenas per interpreter so that it
> > can remove all allocated memory when the interpreter exits?
>
> No. The multi-inter
On Jan 30, 12:00 pm, PurpleServerMonkey <[EMAIL PROTECTED]>
wrote:
> Looking for suggestions on the best framework to use for an
> applications web interface.
>
> The user interface doesn't need immediate feedback and will be cross
> platform so a web interface is a good solution especially since i
On Jan 8, 5:31 pm, Tim Roberts <[EMAIL PROTECTED]> wrote:
> Gowri <[EMAIL PROTECTED]> wrote:
>
> >I am new to Python and am trying to setup Apache to serve Python using
> >mod_python. I'm using a Windows XP box. here is a list of steps i
> >followed for the installation:
>
> >1. Installed Apache 2.
On Dec 31, 1:24 am, [EMAIL PROTECTED] wrote:
> Hi list and python gurus :-)
>
> I'm playing with somemod_pythonand web development. And in me code I
> need to do som dynamic imports.
> Right now I just do a:
>
> exec 'import '+some_modulename
>
> But it seems to easy, is there a "dark side" to doin
On Dec 24, 10:34 pm, "Ravi Kumar" <[EMAIL PROTECTED]> wrote:
> hi :)
> I was trying to develop a custommod_pythonbased web-site, just
> today. the problem I got
> though i liked themod_python'sfeature of mapping and calling
> functions in python script by parsing the url.
> I mean,http://localhost/
On Dec 21, 7:42 pm, Ilias Lazaridis <[EMAIL PROTECTED]> wrote:
> On Dec 19, 5:40 am, Ilias Lazaridis <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Dec 17, 8:41 am, Ilias Lazaridis <[EMAIL PROTECTED]> wrote:
>
> > > How to detect memory leaks of python programms, which run in an
> > > environment like thi
On Dec 19, 3:07 pm, Roger Binns <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > When using mod_wsgi there is no problem with C extension modules which
> > use simplified GIL API provided that one configures mod_wsgi to
> > delegate that specific application t
On Dec 18, 8:24 pm, Roger Binns <[EMAIL PROTECTED]> wrote:
> sturlamolden wrote:
> > If one can have more than one interpreter in a single process,
>
> You can. Have a look at mod_python andmod_wsgiwhich does exactly
> this. But extension modules that use the simplified GIL api don't work
> with
On Dec 19, 2:37 am, sturlamolden <[EMAIL PROTECTED]> wrote:
> On 18 Des, 10:24, Roger Binns <[EMAIL PROTECTED]> wrote:
>
> > You can. Have a look at mod_python andmod_wsgiwhich does exactly
> > this. But extension modules that use the simplified GIL api don't work
> > with them (well, if at all).
1 - 100 of 193 matches
Mail list logo