Użytkownik Paul McNett napisał: > dabo Commit > Revision 6083 > Date: 2010-10-06 17:01:12 -0700 (Wed, 06 Oct 2010) > Author: Paul > Trac: http://trac.dabodev.com/changeset/6083 > > Changed: > U trunk/dabo/ui/uiwx/__init__.py > > Log: > Occasionally, my app would hang during report status updates, inside the > Pending() > call but before the Dispatch() line. IOW, somewhere down in wxPython or > wxWidgets. > So I'm going to try the SafeYield() approach for now which so far seems to > work, > but only time will tell if one of my users gets the 'wxYield called > recursively' > error. >
Hi. Now, some time passed and what can you tell about using of SafeYield()? I think that the YieldIfNeeded() isn't really safe, so why use '_safe' parameter? Could you replace YieldIfNeeded() with SafeYield(onlyIfNeeded=True) instead? -- Regards Jacek Kałucki _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
