Changes between Initial Version and Version 1 of Ticket #5761
- Timestamp:
- Oct 19, 2007, 10:38:53 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5761
- Property Component Uncategorized → Contrib apps
- Property Has patch set
- Property Triage Stage Unreviewed → Accepted
- Property Summary Minor refactoring → Use random.sample, don't reimplement it
- Property Version 0.96 → SVN
-
Ticket #5761 – Description
initial v1 1 Use random.sample instead of re-implementing it :-) 1 Python's standard library since 2.3 has had random.sample for choosing random elements of a sequence. In contrib/auth/models.py, the implementor was unaware of this and wrote a bit more code than needed.