| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Thanks to Georg Brandl for the patch.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
specification.
(Based on a first draft patch from Evelyn Mitchell.)
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
messages.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Decimals by 3 times.
Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(),
and Fraction constructors.
|
|/
|
|
| |
Mark Dickinson.
|
|
|
|
|
| |
Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code module was using a private function from traceback in order to skip a
frame - used the direct interface to do that instead,
The decimal module suffered minor fallout from formatting changes ('None' as a
value is now not printed by traceback, the same as None was not before).
The cgitb module was passing a bogus exception type (type.__name__) into
format_exception, which uncovered that format_exception and print_exception had
been ignoring the etype for some time, so the compatibility thunk to the new
code now does the same thing.
|
|
|
|
| |
implementation in issue #21408 they are redundant.
|
| |
|
|
self-contained, this change facilitates maintenance and the Python version
can be easily imported for experimentation.
|