Django-saml2-auth 3.0.0 Released

2021-01-22 Thread Mostafa Moradian
Hello,

I am pleased to announce the release of django-saml2-auth, which includes
71 commits, 92 lines of commit messages and 3 separate reviews and
reviewers.

The project is originally developed by Li Fang ,
but is forked and currently maintained by Mostafa Moradian <
https://github.com/mostafa> and sponsored by Load Impact AB (https://k6.io).

This release is backward incompatible with older versions: 1.x.x and 2.x.x,
and includes heavy refactoring, improving code readability (docstrings,
annotations, ...), tests, new shiny features and the like. You can read
more about the details in the PR description:
https://github.com/loadimpact/django-saml2-auth/pull/14.

The biggest change so far was adding tests and enabling GitHub Actions as
CI, plus the introduction of SP-initiated SSO. The exception and error
handling is also greatly improved.

Mostafa Moradian.

Project homepage: https://github.com/loadimpact/django-saml2-auth

P.S. It is not published to pypi yet, because of naming issues with the
original package.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: list() strange behaviour

2021-01-22 Thread ast

Le 20/12/2020 à 21:00, danilob a écrit :




b = ((x[0] for x in a))



There is a useless pair of parenthesis

b = (x[0] for x in a)

b is a GENERATOR expression

first list(b) calls next method on b repetedly until b is empty.
So it provides the "content" of b

second list(b) provides nothing since b is empty
(there is no reset on generators)




--
https://mail.python.org/mailman/listinfo/python-list