mirror of
https://github.com/python/cpython.git
synced 2025-09-19 15:10:58 +00:00
* Update the todo list.
* Make ConversionSyntax signals get trapped by default.
This commit is contained in:
parent
d84efb3d93
commit
ca3cc2fe21
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
|
|
||||||
# Todo:
|
# Todo:
|
||||||
# Provide a clean way of attaching monetary format representations
|
# Add rich comparisons for equality testing with other types
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -2969,6 +2969,7 @@ DefaultContext = Context(
|
||||||
Emin=DEFAULT_MIN_EXPONENT,
|
Emin=DEFAULT_MIN_EXPONENT,
|
||||||
capitals=1
|
capitals=1
|
||||||
)
|
)
|
||||||
|
DefaultContext.trap_enablers.update({ConversionSyntax : 1})
|
||||||
|
|
||||||
# Pre-made alternate contexts offered by the specification
|
# Pre-made alternate contexts offered by the specification
|
||||||
# Don't change these; the user should be able to select these
|
# Don't change these; the user should be able to select these
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue