Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-29660: traceback: Document that etype is ignored in some places.#344

Merged
Mariatta merged 2 commits into
python:masterpython/cpython:masterfrom
Carreau:doccument-deprecated-etypeCarreau/cpython:doccument-deprecated-etypeCopy head branch name to clipboard
Jun 1, 2017
Merged

bpo-29660: traceback: Document that etype is ignored in some places.#344
Mariatta merged 2 commits into
python:masterpython/cpython:masterfrom
Carreau:doccument-deprecated-etypeCarreau/cpython:doccument-deprecated-etypeCopy head branch name to clipboard

Conversation

@Carreau

@Carreau Carreau commented Feb 27, 2017

Copy link
Copy Markdown
Contributor

Comment thread Doc/library/traceback.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

inferred (also repeated below)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed.

Comment thread Doc/library/traceback.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does not seem to be the case for “format_exception_only”

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

indeed, fixed.

Comment thread Doc/library/traceback.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This does not seem ideal. It is less compatible with older Python versions. If it needs clarifying at all, perhaps a comment would be better?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, sure.

@vstinner vstinner changed the title bpo-29660: Document that etype is ignored in some places. bpo-29660: traceback: Document that etype is ignored in some places. Mar 2, 2017
@vstinner vstinner added the docs Documentation in the Doc dir label Mar 2, 2017
@Carreau Carreau force-pushed the doccument-deprecated-etype branch from 1069939 to b4727b6 Compare March 2, 2017 22:52
@Carreau

Carreau commented Mar 2, 2017

Copy link
Copy Markdown
Contributor Author

Thanks, sorry for the delay to fix. Comments should be addressed.

Comment thread Doc/library/traceback.rst Outdated
print("*** print_tb:")
traceback.print_tb(exc_traceback, limit=1, file=sys.stdout)
print("*** print_exception:")
# exc_type below ignored on 3.5 and later

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is ignored on 3.5 and later

The same for below :)

@Mariatta Mariatta merged commit cdb89cd into python:master Jun 1, 2017
@Mariatta

Mariatta commented Jun 1, 2017

Copy link
Copy Markdown
Member

Thanks @Carreau 🎉

@Carreau Carreau deleted the doccument-deprecated-etype branch June 2, 2017 03:01
@Carreau Carreau restored the doccument-deprecated-etype branch June 2, 2017 03:01
Carreau added a commit to Carreau/cpython that referenced this pull request Jun 2, 2017
Carreau added a commit to Carreau/cpython that referenced this pull request Jun 2, 2017
Mariatta pushed a commit that referenced this pull request Jun 2, 2017
Mariatta pushed a commit that referenced this pull request Jun 2, 2017
@Carreau Carreau deleted the doccument-deprecated-etype branch June 2, 2017 03:39
akruis pushed a commit to stackless-dev/stackless that referenced this pull request Nov 1, 2017
akruis pushed a commit to stackless-dev/stackless that referenced this pull request Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.