New submission from Rémi Lapeyre <remi.lape...@henki.fr>: reprlib.Repr does not accept arguments for the moment so setting its attributes must be done in multiple steps:
import reprlib r = reprlib.Repr() r.maxstring = 10 r.maxset = 4 r.repr(...) It would be more user-friendly to be able to do: import reprlib r = reprlib.Repr(maxstring=10, maxset=4) r.repr(...) ---------- components: Library (Lib) messages: 371701 nosy: remi.lapeyre priority: normal severity: normal status: open title: reprlib.Repr.__init__ should accept arguments type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com