Message88180
| Author | lemburg |
|---|---|
| Recipients | lemburg, mzalokar |
| Date | 2009-05-22.08:01:20 |
| SpamBayes Score | 4.1310233e-11 |
| Marked as misclassified | No |
| Message-id | <1242979291.13.0.839884934198.issue6078@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The problem is that the warnings module's init function does not adhere to the standard Python naming scheme for extension modules: it's called _PyWarnings_Init rather than init_warnings. This C helper module was added to Python 2.6. OTOH, warnings is a builtin module which always gets imported, so the import mechanism bypasses the normal scan for such functions. In order to get freeze to work, it should be enough to add '_warnings' to the list never in makeconfig.py of the freeze tool. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-05-22 08:01:31 | lemburg | set | recipients: + lemburg, mzalokar |
| 2009-05-22 08:01:31 | lemburg | set | messageid: <1242979291.13.0.839884934198.issue6078@psf.upfronthosting.co.za> |
| 2009-05-22 08:01:29 | lemburg | link | issue6078 messages |
| 2009-05-22 08:01:29 | lemburg | create | |