Re: Question about official API

2016-02-05 Thread Frank Millman
"Frank Millman" wrote in message news:n91ndn$sc1$1...@ger.gmane.org... Thanks for the link, Lutz. Unfortunately I may have asked the wrong question. In my specific case, how do I know if it is safe to use the attribute 'unfinished_tasks' in the class queue.Queue? It could be that it is in

Re: Question about official API

2016-02-05 Thread Frank Millman
"Lutz Horn" wrote in message news:blu178-w1837247af25e5755af69eb9e...@phx.gbl... Hi, > What is the rule for knowing if something is part of the official API? Look into https://docs.python.org/3/library/ Thanks for the link, Lutz. Unfortunately I may have asked the wrong question. In my

Re: Question about official API

2016-02-05 Thread Ben Finney
"Frank Millman" writes: > What is the rule for knowing if something is part of the official API? Part of what official API? Different libraries will have different rules about what is the official API. Some may not have official rules. For Python standard library modules, the official API is i

RE: Question about official API

2016-02-05 Thread Lutz Horn
Hi, > What is the rule for knowing if something is part of the official API? Look into https://docs.python.org/3/library/ Lutz -- https://mail.python.org/mailman/listinfo/python-list

Question about official API

2016-02-05 Thread Frank Millman
Hi all What is the rule for knowing if something is part of the official API? I have a queue.Queue(), I want to call q.join(), but I do not want it to block. Looking at dir(q), I find an attribute 'unfinished_tasks'. It is an integer, and it looks like the counter referred to in the document