Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250999 - [PATCH] dev-python/pyxml-0.8.4 not compatible with dev-lang/python-2.6
Summary: [PATCH] dev-python/pyxml-0.8.4 not compatible with dev-lang/python-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 247316 (view as bug list)
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2008-12-15 09:09 UTC by nanikata15
Modified: 2009-04-02 17:09 UTC (History)
4 users (show)

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


Attachments
ranames "as" to "as_" (pyxml-0.8.4-python-2.6.patch,1.71 KB, patch)
2008-12-15 09:12 UTC, nanikata15
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nanikata15 2008-12-15 09:09:43 UTC
Although seems to emerge fine, pyxml actually contains code that raises a syntax error on execution in python-2.6. The error can be observed when compiling the module, as seen in http://bugs.gentoo.org/show_bug.cgi?id=247316 where wxpython installation triggers the compiling of pyxml module.

Reproducible: Always

Steps to Reproduce:
1.emerge python-2.6
2.run python-updater
3.emerge pyxml
4.emerge wxpython




This can be solved by renamig the variable "as" in the offending files to something else (for example "as_")
Comment 1 nanikata15 2008-12-15 09:12:30 UTC
Created attachment 175310 [details, diff]
ranames "as" to "as_"

This should probably fix it
Comment 2 Daniel Black (RETIRED) gentoo-dev 2009-02-04 12:14:12 UTC
*** Bug 247316 has been marked as a duplicate of this bug. ***
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-15 23:18:31 UTC
using this patch solves this issue for me. Can we have a review or a go for me to commit it ?
Comment 4 Jory A. Pratt gentoo-dev 2009-02-16 00:57:23 UTC
(In reply to comment #3)
> using this patch solves this issue for me. Can we have a review or a go for me
> to commit it ?
> 

The patch is complete, I would suggest it be sent upstream first before commiting it to the tree, they might have a different ideal that they would rather use.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-16 07:36:55 UTC
well, upstream page says the project is discontinued and 0.8.4 release dates back from 2004.
Comment 6 Dmitrij D. Czarkoff 2009-03-28 14:25:10 UTC
So may be just add the patch to the portage and mark this bug as solved?
Comment 7 Keith Rusler 2009-04-01 03:41:39 UTC
well it appears its in portage. should be marked as fixed
Comment 8 nanikata15 2009-04-02 17:09:42 UTC
alright then, marking this as fixed I guess?