lekpooh / unpyc

Automatically exported from code.google.com/p/unpyc
0 stars 0 forks source link

[PATCH] add python 2.7 support #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I added support for Python 2.7

Original issue reported on code.google.com by sleuthho...@gmail.com on 23 Jul 2010 at 7:10

Attachments:

GoogleCodeExporter commented 9 years ago
mr.
how use or update install this file(unpyc-1.0-1.1.diff 
) path in linux ubuntu system?  before i am use UnPyc 0.18 tanks..

Original comment by luqmanha...@gmail.com on 27 Jul 2010 at 7:22

GoogleCodeExporter commented 9 years ago
svn checkout http://unpyc.googlecode.com/svn/trunk/ unpyc-read-only
cp unpyc-1.0-1.1.diff unpyc-read-only/
cd unpyc-read-only
patch -p1 < unpyc-1.0-1.1.diff
python setup.py install

Original comment by sleuthho...@gmail.com on 27 Jul 2010 at 8:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
sleuthhound, thanks for extending the capability of unpyc.
I added the following function at the end of file "marshal_27.c".
initmarshal_27(void)
{
    (void) PyMarshal_Init();
}
This fix a compilation error faulting the "error LNK2001: unresolved external 
symbol initmarshal_27". The other "marshal_2x.c" also get the similar function 
at the end of th file.

Compilation Environment:
Python v2.7
Visual Studio 2008 Pro
Windows XP Pro.

Original comment by gnou...@gmail.com on 24 Nov 2010 at 6:02

GoogleCodeExporter commented 9 years ago
has this patch been applied to trunk?

Original comment by aristide...@gmail.com on 13 Sep 2012 at 12:49