View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000488 | FreeCAD | Bug | public | 2011-11-21 11:34 | 2011-11-21 13:29 | 
| Reporter | zappl | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Product Version | 0.11 | ||||
| Fixed in Version | 0.12 | ||||
| Summary | 0000488: python console: buggy CallTips completion for members, starting with underscore ('_') | ||||
| Description | There's a bug in the CallTips-completion for selecting members that start with an underscore (e.g. __doc__). For reproducing this bug, try the following example: 1) after importing sys, type: sys._ note: the CallTips-window pops up at '.', but input the '_' anyways 2) select member __doc__, using Up/Down keys 3) commit the selection by pressing enter This results in the following string at the input line: >>> sys.__doc___ ^- one '_' too many! So pressing enter afterwards results in: AttributeError: 'module' object has no attribute '__doc___' | ||||
| Additional Information | This problem still exists in HEAD@5151. So I tracked this bug down to file CallTips.cpp. The appended patch should fix the issue. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2011-11-21 11:34 | zappl | New Issue | |
| 2011-11-21 11:34 | zappl | File Added: pyconsole_underscore.patch | |
| 2011-11-21 13:29 | wmayer | Note Added: 0001339 | |
| 2011-11-21 13:29 | wmayer | Status | new => closed | 
| 2011-11-21 13:29 | wmayer | Resolution | open => fixed | 
| 2011-11-21 13:29 | wmayer | Fixed in Version | => 0.12 | 
 FreeCAD
 FreeCAD