Message96166
| Author | murrayc |
|---|---|
| Recipients | murrayc |
| Date | 2009-12-09.10:01:49 |
| SpamBayes Score | 2.0407576e-09 |
| Marked as misclassified | No |
| Message-id | <1260352911.97.0.550126067946.issue7463@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
At least in Python 2.5 and 2.6 (I haven't checked newer versions), the
PyDateTime_IMPORT() macro passes string literals to a function that
takes non-const char* parameters:
#define PyDateTime_IMPORT \
PyDateTimeAPI = (PyDateTime_CAPI*) PyCObject_Import("datetime", \
"datetime_CAPI")
This makes it impossible to build code with warnings as errors, when
using that macro. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-12-09 10:01:52 | murrayc | set | recipients: + murrayc |
| 2009-12-09 10:01:51 | murrayc | set | messageid: <1260352911.97.0.550126067946.issue7463@psf.upfronthosting.co.za> |
| 2009-12-09 10:01:50 | murrayc | link | issue7463 messages |
| 2009-12-09 10:01:49 | murrayc | create | |