[issue43723] Deprecate camelCase aliases from threading.py

2021-04-16 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 582917f8b255801f3c722d89ff2b8d6b17a11590 by Miss Islington > (bot) in branch '3.8': > [3.9] bpo-43723: Revert IDLE doc change (GH-25174) Oh. I didn't notice that https://github.com/python/cpython/commit/b40564727fbe85932e92862e57fc065034d98db

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-16 Thread miss-islington
miss-islington added the comment: New changeset 582917f8b255801f3c722d89ff2b8d6b17a11590 by Miss Islington (bot) in branch '3.8': [3.9] bpo-43723: Revert IDLE doc change (GH-25174) https://github.com/python/cpython/commit/582917f8b255801f3c722d89ff2b8d6b17a11590 --

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b40564727fbe85932e92862e57fc065034d98dbf by Terry Jan Reedy in branch '3.8': [3.8] bpo-43723: Backport IDLE doc change (GH-25174) https://github.com/python/cpython/commit/b40564727fbe85932e92862e57fc065034d98dbf -- ___

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +24165 pull_request: https://github.com/python/cpython/pull/25435 ___ Python tracker ___ __

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +24164 pull_request: https://github.com/python/cpython/pull/25433 ___ Python tracker _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 56c76df6e861322bdff77bfb21e5cd55fbacfad2 by Terry Jan Reedy in branch '3.9': [3.9] bpo-43723: Revert IDLE doc change (GH-25174) https://github.com/python/cpython/commit/56c76df6e861322bdff77bfb21e5cd55fbacfad2 -- _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 6.0 -> 7.0 pull_requests: +24163 pull_request: https://github.com/python/cpython/pull/25432 ___ Python tracker ___

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread STINNER Victor
STINNER Victor added the comment: Oh by the way, if someone wants to enhance libregrtest / our CI, please open a new issue ;-) I'm not interested so, I didn't open a new issue :-) Someone also once proposed to add a post-commit buildbot using -Werror. It may be enough. -- __

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread STINNER Victor
STINNER Victor added the comment: > Tests should treat any unhandled deprecation warnings as a test failure. libregrtest sets a sys.unraisablehook: a test is marked as "failed" if any "unraisable exception" is logged. libregrtest might use a hook on warnings to do the same: log the warning,

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I opened a thread a year back on running tests with -Werror in CI. This issue still pops up when someone runs with -Wall and finds unhandled deprecation warnings. https://discuss.python.org/t/run-test-suite-with-werror-on-ci/2333 -- _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread Christian Heimes
Christian Heimes added the comment: > Usually, warnings are not treated as errors. Thanks for fixing test_asyncio! Tests should treat any unhandled deprecation warnings as a test failure. -- ___ Python tracker

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks Jelle Zijlstra, I merged your PR! I close issue. Ok, aliases are now deprecated. If someone wants to actually remove the aliases, I suggest to help all projects still using them to fix their deprecation warnings: https://bugs.python.org/issue43723#msg

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread Christian Heimes
Christian Heimes added the comment: New changeset 95bbb331ecb3ef5d05859d90b287cc3d27613c86 by Christian Heimes in branch 'master': bpo-43723: Fix deprecation error caused by thread.setDaemon() (GH-25361) https://github.com/python/cpython/commit/95bbb331ecb3ef5d05859d90b287cc3d27613c86 -

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread Christian Heimes
Christian Heimes added the comment: The commit broke my PR https://github.com/python/cpython/pull/25329. You missed a call in asyncio tests. -- ___ Python tracker ___ ___

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes nosy_count: 5.0 -> 6.0 pull_requests: +24095 pull_request: https://github.com/python/cpython/pull/25361 ___ Python tracker _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9825bdfbd5c966abf1f1b7264992d722a94c9613 by Jelle Zijlstra in branch 'master': bpo-43723: Deprecate camelCase aliases from threading (GH-25174) https://github.com/python/cpython/commit/9825bdfbd5c966abf1f1b7264992d722a94c9613 -- _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add the last time isAlive was removed in favor of is_alive it was significant change enough that several libraries in Fedora packaging Python libraries and other open source code. The GitHub PR shows several projects that were affected and

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-06 Thread STINNER Victor
STINNER Victor added the comment: Raymond Hettinger: > I don't think there is any advantage in doing this. It will just break code > that has worked for a very long time. Do you mean code written for Python 2? Right, it's unfortunate that it became harder to write a single code base working

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think there is any advantage in doing this. It will just break code that has worked for a very long time. This is the reason that the logging module wasn't changed to more modern naming conventions. -- nosy: +rhettinger _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-03 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- keywords: +patch pull_requests: +23915 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25174 ___ Python tracker ___ _

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-03 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : Followup from issue37804: deprecate the remaining camelCase aliases, such as threading.currentThread. PR coming soon. -- assignee: Jelle Zijlstra components: Library (Lib) messages: 390165 nosy: Jelle Zijlstra, pitrou priority: normal severity: norm