Why are the urls just one long list?

Asked by Eleanor Berger

The list of URL patterns and the request handlers to dispatch them to is just a long list (rather than a dictionary or a list of tuples), How come?

Question information

Language:
English Edit question
Status:
Solved
For:
web.py Edit question
Assignee:
No assignee Edit question
Solved by:
Eleanor Berger
Solved:
Last query:
Last reply:
Revision history for this message
Best Eleanor Berger (intellectronica) said :
#1

If they were a dictionary, they wouldn't be ordered. If it was a list of tuples, then it'd be a lot more typing.