New submission from Corey Farwell:
Before someone comes in and tries to correct me, I know Python documentation is
different than Javadocs. It is common to test if the JSON is malformed using a
try...catch. What if I want to catch something more specific than Exception?
The only way a user
Corey Farwell added the comment:
Ideally, this would also be decoumented in json.loads/json.load
--
___
Python tracker
<http://bugs.python.org/issue18680>
___
___
New submission from Corey Farwell:
```
class A:
B = range(10)
C = frozenset([4, 5, 6])
D = list(i for i in B)
E = list(i for i in B if i in C)
```
```
coreyf@frewbook-pro /tmp [1]> python3 a.py
Traceback (most recent call last):
File "a.py", line 1, in
cl