thing like:
deleting <__main__.X object at 0x01BB1A50>
caught exception, np
made it past the exception
x has been deleted, now what?
"""
# - Jason R. Coombs
--
http://mail.python.org/mailman/listinfo/python-list
'm willing to take up the latter effort if there's agreement this
could be included in the release.
Regards,
Jason R. Coombs
--
http://mail.python.org/mailman/listinfo/python-list
(see lib/urlparse for a prime example of extending the
namedtuple class).
Regards,
Jason
-Original Message-
From: Calvin Spealman [mailto:[EMAIL PROTECTED]
Sent: Friday, 13 June, 2008 12:17
To: Jason R. Coombs
Cc: python-list@python.org
Subject: Re: namedtuple suggestions
On Jun 13, 2008
The current implementation of Python (2.6.4, 3.1.1) treats \bar as a
relative path but reports it as an absolute path.
>>> ntpath.isabs('\\bar')
True
>>> ntpath.abspath('\\bar')
'C:\\bar'
>>> os.chdir('d:\\')
>>> ntpath.abspath('\\bar')
'd:\\bar'
>>> os.chdir('server\\share')
>>> ntpath.abspat
On Nov 20, 3:52 pm, Ethan Furman wrote:
> It is often said on this list that 'Python is not Java'. It is also
> true that 'Windows is not Unix'.
>
> Unlike the *nix world where there is a *single* root, and everything
> else is relative to that, in the Windows world there are several roots
> -- e