[issue13375] Provide a namedtuple style interface for os.walk values

2011-11-09 Thread Krishna Bharadwaj
Krishna Bharadwaj added the comment: Hey Amaury, can you tell me if the following test cases would suffice? If not, I can think of adding something more comprehensive. Also, can you provide some pointers related to the bootstrap issue so that I can look at the same? -- Added file

[issue13375] Provide a namedtuple style interface for os.walk values

2011-11-09 Thread Krishna Bharadwaj
Krishna Bharadwaj added the comment: Have included a patch which alters the walk method to yield a namedtuple and the members can be accessed by dirpath, dirnames and filenames. Got the following results after running the test. Ran 61 tests in 0.080s OK (skipped=4) Please let me know if

[issue13359] urllib2 doesn't escape spaces in http requests

2011-11-09 Thread Krishna Bharadwaj
Krishna Bharadwaj added the comment: I have used the quote method to percent encode the url for spaces and similar characters. This is my first patch. Please let me know if there is anything wrong. I will correct and re-submit it. I ran the test_urllib2.py which gave an OK for 34 tests