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 (MATLAB
very 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 found out
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 found out that there was actually no method working in all edge cases,
including:
* Built-in modules
* Unzipped wheels and eggs added to th
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 t
2019 04:56
À : 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 und
ained in the doc.
Did I answer your questions ?
Thanks again for the quick feedback !
Best,
Sylvain
-Message d'origine-
De : Python-ideas
mailto:se@python.org>>
De la part de Steven D'Aprano
Envoyé : mardi 12 mars 2019 12:30
À : python-ideas@pytho
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 wrote:
> I therefore proposed
> https://emea01.safelinks.pro
De la
part de Steven D'Aprano Envoyé : 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:41
) 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 wrote:
> I therefore proposed
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fs
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 no-parenthes
10 matches
Mail list logo