Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idle tab command completion #45827

Closed
Mufasa mannequin opened this issue Nov 22, 2007 · 5 comments
Closed

Idle tab command completion #45827

Mufasa mannequin opened this issue Nov 22, 2007 · 5 comments
Labels
topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@Mufasa
Copy link
Mannequin

Mufasa mannequin commented Nov 22, 2007

BPO 1486
Nosy @facundobatista

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2007-11-23.17:10:56.827>
created_at = <Date 2007-11-22.13:02:56.592>
labels = ['expert-IDLE', 'type-bug']
title = 'Idle tab command completion'
updated_at = <Date 2007-11-23.17:10:56.826>
user = 'https://bugs.python.org/Mufasa'

bugs.python.org fields:

activity = <Date 2007-11-23.17:10:56.826>
actor = 'facundobatista'
assignee = 'none'
closed = True
closed_date = <Date 2007-11-23.17:10:56.827>
closer = 'facundobatista'
components = ['IDLE']
creation = <Date 2007-11-22.13:02:56.592>
creator = 'Mufasa'
dependencies = []
files = []
hgrepos = []
issue_num = 1486
keywords = []
message_count = 5.0
messages = ['57759', '57760', '57766', '57791', '57793']
nosy_count = 3.0
nosy_names = ['facundobatista', 'quentin.gallet-gilles', 'Mufasa']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue1486'
versions = ['Python 2.5']

@Mufasa
Copy link
Mannequin Author

Mufasa mannequin commented Nov 22, 2007

Running idle from a terminal window in desktop.

Python 2.5.1 (r251:54863, Nov 22 2007, 13:55:16)
[GCC 4.1.2] on linux2
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
    
IDLE 1.2.1      
>>> import sys
>>> test = sys.    <--- pressing tab should give you the available
options for that module/library.

The error in the console is as follows:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in
winconfig_event
    x, y, cx, cy = self.widget.bbox(self.startindex)
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox
    self.tk.call((self._w, 'bbox') + args)) or None
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints
    return tuple(map(getint, self.tk.splitlist(string)))
ValueError: invalid literal for int() with base 10: '(128,'
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in
winconfig_event
    x, y, cx, cy = self.widget.bbox(self.startindex)
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox
    self.tk.call((self._w, 'bbox') + args)) or None
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints
    return tuple(map(getint, self.tk.splitlist(string)))
ValueError: invalid literal for int() with base 10: '(128,'
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File "/usr/lib/python2.5/idlelib/AutoCompleteWindow.py", line 217, in
winconfig_event
    x, y, cx, cy = self.widget.bbox(self.startindex)
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2833, in bbox
    self.tk.call((self._w, 'bbox') + args)) or None
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1030, in _getints
    return tuple(map(getint, self.tk.splitlist(string)))
ValueError: invalid literal for int() with base 10: '(128,'

@Mufasa Mufasa mannequin added topic-IDLE type-bug An unexpected behavior, bug, or error labels Nov 22, 2007
@facundobatista
Copy link
Member

On IDLE and Python with the same exact version, but in Windows, this
works ok.

Don't have IDLE in Linux to try it, though.

@quentingallet-gilles
Copy link
Mannequin

quentingallet-gilles mannequin commented Nov 22, 2007

Couldn't reproduce it either, with the following IDLE config:

Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 2007092 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
IDLE 1.2.1 ==== No Subprocess ====

@Mufasa
Copy link
Mannequin Author

Mufasa mannequin commented Nov 23, 2007

You can remove this issue. It was a compile problem on my side, missing
libs etc.

@facundobatista
Copy link
Member

Rejected as requested by the OP.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-IDLE type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant