Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263727 - dev-python/ipython-0.9.1 fails to merge on python 2.6.1 due to code bug in dep. zopeinterface
Summary: dev-python/ipython-0.9.1 fails to merge on python 2.6.1 due to code bug in de...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 14:01 UTC by Philipp Meier
Modified: 2009-03-25 14:18 UTC (History)
0 users

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


Attachments
adapter.py - 'with' -> 'with_renamed' (adapter.py,22.77 KB, text/plain)
2009-03-25 14:16 UTC, Philipp Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Meier 2009-03-25 14:01:17 UTC
i upgraded to python 2.6.1 a day ago and ran python-updater. ipython 0.9.1 won't merge since. it points to a file in zopeinterface package, where the python keyword 'with' is used as a variable name.

Reproducible: Always

Steps to Reproduce:
1. update python to 2.6.1
2. run python updater oder try to merge ipython 0.9.1


Actual Results:  
ebuild fails

Expected Results:  
ipython merges

# v is {with -> tuple([object])}
for with, objects in v.iteritems():
    oldwithobs[with] = oldwithobs.get(with, ()) + objects

this is the critical code at line 185 of adapter.py in zopeinterface
the keyword 'with' is used as name for an index variable.
Comment 1 Philipp Meier 2009-03-25 14:16:20 UTC
Created attachment 186228 [details]
adapter.py - 'with' -> 'with_renamed'