Skip to content
New issue

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

bpo-33311: Do not display parameters displayed in parentheses for module call #6677

Merged

Conversation

sblondon
Copy link
Contributor

@sblondon sblondon commented May 1, 2018

This PR removes the parentheses if the trace is in module directly.

The parentheses and parameters are kept otherwise.

https://bugs.python.org/issue33311

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How hard to write tests for this?

@@ -0,0 +1,2 @@
Text and html output generated by cgitb does not display parentheses if the
current call is done directly in the module
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed period. Please add "Patch by yourname."

@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label May 9, 2018
@serhiy-storchaka serhiy-storchaka merged commit 8cf4b34 into python:master May 9, 2018
@sblondon sblondon deleted the parentheses-removal-for-module-call branch May 10, 2018 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants