#2396: TG1 Scheduler : Kronos has been updated upstream, we need to reflect
improvements
---------------------------------------+------------------------------------
Reporter: jon | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: __unclassified__
Component: Scheduler | Version: 1.1
Severity: normal | Resolution:
Keywords: needs feedback, scheduler |
---------------------------------------+------------------------------------
Comment (by chrisz):
The only change in Irmen's module is the adaption to Py 2.6. The change in
Py 2.6 is that `scheduler.queue` is now a property; the underlying
attribute has been renamed to `scheduler._queue`; `scheduler.queue`
returns a sorted list instead. Also, in Py 2.6 the queue events are now
named tuples.
Not sure whether using the property, i.e. the sorted list, would be a
mistake here, or whether Irmen did this only for performance reasons.
Access as a normal tuple does also still work in Py 2.6 since named tuples
are downward compatible to tuples.
--
Ticket URL: <http://trac.turbogears.org/ticket/2396#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---