On Thu, Jan 13, 2005 at 08:06:56AM -0600, Skip Montanaro wrote:
>
> Skip> I just checked in your changes. Thanks for the effort.
>
> Jeez Skip... That reads poorly. How about "Thanks for your contribution"?
> In any case, thanks.
My pleasure. Thanks for helping me to help. And I liked the
Skip> I just checked in your changes. Thanks for the effort.
Jeez Skip... That reads poorly. How about "Thanks for your contribution"?
In any case, thanks.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
Josh> The datetime is full of these calls. Would it make sense to make
Josh> this a separate patch? (Or maybe the PyImport_ImportModule could
Josh> implement such a cache :) ?)
Hmmm... I wonder why that wasn't done before. Perhaps it just doesn't
matter performance-wise. I just che
On Tue, Jan 11, 2005 at 08:56:33AM -0600, Skip Montanaro wrote:
> * The seventh item returned from time.strptime() is the day of the week.
> You're passing it into the microsecond arg of the datetime constructor
Thanks!
> and ignoring the timezone info (ninth item returned from
>
David M. Cookie writes:
> You don't check for errors: an exception being thrown by
> PyObject_CallMethod will return obj == NULL.
Oops, missed that one. Thanks.
> If there's a module in sys.path called time that overrides the stdlib
> time, things will fail, and you should be able to catch that.
Josh> OK, it was pretty straightforward. Thanks for the direction.
Glad to help.
Josh> To whom should I send the patch (attached)?
Patches should be posted to SourceForge using this form:
http://sourceforge.net/tracker/?func=add&group_id=5470&atid=305470
Note that you will have to
Joshua Spoerri <[EMAIL PROTECTED]> writes:
> Skip Montanaro pobox.com> writes:
>> josh> Shouldn't datetime have strptime?
>> If someone wants to get their feet wet with extension module
>> programming
>> this might be a good place to start. Mostly, I think nobody who has
>> needed/wanted it so f
Skip Montanaro pobox.com> writes:
> josh> Shouldn't datetime have strptime?
> If someone wants to get their feet wet with extension module
> programming
> this might be a good place to start. Mostly, I think nobody who has
> needed/wanted it so far has the round tuits available to spend on the
>
On 2005-01-07, Skip Montanaro <[EMAIL PROTECTED]> wrote:
>
> josh> Shouldn't datetime have strptime?
>
> Sure, but it's not quite as trivial to implement as was strftime() support.
> While strftime() is a C library function and thus easily called from within
> the datetime C code, strptime() is
josh> Shouldn't datetime have strptime?
Sure, but it's not quite as trivial to implement as was strftime() support.
While strftime() is a C library function and thus easily called from within
the datetime C code, strptime() is implemented in Python as part of the time
module for portability (
Shouldn't datetime have strptime? It already has strftime, and it'd be really
nice to obviate datetime.fromtimestamp(time.mktime(time.strptime(...)))
thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
11 matches
Mail list logo