1.5.1 Py_XDECREF Core On 06/30/2010 11:39 AM, Sunil wrote: Hi, We are using a legacy product which is using 1.5.1 version of Python and we have seen frequent core dumps offlate which is as below #0 0x2b79b0 in list_dealloc (op=0x414b11d0) at listobject.c:220 #1 0x283c48 in dict_dealloc (mp=0x415b8c18) at dictobjec... 30 Jun 2010 06:29
Ancient C string conventions (was Re: Why Is Escaping DataConsidered So Magical?) On Wed, 2010-06-30, Carl Banks wrote: On Jun 28, 2:44�am, Gregory Ewing <greg.ew...(a)canterbury.ac.nz> wrote: Carl Banks wrote: Indeed, strncpy does not copy that final NUL if it's at or beyond the nth element. �Probably the most mind-bogglingly stupid thing about the standard C library, which h... 30 Jun 2010 05:24
Build unordered list in HTML from a python list Dear list members I have this python list that represets a sitemap: tree = [{'indent': 1, 'title':'Item 1', 'hassubfolder':False}, {'indent': 1, 'title':'Item 2', 'hassubfolder':False}, {'indent': 1, 'title':'Folder 1', 'hassubfolder':True}, {'indent': 2, 'title':'Sub Item 1.1', 'has... 30 Jun 2010 13:06
pyc runtime error Can anyone explain this unexpected behavior? all files chmod 755, i've compiled x.py with py_compilefiles, also tried within python console with "import x" system: centos 5.4 32bit This a PATH related problem i think? [root(a)centos-14 cgi-bin]# ./x.pyc : command not found ../x.pyc: line 2: syntax error n... 30 Jun 2010 09:45
how to ensure item in list or dict bind with "an uuid meaning" integer type ID? kee chen <keekychen.shared(a)gmail.com> wrote: I have 2 lists stored in 2 text files may have duplicated records, the raw data looks like this: lfruit lcountry ====== ========= orange japan pear ... 30 Jun 2010 04:19
A question about the posibility of raise-yield in Python I'm writing this as a complete newbie (on the issue), so don't be surprised if it's the stupidest idea ever. I was wondering if there was ever a discusision in the python community on a 'raise-yield' kind-of combined expression. I'd like to know if it was proposed/rejected/discussed/not-decided ye... 6 Jul 2010 17:47
git JSONRPC web service and matching pyjamas front-end On Jun 29, 6:54 pm, Luke Kenneth Casson Leighton <l...(a)lkcl.net> wrote: as more than just a proof-of-concept but to get pyjamas out of looking like "a nice toy, doesn't do much, great demos, shame about real life", i've created yet another git repository browser. this one, thanks to pyjamas, obviously run... 30 Jun 2010 13:06
[ANN] git JSONRPC web service and matching pyjamas front-end as more than just a proof-of-concept but to get pyjamas out of looking like "a nice toy, doesn't do much, great demos, shame about real life", i've created yet another git repository browser. this one, thanks to pyjamas, obviously runs as both a desktop application and also as a web application - same source code.... 29 Jun 2010 19:36
Testimonial VIDEO for Honorable Prime Minister Vladimir Putin of the Russian Federation Testimonial VIDEO for Honorable Prime Minister Vladimir Putin of the Russian Federation http://www.youtube.com/watch?v=LCYKZq9JLnc http://www.youtube.com/watch?v=Cnz5N9OubCQ http://www.youtube.com/watch?v=4nP8IdKP9Bc http://www.youtube.com/watch?v=E0_zG0PEh4o http://www.youtube.com/watch?v=JQzBeXa6Jao A brie... 29 Jun 2010 18:29
Infinite prime number generator On 6/29/2010 12:51 PM, Thomas Jollans wrote: def rprimes(): def elim_mult(n): yield n for p in filter((lambda x:x%n != 0), elim_mult(n+1)): yield p yield 1 for p in elim_mult(2): yield p Thomas, take a look at the thread "Generators/iterators, Pythonicity, an... 29 Jun 2010 17:23 |