Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:
Agreed, I cannot reproduce this (online link showing behavior): https://tio.run/##K6gsycjPM/7/v0LBViE6WilRSUdBKQlI6OnpKQCZTlFKsbFclWDJWB2FaEMdIx1jHRMdU5gKS0uQfLRBLFBJBZDiKijKzCvRAIlocv3/DwA My guess is the code is subtly different, e.g. replacing: >>> y[0] = x[0] >>> print(y[0]) with: >>> y[:1] = x[0] >>> print(y) would get roughly what the OP is seeing (and it would be the correct/expected result in that case). Either way, not a bug. ---------- nosy: +josh.r resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com