Deprecation warnings in gstdec.py
See original GitHub issue/usr/local/lib/python2.7/dist-packages/audioread/gstdec.py:126: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
GObject.threads_init()
/usr/local/lib/python2.7/dist-packages/audioread/gstdec.py:146: PyGIDeprecationWarning: MainLoop is deprecated; use GLib.MainLoop instead
self.loop = GObject.MainLoop()
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
warnings — Warning control — Python 3.11.1 documentation
Base category for warnings about deprecated features when those warnings are intended for other Python developers (ignored by default, unless triggered by ...
Read more >What does DeprecationWarning mean when running Python
I can't confirm what is wrong about it. What is a DeprecationWarning ? python · deprecation-warning · Share.
Read more >Deprecation warnings in Python code - Piccolo Blog
A look at how deprecation warnings can be implemented in Python code.
Read more >Who should see Python deprecation warnings? - LWN.net
While PendingDeprecationWarning has always been filtered, DeprecationWarning was visible by default until the Python 2.7 and 3.2 releases. In a 2009 thread ...
Read more >Python deprecation - DEV Community
To let the warning refer to the caller, so you know exactly where you use deprecated code, you have to set stacklevel=2 ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d merge #30 if it was my project. I don’t think it’s really worthwhile adding a version check, but if you wanted one, it would be:
That’s good enough for me. Thanks again for your advice!