Path inherits from basestring again
NickC
ncoghlan at gmail.com
Fri Jul 29 20:19:52 EDT 2005
More information about the Python-list mailing list
Fri Jul 29 20:19:52 EDT 2005
- Previous message (by thread): Path inherits from basestring again
- Next message (by thread): Path inherits from basestring again
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Re: alternatives to overloading '/'] Is there a reason the Path constructor is limited to a single argument? If it allowed multiple arguments, the following would seem very straightforward: p = Path(somePath, user.getFolder(), 'archive', oldPath + ".bak") I'm usually not much of a purist, but C++ has convinced me that overloading an operator to mean something entirely unrelated to its mathematical meaning can be very unwise. Regards, Nick C.
- Previous message (by thread): Path inherits from basestring again
- Next message (by thread): Path inherits from basestring again
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list