Dear python enthusiasts,
--(you can skip this part if you're in a hurry)--
4 years ago I was discovering this great language. Already an experienced
software developer and data scientist at that time, accustomed with both
low-level (C++), Object-Oriented (Java), Query (T-SQL), and Script
different of the version given.
Le sam. 6 juil. 2019 11:13, Sylvain MARIE via Python-ideas
mailto:python-ideas@python.org>> a écrit :
Dear python enthusiasts,
For some industrial project a few years ago we needed a reliable way to get the
version number for a package or module.
I fou
19, 2019 at 12:26 PM Greg Ewing
mailto:greg.ew...@canterbury.ac.nz>> wrote:
Sylvain MARIE via Python-ideas wrote:
> `my_decorator(foo)` when foo is a callable will always look like
> `@my_decorator` applied to function foo, because that's how the language is
> designed.
I don't think it's
6
À : Sylvain MARIE
Cc : David Mertz ; python-ideas
Objet : Re: [Python-ideas] Problems (and solutions?) in writing decorators
[External email: Use caution with links and attachments]
________
Sylvain MARIE via Python-ideas writes:
> I totally understand yo
:30
À : python-ideas@python.org<mailto:python-ideas@python.org>
Objet : Re: [Python-ideas] Problems (and solutions?) in writing decorators
[External email: Use caution with links and attachments]
On Tue, Mar 12, 2019 at 09:36:41AM +, Sylvain MARIE via Python
la part de Steven D'Aprano
Envoyé : mardi 12 mars 2019 12:30
À : python-ideas@python.org<mailto:python-ideas@python.org>
Objet : Re: [Python-ideas] Problems (and solutions?) in writing decorators
[External email: Use caution with links and attachments]
____________
mardi 12 mars 2019 12:30 À :
python-ideas@python.org Objet : Re: [Python-ideas] Problems (and solutions?) in
writing decorators
[External email: Use caution with links and attachments]
On Tue, Mar 12, 2019 at 09:36:41AM +, Sylvain MARIE via Python-ideas wrot
[External email: Use caution with links and attachments]
On Tue, Mar 12, 2019 at 09:36:41AM +0000, Sylvain MARIE via Python-ideas wrote:
> I therefore proposed
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsma
> rie.github.io%2F
Dear python enthusiasts,
Writing python decorators is indeed quite a tideous process, in particular when
you wish to add arguments, and in particular in two cases : all optional
arguments, and one mandatory argument. Indeed in these two cases there is a
need to disambiguate between