bpo-43723: deprecate camelCase aliases from threading by JelleZijlstra · Pull Request #25174 · python/cpython
The snake_case names have existed since Python 2.6, so there is no reason to keep the old camelCase names around. One similar method, threading.Thread.isAlive, was already removed in Python 3.9 (bpo-37804).
terryjreedy added a commit that referenced this pull request
Apr 16, 2021miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Apr 16, 2021Change threading.activeCount to synonym threading.active_count. (cherry picked from commit 56c76df) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request
Apr 16, 2021Change threading.activeCount to synonym threading.active_count. (cherry picked from commit 56c76df) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This was referenced
Apr 17, 2021Joilence added a commit to Joilence/Kaleido that referenced this pull request
Sep 16, 2022setDaemon() has been deprecated in favor of setting daemon attribute directly in Python 3.10. See: python/cpython#25174
alexcjohnson pushed a commit to plotly/Kaleido that referenced this pull request
Sep 23, 2022setDaemon() has been deprecated in favor of setting daemon attribute directly in Python 3.10. See: python/cpython#25174
jupe
mentioned this pull request
gverm
mentioned this pull request
linrock added a commit to linrock/nnue-pytorch that referenced this pull request
Nov 25, 2022easy_train.py:316: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead thread.setDaemon(True) camelCase methods in threading were deprecated in: python/cpython#25174
linrock added a commit to linrock/nnue-pytorch that referenced this pull request
Nov 29, 2022easy_train.py:316: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead thread.setDaemon(True) camelCase methods in threading were deprecated in: python/cpython#25174
rpurdie pushed a commit to yoctoproject/poky that referenced this pull request
Jan 22, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) (Bitbake rev: ea88be5cb39af86a5bc8a7d151ba65bd12df681f) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to openembedded/bitbake that referenced this pull request
Jan 22, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpurdie pushed a commit to yoctoproject/poky that referenced this pull request
Jan 23, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) (Bitbake rev: ea88be5cb39af86a5bc8a7d151ba65bd12df681f) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpurdie pushed a commit to yoctoproject/poky that referenced this pull request
Jan 23, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) (Bitbake rev: ea88be5cb39af86a5bc8a7d151ba65bd12df681f) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kraj pushed a commit to YoeDistro/poky that referenced this pull request
Jan 24, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) (Bitbake rev: 17e1b37974ab23a9210a264b0f48dc4812aa75af) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
rpurdie pushed a commit to yoctoproject/poky that referenced this pull request
Jan 24, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) (Bitbake rev: 323f6ce27a1bfd7159e72f29684674ff495dedee) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to openembedded/bitbake that referenced this pull request
Jan 24, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kraj pushed a commit to YoeDistro/poky that referenced this pull request
Jan 25, 2023Deprecated in Python 3.10: https://docs.python.org/3/whatsnew/3.10.html#deprecated python/cpython#25174 Fixes warnings like: ...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.t.setDaemon(True) (Bitbake rev: 17e1b37974ab23a9210a264b0f48dc4812aa75af) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
evverx added a commit to evverx/scapy that referenced this pull request
Mar 26, 2023setDaemon was deprecated in python/cpython#25174 Fixes: ``` >>> test_tls_server("ECDHE-RSA-AES128-SHA", "-tls1") Traceback (most recent call last): File "<input>", line 2, in <module> File "<input>", line 9, in test_tls_server File "/usr/lib64/python3.11/threading.py", line 1240, in setDaemon warnings.warn('setDaemon() is deprecated, set the daemon attribute instead', DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead ```
gpotter2 pushed a commit to secdev/scapy that referenced this pull request
Mar 26, 2023setDaemon was deprecated in python/cpython#25174 Fixes: ``` >>> test_tls_server("ECDHE-RSA-AES128-SHA", "-tls1") Traceback (most recent call last): File "<input>", line 2, in <module> File "<input>", line 9, in test_tls_server File "/usr/lib64/python3.11/threading.py", line 1240, in setDaemon warnings.warn('setDaemon() is deprecated, set the daemon attribute instead', DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead ```
carlos-villavicencio-adsk added a commit to shotgunsoftware/tk-core that referenced this pull request
Sep 25, 2023- Support [deprecation](https://peps.python.org/pep-0632/) of distutils for setuptools > 60. - We can't switch to `packaging.version.parse` because many TK components depend of `distutils.version.LooseVersion`. To handle the distutils deprecation, we're switching to the bundled version living on setuptools >= 60. The deprecation warning is still there, so we're suppressing just this one. - Re-enable commented tests - Support [deprecation](python/cpython#25174) of `isSet()` - Upgrade python-api v3.4.0
Bastian-Krause added a commit to Bastian-Krause/pyserial that referenced this pull request
Jan 30, 2024The threading camel case methods were deprecated in [1]. A previous pyserial PR [2] fixed a bunch of these warnings, but missed a few. Fix the remaining setName() DeprecationWarnings by using the appropriate name attribute instead. [1] python/cpython#25174 [2] pyserial#643 Signed-off-by: Bastian Krause <bst@pengutronix.de>
carlsmedstad added a commit to carlsmedstad/pifpaf that referenced this pull request
Aug 16, 2024This method was deprecated in Python 3.10, set the Thread.daemon attribute directly instead. See: python/cpython#25174
tobias-urdin pushed a commit to jd/pifpaf that referenced this pull request
Aug 16, 2024This method was deprecated in Python 3.10, set the Thread.daemon attribute directly instead. See: python/cpython#25174
dpgeorge pushed a commit to pyserial/pyserial that referenced this pull request
Nov 14, 2025The threading camel case methods were deprecated in [1]. A previous pyserial PR [2] fixed a bunch of these warnings, but missed a few. Fix the remaining setName() DeprecationWarnings by using the appropriate name attribute instead. [1] python/cpython#25174 [2] #643 Signed-off-by: Bastian Krause <bst@pengutronix.de>
fluffy pushed a commit to fluffy/pyserial that referenced this pull request
Dec 19, 2025The threading camel case methods were deprecated in [1]. A previous pyserial PR [2] fixed a bunch of these warnings, but missed a few. Fix the remaining setName() DeprecationWarnings by using the appropriate name attribute instead. [1] python/cpython#25174 [2] pyserial#643 Signed-off-by: Bastian Krause <bst@pengutronix.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters