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

Interface IDs are limited #355

Open
kynikos opened this issue Oct 4, 2014 · 0 comments
Open

Interface IDs are limited #355

kynikos opened this issue Oct 4, 2014 · 0 comments

Comments

@kynikos
Copy link
Owner

kynikos commented Oct 4, 2014

Outspline cannot be executed for an indefinite time because when widgets are created (e.g. when opening an item's editor tab) they get a progressive ID which is limited by the system's maximum integer size, which would probably eventually raise an exception and crash the application.

Also the usage of wx.NewId() for e.g. accelerators is affected. Note that however menu items are limited by wxPython to a much lower ID range, but they are not created dynamically, so it shouldn't be a problem.

Of course on 64-bit systems we're talking about 2^63 possible IDs, which should be well enough to make a crash due to this as (or even less) likely as a crash of the whole system (or a simple manual reboot).

@kynikos kynikos added this to the 1.1.1 milestone Oct 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant