[issue3409] ElementPath.Path.findall problem with unicode input

2008-07-18 Thread Uwe Hoffmann
New submission from Uwe Hoffmann [EMAIL PROTECTED]: if you call Element.findall(u...) some silent errors can occure because of the isinstance(,type()) check. I'm not sure if it is even allowed to call findall with a unicode parameter. The attached diff solves *my* problem

Re: Group Membership in Active Directory Query

2007-02-07 Thread Uwe Hoffmann
[EMAIL PROTECTED] schrieb: ldap_obj = ldap_obj.simple_bind_s('[EMAIL PROTECTED]', 'password') AttributeError: 'NoneType' object has no attribute 'search_Ext_s' dummy = ldap_obj.simple_bind_s('[EMAIL PROTECTED]',

Re: find login name of user?

2006-12-30 Thread Uwe Hoffmann
[EMAIL PROTECTED] schrieb: Is there a function/module to find the login name of the user under UNIX environment? http://docs.python.org/lib/os-procinfo.html http://docs.python.org/lib/module-pwd.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Running python from a usb drive

2006-09-11 Thread Uwe Hoffmann
cjl schrieb: I do set pythonpath, see above. is pythonpath really case insensitive on windows ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Running python from a usb drive

2006-09-11 Thread Uwe Hoffmann
Steve Holden schrieb: Uwe Hoffmann wrote: cjl schrieb: I do set pythonpath, see above. is pythonpath really case insensitive on windows ? Only because the Windows filesystem implements case-insensitive semantics. This is nothing to do with Python: no, i mean't the name

Re: cx_Oracle question

2006-09-08 Thread Uwe Hoffmann
Richard Schulman schrieb: cursor.execute(select mean_eng_txt from mean where mean_id=:arg_1,arg_1) cursor.execute(select mean_eng_txt from mean where mean_id=:arg_1,{arg_1:arg_1}) Traceback (most recent call last): File oracle_test.py, line 7, in ?

dependencies on subclassing Extensiontypes: tp_richcompare -- tp_hash

2006-02-01 Thread Uwe Hoffmann
Hi, i have used Pyrex to build some python Extensionclasses. Now i stumbled over the fact that if a subclass has a __hash__ method the __richcmp__ of the base is not called. # pseudocode class Base: def __richcmp__(): print 'hi' class Immutable(Base): def

Re: viewcvs 1.0 dev

2005-12-28 Thread Uwe Hoffmann
Robin Becker schrieb: Does anyone know the status of the svn handling version of viewCVS. http://viewvc.tigris.org/index.html -- http://mail.python.org/mailman/listinfo/python-list

Re: viewcvs 1.0 dev

2005-12-28 Thread Uwe Hoffmann
Robin Becker schrieb: Uwe Hoffmann wrote: Robin Becker schrieb: unfortunately there's no mention of svn handling there and the files only show 0.9[.x] versions. at least you can get the sources via subversion and have a look at the INSTALL file (e.g. http://viewvc.tigris.org/source

Re: oop in python

2005-12-27 Thread Uwe Hoffmann
novice schrieb: class Point: def _func_that_we_want_(self): return ... return self.__class__.__name__ http://docs.python.org/ref/types.html#l2h-109 -- http://mail.python.org/mailman/listinfo/python-list