[Python-Dev] Path PEP and the division operator (original) (raw)

Guido van Rossum guido at python.org
Sat Feb 4 17:05:59 CET 2006


I won't even look at the PEP as long as it uses / or // (or any other operator) for concatenation.

On 2/3/06, Nick Coghlan <ncoghlan at iinet.net.au> wrote:

I was tinkering with something today, and wondered whether it would cause fewer objections if the PEP used the floor division operator (//) to combine path fragments, instead of the true division operator?

The parallel to directory separators is still there, but the syntax isn't tied quite so strongly to the Unix path separator. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list