[Gelistirici] [RFC] comar.Link()

Bahadır Kandemir bahadir at pardus.org.tr
27 Eki 2008 Pzt 01:23:29 EET


27 Eki 2008 Pts tarihinde, Fatih Aşıcı şunları yazmıştı: 
> 27 Eki 2008 Pts tarihinde, Bahadır Kandemir şunları yazmıştı:
> > Link() sınıfını COMAR 2.0'a uyumlu hale getirip comar-api'ye ekledim
>
> Eline sağlık. Yalnız ikinci örnekte hep aynı paket adını alıyorum:

Benzer problem aşağıdaki kod ile tekrarlanıyor:

import threading
import time

class Thread(threading.Thread):
    def __init__(self, met):
        threading.Thread.__init__(self)
        self.met = met

    def run(self):
        time.sleep(1)
        self.met()

for i in "abcd":
    def test():
        print i

    x = Thread(test)
    x.start()
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20081027/b650f2b3/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi