A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048543.html below:

[Python-checkins] python/dist/src/Modules threadmodule.c, 2.56, 2.56.8.1

[Python-Dev] Re: [Python-checkins] python/dist/src/Modules threadmodule.c, 2.56, 2.56.8.1Guido van Rossum gvanrossum at gmail.com
Thu Sep 2 17:45:34 CEST 2004
> 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 (the datetime
> type objects are referenced in the header, but not exported in a
> usable way).  Anthony Tuininga's patch to *finish* (not really add)
> the datetime C API is a low-risk change regardless:  it doesn't change
> any existing functionality, it just finishes the job of exposing it to
> C coders, and adds some new macros for convenience.
> 
> Now if some platform header file has macros with names like
> 
>     PyDateTime_FromTimestamp
> or
>     PyDelta_FromDSU
> 
> then adding these macros to datetime.h could cause new problems.  But
> platform header files don't have macros with names like those (if they
> did, we would have bumped into it while developing 2.4).

Hm, Anthony, what do you think now? (Disregard my previous mail, I was
confused by multiple logical threads mixed into the same
conversation.)

--Guido
More information about the Python-Dev mailing list

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