profile
viewpoint
Brett Cannon brettcannon @microsoft Vancouver, BC, Canada https://snarky.ca

brettcannon/caniusepython3 416

Can I Use Python 3?

Azure/azure-functions-docker-python-sample 26

A sample of using docker to deploy a Python based app

brettcannon/desugar 5

Unravelling Python source code

brettcannon/bedevere 1

A bot to help identify missing information for CPython pull requests

brettcannon/actions-workflow-samples 0

Help developers to easily get started with GitHub Action workflows to deploy to Azure

brettcannon/Adafruit_CircuitPython_CircuitPlayground 0

CircuitPython library for CircuitPlayground

brettcannon/ansible 0

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

brettcannon/argv 0

Node based command line argument parser

brettcannon/asyncio-doc 0

Asyncio documentation

brettcannon/autorest 0

Swagger (OpenAPI) Specification code generator featuring C# and Razor templates. Supports C#, Java, Node.js, TypeScript, Python and Ruby.

issue commentmicrosoft/vscode-python

pyenv + virtualenv not working - use pyenv activate for all

@swebs the "python.terminal.activateEnvironment" controls whethe we send the source command (or equivalent) to your shell to active a virtual environment. This doesn't directly deal with pyenv.

fenchu

comment created time in 9 hours

push eventbrettcannon/desugar

Brett Cannon

commit sha 666f11952801bf9c4ad81b04291dd7421fe8c09b

Add a link to the docs for Type.mro()

view details

push time in a day

push eventbrettcannon/desugar

Brett Cannon

commit sha 424bcbf6547e4f56707f1fbfe266782a114f1b37

Add __dict__ to Object protocol

view details

push time in a day

issue closedmicrosoft/vscode-python

mypy output truncated in "pretty" mode

when using pretty = True in my [mypy] config... the output in the information window is truncated. Easy enough to just not use pretty mode... but is there a way to still have pretty mode for terminal usage?

Environment data

  • VS Code version:1.47.3
  • Extension version (available under the Extensions sidebar): v2020.7.96456
  • OS and version: Darwin x64 17.7.0. (10.13.6)
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.5 conda
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Relevant/affected Python packages and their versions: mypy==0.782
  • Value of the python.languageServer setting: jedi

Expected behaviour

with pretty = False: Screen Shot 2020-08-11 at 8 19 37 AM

Actual behaviour

with pretty = True Screen Shot 2020-08-11 at 8 19 54 AM

Steps to reproduce:

Logs

<details>

<summary>Output with pretty = True</summary>

##########Linting Output - mypy##########
package/module.py:39:1: error: Overloaded function implementation cannot
produce return type of signature 2  [misc]
    def function(
    ^

</details>

<details>

<summary>Output with pretty = False</summary>

##########Linting Output - mypy##########
package/module.py:39:1: error: Overloaded function implementation cannot produce return type of signature 2  [misc]

</details>

closed time in a day

tlambert03

issue commentmicrosoft/vscode-python

mypy output truncated in "pretty" mode

@tlambert03 unfortunately we don't have a specific feature to handle this for mypy. Maybe there's a way to override it on the command-line using python.linting.mypyArgs?

Otherwise this will hopefully be solved when we get to #1577 .

tlambert03

comment created time in a day

issue closedmicrosoft/vscode-python

Please support Cython

Please support Cython syntax highlighting, debugging and integration with Python.

closed time in a day

skasturi

issue commentmicrosoft/vscode-python

Please support Cython

Duplicate of #375

skasturi

comment created time in a day

pull request commentpython/cpython

bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found

@VKTB this isn't the best place to be asking this. If you're after help you can try asking on python-list, else if you think it's a bug then please open one at bugs.python.org.

garvitdelhi

comment created time in a day

issue commentpython/devguide

List terms which should be avoided

Are the guides moving to "allowlist"/"denylist"? I've seen "allow list"/"deny list" (notice the spaces).

vstinner

comment created time in a day

issue commentmicrosoft/vscode-python

Add a selected global `python` interpreter on to `PATH`

@ditordccaa I'm reopening this to leave it as a feature request. If you aren't interested in it you can unsubscribe from the issue if you prefer.

ditordccaa

comment created time in a day

IssuesEvent

Pull request review commentmicrosoft/vscode-python

Adding docstrings to snippets

     },     "def": {         "prefix": "def",-        "body": ["def ${1:funcname}(${2:parameter_list}):", "\t${3:pass}"],+        "body": ["def ${1:funcname}(${2:parameter_list}):", "\t\"\"\"", "\t${3:docstring}", "\t\"\"\"","\t${4:pass}"],         "description": "Code snippet for a function definition"     },     "def(class method)": {         "prefix": "def(class method)",-        "body": ["def ${1:funcname}(self, ${2:parameter_list}):", "\t${3:pass}"],+        "body": ["def ${1:funcname}(self, ${2:parameter_list}):", "\t\"\"\"", "\t${3:docstring}", "\t\"\"\"", "\t${4:pass}"],         "description": "Code snippet for a class method"     },     "def(static class method)": {         "prefix": "def(static class method)",-        "body": ["@staticmethod", "def ${1:funcname}(${2:parameter_list}):", "\t${3:pass}"],+        "body": ["@staticmethod", "def ${1:funcname}(${2:parameter_list}):", "\t\"\"\"", "\t${3:docstring}", "\t\"\"\"", "\t${4:pass}"],         "description": "Code snippet for a static class method"     },     "def(abstract class method)": {         "prefix": "def(abstract class method)",-        "body": ["def ${1:funcname}(self, ${2:parameter_list}):", "\traise NotImplementedError"],+        "body": ["def ${1:funcname}(self, ${2:parameter_list}):", "\t\"\"\"", "\t${3:docstring}", "\t\"\"\"", "\traise NotImplementedError"],         "description": "Code snippet for an abstract class method"     },     "class": {         "prefix": "class",-        "body": ["class ${1:classname}(${2:object}):", "\t${3:pass}"],+        "body": ["class ${1:classname}(${2:object}):", "\t\"\"\"", "\t${3:docstring}", "\t\"\"\"", "\t${4:pass}"],         "description": "Code snippet for a class definition"-    },+        },
    },
alannt777

comment created time in a day

push eventbrettcannon/desugar

Brett Cannon

commit sha 2727c99daf4feab3bc361ced2c56b4f58741fee7

Implement left shift

view details

Brett Cannon

commit sha a96601b1677783688fc2614d4424016b8931236e

Implement right shift

view details

Brett Cannon

commit sha 5cacad99c913d16b353e01b5419484dcb4b89e33

Implement `&`

view details

push time in 2 days

push eventbrettcannon/desugar

Brett Cannon

commit sha d915baa847eaa4b5334a903ea9b90d22d6e6a05f

Implement true division

view details

Brett Cannon

commit sha 191831c3030343074919aa5330bb5fda0d3bda89

Update stubs to count executions Make it shorter to write out new methods.

view details

Brett Cannon

commit sha c7b51c04d9c3fdf9fca3adc31da98795119c1a89

Fix spelling mistakes

view details

Brett Cannon

commit sha 86cadd3d2b14c03670ec62a03d1524a8a68f3ab6

Implement floor division

view details

Brett Cannon

commit sha c0f1f32fe800867b4ab51e21885fb6723a3382ed

Implement modulo

view details

Brett Cannon

commit sha ceb40cda4ce41a6113efcedc57a1c5b30b8bd9e5

Implement power

view details

push time in 2 days

push eventbrettcannon/desugar

Brett Cannon

commit sha 9e7fecebd54f4377007aabecbd14768b7d51db1f

Implement addition

view details

Brett Cannon

commit sha e140e5e9ddec46a2061ea5cc599e9f93987d2bf5

Document that addition and subtraction are implemented

view details

Brett Cannon

commit sha 4c376845a4f8d0cb778af3c49a8c84b8bddaa0f2

Implement multiplication and matrix multiplication

view details

push time in 2 days

issue commentmicrosoft/vscode-python

Python is not recognized in the VSC integrated terminal

We do not participate in the terminal creation in terms of PATH. I also don't see any entry in your custom PATH setting that would place a python binary on your PATH. If you used the Python installer from python.org then you need to explicitly opt into putting Python on to the PATH to begin with.

What I will do, though, is turn this into a feature request to try to come up with a way to include a global Python interpreter into the terminal when one is manually specified.

ditordccaa

comment created time in 2 days

issue commentpython/core-workflow

Travis CI doesn't report its status or doesn't run on Python pull requests

@vstinner That's great that you have the time, but what I'm saying is I don't have the time to participate in trying to keep 3 CI systems running. I'm happy to help out with GitHub Actions, but I am personally opting out of discussions and helping with Travis and Azure Pipelines.

vstinner

comment created time in 2 days

push eventbrettcannon/desugar

Brett Cannon

commit sha 72bbc71d671069d7c07579f931d872bb5cd6c54d

Fix an over-zealous variable renaming

view details

push time in 2 days

issue commentpython/core-workflow

Travis CI doesn't report its status or doesn't run on Python pull requests

FYI I'm dropping off this issue as at this point I think we should drop Travis (and Azure Pipelines) for GitHub Actions so we only have to worry about one CI system failing instead of 3 😉 .

vstinner

comment created time in 2 days

issue commentmicrosoft/vscode-python

Tkinter not working with VSCode

@jbiz25 You can if you want, but I will say we do not manipulate anything that would influence importing and I don't think we have ever been the direct cause of an import failure.

If you were to open an issue I can tell you we would immediately ask you to show that the import succeeded in the terminal (not Spyder), that you had the exact same environment selected for the extension, and how you launched your code. In other words, we would ask for you to run python -c "import sys; print(sys.executable); import tkinter" and then screenshot how you ran that code in the terminal successfully but then how it failed being run in the extension. So if you do choose to open an issue then I do ask that you please have this info ready to go to help us diagnose the problem.

14sprouj

comment created time in 2 days

pull request commentmicrosoft/vscode-python

Adding docstrings to snippets

@alannt777 the failure will need to be checked to see why that occurred. As for being ready to merge, we still have to figure out why the entire file is marked as changed.

alannt777

comment created time in 2 days

push eventbrettcannon/desugar

Brett Cannon

commit sha 11078ac4895a06b01ed45482ee3e8001a905e986

Document functions and methods assumed to be implemented

view details

push time in 2 days

push eventbrettcannon/desugar

Brett Cannon

commit sha b4551b4a5f1208bd4feb4576676b0c74b9aec770

Tweak a docstring

view details

Brett Cannon

commit sha 3816bc7c96ab656768b3a93c0e60dcfccf97372c

Update README with a list of keywords, tokens, and literals to potentially implement

view details

push time in 3 days

push eventbrettcannon/desugar

Brett Cannon

commit sha ed2cf7b12b2e2c2b9014d348239238fe1ff3004f

Change _type_getattr() to _mro_getattr() to directly work off of types Also implement an appropriate protocol for types.

view details

Brett Cannon

commit sha 8225b2876bb854e8aad8d6ef13d451a14a27cab3

Don't type hint 'self'

view details

Brett Cannon

commit sha 80246dd936d0bffa5116807a5c11541707a8e48d

Add a test for when the RHS of a subtraction is the exact same type

view details

push time in 3 days

push eventbrettcannon/desugar

Brett Cannon

commit sha 88911eb481e600c5da3f72d598e6101e4d8d6e5b

Tweak docstring

view details

push time in 4 days

push eventbrettcannon/desugar

Brett Cannon

commit sha dfdade344d5e4b1e924657df7a682e3e429fe61d

Make operator.sub() as positional-only

view details

push time in 4 days

push eventbrettcannon/desugar

Brett Cannon

commit sha 4eaf9f35d873a15db64cb69a662b92c3c82e8981

Tighten up typing

view details

Brett Cannon

commit sha 54ebf8b8f1c7ccbd9a79951d65c24fcbe79de3e2

Cut dead code

view details

Brett Cannon

commit sha 52c58268af2f37c2cb1e3a2f54f45f435c931afa

Factor out attribute lookup on types

view details

Brett Cannon

commit sha 7ce6719ef5233015d18020e0bd5521d63896564f

Implement subtraction

view details

push time in 4 days

push eventbrettcannon/dotconfig

Brett Cannon

commit sha db721e940d09cbdfc5f2dc5bd6b78bce5e3b7d04

Use Pylance

view details

push time in 4 days

push eventbrettcannon/mousebender

dependabot-preview[bot]

commit sha 52eb8164a289a31b1d038467dc69f9330ece4c3b

Update importlib-resources requirement from ^1.5.0 to ^3.0.0 (#35) Updates the requirements on [importlib-resources](http://importlib-resources.readthedocs.io/) to permit the latest version. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

view details

push time in 4 days

delete branch brettcannon/mousebender

delete branch : dependabot/pip/importlib-resources-tw-3.0.0

delete time in 4 days

PR merged brettcannon/mousebender

Update importlib-resources requirement from ^1.5.0 to ^3.0.0 dependencies

Updates the requirements on importlib-resources to permit the latest version.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+1 -1

0 comment

1 changed file

dependabot-preview[bot]

pr closed time in 4 days

push eventbrettcannon/mousebender

dependabot-preview[bot]

commit sha 804dee5a74525c4663731248b907a6243dec2863

Update mypy requirement from ^0.770 to ^0.782 (#34) Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.770...v0.782) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

view details

push time in 4 days

delete branch brettcannon/mousebender

delete branch : dependabot/pip/mypy-tw-0.782

delete time in 4 days

PR merged brettcannon/mousebender

Update mypy requirement from ^0.770 to ^0.782 dependencies

Updates the requirements on mypy to permit the latest version. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/39b6bc47b9f7e7d72778886419d07eb4acf3c50a"><code>39b6bc4</code></a> Bump version to 0.782</li> <li><a href="https://github.com/python/mypy/commit/b26776d26b313d572a11e8a37707bfb759465046"><code>b26776d</code></a> Update MANIFEST to include more files needed for testing (<a href="https://github-redirect.dependabot.com/python/mypy/issues/9033">#9033</a>)</li> <li><a href="https://github.com/python/mypy/commit/e90d5f579c45be551a893d8dc8886a22e062e75c"><code>e90d5f5</code></a> Don't consider comparing True and False as a dangerous comparison (<a href="https://github-redirect.dependabot.com/python/mypy/issues/9021">#9021</a>)</li> <li><a href="https://github.com/python/mypy/commit/f956142030dee57e7283ad364d9c0c14945cb594"><code>f956142</code></a> Bump version to 0.781</li> <li><a href="https://github.com/python/mypy/commit/48dbc1c538c8ad3e8e2e5c34f3ec6a0faca55644"><code>48dbc1c</code></a> include mypyc sub directories in the sdist (<a href="https://github-redirect.dependabot.com/python/mypy/issues/8949">#8949</a>)</li> <li><a href="https://github.com/python/mypy/commit/3423b18a30ac49d6e7050abeb188ad3ba5d23d35"><code>3423b18</code></a> Add docs for no_site_packages config option (<a href="https://github-redirect.dependabot.com/python/mypy/issues/8932">#8932</a>)</li> <li><a href="https://github.com/python/mypy/commit/387be661a1f637ec168b66a8d0e86c3e1ea4e870"><code>387be66</code></a> Update docs to reflect that following imports is supported in dmypy (<a href="https://github-redirect.dependabot.com/python/mypy/issues/8930">#8930</a>)</li> <li><a href="https://github.com/python/mypy/commit/d32ec7e568493ed1c024dc83966a5da52b4cb9c4"><code>d32ec7e</code></a> Bump version</li> <li><a href="https://github.com/python/mypy/commit/42d50778078e54331a38201cf6ad8c3e6e9b3c87"><code>42d5077</code></a> Re-sync typeshed (<a href="https://github-redirect.dependabot.com/python/mypy/issues/8901">#8901</a>)</li> <li><a href="https://github.com/python/mypy/commit/f94fc7e251330f7e3668aea1f062cdbae1ed7232"><code>f94fc7e</code></a> [mypyc] Implement CallC IR (<a href="https://github-redirect.dependabot.com/python/mypy/issues/8880">#8880</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v0.770...v0.782">compare view</a></li> </ul> </details> <br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+1 -1

0 comment

1 changed file

dependabot-preview[bot]

pr closed time in 4 days

push eventbrettcannon/python-project-template

Brett Cannon

commit sha 422dcb8b96cb051631bc6d675be97d6880c2c705

Add isort to pre-commit (#21)

view details

push time in 4 days

delete branch brettcannon/python-project-template

delete branch : isort

delete time in 4 days

create barnchbrettcannon/python-project-template

branch : isort

created branch time in 4 days

issue commentpython/core-workflow

GitHub Actions issues not triggering

Did we shove all of these into a single file with this trick due to requiring status checks that don't get run blocks a PR?

zooba

comment created time in 5 days

push eventpython/peps

Brett Cannon

commit sha 06d41486dee3d5748e7e6b7f64cae824ef6a226f

PEP 621: note that `license` could eventually have a "type" field

view details

push time in 5 days

pull request commentmicrosoft/vscode-python

Adding docstrings to snippets

@alannt777 we can see the individual changes to the snippets, but the fact that https://github.com/microsoft/vscode-python/pull/13343/files shows all other line as also changed is what I'm wondering about (if they weren't changed then the diff would only show the 5 lines you directly changed instead of all 175 lines). My guess is you have VS Code set up to do some formatting on save and that tweaked something.

Maybe it's the line endings?

alannt777

comment created time in 5 days

issue commentbrettcannon/mousebender

Feature suggestion: Package finder

Short answer: I don't know. 😄

Thinking out loud, what @d3r3kk and I would like to see this project eventually become is an example of an installer that only follows standards and other packages implementing those standards and help identify package gaps in the ecosystem (i.e. simplified pip for a modern age to show what's possible with defined specs 😉 ). Now I will fully admit we have not had a serious conversation of maintenance and where we want to ultimately draw the line on things. For instance, the Simple API stuff should end up in 'packaging' (and our plan is it will as soon as 'packaging' drops its Python 2 support), so I have been viewing the current API as provisional and a testing ground before we upstream to 'packaging'. When that happens this project becomes nothing more than a CLI demo/dirt-simple installer.

For your specific suggestion to provide a high-level wrapper (that I would assume would build on #24 to smooth out the overall "get me a URL to download the best-fitting wheel" logic), it could go here as I don't see that going into 'packaging'. But we also haven't talked about whether we want mousebender to be a library in its own right long-term. And I'm not arguing against it, either; having a project which provides higher-level APIs that every installer would logically need would be useful to projects like pip or anyone else who wants to conceivably be crazy enough to want to write an installer. 😉

So I'm going to tentatively say, "sure, it can go here" if @d3r3kk is okay with the idea that we will clearly orient this project to providing the high-level APIs necessary to do installations following packaging specs (in a sans-I/O manner, of course 😁 ) and we continue to try and push things upstream to other libraries where appropriate/possible. IOW this project provides the higher-level API that pip doesn't want to provide. 😉

BTW, using the term "finder" is doing my head in thanks to what they are for importers. 😄 That doesn't mean it's the wrong name, though.

pfmoore

comment created time in 5 days

pull request commentpython/peps

Fix RST backticks

Thanks!

hugovk

comment created time in 5 days

push eventpython/peps

Hugo van Kemenade

commit sha ba36cccc2dd0a9370e6b299b86ffa1e7abd92d6f

Fix RST backticks (#1554)

view details

push time in 5 days

PR merged python/peps

Fix RST backticks CLA signed

<!--

Please include the PEP number in the pull request title, example:

PEP NNN: Summary of the changes made

In addition, please sign the CLA.

For more information, please read our Contributing Guidelines (CONTRIBUTING.rst)

-->

Update:

  • PEP 12
  • PEP 548
  • PEP 554
  • PEP 565
  • PEP 572
  • PEP 573
  • PEP 575
  • PEP 588
  • PEP 591
  • PEP 595
  • PEP 605
  • PEP 610
  • PEP 613
  • PEP 621
  • PEP 622

In Markdown, single backticks are for inline code: for_example_like_this

In reStructuredText, single backticks are for "interpreted text" and "domain- or application-dependent" (see table below).

  • On https://www.python.org/dev/peps/ it's rendered as italics.
  • For example: https://www.python.org/dev/peps/pep-0548/#semantics
  • Most of these should use double backticks for inline_code
  • Some have a misplaced _ and are meant to be hypertext references
  • I don't think any of these were meant to be italics, but if so let's use single asterisks

Ref:

table from link below

  • https://docutils.sourceforge.io/docs/user/rst/quickref.html#inline-markup

I'll send another PR to suggest adding linting to the CI (unless you'd prefer it here?).

+47 -47

0 comment

15 changed files

hugovk

pr closed time in 5 days

pull request commentmicrosoft/vscode-python

Adding docstrings to snippets

@alannt777 if you look at the diff in this PR you will see that GitHub thinks you tweaked the whitespace for the entire file. I personally am not seeing what changed, but GitHub seems to think something is different enough to cause it to show the entire file as changed and only showing your direct change when you have GitHub ignore whitespace.

alannt777

comment created time in 5 days

issue commentbrettcannon/mousebender

Feature suggestion: Filename parsing logic

@pfmoore thanks for the info and suggestion! I'm waiting for the sdist discussion to settle and seeing where it ends up before moving forward with anything.

uranusjr

comment created time in 5 days

pull request commentmicrosoft/vscode-python

Adding docstrings to snippets

@alannt777 do you happen to know how the whitespace was changed in your PR to cause the entire file to be flagged as changing?

alannt777

comment created time in 5 days

Pull request review commentpython/peps

Fix RST backticks

 across the codebase.  With explicit aliases, the type checker has enough information to error on the actual definition of the bad type alias, and explain why: that :code:`MyGeneric(int)`-and `InvalidType` are not valid types. When the value expression is no longer+and code:`InvalidType` are not valid types. When the value expression is no longer

I believe @tk0miya is suggesting:

and :code:`InvalidType` are not valid types. When the value expression is no longer

But we are not using docutils, so it probably should be:

and ``InvalidType`` are not valid types. When the value expression is no longer
hugovk

comment created time in 6 days

pull request commentpypa/packaging

Make NormalizedName visible at runtime

And to be clear, from __future__ import annotations is the equivalent of using strings for type annotations everywhere.

sbidoul

comment created time in 6 days

push eventbrettcannon/free-labour

Brett Cannon

commit sha 46af33890782710a16dd607479e231ad6c6586df

Add rust-cargo-install action

view details

push time in 6 days

delete branch brettcannon/install

delete branch : patch-1

delete time in 6 days

issue commentmicrosoft/vscode-python

Documentation for how to format docstrings for correct tooltips using Jedi

@Lexicality not that I'm aware of (I don't believe they have added specific docstring format support yet; I would open an issue on their repo).

Lexicality

comment created time in 6 days

push eventpython/bedevere

dependabot-preview[bot]

commit sha faccd26f6e6711d8f35f738369dbb9279dc9461f

Bump sentry-sdk from 0.16.2 to 0.16.3 (#253) Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.16.2 to 0.16.3. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGES.md) - [Commits](https://github.com/getsentry/sentry-python/compare/0.16.2...0.16.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

view details

push time in 7 days

PR merged python/bedevere

Bump sentry-sdk from 0.16.2 to 0.16.3 CLA signed dependencies

Bumps sentry-sdk from 0.16.2 to 0.16.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>0.16.3</h2> <ul> <li>Fix AWS Lambda support for Python 3.8.</li> <li>The AWS Lambda integration now captures initialization/import errors for Python 3.</li> <li>The AWS Lambda integration now supports an option to warn about functions likely to time out.</li> <li>Testing for RQ 1.5</li> <li>Flip default of <code>traceparent_v2</code>. This change should have zero impact. The flag will be removed in 0.17.</li> <li>Fix compatibility bug with Django 3.1.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/blob/master/CHANGES.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>0.16.3</h2> <ul> <li>Fix AWS Lambda support for Python 3.8.</li> <li>The AWS Lambda integration now captures initialization/import errors for Python 3.</li> <li>The AWS Lambda integration now supports an option to warn about functions likely to time out.</li> <li>Testing for RQ 1.5</li> <li>Flip default of <code>traceparent_v2</code>. This change should have zero impact. The flag will be removed in 0.17.</li> <li>Fix compatibility bug with Django 3.1.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/c9cf0912f4371a67157b93c9650a3e801b5621f3"><code>c9cf091</code></a> release: 0.16.3</li> <li><a href="https://github.com/getsentry/sentry-python/commit/9d7db6399d186403ec6dac24247b857d123c6450"><code>9d7db63</code></a> doc: Changelog for 0.16.3</li> <li><a href="https://github.com/getsentry/sentry-python/commit/e26d7b8a7ddff29037e6018eab23e8ca3eebad75"><code>e26d7b8</code></a> fix(django): Patch <strong>self</strong> onto middlewares (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/773">#773</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/fc3f747e4bb7ed9e6a912afca92751a4dc22fd89"><code>fc3f747</code></a> fix: Fix AWS Lambda under Python 3.8 and refactor test setup code (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/766">#766</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/90e2509d15efeba0180a4c0ba14cb3bab8d1d146"><code>90e2509</code></a> fix: Remove obsolete code comments and fip default of traceparent_v2</li> <li><a href="https://github.com/getsentry/sentry-python/commit/f7c494b5d3fb6ad59e15a930650f774e2c4324aa"><code>f7c494b</code></a> Capturing Initialization and Timeout errors for AWS Lambda Integration (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/756">#756</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/62a6d3260c31bdd3c21fa7da31ae8b75b595aa17"><code>62a6d32</code></a> test: Add rq 1.5 to test matrix (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/768">#768</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/28e3ca5987e809608292d3da7dc5848e1594b7b4"><code>28e3ca5</code></a> chore: Upgrade all linter/docs Travis jobs to 3.8</li> <li><a href="https://github.com/getsentry/sentry-python/commit/3a4be1c31e4e31e71993d5ef7898e1d9b0d34d60"><code>3a4be1c</code></a> chore: Fix latest flake8 breakage and pin all linters</li> <li><a href="https://github.com/getsentry/sentry-python/commit/4441360e6c3fcaba1b765cce7a230ba3f8cd1ef5"><code>4441360</code></a> Merge release/0.16.2 into master</li> <li>See full diff in <a href="https://github.com/getsentry/sentry-python/compare/0.16.2...0.16.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+1 -1

1 comment

1 changed file

dependabot-preview[bot]

pr closed time in 7 days

pull request commentpypa/packaging

Make NormalizedName visible at runtime

What version of Python is this for? Can you use from __future__ import annotations?

sbidoul

comment created time in 7 days

delete branch python/bedevere

delete branch : dependabot/pip/yarl-1.5.1

delete time in 7 days

push eventpython/bedevere

dependabot-preview[bot]

commit sha a5235d47ac01d38d6435cc3c4f1b1fb4c4456163

Bump yarl from 1.4.2 to 1.5.1 (#252) Bumps [yarl](https://github.com/aio-libs/yarl) from 1.4.2 to 1.5.1. - [Release notes](https://github.com/aio-libs/yarl/releases) - [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/yarl/compare/v1.4.2...v1.5.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

view details

push time in 7 days

PR merged python/bedevere

Bump yarl from 1.4.2 to 1.5.1 CLA signed dependencies

Bumps yarl from 1.4.2 to 1.5.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aio-libs/yarl/blob/master/CHANGES.rst">yarl's changelog</a>.</em></p> <blockquote> <h1>1.5.1 (2020-08-01)</h1> <h2>Bugfixes</h2> <ul> <li>Fix including relocated internal <code>yarl._quoting_c</code> C-extension into published PyPI dists. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/485">#485</a></li> </ul> <h2>Misc</h2> <ul> <li><a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/484">#484</a></li> </ul> <hr /> <h1>1.5.0 (2020-07-26)</h1> <h2>Features</h2> <ul> <li> <p>Convert host to lowercase on URL building. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/386">#386</a></p> </li> <li> <p>Allow using <code>mod</code> operator (%) for updating query string (an alias for <code>update_query()</code> method). <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/435">#435</a></p> </li> <li> <p>Allow use of sequences such as <code>list</code> and <code>tuple</code> in the values of a mapping such as <code>dict</code> to represent that a key has many values:</p> <pre><code>url = URL("http://example.com") assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2") </code></pre> <p><a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/443">#443</a></p> </li> <li> <p>Support URL.build() with scheme and path (creates a relative URL). <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/464">#464</a></p> </li> <li> <p>Cache slow IDNA encode/decode calls. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/476">#476</a></p> </li> <li> <p>Add <code>@final</code> / <code>Final</code> type hints <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/477">#477</a></p> </li> <li> <p>Support URL authority/raw_authority properties and authority argument of <code>URL.build()</code> method. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/478">#478</a></p> </li> <li> <p>Hide the library implementation details, make the exposed public list very clean. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/483">#483</a></p> </li> </ul> <h2>Bugfixes</h2> <ul> <li>Fix tests with newer Python (3.7.6, 3.8.1 and 3.9.0+). <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/409">#409</a></li> <li>Fix a bug where query component, passed in a form of mapping or sequence, is unquoted in unexpected way. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/426">#426</a></li> <li>Hide Query and QueryVariable type aliases in init.pyi, now they are prefixed with underscore. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/431">#431</a></li> <li>Keep ipv6 brackets after updating port/user/password. <a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/451">#451</a></li> </ul> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aio-libs/yarl/commit/9794e632eb290862eee53558760a106e2163bb59"><code>9794e63</code></a> Bump to 1.5.1</li> <li><a href="https://github.com/aio-libs/yarl/commit/50c309631537d97a0eee6fbfc25557f57391a180"><code>50c3096</code></a> Fix MANIFEST.in to reflect changed C file names (<a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/489">#489</a>)</li> <li><a href="https://github.com/aio-libs/yarl/commit/88559d453aff19c6344f673f68ae373caba31802"><code>88559d4</code></a> Bump pytest from 6.0.0 to 6.0.1 (<a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/488">#488</a>)</li> <li><a href="https://github.com/aio-libs/yarl/commit/1c62737d61d503de3d856581203cb61de80d2703"><code>1c62737</code></a> Bump sphinxcontrib-spelling from 5.1.2 to 5.2.0 (<a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/487">#487</a>)</li> <li><a href="https://github.com/aio-libs/yarl/commit/fcece873b48b9cd9f9f208393878a73b6c24ba12"><code>fcece87</code></a> Bump pytest from 5.4.3 to 6.0.0 (<a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/486">#486</a>)</li> <li><a href="https://github.com/aio-libs/yarl/commit/c6b6be37bc6664877b31dc45e1969e5d0df888da"><code>c6b6be3</code></a> Require typing_extensions for py<3.8 only (<a href="https://github-redirect.dependabot.com/aio-libs/yarl/issues/484">#484</a>)</li> <li><a href="https://github.com/aio-libs/yarl/commit/b73957c1638344ef6718bd9179c018ba9018f0eb"><code>b73957c</code></a> Bump to 1.6.0a0</li> <li><a href="https://github.com/aio-libs/yarl/commit/56c47c6f60c3815feac259c668a9b8c13e3f2b14"><code>56c47c6</code></a> Fix twine check</li> <li><a href="https://github.com/aio-libs/yarl/commit/5f7b2a88d95ecfc3aeb7410ce8f26b77e8fad8db"><code>5f7b2a8</code></a> Fix docs</li> <li><a href="https://github.com/aio-libs/yarl/commit/362fcb14e764dc4cf39ad874038ccc3df1e698e7"><code>362fcb1</code></a> Bump to 1.5.0</li> <li>Additional commits viewable in <a href="https://github.com/aio-libs/yarl/compare/v1.4.2...v1.5.1">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+1 -1

1 comment

1 changed file

dependabot-preview[bot]

pr closed time in 7 days

delete branch python/bedevere

delete branch : dependabot/pip/pytest-6.0.1

delete time in 7 days

push eventpython/bedevere

dependabot-preview[bot]

commit sha 48a2bf59ce39aa4cf25aaa4dafaf072470b53646

Bump pytest from 5.4.3 to 6.0.1 (#251) Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.3 to 6.0.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.4.3...6.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

view details

push time in 7 days

PR merged python/bedevere

Bump pytest from 5.4.3 to 6.0.1 CLA signed dependencies

Bumps pytest from 5.4.3 to 6.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>6.0.1</h2> <h1>pytest 6.0.1 (2020-07-30)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7394">#7394</a>: Passing an empty <code>help</code> value to <code>Parser.add_option</code> is now accepted instead of crashing when running <code>pytest --help</code>. Passing <code>None</code> raises a more informative <code>TypeError</code>.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7558">#7558</a>: Fix pylint <code>not-callable</code> lint on <code>pytest.mark.parametrize()</code> and the other builtin marks: <code>skip</code>, <code>skipif</code>, <code>xfail</code>, <code>usefixtures</code>, <code>filterwarnings</code>.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7559">#7559</a>: Fix regression in plugins using <code>TestReport.longreprtext</code> (such as <code>pytest-html</code>) when <code>TestReport.longrepr</code> is not a string.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7569">#7569</a>: Fix logging capture handler's level not reset on teardown after a call to <code>caplog.set_level()</code>.</li> </ul> <h2>6.0.0</h2> <h1>pytest 6.0.0 (2020-07-28)</h1> <p>(<strong>Please see the full set of changes for this release also in the 6.0.0rc1 notes below</strong>)</p> <h2>Breaking Changes</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5584">#5584</a>: <strong>PytestDeprecationWarning are now errors by default.</strong></p> <p>Following our plan to remove deprecated features with as little disruption as possible, all warnings of type <code>PytestDeprecationWarning</code> now generate errors instead of warning messages.</p> <p><strong>The affected features will be effectively removed in pytest 6.1</strong>, so please consult the <a href="https://docs.pytest.org/en/latest/deprecations.html">Deprecations and Removals</a> section in the docs for directions on how to update existing code.</p> <p>In the pytest <code>6.0.X</code> series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your <code>pytest.ini</code> file:</p> <pre lang="{.sourceCode" data-meta=".ini}"><code>[pytest] filterwarnings = ignore::pytest.PytestDeprecationWarning </code></pre> <p>But this will stop working when pytest <code>6.1</code> is released.</p> <p><strong>If you have concerns</strong> about the removal of a specific feature, please add a comment to <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5584">#5584</a>.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7472">#7472</a>: The <code>exec_()</code> and <code>is_true()</code> methods of <code>_pytest._code.Frame</code> have been removed.</p> </li> </ul> <p>Features</p> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst">pytest's changelog</a>.</em></p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/92af2e22d276d6f9b6aca4435ec19af81ffaea49"><code>92af2e2</code></a> Prepare release version 6.0.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0307213254ca29b55fb6ddb6ba20c4687713e785"><code>0307213</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7582">#7582</a> from bluetech/backport-7581</li> <li><a href="https://github.com/pytest-dev/pytest/commit/df7b26704db18a75188d7bb6630b549817f529da"><code>df7b267</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7581">#7581</a> from bluetech/logging-setlevel-handler-restore</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15167808293254d415eefaf57be330c30e6db322"><code>1516780</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7578">#7578</a> from nicoddemus/backport-7555</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b945b39b0bca9bc165e01e7d8cc6ae5963b386fc"><code>b945b39</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7577">#7577</a> from nicoddemus/backport-7427</li> <li><a href="https://github.com/pytest-dev/pytest/commit/2d5b8a85c2a5e755b304dfff7552ab9b494eb5fd"><code>2d5b8a8</code></a> Warn about --basetemp removing the entire directory (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7555">#7555</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/8963644da3c960591393c64937a4383d5c6d0caf"><code>8963644</code></a> Fix --help crash on add_ini(.., help='') and improve message on help=None (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7">#7</a>...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e8761576cde52e7ccc73bca938ec734e8222f907"><code>e876157</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7574">#7574</a> from nicoddemus/backport-7561</li> <li><a href="https://github.com/pytest-dev/pytest/commit/3d2c114883b57a678a4e89dfc5780dc05406a359"><code>3d2c114</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7573">#7573</a> from nicoddemus/backport-7571</li> <li><a href="https://github.com/pytest-dev/pytest/commit/fe252848c56e081fc7eb1b98cd60e33ee33b7dd7"><code>fe25284</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7561">#7561</a> from nicoddemus/longreprtext-7559</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/5.4.3...6.0.1">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+1 -1

1 comment

1 changed file

dependabot-preview[bot]

pr closed time in 7 days

pull request commentmicrosoft/vscode-python

August Release Update

Update languageServerVersion in package.json to point to the latest version of the Language Server

There hasn't been a new update, so there's nothing to do here.

Make sure the "Thanks" section is up-to-date (e.g. compare to versions in requirements.json)

That should say requirements.txt.

Add any relevant news entries for debugpy and the language server if they were updated

MPLS is fine. You can ask Pavel and/or Karthik for debugpy info.

Update ThirdPartyNotices-Repository.txt as appropriate

Only need to if someone committed code directly to the repo from a third-party source. People should be updating that file as code is added, but this TODO item is there to make sure no one forgot.

I think these two are both no-op?

If by "these" two you mean both third-party notices file, then that's very likely not true. the third-party notice (TPN) file for distribution could very well be updated based purely on a version update. So if there has been any change to package-lock.json (which there almost always is), then you need to regenerate the TPN file.

IanMatthewHuff

comment created time in 7 days

push eventmicrosoft/vscode-python

Brett Cannon

commit sha 4909821f7b6bc489a22d29d831e4408aeabccf5a

Update mention of requirements.txt

view details

push time in 7 days

Pull request review commentbeeware/toga

Re-add on_exit event handler; call show for second window to winforms backend

 def action_save_file_dialog(self, widget):         except ValueError:             self.label.text = "Save file dialog was canceled" +    def action_open_secondary_window(self, widget):+        # Problems:+        # - Setting secondary window's `app` manually+        # - Secondary window's `icon` is not set+        def close_handler(win):+            self.window_count -= 1+            self.set_window_label_text()+        window = toga.Window(title="New Window {}".format(self.window_count))+        self.window_count += 1+        self.set_window_label_text()+        secondary_label = toga.Label(text="You are in secondary window!")+        window.content = toga.Box(+            children=[+                secondary_label+            ],+            style=Pack(+                flex=1,+                direction=COLUMN,+                padding=10+            )+        )+        window.app = self+        window.on_close = close_handler+        window.show()++    def exit_handler(self, app, cancel_exit):

I am most definitely not a Windows expert so I can't really answer what the UX should be here.

obulat

comment created time in 7 days

issue commentmicrosoft/vscode-python

Documentation for how to format docstrings for correct tooltips using Jedi

As a general note, this issue is specifically targeted at Jedi (I have updated the title accordingly). If you are having issues with Pylance, then please report them at https://github.com/microsoft/pylance-release.

Lexicality

comment created time in 7 days

push eventpython/the-knights-who-say-ni

dependabot-preview[bot]

commit sha 26331106d7ee21d0cce4c4e48f7ebbd8f6da2b30

Bump sentry-sdk from 0.16.2 to 0.16.3 (#239) Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.16.2 to 0.16.3. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGES.md) - [Commits](https://github.com/getsentry/sentry-python/compare/0.16.2...0.16.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

view details

push time in 7 days

PR merged python/the-knights-who-say-ni

Bump sentry-sdk from 0.16.2 to 0.16.3 CLA signed dependencies

Bumps sentry-sdk from 0.16.2 to 0.16.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>0.16.3</h2> <ul> <li>Fix AWS Lambda support for Python 3.8.</li> <li>The AWS Lambda integration now captures initialization/import errors for Python 3.</li> <li>The AWS Lambda integration now supports an option to warn about functions likely to time out.</li> <li>Testing for RQ 1.5</li> <li>Flip default of <code>traceparent_v2</code>. This change should have zero impact. The flag will be removed in 0.17.</li> <li>Fix compatibility bug with Django 3.1.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/blob/master/CHANGES.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>0.16.3</h2> <ul> <li>Fix AWS Lambda support for Python 3.8.</li> <li>The AWS Lambda integration now captures initialization/import errors for Python 3.</li> <li>The AWS Lambda integration now supports an option to warn about functions likely to time out.</li> <li>Testing for RQ 1.5</li> <li>Flip default of <code>traceparent_v2</code>. This change should have zero impact. The flag will be removed in 0.17.</li> <li>Fix compatibility bug with Django 3.1.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/c9cf0912f4371a67157b93c9650a3e801b5621f3"><code>c9cf091</code></a> release: 0.16.3</li> <li><a href="https://github.com/getsentry/sentry-python/commit/9d7db6399d186403ec6dac24247b857d123c6450"><code>9d7db63</code></a> doc: Changelog for 0.16.3</li> <li><a href="https://github.com/getsentry/sentry-python/commit/e26d7b8a7ddff29037e6018eab23e8ca3eebad75"><code>e26d7b8</code></a> fix(django): Patch <strong>self</strong> onto middlewares (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/773">#773</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/fc3f747e4bb7ed9e6a912afca92751a4dc22fd89"><code>fc3f747</code></a> fix: Fix AWS Lambda under Python 3.8 and refactor test setup code (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/766">#766</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/90e2509d15efeba0180a4c0ba14cb3bab8d1d146"><code>90e2509</code></a> fix: Remove obsolete code comments and fip default of traceparent_v2</li> <li><a href="https://github.com/getsentry/sentry-python/commit/f7c494b5d3fb6ad59e15a930650f774e2c4324aa"><code>f7c494b</code></a> Capturing Initialization and Timeout errors for AWS Lambda Integration (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/756">#756</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/62a6d3260c31bdd3c21fa7da31ae8b75b595aa17"><code>62a6d32</code></a> test: Add rq 1.5 to test matrix (<a href="https://github-redirect.dependabot.com/getsentry/sentry-python/issues/768">#768</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/28e3ca5987e809608292d3da7dc5848e1594b7b4"><code>28e3ca5</code></a> chore: Upgrade all linter/docs Travis jobs to 3.8</li> <li><a href="https://github.com/getsentry/sentry-python/commit/3a4be1c31e4e31e71993d5ef7898e1d9b0d34d60"><code>3a4be1c</code></a> chore: Fix latest flake8 breakage and pin all linters</li> <li><a href="https://github.com/getsentry/sentry-python/commit/4441360e6c3fcaba1b765cce7a230ba3f8cd1ef5"><code>4441360</code></a> Merge release/0.16.2 into master</li> <li>See full diff in <a href="https://github.com/getsentry/sentry-python/compare/0.16.2...0.16.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+1 -1

0 comment

1 changed file

dependabot-preview[bot]

pr closed time in 7 days

issue commentpython/core-workflow

Travis CI doesn't report its status or doesn't run on Python pull requests

@vstinner nope. I believe we lost our connection there after their big round of layoffs after being acquired.

vstinner

comment created time in 7 days

pull request commentbrettcannon/python-launcher

Add a test case to indicate shebang including invalid utf-8 char

Thanks, @u5surf !

u5surf

comment created time in 7 days

push eventbrettcannon/python-launcher

Y.Horie

commit sha 2361a7f9b90efc3577cf4b098f16f46c53acbe8f

Add a test case to indicate shebang including invalid utf-8 char (#29)

view details

push time in 7 days

PR merged brettcannon/python-launcher

Add a test case to indicate shebang including invalid utf-8 char

To fixes #28, cover the test for https://codecov.io/gh/brettcannon/python-launcher/src/master/src/cli.rs#L148


  • [x] UNDERSTOOD: Brett is using this project to teach himself Rust, so I will not feel offended if he chooses not to accept this PR in order for him to learn how to do something on his own. (PRs to do something more idiomatically are very much appreciated, though.)
+7 -0

2 comments

1 changed file

u5surf

pr closed time in 7 days

issue closedbrettcannon/python-launcher

Get to 100% test coverage

https://codecov.io/gh/brettcannon/python-launcher

closed time in 7 days

brettcannon

PR opened actions-rs/install

Fix a grammar mistake in the table of contents
+1 -1

0 comment

1 changed file

pr created time in 7 days

push eventbrettcannon/install

Brett Cannon

commit sha 7a834c9d929478d22c98ef212d4ad62111f8a27c

Fix a grammar mistake in the table of contents

view details

push time in 7 days

fork brettcannon/install

⏩ GitHub Action for a faster binary crates installation

https://github.com/marketplace/actions/rust-cargo-install

fork in 7 days

issue commentpython/steering-council

Submission for SC consideration: PEP 612 "Parameter Specification Variables"

I've added the PEP to the agenda for our next meeting.

mrkmndz

comment created time in 7 days

push eventu5surf/python-launcher

Brett Cannon

commit sha ab356209b83ecb801b36e24db0c650b305a22f34

Touch up an acronym's formatting

view details

push time in 7 days

Pull request review commentbrettcannon/python-launcher

Add a test case to indicate shebang including invalid utf-8 char

 mod tests {     fn parse_python_shebang_tests(shebang: &str) -> Option<RequestedVersion> {         parse_python_shebang(&mut shebang.as_bytes())     }++    #[test_case(&[0x23, 0x21, 0xc0, 0xaf] => None ; "invalid utf8")]
    #[test_case(&[0x23, 0x21, 0xc0, 0xaf] => None ; "invalid UTF-8")]
u5surf

comment created time in 7 days

CommitCommentEvent

issue commentbrettcannon/mousebender

Feature suggestion: Filename parsing logic

FYI the discussion on file names of sdists is happening at https://discuss.python.org/t/pep-625-file-name-of-a-source-distribution/4686/.

uranusjr

comment created time in 8 days

issue commentmicrosoft/vscode-python

Support poetry virtual environments

@fredrikaverpil we are literally rewriting the entire environment discovery code as we speak and that is not something we can do quickly nor mess up. So unfortunately no ETA for this specific feature request ATM, but what I can say is we still plan to tackle this feature request once that rewrite is complete.

wy193777

comment created time in 8 days

issue commentmicrosoft/vscode-python

Tkinter not working with VSCode

For anyone having issues with this, chances are you are following instructions for Python 2 code while running Python 3. In Python 2 the module was named Tkinter, but in Python 3 its name was made all lowercase as tkinter to match the rest of Python's standard library.

14sprouj

comment created time in 8 days

pull request commentbrettcannon/python-launcher

Add a test case to indicate shebang including invalid utf-8 char

@u5surf I just wanted to say thanks for the PR and that I am not purposefully ignoring it; just been too busy to work on this project lately. But I will eventually review it.

u5surf

comment created time in 14 days

PR closed python/peps

PEP 9999: A metadata format for entry points CLA not signed
+111 -0

4 comments

1 changed file

KOLANICH

pr closed time in 14 days

pull request commentpython/peps

PEP 9999: A metadata format for entry points

Closing due to lack of previous discussion in a public forum (preferably https://discuss.python.org/c/packaging/14) and lack of sponsor. Please see https://www.python.org/dev/peps/pep-0001/ for details on the overall process and do note that packaging PEPs have their own specific set of potential sponsors.

KOLANICH

comment created time in 14 days

Pull request review commentpython/peps

PEP 612: Updating PEP metadata

 Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 18-Dec-2019-Python-Version: 3.9-Post-History: 18-Dec-2019+Python-Version: 3.10+Post-History: 13-Jul-2020

If this has been posted twice, then you should list all dates, not just the latest one.

Post-History: 18-Dec-2019, 13-Jul-2020
mrkmndz

comment created time in 14 days

issue closedpython/peps

[PEP 604] Clarify interaction with ForwardRef

Good to see this PEP being revived! One the things I noticed when this was first introduced last year is that it doesn't specify how it interacts with ForwardRef. eg:

>>> from typing import Union
>>> Union[int, 'str']
typing.Union[int, ForwardRef('str')]
>>>  int | 'str'
# should this raise an error, or return the same as above?

closed time in 14 days

Naddiseo

issue commentpython/peps

[PEP 604] Clarify interaction with ForwardRef

I am closing this as the issue should be brought up directly with the PEP author (this issue tracker is meant for the peps repo, not individual PEPs).

I'm also flagging @gvanrossum as PEP delegate as an FYI.

Naddiseo

comment created time in 14 days

pull request commentpython/cpython

bpo-41426 Fix grammar in curses.getmouse() documentation

@foxyblue thanks!

foxyblue

comment created time in 14 days

issue closedpython/core-workflow

Enable GitHub's autolink to external issue tracker

New GitHub feature: automatically link to an external resource, eg. to bpo issues.

https://help.github.com/en/articles/configuring-autolinks-to-reference-external-resources

  • [x] Enable the autolink in CPython repo
  • [ ] Remove autolink in bedevere

closed time in 14 days

Mariatta

issue commentpython/core-workflow

Enable GitHub's autolink to external issue tracker

Closing as this has been done.

Mariatta

comment created time in 14 days

issue closedpython/core-workflow

Make Travis CI (and Windows x64 ?) mandatory

Azure Pipelines CI was made optional by @brettcannon: https://bugs.python.org/issue39837

Problem: now, there is no more mandatory CI on Python pull requests. It became possible to merge a PR even if all CIs fail.

I would prefer to also have the Windows 64-bit CI (GitHub Action) mandatory, but I'm not sure if it's possible to only make a single GitHub Action mandatory?

closed time in 14 days

vstinner

issue commentpython/core-workflow

Make Travis CI (and Windows x64 ?) mandatory

Both WIndows x64 and Travis are currently required, so closing.

vstinner

comment created time in 14 days

PullRequestEvent

PR closed python/cpython

bpo-41426 Fix grammar in curses.getmouse() documentation :robot: automerge CLA signed awaiting merge needs backport to 3.8 needs backport to 3.9 skip news type-documentation

<!-- issue-number: bpo-41426 --> https://bugs.python.org/issue41426 <!-- /issue-number -->

Automerge-Triggered-By: @brettcannon

+1 -1

1 comment

1 changed file

foxyblue

pr closed time in 14 days

push eventfoxyblue/cpython

Brett Cannon

commit sha a720ad1fd6911a8565ac0b7eb5d8a131ae606bc4

Delete news entry

view details

push time in 14 days

issue closedmicrosoft/vscode-python

Error when Importing sqlite3 module with VS Code

<!-- Please search existing issues to avoid creating duplicates. -->

Environment data

  • VS Code version: 1.47.3

  • Extension version (available under the Extensions sidebar): v2020.7.96456

  • OS and version: OS Name Microsoft Windows 10 Pro Version 10.0.19041 Build 19041

  • Python version (& distribution if applicable, e.g. Anaconda):Version 10.0.19041 Build 19041

  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): NA

  • Relevant/affected Python packages and their versions: SQLite3

  • Relevant/affected Python-related VS Code extensions and their versions: Python

  • Value of the python.languageServer setting: tht13.python

Steps to reproduce:

create file with the following contents import sqlite3 print(sqlite3.version) ran the file and received the following error: File "c:\Users\howar\Google Drive\PythonCode\database\sqlite3.py", line 1, in <module> import sqlite3 File "c:\Users\howar\Google Drive\PythonCode\database\sqlite3.py", line 2, in <module> print(sqlite3.version) AttributeError: partially initialized module 'sqlite3' has no attribute 'version' (most likely due to a circular import)

I then did a python command 'dir(sqlite3)' on the debug console and received the following:

dir(sqlite3) ['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'spec', 'sqlite3']

where it should be:

Python 3.8.4 (tags/v3.8.4:dfa645a, Jul 13 2020, 16:46:45) [MSC v.1924 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import sqlite3 dir (sqlite3) ['Binary', 'Connection', 'Cursor', 'DataError', 'DatabaseError', 'Date', 'DateFromTicks', 'Error', 'IntegrityError', 'InterfaceError', 'InternalError', 'NotSupportedError', 'OperationalError', 'OptimizedUnicode', 'PARSE_COLNAMES', 'PARSE_DECLTYPES', 'PrepareProtocol', 'ProgrammingError', 'Row', 'SQLITE_ALTER_TABLE', 'SQLITE_ANALYZE', 'SQLITE_ATTACH', 'SQLITE_CREATE_INDEX', 'SQLITE_CREATE_TABLE', 'SQLITE_CREATE_TEMP_INDEX', 'SQLITE_CREATE_TEMP_TABLE', 'SQLITE_CREATE_TEMP_TRIGGER', 'SQLITE_CREATE_TEMP_VIEW', 'SQLITE_CREATE_TRIGGER', 'SQLITE_CREATE_VIEW', 'SQLITE_CREATE_VTABLE', 'SQLITE_DELETE', 'SQLITE_DENY', 'SQLITE_DETACH', 'SQLITE_DONE', 'SQLITE_DROP_INDEX', 'SQLITE_DROP_TABLE', 'SQLITE_DROP_TEMP_INDEX', 'SQLITE_DROP_TEMP_TABLE', 'SQLITE_DROP_TEMP_TRIGGER', 'SQLITE_DROP_TEMP_VIEW', 'SQLITE_DROP_TRIGGER', 'SQLITE_DROP_VIEW', 'SQLITE_DROP_VTABLE', 'SQLITE_FUNCTION', 'SQLITE_IGNORE', 'SQLITE_INSERT', 'SQLITE_OK', 'SQLITE_PRAGMA', 'SQLITE_READ', 'SQLITE_RECURSIVE', 'SQLITE_REINDEX', 'SQLITE_SAVEPOINT', 'SQLITE_SELECT', 'SQLITE_TRANSACTION', 'SQLITE_UPDATE', 'Time', 'TimeFromTicks', 'Timestamp', 'TimestampFromTicks', 'Warning', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'adapt', 'adapters', 'apilevel', 'collections', 'complete_statement', 'connect', 'converters', 'datetime', 'dbapi2', 'enable_callback_tracebacks', 'enable_shared_cache', 'paramstyle', 'register_adapter', 'register_converter', 'sqlite_version', 'sqlite_version_info', 'threadsafety', 'time', 'version', 'version_info']>>>

XXX

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

<!-- Note: If you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ . -->

Logs

<details>

<summary>Output for <code>Python</code> in the <code>Output</code> panel (<code>View</code>→<code>Output</code>, change the drop-down the upper-right of the <code>Output</code> panel to <code>Python</code>) </summary>

<p>

XXX

</p> </details>

closed time in 14 days

hgconrad

issue commentmicrosoft/vscode-python

Error when Importing sqlite3 module with VS Code

This is occurring because you have a file named sqlite3.py in your project which is shadowing the sqlite3 module from Python's standard library. Please rename that file and the issue should go away.

hgconrad

comment created time in 14 days

more