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 Carlos.Nepomuceno
Recipients Carlos.Nepomuceno, giampaolo.rodola, josiahcarlson, stutzbach, tshepang
Date 2013-05-16.10:31:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368700312.86.0.367706998443.issue17992@psf.upfronthosting.co.za>
In-reply-to
Content
./python -m trace -t Lib/test/test_asynchat.py
[...] 
 --- modulename: asyncore, funcname: poll
asyncore.py(126):     if map is None:
asyncore.py(128):     if map:
asyncore.py(129):         r = []; w = []; e = []
asyncore.py(130):         for fd, obj in map.items():
asyncore.py(131):             is_r = obj.readable()
 --- modulename: asynchat, funcname: readable
asynchat.py(198):         return 1
asyncore.py(132):             is_w = obj.writable()
 --- modulename: asynchat, funcname: writable
asynchat.py(202):         return self.producer_fifo or (not self.connected)
asyncore.py(133):             if is_r:
asyncore.py(134):                 r.append(fd)
asyncore.py(136):             if is_w and not obj.accepting:
asyncore.py(137):                 w.append(fd)
asyncore.py(138):             if is_r or is_w:
asyncore.py(139):                 e.append(fd)
asyncore.py(130):         for fd, obj in map.items():
asyncore.py(140):         if [] == r == w == e:
asyncore.py(144):         try:
asyncore.py(145):             r, w, e = select.select(r, w, e, timeout)
asyncore.py(152):         for fd in r:
asyncore.py(158):         for fd in w:
asyncore.py(164):         for fd in e:
asyncore.py(221):             count = count - 1
asyncore.py(219):         while map and count > 0:
test_asynchat.py(225):         s.start_resend_event.set()
 --- modulename: threading, funcname: set
threading.py(580):         self.__cond.acquire()
threading.py(581):         try:
threading.py(582):             self.__flag = True
threading.py(583):             self.__cond.notify_all()
 --- modulename: threading, funcname: notifyAll
threading.py(406):         self.notify(len(self.__waiters))
 --- modulename: threading, funcname: notify
threading.py(382):         if not self._is_owned():
 --- modulename: threading, funcname: _is_owned
threading.py(302):         if self.__lock.acquire(0):
threading.py(306):             return True
threading.py(384):         __waiters = self.__waiters
threading.py(385):         waiters = __waiters[:n]
threading.py(386):         if not waiters:
threading.py(388):                 self._note("%s.notify(): no waiters", self)
 --- modulename: threading, funcname: _note
threading.py(64):             if self.__verbose:
threading.py(389):             return
threading.py(585):             self.__cond.release()
test_asynchat.py(226):         s.join()
 --- modulename: threading, funcname: join
threading.py(933):         if not self.__initialized:
threading.py(935):         if not self.__started.is_set():
 --- modulename: threading, funcname: isSet
threading.py(569):         return self.__flag
threading.py(937):         if self is current_thread():
 --- modulename: threading, funcname: currentThread
threading.py(1157):     try:
threading.py(1158):         return _active[_get_ident()]
threading.py(941):             if not self.__stopped:
threading.py(942):                 self._note("%s.join(): waiting until thread stops", self)
 --- modulename: threading, funcname: _note
threading.py(64):             if self.__verbose:
threading.py(943):         self.__block.acquire()
threading.py(944):         try:
threading.py(945):             if timeout is None:
threading.py(946):                 while not self.__stopped:
threading.py(947):                     self.__block.wait()
 --- modulename: threading, funcname: wait
threading.py(331):         if not self._is_owned():
 --- modulename: threading, funcname: _is_owned
threading.py(302):         if self.__lock.acquire(0):
threading.py(306):             return True
threading.py(333):         waiter = _allocate_lock()
threading.py(334):         waiter.acquire()
threading.py(335):         self.__waiters.append(waiter)
threading.py(336):         saved_state = self._release_save()
 --- modulename: threading, funcname: _release_save
threading.py(294):         self.__lock.release()           # No state to save
threading.py(337):         try:    # restore state no matter what (e.g., KeyboardInterrupt)
threading.py(338):             if timeout is None:
threading.py(339):                 waiter.acquire()
History
Date User Action Args
2013-05-16 10:31:52Carlos.Nepomucenosetrecipients: + Carlos.Nepomuceno, josiahcarlson, giampaolo.rodola, stutzbach, tshepang
2013-05-16 10:31:52Carlos.Nepomucenosetmessageid: <1368700312.86.0.367706998443.issue17992@psf.upfronthosting.co.za>
2013-05-16 10:31:52Carlos.Nepomucenolinkissue17992 messages
2013-05-16 10:31:51Carlos.Nepomucenocreate