Re: Passing tuples of tuples to sqlite

2009-09-29 Thread lolmc
I have had success using the hashlib library to do a hexhash of the tuples and then put each tuple in it's own field.The hash is successfully being used as a test for uniqueness. Thanks Lol Mc -- http://mail.python.org/mailman/listinfo/python-list

[issue7015] Getting call trace while executing modules spam at help prompt

2009-09-29 Thread Rishikesh K Rajak
New submission from Rishikesh K Rajak risra...@linux.vnet.ibm.com: [root@ ~]# python Python 2.6.2 (r262:71600, Aug 21 2009, 12:23:57) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 Type help, copyright, credits or license for more information. help() Welcome to Python 2.6! This is the

[issue7017] os.listdir behaviour

2009-09-29 Thread Chris Adamson
New submission from Chris Adamson cadam...@internode.on.net: When I iterate through a list created using os.listdir it seems to grow as I create files in that directory. I want a static copy of the list of files in the directory prior to me writing new files into it. Here is my code: fileList

[issue7017] os.listdir behaviour

2009-09-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: What's 'FileList' in your code? (It's not the same as 'fileList', since Python identifiers are case sensitive.) What's 'temporaryDirectory'? Please could you cut and paste an executable code snippet that exhibits the problem, along with any

[issue7015] Getting call trace while executing modules spam at help prompt

2009-09-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It's a problem with one of your installed modules. I don't think Python can do anything, unless you propose silencing all errors. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue6071] no longer possible to hash arrays

2009-09-29 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Moving to deferred blocker to get this out of the way for 2.6.3 -- nosy: +barry priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org

[issue6972] zipfile.ZipFile overwrites files outside destination path

2009-09-29 Thread Thomas W. Barr
Thomas W. Barr t...@rice.edu added the comment: Uploading patch. This actually should fix my theoretical symlink bug since realpath() properly follows symlinks. The only thing that I haven't been able to test is the behavior of realpath() on case-insensitive operating systems. This should do the

<    1   2