anthony sottile

Results 64 issues of anthony sottile

this is an incremental step towards full adoption of internal pypi

Scope: Backend

data_files is intended to be used to place manual files in the output. the intended mechanism for including the license in the distribution is the `license_file` or `license_files` options --...

Status: In Progress
Scope: Frontend
Scope: Backend

```console $ pip install soupsieve Collecting soupsieve Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB) Installing collected packages: soupsieve Successfully installed soupsieve-2.3.2.post1 $ python3 -c 'import soupsieve' Traceback (most recent call last): File "",...

S: triage

```python #!/usr/bin/env python3 if __name__ == '__main__': import gevent.monkey gevent.monkey.patch_all() import sys print('silly example', file=sys.stderr) ``` ```diff $ isort --diff --append-only --add-import 'from __future__ import annotations' t.py --- /tmp/y/t.py:before 2022-09-14...

### Describe the bug the http request client is assigned to a global variable here: https://github.com/stripe/stripe-python/blob/1ae42227d9df745420c1a3db11893589d91ba83e/stripe/api_requestor.py#L103-L105 requests client is defined here: https://github.com/stripe/stripe-python/blob/1ae42227d9df745420c1a3db11893589d91ba83e/stripe/http_client.py#L287 the `Session` is assigned here: https://github.com/stripe/stripe-python/blob/1ae42227d9df745420c1a3db11893589d91ba83e/stripe/http_client.py#L318-L319 this `Session`...

bug
future

urllib2 (python >=2.7.9) and urllib.request (python>=3.2) do validate ssl for example: ```console $ docker run --rm -ti python:2.7.8-slim python -c 'import urllib2; urllib2.urlopen("https://expired.badssl.com")' $ docker run --rm -ti python:2.7.9-slim python...

upgrading either redis or hiredis will cause this to be strict on str / bytes conversion resolves https://sentry.sentry.io/issues/4957683897

Scope: Backend

# Bug report unfortunately having a really hard time tracking this down -- I've seen #1684 already however this is a concrete model and not an abstract one ## What's...

bug

this isn't a bug but perhaps a suggestion. when rest_framework's `ChoiceField` and `MultipleChoiceField` receive an unordered collection for `choices` it can lead to a negative experience: unordered form output, unordered...

bug