PEP: XXX
Title: Postfix type declarations
Version: $Revision: $
Last-Modified: $Date: $
Author: Georg Brandl [EMAIL PROTECTED]
Status: Draft
Type: Standards Track
Content-Type: text/x-rst
Created: 01-Apr-2007
Python-Version: 3.0
Abstract
This PEP proposes the addition of a postfix type
Brilliant!
On 4/1/07, Georg Brandl [EMAIL PROTECTED] wrote:
def foo${LATIN SMALL LETTER LAMBDA WITH STROKE}$(x${DOUBLE-STRUCK
CAPITAL C}$):
return None${ZERO WIDTH NO-BREAK SPACE}$
This is still easy to read and makes the full power of type-annotated Python
available to ASCII
On 4/1/07, Georg Brandl [EMAIL PROTECTED] wrote:
[...]
Example
===
This is the standard ``os.path.normpath`` function, converted to type
declaration
syntax::
def normpathƛ(path✎)✎:
Normalize path, eliminating double slashes, etc.
if path✎ == '':
return
On 4/1/07, Gustavo Carneiro [EMAIL PROTECTED] wrote:
On 4/1/07, Georg Brandl [EMAIL PROTECTED] wrote:
[...]
Example
===
This is the standard ``os.path.normpath`` function, converted to type
declaration
syntax::
def normpathƛ(path✎)✎:
Normalize path, eliminating
Johann C. Rocholl wrote:
Brilliant!
On 4/1/07, Georg Brandl [EMAIL PROTECTED] wrote:
def foo${LATIN SMALL LETTER LAMBDA WITH STROKE}$(x${DOUBLE-STRUCK
CAPITAL C}$):
return None${ZERO WIDTH NO-BREAK SPACE}$
This is still easy to read and makes the full power of
on 31.03.2007 22:39 Guido van Rossum said the following:
If you ask me, having it hosted by Trent is probably more helpful for
its popularity than putting it in the Python source distro; the Tools
directory is mostly a poorly-maintained collection of trivia I wrote
many years ago that is now
Eric Huss wrote:
Some subclasses of Exception are no longer pickleable in Python 2.5. An
example:
[snip]
Does anyone have any thoughts about this? Is it a bug?
I can imagine one could argue that exceptions should call the base
__init__ method to properly set args, but there are so
It's out of character for the standard library, since (regardless of
whether it's implemented in Python or part of the standard library)
it's a stand-alone utility. I don't see much use for this as a library
module.
On 4/1/07, Stefan Rank [EMAIL PROTECTED] wrote:
on 31.03.2007 22:39 Guido van
Python Doc Problem Example: os.path.split()
Xah Lee, 20050918
Quote from: http://www.python.org/doc/2.4.1/lib/module-os.path.html
«
split(path)
Split the pathname path into a pair, (head, tail) where tail is
the last pathname component and head is everything leading up to
that.
+18446744073709551616 from me too.
This also fits nicely in with my plan to abandon the python-dev and
python-3000 mailing lists. Mailing lists are so 20th century! I
propose that from now on, all Python development should be carried out
on blogs, so that readers can use customized RSS feeds to
Has anyone heard the Python+XUL community cry I'm not dead
yet! or are
they really dead? I haven't seen mentions of new work in these areas
lately. XUL in general seems to have died (so many broken
links on XUL
pages). Was this just a fad? If not, and if there's some
really useful
of
11 matches
Mail list logo