[issue26393] random.shuffled

2016-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Terry. -- assignee: -> rhettinger resolution: -> rejected status: open -> closed ___ Python tracker ___ _

[issue26393] random.shuffled

2016-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is against our policy to wrap random half-line expressions as new function. Doing so would bloat Python until it became unusable. This should be rejected. -- nosy: +terry.reedy ___ Python tracker

[issue26393] random.shuffled

2016-02-19 Thread Aviv Palivoda
New submission from Aviv Palivoda: I am suggesting adding random.shuffled to the random module. This is very similar to the shuffle function just return a new shuffled list instead of in place shuffle. This is very similar to the sorted and list.sort. As you can see in the patch the shuffled f