break this into multiple statements.
[inspired by a recent python-list question]
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
the use of self on a classmethod to be
incredibly confusing? Can we please follow PEP 8 and use cls
instead?
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
that are now gone.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/1f5bcb67c4c73f15
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
[Thomas Wouters]
[Subclassing string] is my only problem with the PEP. It's all very nice
that subclassing from string makes it easier not to break things, but
subclassing implies a certain relationship.
[Michael Hoffman]
This is the soul of arguing for purity's sake when practicality would
about Path being able to be a drop-in
replacement for str/unicode are useful ones, and explain the use of
joinpath() etc. It is really useful that I can use a Path anywhere I
might have used an str and not have to worry about the conversions.
--
Michael Hoffman [EMAIL PROTECTED]
European
it being in the interpreter rather than in
the stdlib. And some of us have come to love that, too.
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
[Wolfgang]
Or should we switch to camelCase with lowercase first letter ?
As most other Languages prefer this (Java, C#, C++, ...)
They also use curly braces instead of indentation to indicate block
structure. Maybe we should switch to that too. wink
--
Michael Hoffman [EMAIL PROTECTED
every program I write produces its output mainly to stdout. And
I probably use print half the time to produce this output (the rest is
done mostly with csv).
GUI widgets? Who needs 'em?
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
http://docs.python.org/lib/re-objects.html
Dare I ask whether the uncompiled versions should be considered for
removal in Python 3.0?
*puts on his asbestos jacket*
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
___
Python-Dev
On Sun, 26 Jun 2005, Phillip J. Eby wrote:
At 08:19 PM 6/26/2005 +0100, Michael Hoffman wrote:
On Sun, 26 Jun 2005, Phillip J. Eby wrote:
* drop getcwd(); it makes no sense on a path instance
Personally I use path.getcwd() as a class method all the time. It
makes as much sense as fromkeys
is open: the one of naming. As path is already the
name of a module, what would the new object be called to avoid
confusion? pathobj? objpath? Path?
I would argue for Path. It fits with the recent cases of:
from sets import Set
from decimal import Decimal
--
Michael Hoffman [EMAIL PROTECTED
of other stuff using CPython. We run Python
on a 1145-CPU compute farm that consists of Alpha/Tru64 and
Intel/Linux boxes.
--
Michael Hoffman [EMAIL PROTECTED]
European Bioinformatics Institute
___
Python-Dev mailing list
Python-Dev@python.org
http
12 matches
Mail list logo