Hi,
I'm using MySQLdb with mysql 4.1 and I've seen this too - to get
around it go to the following link:
http://dev.mysql.com/doc/mysql/en/Old_client.html
Hope this helps,
Alastair.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Does anyone know whether there is a way for a python thread to release
the global interpreter lock, and let all other threads have a chance at
running before re-acquiring it? Does the thread scheduling follow a
round-robin method?
Thanks,
agb.
--
http://mail.python.org/mailman/listinfo/pyt
e 21, in example2
print("2cls: third=", third)
NameError: name 'third' is not defined
"""
In particular:
print_stuff behaves as I would expect
1cls: second #<--- Why does this look at the global namespace for second
and not the whywhywhy fun
Thats a good pointer to what is going on. Thank you Bas.
I am familiar with error such as
x=1
def foo():
x = 2
def erm():
print(x)
x=3
erm()
foo()
UnboundLocalError: local variable 'x' referenced before assignment.
It seems a bit different for classes (below), as it j
r data transfer from pythoncom
into COM. Anyone know if such limitations exist? Is there a way around them?
Can anyone point me in the right direction?
Thanks
Alastair
p.s. 1st message on comp.lang.python, indeed 1st message on any news group
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the replies Tim & Stefan
I'm using Python 2.3.5 on XP and the PythonWin build number seems to be 201
... I'll see if I can find 207.
The following blows up on both an XP and Win2k box ... both have same build
of Python and PythonWin:
import sys
clas
n
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Alastair Alexander
> Sent: Monday, May 22, 2006 6:27 PM
> To: python-list@python.org
> Subject: COM Server crashing when returning large arrays
>
> Hi ... I'm using python