Changes by Jess Austin :
--
status: open -> pending
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list mailing list
Unsubscri
Jess Austin added the comment:
Yeah, the masses have spoken, and their silence is deafening. I was going to
downplay the "health" of the package based on the number of downloads, but then
I looked at the "futures" page. b^) Seriously, getting this in would require
a co
Jess Austin added the comment:
Could you provide some reasoning for such a resolution? I had thought that
"won't fix" indicated that the issue wasn't actually an error in behavior.
I grant that most people will never see this particular error,
Jess Austin added the comment:
To be systematic, without the patch:
>>> D(1900, 1, 1) > DT(1900, 1, 1)
False
>>> D(1900, 1, 1) < DT(1900, 1, 1)
False
>>> DT(1900, 1, 1) > D(1900, 1, 1)
Traceback (most recent call last):
File "", line 1, in
Type
Changes by Jess Austin :
--
keywords: +patch
Added file: http://bugs.python.org/file15111/jointakesiterables.diff
___
Python tracker
<http://bugs.python.org/issue7
New submission from Jess Austin :
In its __doc__ string and in the documentation, str.join() is described
as taking a sequence. This is not general enough; it actually takes any
iterable of strings:
>>> ','.join(str(x) for x in range(5))
'0,1,2,3,4'
Mayb
Changes by Jess Austin :
Removed file: http://bugs.python.org/file13696/monthdelta2.diff
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list m
Changes by Jess Austin :
Added file: http://bugs.python.org/file13743/monthdelta3.diff
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list m
Jess Austin added the comment:
The backport through python 2.3 is up at PyPI:
http://pypi.python.org/pypi?name=MonthDelta&:action=display
Download source and install, or just easy_install. Documentation is
also linked at PyPI.
--
___
Py
Changes by Jess Austin :
Removed file: http://bugs.python.org/file13309/monthdelta.diff
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list m
Changes by Jess Austin :
Added file: http://bugs.python.org/file13696/monthdelta2.diff
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list m
Jess Austin added the comment:
A comment on the two most recent patches... For both of these, we can
do the following:
>>> from datetime import timedelta
>>> td = timedelta(12)
>>> td
datetime.timedelta(12)
>>> td //= 3
>>> td
datetime.
Jess Austin added the comment:
With the rejection of Issue 5530, it seems best for the name of this
class to remain lowercase. Mixing casing schemes within the same module
would be perverse.
--
title: datetime.MonthDelta -> datetime.monthde
Jess Austin added the comment:
I don't see a point to this one since Issue 5530 was rejected. If
someone else wants this they can reopen it.
--
status: open -> closed
___
Python tracker
<http://bugs.python.or
Jess Austin added the comment:
The attached patch fixes this issue, and updates the tests. Contrary to
my initial impression, it seems that a previous developer knew of this
behavior and thought it correct; see the comment of the test I deleted.
I left memcmp() in.
--
keywords
New submission from Jess Austin :
Class names that comply with the CapWords naming convention described in
PEP 8 (http://www.python.org/dev/peps/pep-0008/) are preferred. See the
recent discussion that included the BDFL's recommendations at
http://mail.python.org/pipermail/python-dev/2009-
Changes by Jess Austin :
Removed file: http://bugs.python.org/file13376/test_datetime.diff
___
Python tracker
<http://bugs.python.org/issue5520>
___
___
Python-bugs-list m
Changes by Jess Austin :
Added file: http://bugs.python.org/file13385/test_datetime.diff
___
Python tracker
<http://bugs.python.org/issue5520>
___
___
Python-bugs-list m
New submission from Jess Austin :
I've broken out this refactoring from some of the other datetime stuff
I'm doing. The patch needn't be applied until the other issues that
depend on it are.
--
components: Library (Lib)
files: test_datetime.diff
keywords: patch
messa
Changes by Jess Austin :
--
title: equality not reflexive for subclasses of datetime.date and
datetime.datetime -> equality not symmetric for subclasses of datetime.date and
datetime.datetime
___
Python tracker
<http://bugs.python.org/iss
Changes by Jess Austin :
--
title: equality not reflixive for subclasses of datetime.date and
datetime.datetime -> equality not reflexive for subclasses of datetime.date and
datetime.datetime
___
Python tracker
<http://bugs.python.org/iss
New submission from Jess Austin :
While the datetime.date and datetime.datetime classes consistently
handle mixed-type comparison, their subclasses do not:
>>> from datetime import date, datetime, time
>>> d = date.today()
>>> dt = datetime.combine(d, time())
>>
Changes by Jess Austin :
Removed file: http://bugs.python.org/file13258/datetimemodule.diff
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bug
Changes by Jess Austin :
Added file: http://bugs.python.org/file13309/monthdelta.diff
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list mailin
Jess Austin added the comment:
This prototype python implementation passes the same tests that the C
implementation in the patch does (modulo import differences). I'll
probably backport this for 2.x versions.
--
Added file: http://bugs.python.org/file13307/monthdel
Jess Austin added the comment:
Rietveld link: http://codereview.appspot.com/25079
___
Python tracker
<http://bugs.python.org/issue5434>
___
___
Python-bugs-list mailin
Jess Austin added the comment:
This is my first try at a patch. All functionality, tests, and
documentation are included, but I won't be surprised if I need to make
some changes! Please let me know.
--
keywords: +patch
Added file: http://bugs.python.org/file13258/datetimemodule
New submission from Jess Austin :
datetime is a wonderful module. Perhaps the only inconvenient aspect of
using it is dealing with month calculations and comparisons. This patch
adds a simple class, monthdelta, which represents date offsets in terms
of months. It supports basic integer-like
28 matches
Mail list logo