Message195963
| Author | pitrou |
|---|---|
| Recipients | dmalcolm, larry, pitrou, python-dev, rhettinger |
| Date | 2013-08-23.12:22:38 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1377260558.45.0.388261438235.issue18772@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Checking for dummies in dicts in python-gdb.py is implicit (see PyDictObjectPtr.iteritems()): entries whose value is NULL are not printed. Set entries do not have values, so instead pySetObjectPtr.write_repr() uses a hack with the repr() of the key to check for dummies. Instead I think we should re-use the approach in my patch: publish the dummy object as a (private) C API so that python-gdb.py can simply compare the key pointer by equality. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-08-23 12:22:38 | pitrou | set | recipients: + pitrou, rhettinger, larry, dmalcolm, python-dev |
| 2013-08-23 12:22:38 | pitrou | set | messageid: <1377260558.45.0.388261438235.issue18772@psf.upfronthosting.co.za> |
| 2013-08-23 12:22:38 | pitrou | link | issue18772 messages |
| 2013-08-23 12:22:38 | pitrou | create | |