Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

-1 on perms_with_repetitions.  That's headed in the direction of bloat
-- taking every formula in a textbook and putting it in the module. 
Also, it is somewhat use case challenged.  I've *never* needed this in
my 30 years of programming.

I like Mark's idea for names that indicate that they return a number or
count instead an iterator.  Perhaps something like:

  ncombinations()
  npermutations()
  ncombinations_with_replacement()

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5139>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to