Opened 16 years ago
Closed 16 years ago
#9723 closed (fixed)
r9527 (compressed fixtures) breaks loaddata for some Pythons
Reported by: | Adam Gomaa | Owned by: | nobody |
---|---|---|---|
Component: | Core (Serialization) | Version: | 1.0 |
Severity: | Keywords: | fixtures | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The bz2
stdlib module is optional, and not compiled in all Pythons. r9527 breaks loaddata for those Pythons by having a top-level import for the module. Patch against trunk attached to fix the issue. The patch is untested, as I don't have a Python installation without bz2 to test with.
Attachments (1)
Change History (2)
by , 16 years ago
Attachment: | fix-r9527-loaddata-bz2.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch to catch the ImportError if bz2 is not compiled in