[issue15008] PEP 362 reference implementation for 3.3

2012-06-05 Thread Alexandre Zani
Changes by Alexandre Zani : -- nosy: +Alexandre.Zani ___ Python tracker <http://bugs.python.org/issue15008> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexandre Zani
Alexandre Zani added the comment: I'm still reading through the issue you mentioned. (It's a painful read I have to admit) One major obstacle seems to be that during the DST switch over, an hour gets repeated and so the datetime object is ambiguous. (are you on the first or secon

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexandre Zani
Alexandre Zani added the comment: I think the easiest and most intuitive approach is to simply define timestamp() as being the reverse of fromtimestamp(). Don't worry about leap seconds and all that stuff. If non-1970 epochs are a concern, this could be renamed to posix_timestamp or

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-06-01 Thread Alexandre Zani
Alexandre Zani added the comment: Here is my patch for it. -- keywords: +patch Added file: http://bugs.python.org/file25796/easier_element_init.patch ___ Python tracker <http://bugs.python.org/issue4

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-06-01 Thread Alexandre Zani
Alexandre Zani added the comment: I would tend to disagree with the use of **kwargs. It means the argument list would be implicit, not documented by the code and not checked at runtime. We could end up with anything in there. I'll try to propose a patch tonight that implements Jean-P

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-20 Thread Alexandre Zani
Changes by Alexandre Zani : -- nosy: +Alexandre.Zani ___ Python tracker <http://bugs.python.org/issue4849> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1105770] null source chars handled oddly by tokenize

2012-05-20 Thread Alexandre Zani
Changes by Alexandre Zani : -- nosy: +Alexandre.Zani ___ Python tracker <http://bugs.python.org/issue1105770> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2012-05-20 Thread Alexandre Zani
Alexandre Zani added the comment: This patch allows the cloning of elements that do not have a document owner. If a node does not have a document owner, a new document owner is created for the clone. -- keywords: +patch Added file: http://bugs.python.org/file25651

[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2011-05-03 Thread Alexandre Zani
Changes by Alexandre Zani : -- nosy: +Alexandre.Zani ___ Python tracker <http://bugs.python.org/issue4851> ___ ___ Python-bugs-list mailing list Unsubscribe: