On Wed, Jun 13, 2018 at 5:25 AM, Michael Selik <m...@selik.org> wrote:
> On Tue, Jun 12, 2018 at 11:08 AM Mikhail V <mikhail...@gmail.com> wrote:
>> On Tue, Jun 12, 2018 at 7:42 PM, Clint Hepner <clint.hep...@gmail.com>
>> So the idea was about an insert/append operator.
>> Which would use augmented operator. The operator may be
>> /= or ^=. (I like ^= more, so I'll put here example with it).
> The "/" operator means divide. How do you divide a list?
> The "^" operator means exclusive-or. Again, strange concept for a list.
I agree about XORing a list, but dividing a list could conceivably be
implemented to split a list into parts. For instance:
low, high = list(range(10)) / 2
But it wouldn't mean "insert". Also, I can't imagine an augmented
division operator being useful, but others may disagree.
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/