Re: dispatch tables in Python 2.4
Date: Sat, 07 Aug 2004 16:34:02 +0100
email@example.com (Michele Simionato) writes:
> BTW, what's the status of the so called "functional" module? I think
> there was a rumor of such a module scheduled for Python 2.4 or 2.5.
> To play with decorators we really need some standard way to compose
> functions and to do partial application of arguments.
PEP 309 is marked as "Accepted", and an implementation patch exists.
The PEP needs updating, and there are possibly a few more procedural
things to do before the code is checked in. I emailed the author of
the PEP on Friday, asking about this. I think it's mainly lack of
The PEP only covers partial application, BTW.
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
- Re: [Python-Dev] [RELEASED] Python 3.4.0 release candidate 1
... It would be nice to give also the link to the whole changelog in your ... On behalf of the Python development team, ... PEP 436, a build enhancement that will help generate introspection ... adding single-dispatch generic functions to the standard library ...
- Re: python 3 constant
... There aren't true constants in Python, but instead we use a standard ... defined by PEP 8, which states constants are in all caps, for example, ... PEP 8, that is) ...
- Re: indendation question
... > What is the standard and recommended way of indendation one should get to ... The recommendation in the early numbered PEP on style is 4 spaces. ... the standard for the standard library. ...
- Re: singleton decorator
... def singleton: ... if cls not in instances: ... What's the problem with this code because it's only copied for the PEP ... class decorators have not been implemented so far. ...
... He goes on to suggest three needs which decorators serve. ... The possible purposes of the ... that a docstring is a decorator, but is that true of a transformation. ... Example 4 in the PEP 318 illustrates the enforcement of function/method ...