[issue14844] netrc does not handle accentuated characters

2021-12-26 Thread Daniel Diniz


Daniel Diniz  added the comment:

Now that a PR has landed in #28806 to improve shlex, we need to check whether 
this issue can/needs to move forward.

--
nosy: +ajaksu2, asvetlov
type:  -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14844] netrc does not handle accentuated characters

2016-11-27 Thread Xiang Zhang

Xiang Zhang added the comment:

I opened #28806 to improve netrc library. This could be solved if it's merged.

--
dependencies: +Improve the netrc library
nosy: +xiang.zhang

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14844] netrc does not handle accentuated characters

2012-05-22 Thread Raphaël Droz

Raphaël Droz raphael.droz+fl...@gmail.com added the comment:

$ python -c import netrc; print 
netrc.netrc('/dev/stdin').authenticators('a')machine a login b password c
('b', None, 'c')

$ python -c import netrc; print 
netrc.netrc('/dev/stdin').authenticators('a')machine a login b password 
héhé
Traceback (most recent call last):
  File string, line 1, in module
  File /usr/lib/python2.7/netrc.py, line 32, in __init__
self._parse(file, fp)
  File /usr/lib/python2.7/netrc.py, line 94, in _parse
file, lexer.lineno)
netrc.NetrcParseError: bad follower token '\xc3' (/dev/stdin, line 1)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14844
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14844] netrc does not handle accentuated characters

2012-05-22 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

This is presumably going to turn out to be a problem with shlex's handling of 
non-ascii characters.  I believe there are open issues about that, but I'm not 
sure of the status.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14844
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14844] netrc does not handle accentuated characters

2012-05-21 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Do you have a small script to reproduce the issue?

--
nosy: +amaury.forgeotdarc
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14844
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14844] netrc does not handle accentuated characters

2012-05-17 Thread Raphaël Droz

New submission from Raphaël Droz raphael.droz+fl...@gmail.com:

Accentuated characters are not accepted in password.
While it (unicode) was quickly talked about in issue557704 it appears that 
issue1170 aimed to solve this by making shlex unicode-compatible but it does 
not seem to be the case (at least with python 3.2 in the netrc use-case).

On a side note :
- a blank line between two comment lines
 and
- lines starting with a '#' *not* followed by a space
 fail too (shells supports both of them)

--
components: Library (Lib)
messages: 161016
nosy: drzraf
priority: normal
severity: normal
status: open
title: netrc does not handle accentuated characters
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14844
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com