Hi!
Has anyone added special syntax to allow writing numeric literals with
physical units? So you can write 12m + 34cm, and would get 12.34m.
My question is how would you modify the BNF the most sensible way to
allow for this? The above example is simple, but think of 42 km/h.
(For my purposes,
A plural class name looks strange (I think it's the first time I see
one in
the CPython codebase). How about another name? (DistributionPool,
DistributionMap, WorkingSet etc.).
Sure, WorkingSet is nice, it's the name used in setuptools,
A WorkingSet and a DistributionDirectories (or whate
Hi everyone,
We're almost to the finish line on 3.1! Assuming that the last release
blocker [1] gets ironed out and no more rear their ugly heads, I will
go ahead. I'm going to freeze and tag the tree on Friday at about
15:00 UTC in order for the binaries to be built and uploaded. The
release annou
2009/6/20 Collin Winter :
> Is this intended to include performance changes? Clearly no-one will
> complain if things simply get faster, but I'm thinking about cases
> where, say, a function runs in half the time but uses double the
> memory (or vice versa).
I don't think we can say anything about
At 05:42 PM 6/22/2009 +0200, Tarek Ziadé wrote:
Wouldn't it be better to use the native line terminator on the current
platform? (someone might want to edit or at least view the file)
Good idea, I'll change that,
As long as the file is always *read* with "U" mode, so that you can't
mess it
On Mon, Jun 22, 2009 at 4:59 PM, Antoine Pitrou wrote:
> - the **MD5** hash of the file, encoded in hex. Notice that `pyc` and
> `pyo`
>generated files will not have a hash.
>
> Why the exception for pyc and pyo files?
As in PEP 262, since they are produced automatically from a py file,
c
Hello,
Tarek Ziadé gmail.com> writes:
>
> so I am mailing it here again, for a new round of feedback, if needed.
>
> - the pep : http://svn.python.org/projects/peps/trunk/pep-0376.txt
Some comments:
- the **MD5** hash of the file, encoded in hex. Notice that `pyc` and `pyo`
generated f
Hello,
We have polished out PEP 376 and its code prototype at Distutils-SIG.
It seems to fullfill now all the requirements,
so I am mailing it here again, for a new round of feedback, if needed.
- the pep : http://svn.python.org/projects/peps/trunk/pep-0376.txt
- the code prototype : http://bit
On Jun 21, 2009, at 5:40 PM, Eric Smith wrote:
I've basically come to accept that %-formatting can never go away,
unfortunately. There are too many places where %-formatting is used,
for example in logging Formatters. %-formatting either has to exist
or it has to be emulated.
It'd possibly