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

Locked glyph can be changed via python script #1503

Open
ollimeier opened this issue Jun 27, 2024 · 2 comments
Open

Locked glyph can be changed via python script #1503

ollimeier opened this issue Jun 27, 2024 · 2 comments

Comments

@ollimeier
Copy link
Collaborator

I noticed that a locked glyph can be changed via python code. I am wondering if this is the intended behaviour or not?

@justvanrossum
Copy link
Collaborator

Missing some context. What kind of Python code?

Either way, the lock is just a light mechanism to prevent accidental editing. Scripting isn’t really in the scope of this feature.

@ollimeier
Copy link
Collaborator Author

Sorry for missing the context:
I just noticed that I was able to change the glyph note of a locked character in the unittests (via python) and was wondering if this is intended behaviour or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants