[issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

2011-09-15 Thread Jakob Malm
Jakob Malm added the comment: > Shouldn't we say "datetime and time" instead of "date and time"? > There is no tzinfo attribute in date objects. Perhaps like this? :class:`datetime` and :class:`time` objects are... -- __

[issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

2011-09-15 Thread Jakob Malm
Jakob Malm added the comment: Patch without reflow attached. This is my first patch to CPython. I considered submitting the patch without reflowing the paragraph, to make the changes clearer, but I thought that that would mean more work for the committer, if the patch were to be accepted

[issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

2011-09-12 Thread Jakob Malm
Jakob Malm added the comment: I created a patch with the revised wording. -- keywords: +patch Added file: http://bugs.python.org/file23135/datetime_doc.patch ___ Python tracker <http://bugs.python.org/issue8

[issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

2011-09-12 Thread Jakob Malm
Jakob Malm added the comment: I agree with Alexander -- I think the current documentation is sufficient to describe 'naive' and 'aware' date and time objects. The sentence "There are two kinds of date and time objects: “naive” and “aware”." is perhaps a bit un