Thanks :)Settable properties are a no-go because I wanted permutation spaces to be immutable. Since the cost of creating a new space is nil (permutations are created on-demand, not on space creation) there isn't a reason to mutate an existing space.I don't think using a copy() method to would be very nice. But I guess it's a matter of taste.On Mon, Nov 17, 2014 at 7:33 PM, Neil Girdhar <email@example.com> wrote:Looks great!Why did you go with "get_rapplied", "unrapplied", etc. instead of having a copy() method and using settable properties?On Mon, Nov 17, 2014 at 10:50 AM, Ram Rachum <firstname.lastname@example.org> wrote:Hi guys,I just wanted to give an update on this: I just released my own code that does this to PyPI: https://pypi.python.org/pypi/combiThanks,Ram.On Tue, Jun 10, 2014 at 9:24 AM, Ram Rachum <email@example.com> wrote:I'll email you if/when it's released :)On Tue, Jun 10, 2014 at 9:04 AM, Neil Girdhar <firstname.lastname@example.org> wrote:
_______________________________________________I really like this and hope that it eventually makes it into the stdlib. It's also a good argument for your other suggestion whereby some of the itertools to return Iterables rather than Iterators like range does.Best,Neil
On Wednesday, May 7, 2014 1:43:20 PM UTC-4, Ram Rachum wrote:I'm probably going to implement it in my python_toolbox package. I already implemented 30% and it's really cool. It's at the point where I doubt that I want it in the stdlib because I've gotten so much awesome functionality into it and I'd hate to (a) have 80% of it stripped and (b) have the class names changed to be non-Pythonic :)On Wed, May 7, 2014 at 8:40 PM, Tal Einat <tale...@gmail.com> wrote:On Wed, May 7, 2014 at 8:21 PM, Ram Rachum <ram.r...@gmail.com> wrote:At the least, this (a function for getting a specific permutation by
> Hi Tal,
> I'm using it for a project of my own (optimizing keyboard layout) but I
> can't make the case that it's useful for the stdlib. I'd understand if it
> would be omitted for not being enough of a common need.
lexicographical-order index) could make a nice cookbook recipe.
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/
You received this message because you are subscribed to a topic in the Google Groups "python-ideas" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python-ideas/in2gUQMFUzA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.