[issue8489] Support UTF8SMTP as part of RFC 5336 in smptlib

2013-01-08 Thread David Lam
Changes by David Lam d...@dlam.me: -- nosy: +dlam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8489 ___ ___ Python-bugs-list mailing list

[issue16954] Add docstrings for ElementTree module

2013-01-14 Thread David Lam
Changes by David Lam d...@dlam.me: -- nosy: +dlam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16954 ___ ___ Python-bugs-list mailing list

[issue16954] Add docstrings for ElementTree module

2013-01-24 Thread David Lam
David Lam added the comment: I had an innocent question about the format to use when listing function arguments in docstrings. In the PEP 257 doc, there's a single example: def complex(real=0.0, imag=0.0): Form a complex number. Keyword arguments: real -- the real

[issue16954] Add docstrings for ElementTree module

2013-02-16 Thread David Lam
David Lam added the comment: Here's a patch which converts all the Doxygen comments in ElementTree.py to docstrings! Something I noticed was that the from _elementtree import * ...at the bottom of ElementTree.py sort of overwrites the docstrings of the Python module. So if you did

[issue8489] Support UTF8SMTP as part of RFC 5336 in smptlib

2013-02-23 Thread David Lam
David Lam added the comment: looks like RFC 6531 obsoletes 5336 -- http://datatracker.ietf.org/doc/rfc6531/ (6531 says its the Proposed Standard, whereas 5336 says its Experimental etc etc) -- ___ Python tracker rep...@bugs.python.org http

[issue16954] Add docstrings for ElementTree module

2013-02-28 Thread David Lam
David Lam added the comment: here's an updated patch incorporating the feedback from Ezio and Eric: - moved docstrings put in some __special__ method names - made the description of 'tag' consistent: 'tag' means the elements name (as opposed to 'tag' being a synonym for element

[issue12537] mailbox's _become_message is very fragile

2011-09-14 Thread David Lam
David Lam d...@dlam.me added the comment: Hi hi, noob here. I found this today after clicking 'Easy issues' link. Would something like this work? test_mailbox.py seems to pass. However, I'm not too sure what more needs to be done in the _explain_to. It seems like everything to convert

[issue12537] mailbox's _become_message is very fragile

2011-09-15 Thread David Lam
David Lam d...@dlam.me added the comment: Hm, it seems right now that the only time that happens is when creating a message based on an mbox message. The 'status' and 'x-status' attributes are deleted. Any hints on what I could to do figure out what special attributes should be deleted? I

[issue12537] mailbox's _become_message is very fragile

2011-09-19 Thread David Lam
David Lam d...@dlam.me added the comment: This patch deletes the leftover special attributes. Thanks for guiding me through my confusion and/or cluelessness! -- keywords: +patch Added file: http://bugs.python.org/file23191/12537.patch ___ Python

[issue12537] mailbox's _become_message is very fragile

2011-09-19 Thread David Lam
Changes by David Lam d...@dlam.me: Added file: http://bugs.python.org/file23192/12537.find.attribute.differences.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12537

[issue11176] give more meaningful argument names in argparse documentation

2012-07-09 Thread David Lam
David Lam d...@dlam.me added the comment: haha wow, I was working on this bug too! maybe we can work on the final patch together I got through about 2/3's of the docs, so I thought it might help to upload what I got so far. I basically just made stuff up so I'm totally winning to change

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2012-07-15 Thread David Lam
David Lam d...@dlam.me added the comment: hi hi, found this bug after clicking the Easy issues link i basically just took Ray's hint to look at the __reduce__ method, and applied it to the __repr__ method in this patch also updated is the test_repr() unittest -- keywords: +patch

[issue11176] give more meaningful argument names in argparse documentation

2012-07-17 Thread David Lam
David Lam d...@dlam.me added the comment: yup yup, go for it -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11176 ___ ___ Python-bugs-list

[issue12537] mailbox's _become_message is very fragile

2012-04-12 Thread David Lam
David Lam d...@dlam.me added the comment: Wow, cool! Thanks for the update. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12537 ___ ___ Python

[issue16954] Add docstrings for ElementTree module

2013-04-14 Thread David Lam
David Lam added the comment: Hi Eli, I sure would! (Though, if anyone finds this issue and can figure out a solution, I'd encourage them to post it!) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16954

[issue11176] give more meaningful argument names in argparse documentation

2012-08-28 Thread David Lam
David Lam added the comment: here's a patch that covers all but one of the foo/bar/baz examples it also has fixes for the sample code near the beginning from the review Ezio did the one example I didn't do was the Arguments containing - part. I guess it felt like changing the names