queue, double put blocks code



  • I tested this code inside pycom and using the command line generated by pymakr in vs code.

    import queue

    a = queue.Queue()
    a.put("teste")
    print("all good")
    print(a.full())
    a.put("teste")
    print("not gonna show ")

    result:
    all good
    True

    conclusion:
    Is the real limit of the queue one input?
    Or am I doing something wrong?


Log in to reply
 

Pycom on Twitter