We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = None created_at = <Date 2020-06-16.23:00:12.260> labels = ['type-bug', 'library', '3.10'] title = 'reprlib.Repr.__init__ should accept arguments' updated_at = <Date 2020-06-16.23:13:25.734> user = 'https://github.com/remilapeyre'
bugs.python.org fields:
activity = <Date 2020-06-16.23:13:25.734> actor = 'remi.lapeyre' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2020-06-16.23:00:12.260> creator = 'remi.lapeyre' dependencies = [] files = [] hgrepos = [] issue_num = 40995 keywords = ['patch'] message_count = 1.0 messages = ['371701'] nosy_count = 1.0 nosy_names = ['remi.lapeyre'] pr_nums = ['20925'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue40995' versions = ['Python 3.10']
The text was updated successfully, but these errors were encountered:
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(...)
Sorry, something went wrong.
Looks like this was implemented by #94343.
(I meant #94581.)
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: