Yes, there are patches. There happens to be two entries because I missed some documentation changes the first time around. The links are: https://sourceforge.net/tracker/?group_id=5470&atid=305470&func=detail&aid=876130 https://sourceforge.net/tracker/?group_id=5470&atid=305470&func=detail&aid=986010 The files changed are dist/src/Modules/datetimemodule.c dist/src/Include/datetime.h dist/src/Doc/api/concrete.tex To summarize, an attribute named "datetime_CAPI" is added to the datetime module. A macro PyDateTime_IMPORT is used to access this attribute and then additional macros are available for manipulating datetime instances. If you want to look at an actual implementation you can take a look at cx_Oracle 4.1 beta 1 available at http://starship.python.net/crew/atuining If you have further questions, let me know and I'll try to answer them. Guido van Rossum wrote: > Anthony (the other one), can you explain it? > > On Fri, 03 Sep 2004 02:26:12 +1000, Anthony Baxter > <anthony at interlink.com.au> wrote: > >>Tim Peters wrote: >> >>>[Anthony Baxter] >>> >>> >>>>Erm - this particular fix was a bug fix. I'm deeply uncomfortable about >>>>adding the C version of datetime to 2.3 at this very late stage of 2.3's >>>>life cycle. >>> >>> >>>It's quite arguably a bugfix, since datetime.h in 2.3.4 exposes things >>>that can't possibly be used outside of datetimemodule.c >> >>Ah - I misunderstood, and thought that 2.3 had no version of datetime.c >>at all, and Guido was proposing that we add it. So, to get this >>straight, what _are_ we talking about, exactly? Is there an SF >>bug/patch with the trunk change? >> >> >>-- >>Anthony Baxter <anthony at interlink.com.au> >>It's never too late to have a happy childhood. >> >> >>_______________________________________________ >>Python-Dev mailing list >>Python-Dev at python.org >>http://mail.python.org/mailman/listinfo/python-dev >>Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org >> > > > -- Anthony Tuininga anthony at computronix.com Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax: (780) 454-3838 http://www.computronix.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4