This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author l0nwlf
Recipients Ruben.Bakker, benjamin.peterson, janssen, kevinwatters, l0nwlf, ncoghlan, r.david.murray, rhettinger, rmore, rtucker, scott.dial
Date 2010-06-16.16:12:43
SpamBayes Score 0.031256415
Marked as misclassified No
Message-id <1276704765.38.0.582722428279.issue9010@psf.upfronthosting.co.za>
In-reply-to
Content
"import imaplib

HOST="imap.gmail.com"
PORT=993
USERNAME="username@gmail.com"
PASSWORD="password"

server = imaplib.IMAP4_SSL(host=HOST, port=PORT)
server.login(USERNAME, PASSWORD)

def f():
	print server.select("INBOX")
	print server.uid("FETCH", "1:*", "(UID FLAGS BODY.PEEK[HEADER.FIELDS (Subject)])")

Call the f() function and then wait about about an hour. Call f() again and server.select() will not return but take all CPU."

Tried to reproduce this on Python 2.7RC1. Seemed Ok to me. Took some 3 seconds to call f() not only once, but twice, thrice.
History
Date User Action Args
2010-06-16 16:12:45l0nwlfsetrecipients: + l0nwlf, rhettinger, ncoghlan, janssen, scott.dial, kevinwatters, benjamin.peterson, r.david.murray, rmore, rtucker, Ruben.Bakker
2010-06-16 16:12:45l0nwlfsetmessageid: <1276704765.38.0.582722428279.issue9010@psf.upfronthosting.co.za>
2010-06-16 16:12:44l0nwlflinkissue9010 messages
2010-06-16 16:12:43l0nwlfcreate