PEP on path module for standard library

Daniel Dittmar daniel.dittmar at sap.corp
Fri Jul 22 12:36:10 EDT 2005


Duncan Booth wrote:
>  I would have expected a 
> path object to be a sequence of path elements rather than a sequence of 
> characters. 

Maybe it's nitpicking, but I don't think that a path object should be a 
'sequence of path elements' in an iterator context.

This means that

for element in pathobject:

has no intuitive meaning for me, so it shouldn't be allowed.

Daniel



More information about the Python-list mailing list