Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148421 - net-zope/zopeinterface-3.0.1 is a bit noisy with python 2.5
Summary: net-zope/zopeinterface-3.0.1 is a bit noisy with python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Marien Zwart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 14:47 UTC by Marien Zwart (RETIRED)
Modified: 2006-09-24 12:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2006-09-20 14:47:26 UTC
the adapter.py file in zopeinterface uses "with" as a variable name. "with" will be a keyword in python 2.6, and python 2.5 warns about this. This means anything importing zope.interface (like twisted) gets quite noisy. The attached patch fixes this.

If it is ok with the net-zope people I would like to add zopeinterface to the python herd, so I won't have to bug you about things like this in the future :)
Comment 1 Radoslaw Stachowiak (RETIRED) gentoo-dev 2006-09-24 12:32:23 UTC
sure, go ahead with this. thank You for Your help.
Comment 2 Radoslaw Stachowiak (RETIRED) gentoo-dev 2006-09-24 12:33:10 UTC
one remark, please add net-zope@ to CC on any bugs filed in future related to zopeinterface
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2006-09-24 12:54:46 UTC
Ok, committed. Left net-zope in metadata.xml so you should still be cc'd in the future.