A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-April/034986.html below:

[Python-Dev] netrc.py

[Python-Dev] netrc.pyEric S. Raymond esr@thyrsus.com
Thu, 24 Apr 2003 14:26:22 -0400
Raymond Hettinger <raymond.hettinger@verizon.net>:
> Bram Moolenaar 
> > > Please at least do not produce the NetrcParseError when the
> > > "login" field is omitted.  This can be done by changing the
> > > "else:" above "malformed %s entry" to "elif not password:".
> > >  That is the minimal change to make this module work on my
> > > system.
> 
> Bram is requesting netrc.py be modified to exclude entries
> without a login field.  An example use case is for mail servers:
> 
>     machine mail          password fruit
> 
> If the change is made, the line won't be handled at all.  It
> would be silently skipped.  Currently is raises a NetrcParseError.
> 
> Do you guys think this is appropriate?  On the one hand,
> it's a bummer that netrc.py cannot currently be used with
> files containing these lines.  On the other hand, silently
> skipping over them doesn't seem quite right either.

As the original designer, I say -1.  It's not clear to me or when how entries
of this kind have value.  But I'm willing to be convinced otherwise by
a good argument.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>



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