[New-bugs-announce] [issue1327] Python 2.4+ spends too much time in PyEval_EvalFrame w/ xmlrpmclib
report at bugs.python.org
Thu Oct 25 23:33:47 CEST 2007
New submission from Eric Sammons:
Created a small program using xmlrpclib. When connecting to one url
where my list is < 300 items and the program finishes no problem.
Connect to another url where my list is over 500 items and the program
times out after 40+ minutes with no results printed. On my RHEL system
I used oprofile and determined that time spent was in ceval.c, symbol
PyEval_EvalFrame. This issue seems to be new to Python 2.4 as shipped
with RHEL. I am currently in the process of building non-RHEL python to
verify issue does or does not exist there as well.
u = 'someuser'
p = 'password'
server_url = 'http://rhn.redhat.com/rpc/api'
server = xmlrpclib.Server(server_url)
session = server.auth.login(u,p)
l = server.channel.listSoftwareChannels(session)
for a in l:
components: Library (Lib), XML
title: Python 2.4+ spends too much time in PyEval_EvalFrame w/ xmlrpmclib
versions: Python 2.4, Python 2.5
Added file: http://bugs.python.org/file8611/ceval.c
Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 176814 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071025/7b3d12df/attachment-0001.c
More information about the New-bugs-announce