[issue10464] netrc module not parsing passwords containing #s.

2010-12-01 Thread R. David Murray
R. David Murray added the comment: Committed to py3k in r86925, 3.1 in r86926, and 2.7 in r86927. Thanks for the patch, Xuanji. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Pyth

[issue10464] netrc module not parsing passwords containing #s.

2010-11-30 Thread Ned Deily
Changes by Ned Deily : Removed file: http://bugs.python.org/file19666/issue_10231_testcase.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue10464] netrc module not parsing passwords containing #s.

2010-11-30 Thread Ned Deily
Ned Deily added the comment: Patch looks good to me. Supplied test fails before and works after fix applied. -- nosy: +ned.deily stage: patch review -> commit review ___ Python tracker

[issue10464] netrc module not parsing passwords containing #s.

2010-11-30 Thread Xuanji Li
Xuanji Li added the comment: bumping...can someone review this? The reported bug seems valid enough. -- ___ Python tracker ___ ___ Py

[issue10464] netrc module not parsing passwords containing #s.

2010-11-25 Thread Ned Deily
Changes by Ned Deily : -- stage: -> patch review versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10464] netrc module not parsing passwords containing #s.

2010-11-25 Thread Xuanji Li
Xuanji Li added the comment: The patch attached (issue_10464_fix) moves handling of the '#' character from shlex to netrc, and makes netrc consider as comments lines whose first not-whitespace character is '#' instead of all text following '#' (which is what shlex does and which causes this b

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Xuanji Li added the comment: The issue seems to be that when shlex (the lexer that netrc uses) sees a '#' character it thinks that the rest of the line is a comment. I am not sure what the behavior of netrc should be - should it treat '#' as beginning a comment only if its the first non-white

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Xuanji Li added the comment: Sorry, patch had a mistake -- Added file: http://bugs.python.org/file19666/issue_10231_testcase.diff ___ Python tracker ___

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Changes by Xuanji Li : Removed file: http://bugs.python.org/file19658/issue_10464_testcase.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Xuanji Li added the comment: Included test case for the reported bug. Test fails on my machine. Also split up test_case_1 (in order to put in the new test case cleanly) -- keywords: +patch nosy: +xuanji Added file: http://bugs.python.org/file19658/issue_10464_testcase.diff ___

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread the_isz
New submission from the_isz : The netrc module stops parsing passwords at # characters, which can be part of passwords. Tested with Python 2.7 and 3.1. -- components: Extension Modules messages: 121598 nosy: the_isz priority: normal severity: normal status: open title: netrc module not