is this going to be merged anytime soon?
the reason i ask, is it includes pysqlite and some other modules not in 2.4.
it would save having to include these packages for each script.
if not could xbmc include a few popular packages? keeping a copy for each platform is difficult.
PIL,
pyqlite (in 2.6)
pysvn,
elementtree (in 2.6)
there is also an issue putting packages under system/python/Lib
some pakages like pysqlite do not work with the special:// paths that are in the path environment. so if you want packages to work there you need to _P() them.
also a userdata/system/python/Lib folder and addition to path would be useful. needs to be _P() though.
python 2.6
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2010-03-20 05:22
Post: #1
|
| find quote |
queeup
Fan Joined: Feb 2009 Reputation: 15 |
2010-03-20 05:37
Post: #2
I agree with you on userdata folder.. http://trac.xbmc.org/ticket/7246
I really want to see lxml also... lxml module is very difficult for each platform. |
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2010-03-30 16:25
Post: #3
I submitted a python2.6 path long time ago for linux. I think malloc64 is working on a separate branch here:
http://trac.xbmc.org/browser/branches/python26 Though the latest change was made more than 3 month ago. |
| find quote |
davilla
Team-XBMC Developer Joined: Feb 2008 Reputation: 58 |
2010-03-30 20:09
Post: #4
Last thing I remember was something about python2.6 not being able to be unloaded as python2.5/python2.4 are.
MediaInfo : http://mediainfo.sourceforge.net/ Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. |
| find quote |
elupus
Team-XBMC Developer Posts: 3,764 Joined: Mar 2004 Reputation: 2 |
2010-05-25 13:51
Post: #5
The question is, what do we gain my unloading python all the damn time?
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
davilla
Team-XBMC Developer Joined: Feb 2008 Reputation: 58 |
2010-05-25 17:53
Post: #6
elupus Wrote:The question is, what do we gain my unloading python all the damn time? memory footprint on resource limited platforms that don't have swap. MediaInfo : http://mediainfo.sourceforge.net/ Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. |
| find quote |
elupus
Team-XBMC Developer Posts: 3,764 Joined: Mar 2004 Reputation: 2 |
2010-05-25 18:59
Post: #7
Right.. Well one issue i ran into is that we are not refcounting dlopen of sub dll's properly.
Python wasn't unloading at all after some scripts. Due to some module dll not getting unloaded. I'll see if i can get that working. I have a hack for this on windows, but i think a complete fix might be needed. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
elupus
Team-XBMC Developer Posts: 3,764 Joined: Mar 2004 Reputation: 2 |
2010-05-25 19:00
Post: #8
Oh and ssl i fucked with this unloading. Both libcurl and python register global callback functions which reside in their respective dll's. When one of them get's unloaded, the other segfaults :/
Maybe we could register our own global functions and intercept all calls to the real ones. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/p/xbmc/badge.gif)
Search
Help