AIX + GCC 2.95.3 - Python (2.1 or 2.2) - building the shared library (.so) for python
(If I use standard -shared linking, during the _import python is crashing.)
As seen in in AIX-NOTES there should be used ld_so_aix. But I suspect
that it was prepared for standard xlC (CC) compiler. How to make it
running for GCC compiler?
Now I receive following error:
gcc -Wl,-einitlib.a -Wl,-bE:lib.a.exp -Wl,-bI:./python.exp -Wl,-bhalt:4
SRE -Wl,-T512 -Wl,-H512 -lm -o lib.a. -shared -Wl,-bbigtoc
exp y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idlscope....Who is using python-ldap with Python 1.5.x and 2.0-2.2?
I'd like to hear from the Python community whether support for Python
version prior to 2.3 is still needed in python-ldap. Please tell me
which Python version you're using and why it'd be important for you to
have python-ldap updates still supporting it.
BTW: Actually older Python versions are not tested with recent
python-ldap since at least two years. But I'd like to clearly decide on
-On [20080616 15:55], Michael Ströder (firstname.lastname@example.org) wrote:
>I'd like to hear from the Python community whether support for Python
>vers...How to crash Python in 1 easy step (python 2.2.2)
I'm not sure if this is a python bug or a bug in an associated
library, and I'm not even sure how to correctly report it, but here is
Anytime python is accepting keyboard input, whether it's with
raw_input, or sitting on the command line waiting for the user to type
code, you can crash python by holding ctrl+shift and then pressing
This is on a RedHat 9.0 system running on an Athlon 600. Basically
everything about the system is standard except for what's been updated
by RedHat itself. If anyone who has the time and ability to track
down this bug needs more informati...Python 2.0 / Python 2.2
I have some questions concerning Python 2.2.
I try to port source code from Python 2.0 to Python 2.2.The following source
code works with Python 2.0. If I compile it with Python 2.2, the modul "tci"
is not imported. "tci" is a python module written by us. How can I change
the source code to get it working with Python 2.2.?
PyStr = Py_BuildValue("s", TCIHome);
PyModule = PyImport_ImportModule("sys");
PyList = PyObject_GetAttrString(PyModule, "path");
PyList_Insert(PyList, 0, PyStr);
if (PyEr...Difference between Python 2.2.2 and Python 2.5
I am developing for PyS60 1.4.4 which supports Python 2.2.2 while what
I know is Python 2.5 .
Can you please tell me differences between the two so that I can save
myself from incompatible code.
On Sun, 18 Jan 2009 07:30:52 -0800, Ravi wrote:
> I am developing for PyS60 1.4.4 which supports Python 2.2.2 while what I
> know is Python 2.5 .
> Can you please tell me differences between the two so that I can save
> myself from incompatible code.
Everything new mentioned here:
http://www.python.org/doc/2.4/whatsnew/what...[9fans] Python 2.2+ patch applied on Python 2.4.1
I applied Russ's Python patch on Python 2.4.1.
Bug fix are welcome.
> I applied Russ's Python patch on Python 2.4.1.
Thank you Mr. Moroo.
I have installed your patch to my grid server
I met one warning message:
cpp: ../Modules/sgimodule.c:8 Could not find include file <fcntl.h>
but the compile has successfully finished.
I love...MySQL-python-1.2.1_p2, Python 2.5 and OS X Tiger
How do you install MySQL-python-1.2.1_p2 on a PPC OS X 10.4 machine
with MySQL 4.1?
>>> python setup.py build
_mysql.c:2854: error: parse error before ')' token
_mysql.c:2854: error: called object '&<erroneous-expression>' is not a
_mysql.c:2854: error: called object '&<erroneous-expression>' is not a
_mysql.c:2854: error: called object '*(&<erroneous-expression>)' is not
lipo: can't figure out the architecture type of: /var/tmp//ccurx79n.out
error: command 'gcc' failed w...Pickle compatibility between Python 2.7 and python 3.2
-----BEGIN PGP SIGNED MESSAGE-----
I have 10MB pickled structure generated in Python 2.7. I only use basic
types (no clases) like sets, dictionaries, lists, strings, etc.
The pickle stores a lot of strings. Some of them should be "bytes",
while other should be "unicode". My idea is to import ALL the strings as
bytes in Python 3.2 and navigate the data structure to convert the
appropiate values to unicode, in a one-time operation (I version the
structure, so I can know if this conversion is already done, simply
storing a new version value).
But I g...python 2.1 and 2.2
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=us-ascii; format=flowed
I remembered reading somewhere that Guido had demonstrated a significant
speed increase from python 2.1 to python 2.2 (or something like that).
Anyone knows how is the test done? Is it using pystone.py?
Content-Type: text/x-vcard; charset=utf-8;
filename="m...Blender 2.34 and Python 2.1, 2.2, 2.3
If you can run python scripts in blender 2.3x, I'll be glad to know
which versions did you install.
Checking at blender.org, I found that blender 2.34 is built with
python 2.3. However, I don't want to perform an installation of python
2.3 if I'm not sure that it fixes my problem (I found some people
saying that this problem is fixed by downgrading from python 2.3 to
2.2, and also the freeware.sgi.com python is still at 2.1.1, so I've
no idea on the best option). Before playing with a custom installation
of python, I'm posting the problem here with the hope that s...urlopen differences between python 2.3.3 and python 2.2???
I am using the code below and it works correctly on python2.2 but
gives me a 404 not found error when running on python2.3.3. Is there
some difference? Maybe python 2.3.3 is sending different headers?
The params string looks to be encoded identically, so must be
something with urlopen. Does anyone have any suggestions to get this
working from python2.3.3??
Thanks in advance!
def signup(self, REQUEST):
Allows us to automatically sign-up a user.
email = REQUEST['Email']
first_name = REQUEST['First...Both Python 2.5.2 and 2.7.2 flop the same way under Win 7
Months ago 2.5.2 stopped functioning on my Win7 PC, so a few days ago I
uninstalled and installed. Same problem. If one right-clicks on a py
file, IDLE is not shown in the menu as Edit with IDLE. After playing
with matters I gave up, and uninstalled 2.5.2 and turned to 2.7.2. Same
If I look at a 2.4 install on my laptop, I get the desired reference to
Edit with IDLE.
My guess is that Win 7 is behind this. If so, it's good-bye Python.
On 17 Nov, 18:55, "W. eWatson" <wolftra...@invalid.com> wrote:
> Months ago 2.5.2 stopped functioning on my Win...MySQLdb 1.2.2 + python 2.6.2
Are MySQLdb 1.2.2 and python 2.6.2 compatible? I went to
doesn't say it is compatible or not.
When trying to install MySQLdb 1.2.2 on my machine which is running
python 2.6.2 and windows XP, I get this error below.
I am able to install MySQLdb 1.2.2 successfully on another machine
which is running python 2.5.4 and windows XP.
Please help if you have any idea.
Removing c:\python26\lib\site-packages\MySQL_python-...ANN: Python Imaging Library 1.1.5 alpha 1 #2
The Python Imaging Library (PIL) adds image processing capabilities
to your Python interpreter. This library supports many file formats,
and provides powerful image processing and graphics capabilities,
including display support for Windows and Tkinter.
PIL 1.1.5 alpha 3 is now available from:
This release is available in source form only (look for Imaging tarballs).
A list of changes can be found here:
the pil team at secret labs ab
"Secret Labs AB -- makers of fine ...Movable Python 1.0.0 for Python 2.3 & 2.4
It's finally happened, `Movable Python
<http://www.voidspace.org.uk/python/movpy/>`_ is finally released.
Versions for Python 2.3 & 2.4 are available from `The Movable Python
The cost is =A35 per distribution, payment by PayPal. =A31 from every
distribution goes to support the development of `SPE
<http://pythonide.stani.be/>`_, the Python IDE.
This gives you free support (via the `Movable Python Mailing List
<http://groups.google.com/group/movpy>`_), and access to updates, for a
There is ...