How do you control _all_ items added to a list?

2005-02-28 Thread Xif
de to append. Is there some "base" item-adding method that all other item-adding methods use, so I can override it and have the changes affect all item-adding functions? Thanks, Xif -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you control _all_ items added to a list?

2005-02-28 Thread Xif
really need: extend() and getItems(). That way I retain full control over what goes into the private obj._list, without the superfluous work of overriding all those methods I don't really need. Thanks for your help, Xif -- http://mail.python.org/mailman/listinfo/python-list

Problematic behavior of the import statement when several module files have the same name.

2005-03-09 Thread Xif
xample, there's no sane way I can see of having some_package.database if there's already a database module (database.py file) in any PYTHONPATH directory. Are my observations correct? Is there something I ignored? Should this be posted somewhere else? Your comments would be appreciated. Xif -- http://mail.python.org/mailman/listinfo/python-list