<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_traceback.py, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_traceback.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_traceback.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-09-10T16:00:08Z</updated>
<entry>
<title>bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077)</title>
<updated>2018-09-10T16:00:08Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-10T16:00:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=49020174305ca3dc90a811b03a05f44873297c61'/>
<id>urn:sha1:49020174305ca3dc90a811b03a05f44873297c61</id>
<content type='text'>
The recursive frame pruning code always undercounted the number of elided frames
by one. That is, in the "[Previous line repeated N more times]" message, N would
always be one too few. Near the recursive pruning cutoff, one frame could be
silently dropped. That situation is demonstrated in the OP of the bug report.

The fix is to start the identical frame counter at 1.
(cherry picked from commit d545869d084e70d4838310e79b52a25a72a1ca56)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</content>
</entry>
<entry>
<title>bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014)</title>
<updated>2017-10-17T21:29:39Z</updated>
<author>
<name>Zane Bitter</name>
<email>zbitter@redhat.com</email>
</author>
<published>2017-10-17T21:29:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=de86073a761cd3539aaca6f886a1f55effc0d9da'/>
<id>urn:sha1:de86073a761cd3539aaca6f886a1f55effc0d9da</id>
<content type='text'>
</content>
</entry>
<entry>
<title> bpo-30445: Allow appended output in RecursionError message</title>
<updated>2017-05-24T21:23:46Z</updated>
<author>
<name>codedragon</name>
<email>mariak@mariakathryn.net</email>
</author>
<published>2017-05-24T21:23:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3480ef9dd3177be8c0d71a74853dca6e5b11fbe1'/>
<id>urn:sha1:3480ef9dd3177be8c0d71a74853dca6e5b11fbe1</id>
<content type='text'>
Running under coverage sometimes causes 'in comparison' to be added to the end of the RecursionError message, which is acceptable.

Patched by Maria Mckinley</content>
</entry>
<entry>
<title>Issue #25783: Fixed test_traceback when run directly (without regrtest).</title>
<updated>2016-10-07T20:46:22Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-07T20:46:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b801456fbfe5416d4cb8095e4e8af8ff588abe2'/>
<id>urn:sha1:2b801456fbfe5416d4cb8095e4e8af8ff588abe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25783: Fixed test_traceback when run directly (without regrtest).</title>
<updated>2016-10-07T20:45:42Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-07T20:45:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c1130fb5f14f22f7e27bea3f4421b3983ae0381'/>
<id>urn:sha1:1c1130fb5f14f22f7e27bea3f4421b3983ae0381</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27348: Merge exception formatting fix from 3.5 into 3.6</title>
<updated>2016-09-22T10:33:21Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-09-22T10:33:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3b0639417bf788d9a7133ec26e52c406e6c8f4c'/>
<id>urn:sha1:f3b0639417bf788d9a7133ec26e52c406e6c8f4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27348: Restore “Exception: None” formatting in traceback module</title>
<updated>2016-09-22T09:37:39Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-09-22T09:37:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb8b1cb6af830b40f9be398d1e1bf8bdca772140'/>
<id>urn:sha1:bb8b1cb6af830b40f9be398d1e1bf8bdca772140</id>
<content type='text'>
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.

Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.

Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
</content>
</entry>
<entry>
<title>Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes.</title>
<updated>2016-09-11T21:52:40Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-09-11T21:52:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b72810583e68531bb4231f42f1ce3ff4c0c9958b'/>
<id>urn:sha1:b72810583e68531bb4231f42f1ce3ff4c0c9958b</id>
<content type='text'>
* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with
  single tuple or dict.
* Restored more informative error messages for incorrect var-positional and
  var-keyword arguments.
* Removed code duplications in _PyEval_EvalCodeWithName().
* Removed redundant runtime checks and parameters in _PyStack_AsDict().
* Added a workaround and enabled previously disabled test in test_traceback.
* Removed dead code from the dis module.
</content>
</entry>
<entry>
<title>Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.</title>
<updated>2016-09-10T01:56:20Z</updated>
<author>
<name>Eric V. Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2016-09-10T01:56:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=451d0e38fcf50d976236d7d00ccfe8c1a2305086'/>
<id>urn:sha1:451d0e38fcf50d976236d7d00ccfe8c1a2305086</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework CALL_FUNCTION* opcodes</title>
<updated>2016-09-09T17:17:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-09-09T17:17:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f9b760f48ae2bd32ac347fe805b078a16037afee'/>
<id>urn:sha1:f9b760f48ae2bd32ac347fe805b078a16037afee</id>
<content type='text'>
Issue #27213: Rework CALL_FUNCTION* opcodes to produce shorter and more
efficient bytecode:

* CALL_FUNCTION now only accepts position arguments
* CALL_FUNCTION_KW accepts position arguments and keyword arguments, but keys
  of keyword arguments are packed into a constant tuple.
* CALL_FUNCTION_EX is the most generic, it expects a tuple and a dict for
  positional and keyword arguments.

CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW opcodes have been removed.

2 tests of test_traceback are currently broken: skip test, the issue #28050 was
created to track the issue.

Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka
and Victor Stinner.
</content>
</entry>
</feed>
