You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jedi language server version: unknown, shipped with the VSCodium version of the Microsoft VSCode Python extension, extension ID ms-python.python, version 2024.22.0
OS and version: Ubuntu 22.04 and macOS 12.7.5
Python versions: Python 3.10.12 on Ubuntu, 3.10.7 on macOS
Code Snippet
Type the following into VSCodium:
number=123number.bit_count()
While typing the second line, the Python extension will suggest bit_length but notbit_count even though the latter function was added to the int class with Python 3.10.
Expected behavior
After typing number.bit_, both bit_count and bit_length are suggested as auto-completions.
Actual behavior
After typing number.bit_, only bit_length is suggested.
Logs
N/A – I don’t think this issue needs a log trace as it’s just a missing feature or oversight, in my opinion.
The text was updated successfully, but these errors were encountered:
Originally submitted at microsoft/pylance-release#6786
Environment data
ms-python.python
, version 2024.22.0Code Snippet
Type the following into VSCodium:
While typing the second line, the Python extension will suggest
bit_length
but notbit_count
even though the latter function was added to theint
class with Python 3.10.Expected behavior
After typing
number.bit_
, bothbit_count
andbit_length
are suggested as auto-completions.Actual behavior
After typing
number.bit_
, onlybit_length
is suggested.Logs
N/A – I don’t think this issue needs a log trace as it’s just a missing feature or oversight, in my opinion.
The text was updated successfully, but these errors were encountered: