A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006643.html below:

[Python-Dev] posixpath module.

[Python-Dev] posixpath module. [Python-Dev] posixpath module.Alex Coventry alex_c@MIT.EDU
Sat, 15 Jul 2000 15:23:55 -0400 (EDT)
> > Should posixpath.expandvars throw a SyntaxError if it encounters
> > unbalanced curly braces?
> 
> probably not; code using it might not be prepared
> to handle an exception...
> 
> what does the Unix shell do in this case?

It gives an error:

athena% echo ${HOME
Missing }.
athena% echo ${HOME}
/afs/athena.mit.edu/user/a/l/alex_c
athena%

You're probably right about backwards compatibility being worth more
than compatibility with Unix in this case, though.

Alex.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4