[issue20135] FAQ need list mutation answers

2014-01-16 Thread Fran Bull
Changes by Fran Bull : -- keywords: +patch Added file: http://bugs.python.org/file33502/20135.patch ___ Python tracker <http://bugs.python.org/issue20135> ___ ___

[issue20135] FAQ need list mutation answers

2014-01-16 Thread Fran Bull
Fran Bull added the comment: Perhaps a 3rd FAQ something like this?: Why is changing a list in one instance of a class also changing it in another instance of the same class? This happens: >>> class A(object): ... def __init__(self, fruit=[]): ... self.fruit = fruit ... >

[issue20135] FAQ need list mutation answers

2014-01-16 Thread Fran Bull
Fran Bull added the comment: I read the FAQ last night and I couldn't see these answered there either. I would like to try submitting a patch for this one, probably this evening. It will likely be two FAQs in the programming section that go something like: Why does changing one list c

[issue20241] Bad reference to RFC in document of ipaddress?

2014-01-15 Thread Fran Bull
Fran Bull added the comment: http://tools.ietf.org/html/rfc5735.html Special Use IPv4 Addresses does indeed agree with the docstring @property def is_unspecified(self): """Test if the address is unspecified. Returns: A boolean, True

[issue20237] Ambiguous sentence in document of xml package.

2014-01-14 Thread Fran Bull
Fran Bull added the comment: I think the sentence either means: 1) The courses of action that defusedxml implements are those recommended for any server code that parses untrusted XML data. or 2) Using defused XML is recommended for any server code that parses untrusted XML data. And I