Comment 2 for bug 1793629

Revision history for this message
Fabrizio Lungo (flungo) wrote :

There are multiple duplicates and various suggested patches both on here and other forums but I can't see that any have been accepted. There are large ranges of values which can be returned by `Gdk.get_display().partition('.')[0]` which results in negative hash values, the most common probably being all display values between `:1000` and `:9999`, particularly on systems which might be configured to start display numbers at 1000 or 1001.

I can't see that the proposed patch would cause any problems and corrects a regression so what's required to get Andrew's patch accepted and released?