Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use GLib.MainLoop() instead of deprecated GObject.MainLoop()#11182

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

expectocode
Copy link
Contributor

PR Summary

Using GObject.MainLoop emits this warning:

[omitted]/lib/python3.6/site-packages/matplotlib/pyplot.py:101: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead  ml = GObject.MainLoop

My PR follows the suggestion of the warning, and changes GObject.MainLoop for GLib.MainLoop.

@tacaswelltacaswell added this to thev3.0 milestoneMay 7, 2018
@tacaswell
Copy link
Member

How far back ingi history isGLib available like this?

If we currently support versions ofgi that do not haveGLib we either need to shim this import based on version or bump our minimum version.

@expectocode
Copy link
ContributorAuthor

This page suggests 2.15.2 - 2008-07-26 is the first version with this in.

@anntzeranntzer merged commitcffca75 intomatplotlib:masterMay 7, 2018
@anntzer
Copy link
Contributor

thanks!

expectocode reacted with hooray emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.0.0
Development

Successfully merging this pull request may close these issues.

4 participants
@expectocode@tacaswell@anntzer@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp