Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types to loose cookies2 #4251

Closed
wants to merge 38 commits into from
Closed

Add types to loose cookies2 #4251

wants to merge 38 commits into from

Conversation

AtomsForPeace
Copy link
Contributor

@AtomsForPeace AtomsForPeace commented Oct 21, 2019

What do these changes do?

Add tests as requested for types that update cookies accept. Adds two more accepted types to LooseCookies.

Are there changes in behavior for the user?

Nope.

Related issue number

#4205

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> for example (588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

asvetlov and others added 30 commits October 10, 2019 02:40
(cherry picked from commit ca0d11a)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 9c77d18)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
The version requirement `= 0` advertised in early development stages was an unfortunate choice, as this is going to be the opt-out once the new build config validation feature will be rolled out further. Please use `~> 1.0` instead.

The conditions version `v1` is now the default, so this key can be removed.
(cherry picked from commit f104e75)

Co-authored-by: Sven Fuchs <me@svenfuchs.com>
(cherry picked from commit 0a9c4ba)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
1. Test code is not a part of public API
2. Test runners displays test docstring instead of test function if present,
   it complicates the code navigation, e.g. opening a failed test in editor etc..
(cherry picked from commit 1864880)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit bbaf125)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Bumps [attrs](https://github.com/python-attrs/attrs) from 19.2.0 to 19.3.0.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst)
- [Commits](python-attrs/attrs@19.2.0...19.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Specify the unit of measure of the timeout.
(cherry picked from commit 32ce31c)

Co-authored-by: Andrea Giacomo Baldan <a.g.baldan@gmail.com>
* Drop Travis CI and Appveyor from build matrix (#4184)

(cherry picked from commit 04a519b)

* [3.6] Drop Travis CI and Appveyor from build matrix (#4184).
(cherry picked from commit 04a519b)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
…) (#4208)

(cherry picked from commit a54956d)

Co-authored-by: JenSte <jens.steinhauser@protonmail.com>
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.7 to 2.8.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](pyca/cryptography@2.7...2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* [3.6] Bump mypy from 0.720 to 0.740

Bumps [mypy](https://github.com/python/mypy) from 0.720 to 0.740.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.720...v0.740)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix types
(cherry picked from commit 993d6e7)

Co-authored-by: Jonathan De Troye <detroyejr@outlook.com>
* add more types to LooseCookies #4205

* predefine the Union types for LooseCookies

* add CHANGES fragment
(cherry picked from commit e048934)

Co-authored-by: Adam Bannister <adam.p.bannister@gmail.com>
The coroutine-style definition of noop causes a warning on Python 3.8.

On master, it has been fixed and noop2 removed. This is the least invasive
way to get rid of the warning in 3.6.
(cherry picked from commit f79f513)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Add versionadded to get_extra_info() documentation
(cherry picked from commit fbc9cf6)

Co-authored-by: Raphael Bialon <rbialon@users.noreply.github.com>
(cherry picked from commit c7d841d)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
) (#4233)

Co-Authored-By: Andrew Svetlov <andrew.svetlov@gmail.com>.
(cherry picked from commit 60e6c22)

Co-authored-by: Zlatan <zlatan.sicanica@gmail.com>
(cherry picked from commit 36bb09d)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 2cdabe2)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
asvetlov and others added 8 commits October 19, 2019 13:46
(cherry picked from commit 564d9cc)

Co-authored-by: polcak <ipolcak@fit.vutbr.cz>
(cherry picked from commit 3cf4104)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
…on class (#4240) (#4242)

* [3.6] Added properties of default ClientSession params to ClientSession class (#4240)
(cherry picked from commit 5f291b0)

Co-authored-by: Pavel Filatov <triksrimer@gmail.com>
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants