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

No Backslash (\) in IDLE 1.2.2 #47743

Closed
Marc67 mannequin opened this issue Aug 2, 2008 · 12 comments
Closed

No Backslash (\) in IDLE 1.2.2 #47743

Marc67 mannequin opened this issue Aug 2, 2008 · 12 comments
Assignees
Labels
OS-mac topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@Marc67
Copy link
Mannequin

Marc67 mannequin commented Aug 2, 2008

BPO 3493
Nosy @ronaldoussoren, @ned-deily, @serwy

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 = 'https://github.com/ned-deily'
closed_at = <Date 2012-04-14.23:20:13.357>
created_at = <Date 2008-08-02.19:03:47.697>
labels = ['OS-mac', 'expert-IDLE', 'type-bug']
title = 'No Backslash (\\) in IDLE 1.2.2'
updated_at = <Date 2012-04-15.10:03:22.644>
user = 'https://bugs.python.org/Marc67'

bugs.python.org fields:

activity = <Date 2012-04-15.10:03:22.644>
actor = 'ned.deily'
assignee = 'ned.deily'
closed = True
closed_date = <Date 2012-04-14.23:20:13.357>
closer = 'ned.deily'
components = ['IDLE', 'macOS']
creation = <Date 2008-08-02.19:03:47.697>
creator = 'Marc67'
dependencies = []
files = []
hgrepos = []
issue_num = 3493
keywords = []
message_count = 12.0
messages = ['70637', '70914', '71742', '86367', '91141', '121186', '130704', '130725', '158294', '158299', '158314', '158316']
nosy_count = 8.0
nosy_names = ['ronaldoussoren', 'gpolo', 'ned.deily', 'roger.serwy', 'Marc67', 'mounty', 'funnyfrancois', 'Peter.Nielsen']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue3493'
versions = ['Python 2.7', 'Python 3.2']

@Marc67
Copy link
Mannequin Author

Marc67 mannequin commented Aug 2, 2008

With my MacBook, on IDLE application, I can't type any character like this
one \.

@Marc67 Marc67 mannequin added topic-IDLE type-feature A feature request or enhancement labels Aug 2, 2008
@terryjreedy
Copy link
Member

\ works fine for me and I suspect almost everyone else.
Please bring this up on comp.lang.python or python-list or
gmane.comp.python.general to see if any other Macbook users have this
problems or any ideas on what might be wrong with your particular
installation.

@mounty
Copy link
Mannequin

mounty mannequin commented Aug 22, 2008

@ Terry J. Reedy

If it is working for you it doesn't necessarily mean that it is working
for mankind in general.

I traced down the problem to the OS X- implementation of Idle in general
and submitted an inquiry to the general python list as you suggested.
The feedback was null- nada- niente. But in the meantime I received a
nice bunch of Spam instead.

http://mail.python.org/pipermail/python-list/2008-August/504330.html

I believe the original poster has a French keyboard and seems to have
similar problems. The problem is that Idle seems to ignore the
international local keyboard setting. And as we do have two significant
letters ("#" and "'") at the keyboard position where you have the "\"
Idle seems to filter the entry of a backslash.

@ marc 67
HTH

Cheers
Ulf

@gpolo
Copy link
Mannequin

gpolo mannequin commented Apr 23, 2009

Can you verify if it is possible to type '\' in a standard Tkinter.Text ?

@gpolo gpolo mannequin removed the type-feature A feature request or enhancement label Apr 23, 2009
@funnyfrancois
Copy link
Mannequin

funnyfrancois mannequin commented Jul 31, 2009

Same probleme here with Idle 2.6.2, with a french keyboard.
I finally thought that it was due to a default binding recorded as
<Option><Slash> or <Option><Shift>:, something like that, which is
identical to the binding of Backslash character on my keyboard.
So I modified the binding "expand word" (can't remember why this one),
recorded it under a new key set and applied it. After that, the
backslash combination worked perfectly!!

But ... the bug now is that if I come back to the default OSX key set,
it still works ...

(Another detail is that with the Logitech keyboard configuration (usb PC
keyboard), it works at first try...)

Maybe this workaround will save your afternoon ...

@terryjreedy terryjreedy added the type-bug An unexpected behavior, bug, or error label Aug 3, 2010
@PeterNielsen
Copy link
Mannequin

PeterNielsen mannequin commented Nov 14, 2010

I have the same problem with a danish keyboard and OSX snowleopard..
I can use \ in both the command editor and pretty everywhere else but not in Idle.

@ronaldoussoren
Copy link
Contributor

Do I understand it correctly when I write that you normally use "Option+Slash" to enter a backslash on your keyboard?

That would explain why updating the keyboard bindings makes it possible to type a backslash.

I'm not sure how we could fix this issue in a way that wouldn't break existing bindings for folks with an english keyboard (as just updating the default keybindings would likely upset those people).

@PeterNielsen
Copy link
Mannequin

PeterNielsen mannequin commented Mar 13, 2011

Yes, that is correct .

Well, thanks for replying, anyway. I guess I'll have to use linux instead.

On Sun, Mar 13, 2011 at 12:00 AM, Ronald Oussoren <report@bugs.python.org>wrote:

Ronald Oussoren <ronaldoussoren@mac.com> added the comment:

Do I understand it correctly when I write that you normally use
"Option+Slash" to enter a backslash on your keyboard?

That would explain why updating the keyboard bindings makes it possible to
type a backslash.

I'm not sure how we could fix this issue in a way that wouldn't break
existing bindings for folks with an english keyboard (as just updating the
default keybindings would likely upset those people).

----------


Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue3493\>


@serwy
Copy link
Mannequin

serwy mannequin commented Apr 14, 2012

Is this still an issue with the latest version of IDLE?

@ned-deily
Copy link
Member

The problem of not honoring alternate input methods should no longer be a problem when using a current ActiveState Tcl/Tk 8.5.x on Mac OS X and a Python that is built to link with it, such as the current Python 2.7.x and 3.2.x installers from python.org. At the moment, there are no released Apple-supplied Tcl/Tks (and Pythons) that have all the necessary fixes. See http://www.python.org/download/mac/tcltk/ for more details about recommended Python and Tcl/Tk versions on OS X.

@PeterNielsen
Copy link
Mannequin

PeterNielsen mannequin commented Apr 15, 2012

Hello there

Yes, I am afraid the problem persists.
I have downloaded version 3.2.3 of python 32 bit.
In terminal in OSX 10.7.3, you can use the keys ALT + SHIFT and 7 to get
the \ but in the Idle application there is no way to do that.

Kind Regards / Med venlig hilsen

Peter Nielsen

On Sun, Apr 15, 2012 at 12:41 AM, Roger Serwy <report@bugs.python.org>wrote:

Roger Serwy <roger.serwy@gmail.com> added the comment:

Is this still an issue with the latest version of IDLE?

----------
nosy: +serwy


Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue3493\>


@ned-deily
Copy link
Member

Peter: I'm sorry that I didn't make it clearer in my reply that you need to use the 64-bit/32-bit python.org installers (available for OS X 10.6 and above), not the 32-bit-only installers. The 32-bit-only-installers are linked with Tcl/Tk 8.4 since there is no version of Apple- or ActiveState- Tcl/Tk 8.5 available for all platforms supported by the 32-bit-only installers (10.3+, Intel and PPC). The input method support is only in the Cocoa Tcl/Tk 8.5.

@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
OS-mac topic-IDLE type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants