classification
Title: IDLE b"" method completion incorrect
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.4, Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: Ramchandra Apte, kbk, orsenthil, python-dev, roger.serwy, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2012-12-30 08:02 by Ramchandra Apte, last changed 2013-01-01 20:38 by serhiy.storchaka. This issue is now closed.

Files
File name Uploaded Description Edit
idle_bytes_completion.patch serhiy.storchaka, 2012-12-30 16:18 review
Messages (5)
msg178558 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2012-12-30 08:02
To reproduce, type b"". and then press TAB.
The encode method is listed, that means that IDLE is listing the methods of "" (it should list the methods of b"").
msg178581 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-12-30 14:52
Same for u'' on 2.7. Completion list doesn't contain "isdecimal" and "isnumeric".
msg178583 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-12-30 16:14
Here is a patch which fixes this issue. It is applicable for all version, except "uU" can be removed from string of string prefix characters in 3.2.
msg178744 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2013-01-01 18:42
The patch seems good to me. Please commit it.
msg178752 - (view) Author: Roundup Robot (python-dev) Date: 2013-01-01 20:36
New changeset de82da4b04cd by Serhiy Storchaka in branch '2.7':
Issue #16819: IDLE method completion now correctly works for unicode literals.
http://hg.python.org/cpython/rev/de82da4b04cd

New changeset 99a06886b258 by Serhiy Storchaka in branch '3.2':
Issue #16819: IDLE method completion now correctly works for bytes literals.
http://hg.python.org/cpython/rev/99a06886b258

New changeset b8b5303ac96f by Serhiy Storchaka in branch '3.3':
Issue #16819: IDLE method completion now correctly works for bytes literals.
http://hg.python.org/cpython/rev/b8b5303ac96f

New changeset 00cbbcd8af31 by Serhiy Storchaka in branch 'default':
Issue #16819: IDLE method completion now correctly works for bytes literals.
http://hg.python.org/cpython/rev/00cbbcd8af31
History
Date User Action Args
2013-01-01 20:38:01serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2013-01-01 20:36:38python-devsetnosy: + python-dev
messages: + msg178752
2013-01-01 18:42:10orsenthilsetnosy: + orsenthil
messages: + msg178744
2013-01-01 00:11:52roger.serwysetnosy: + roger.serwy
2012-12-30 16:18:55serhiy.storchakasetfiles: + idle_bytes_completion.patch
keywords: + patch
2012-12-30 16:14:20serhiy.storchakasetnosy: + kbk

messages: + msg178583
stage: patch review
2012-12-30 14:52:52serhiy.storchakasetversions: + Python 2.7, Python 3.2, Python 3.3, Python 3.4
nosy: + serhiy.storchaka

messages: + msg178581

assignee: serhiy.storchaka
2012-12-30 08:02:18Ramchandra Aptecreate