Bugs item #1579796, was opened at 2006-10-18 11:44
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579796&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: David Faure (dfaure_kde)
>Assigned to: A.M. Kuchling (akuchling)
Summary: Wrong syntax for PyDateTime_IMPORT in documentation

Initial Comment:
http://docs.python.org/api/datetime-objects.html says 
"macro PyDateTime_IMPORT() must be invoked."

But this doesn't compile. It's PyDateTime_IMPORT;
and not PyDateTime_IMPORT();

Also it would be useful to tell if this should be 
done once per thread or just once per process; seeing 
as it modifies a static variable I guess the latter.

Cheers,
David (still getting crashes in 
PyDateTime_FromDateAndTime though but that's another 
topic....)

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2006-10-26 15:12

Message:
Logged In: YES 
user_id=11375

Fixed in trunk (rev 52446), 2.5-maint (rev. 52447), and
2.4-maint (rev. 52448).

Thanks for your report!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1579796&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to